how do i make my player die like MARIO OR SNOW BROS OR SOMET

Non-platform specific questions.

how do i make my player die like MARIO OR SNOW BROS OR SOMET

Postby Spidy » Mon Aug 20, 2007 5:37 pm

how do i make my player die like MARIO OR SNOW BROS OR SOMETHING
plz help me i have no time :cry:
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Postby J Maker » Mon Aug 20, 2007 6:07 pm

just add a collision on your enemy: destroy actor->event actor :D
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

Postby Spidy » Tue Aug 21, 2007 4:28 pm

OK THANKS :wink: I TRY and i more question how do i make life bar or health bar
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Postby J Maker » Tue Aug 21, 2007 5:00 pm

here is a health bar and have on draw actor of your health bar actor destroy actor player and wait for frame 10 and collision with enemy=
Code: Select all
healthbar.animpos ++;
then on create actor healthbar change animation to healthbar STOPPED
Attachments
healthbar.zip
here you go
(4.07 KiB) Downloaded 117 times
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

Re: how do i make my player die like MARIO OR SNOW BROS OR S

Postby Troodon » Tue Aug 21, 2007 6:30 pm

Spidy wrote:how do i make my player die like MARIO OR SNOW BROS OR SOMETHING
plz help me i have no time :cry:


Doesn't Mario jump up and then fall until it disappears from the view?
Then you can make a path and destroy the actor once it ends the path.
Of course the player will use the path when it dies. :wink:
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Re: how do i make my player die like MARIO OR SNOW BROS OR S

Postby J Maker » Tue Aug 21, 2007 9:03 pm

tekdino wrote:
Spidy wrote:how do i make my player die like MARIO OR SNOW BROS OR SOMETHING
plz help me i have no time :cry:


Doesn't Mario jump up and then fall until it disappears from the view?
Then you can make a path and destroy the actor once it ends the path.
Of course the player will use the path when it dies. :wink:
OH you want him to jump up and fall down! here this explains checkpointsand dying like mario :D
Attachments
checktest.zip
(251.61 KiB) Downloaded 115 times
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

Postby Spidy » Wed Aug 22, 2007 4:39 pm

THANK YOU :D
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Postby J Maker » Wed Aug 22, 2007 5:38 pm

your welcome!
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

Postby Spidy » Thu Aug 23, 2007 4:20 pm

there is a problem in your code view problem when i get checkpoint and go far and die my player could not start from checkpoint
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Postby J Maker » Thu Aug 23, 2007 4:25 pm

?...oh i got it :D is the veiw parented?
try using this veiw code:
Code: Select all
double weight = 10;
x = ((weight  - 1)*x + (player.x - width/2))/weight;
y = ((weight  - 1)*y + (player.y - height/2))/weight;
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

Postby Spidy » Thu Aug 23, 2007 4:32 pm

ok thx :lol:
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Postby J Maker » Thu Aug 23, 2007 4:33 pm

with that veiw code it normaly works for me so try it out :D
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

Re: how do i make my player die like MARIO OR SNOW BROS OR SOMET

Postby Spidy » Sat Aug 25, 2007 5:50 pm

no man its not working plz wrote the tutorial in the forum :cry:
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Re: how do i make my player die like MARIO OR SNOW BROS OR SOMET

Postby J Maker » Sun Aug 26, 2007 12:17 am

wat do u mean is it not loading a file or is the code not working
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

...

Postby Bee-Ant » Wed Aug 29, 2007 1:40 am

The player died like "Mario"???like my Mario game :twisted: , or other Mario game??? :roll:

use this rules for Player:

Draw Actor
Code: Select all
if(power<=0)
{
DestroyActor("EventActor");
}


Destroy Actor
Create Actor>DiedPlayer

use this rules for DiedPlayer :

Create Actor
Code: Select all
yvelocity=yvelocity-5;


Draw Actor
Code: Select all
yvelocity=yvelocity+0.5;


Hope help :roll: :roll: :roll:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron