one more time...

Non-platform specific questions.

one more time...

Postby hobgoblin » Wed Mar 10, 2004 9:16 pm

i don't understand yet how to make a timer

how it works
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Postby jazz_e_bob » Wed Mar 10, 2004 10:53 pm

Create an actor and call it "gun".

Create another actor and call it "bullet".

When the bullet is created set its xvelocity to 10.

When the gun is created add the action "create timer".
Make a new timer called "shoot". Set it for 500ms.

Now add a timer event to the gun. Select the "shoot" timer. Make the action "create actor". Create a "bullet".

The gun will now shoot bullets across the screen at 500ms intervals.
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby hobgoblin » Wed Mar 10, 2004 11:19 pm

ty!
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest