Need expert scripters

Talk about making games.

Need expert scripters

Postby 98700 » Thu Aug 23, 2007 5:38 am

making a gime similiar (not the same) to flywheel. but i need to know how i can make it go faster for about 3 seconds(speed increases).
Forum Me and Game A Gogo are administrating:
http://jacobtzgamz.freeforums.org/
98700
 
Posts: 106
Joined: Fri Jun 08, 2007 3:46 pm
Location: in your closet
Score: 1 Give a positive score

Postby cyber ruler » Thu Aug 23, 2007 2:42 pm

I havn't played flywheel, but I think I know what it's about.

create an global variable (intager) and make it so when you create your actor (do all of this on your main actor, your "flywheel") that variable will equal 0. lets call this variable speed for now, but you can call it what you want. I'm assuming you either use key down, or draw actor to make the flywheel move, but however you do it, instead of what you do to move, i'll just say for now that it's x=x+5, you put this (but use the numbers you want)

Code: Select all
if(speed==0)
{
    x=x+5;
}
else if(speed==1)
{
    x=x+8;
}


now what you need to do is make it so when you collect the powerup or whatever it is that makes you speed up, you make speed=1. also make it create a 3 second timer, specify the quantity as 1, and make a timer event for that timer and have speed=0 on that timer event.

I hope this helped
All of my friends tell me programming is my thing. I go to tech school and I'm in I.T., yep, programming all day. My friends ask for help all of the time. But, they tell me my graphics suck... and I have to agree. O, well :/
cyber ruler
 
Posts: 52
Joined: Sat Apr 28, 2007 7:59 pm
Location: Je ne parle englais : /
Score: 0 Give a positive score

Postby 98700 » Thu Aug 23, 2007 3:24 pm

thx for ur help but he needs to have his speed increase (no power up) over a period of time.
Forum Me and Game A Gogo are administrating:
http://jacobtzgamz.freeforums.org/
98700
 
Posts: 106
Joined: Fri Jun 08, 2007 3:46 pm
Location: in your closet
Score: 1 Give a positive score

Postby 98700 » Thu Aug 23, 2007 3:36 pm

whoever tells me how to do this +1 point for them!
Forum Me and Game A Gogo are administrating:
http://jacobtzgamz.freeforums.org/
98700
 
Posts: 106
Joined: Fri Jun 08, 2007 3:46 pm
Location: in your closet
Score: 1 Give a positive score

Postby Oman » Thu Aug 23, 2007 3:58 pm

check this thread... i think its what u want...

http://game-editor.com/forum/viewtopic. ... lling+ball
"Beyond a wholesome discipline, be gentle with yourself." - Max Ehrmann
User avatar
Oman
 
Posts: 268
Joined: Tue Oct 31, 2006 4:00 am
Location: Somewhere out there...
Score: 6 Give a positive score

Postby arcreamer » Thu Aug 23, 2007 3:59 pm

like i said, use a timer for like, 5000 then under timer , script editer... make velocity number higher for better speed
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby 98700 » Thu Aug 23, 2007 4:00 pm

thx a tun oman 1 point 4 u :P
Forum Me and Game A Gogo are administrating:
http://jacobtzgamz.freeforums.org/
98700
 
Posts: 106
Joined: Fri Jun 08, 2007 3:46 pm
Location: in your closet
Score: 1 Give a positive score

Postby d-soldier » Thu Aug 23, 2007 4:34 pm

Heres a demo of controlling speed with a variable and speed-caps:
Attachments
speeddemo.zip
(312.59 KiB) Downloaded 74 times
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Postby arcreamer » Thu Aug 23, 2007 4:54 pm

goo demo dsd!
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby d-soldier » Fri Aug 24, 2007 3:05 am

This is not motivating me to take all the time to make demos much... :?
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron