Help with motocross game

Game Editor comments and discussion.

Help with motocross game

Postby FiLLLe1 » Thu May 17, 2007 3:15 pm

Hi!
I'm making a motocross game now. I didn't realise i would be so hard it seems to be and now i need help.

Question 1:
How to make the bike accelerate to a specific speed? I have tried the script "xvelocity+=1;". Now the bike accelerate but it keeps accelerating. What should I do to make it stop at a specific speed?

Question 2:
The map isn't straight everywhere. Do i need specific animations that makes the weels hit the ground all the time? Example:

http://img396.imageshack.us/img396/7213/helppickc5.jpg

Or is it possible to make a script so i don't need to fix about 100 new animations?

Sorry if it's many questions but i'm not good at game editor but I really want to learn.

//Fille
FiLLLe1
 
Posts: 16
Joined: Mon Feb 26, 2007 10:05 pm
Score: 1 Give a positive score

Postby DilloDude » Fri May 18, 2007 6:28 am

For you first question, you can use an if statement:
Code: Select all
if (xvelocity < 20)
{
    xvelocity += .7;
}//adjust the values for your preference

you might wantr to make a separate variable, however, so that the direction is relative to your speed and also so that you don't change speed in the air - play around with it.

For your second question, you will probably want to make the wheels separate actors. They can have their rotating animation, and the bike can have another. A similar issue was discussed here: http://game-editor.com/forum/viewtopic.php?t=1339
You probably want to add some stuff so that the wheels stay the same distance apart. If you have problems, I may be able to make a demo soon.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Postby FiLLLe1 » Fri May 18, 2007 9:37 pm

ok thanx :D , will try that now.
FiLLLe1
 
Posts: 16
Joined: Mon Feb 26, 2007 10:05 pm
Score: 1 Give a positive score

Postby Sgt. Sparky » Sun May 20, 2007 4:23 am

Should I make a Demo?
Last edited by Sgt. Sparky on Sat Aug 18, 2007 3:59 pm, edited 1 time in total.
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby florafinn@yahoo.com » Sun Aug 12, 2007 4:20 pm

hi that game looks cool FiLLLe1
My username is my email adress
email me with your game attached to the email please! :)
User avatar
florafinn@yahoo.com
 
Posts: 18
Joined: Sat Aug 11, 2007 7:17 pm
Score: 0 Give a positive score

Postby florafinn@yahoo.com » Thu Aug 16, 2007 10:24 pm

hi i realy thougt that pic looked cool! CAN you attach your game

thanks
User avatar
florafinn@yahoo.com
 
Posts: 18
Joined: Sat Aug 11, 2007 7:17 pm
Score: 0 Give a positive score

Postby Sgt. Sparky » Sat Aug 18, 2007 3:59 pm

I wrote:Should I make a Demo?

Should I? :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Re:

Postby 4erv' » Sun Nov 11, 2007 6:39 pm

Sgt. Sparky wrote:
I wrote:Should I make a Demo?

Should I? :D


Yes, You should... :D
Gold Basketball 2008 - the first basketball game made with game editor.

User avatar
4erv'
 
Posts: 188
Joined: Sat Jul 07, 2007 10:52 am
Location: in Recycle Bin
Score: 10 Give a positive score

Re: Re:

Postby Sgt. Sparky » Mon Nov 12, 2007 9:51 pm

4erv' wrote:
Sgt. Sparky wrote:
I wrote:Should I make a Demo?

Should I? :D


Yes, You should... :D

I will make a demo after I finish my current project: Wall Ball.
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Re: Help with motocross game

Postby 4erv' » Sat Nov 17, 2007 1:20 pm

:)
Gold Basketball 2008 - the first basketball game made with game editor.

User avatar
4erv'
 
Posts: 188
Joined: Sat Jul 07, 2007 10:52 am
Location: in Recycle Bin
Score: 10 Give a positive score

Re: Help with motocross game

Postby Sgt. Sparky » Mon Nov 19, 2007 8:32 pm

4erv' wrote::)

:D
I will start working on the demo now. :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron