Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Adjusting Players Speed

In my game theres a part where your driving a cart through a mine and you ahve to dodge objects.
i wanna know how i can make the player have the opportunity to adjust the speed of the cart while its being moved by pressing a button or something.

can anyone help !

-arex :cheers:
 

Fusty

Sponsor

speed.png

Just change the speed and frequency to whatever you need.
 
thanks, but i wanna give the player the ability to adjust the speed whenever while he is being forced to move a certain path.
you understand? or should i try explain in better detail ?
 

Fusty

Sponsor

So you want an event that already has a custom move route to adjust it's speed whenever the player wants right?
If so this way it should work, the only thing you have to do is add another conditional branch under ''Else'' that lowers the speed when you press a certain button.
 
nono my player is the thing being moved.
THis is the scenario.

The main character gets on a cart that is on a rail so it has to go a certain direction ya know ?
So, while the player is being moved around on the cart i want the option to make the cart move faster or to move slower.
you know ?
 

Fusty

Sponsor

When you get in the mine cart, can the player move around at will or does it move via a custom move route?
Perhaps you could show me some screenshots of how you have it set up right now? That might help a bit.
 
Fusty":3evs661i said:
When you get in the mine cart, can the player move around at will or does it move via a custom move route?
Perhaps you could show me some screenshots of how you have it set up right now? That might help a bit.

its a custom move route, so i just want the ability to change the carts speed, ya know ?
 

Fusty

Sponsor

I can't add much more to what valdred has already said.
You need 1 event that has the move route of the player (your autorun event) and another one with the conditional branches I posted. (this one must be a parallel process)
 
mmhm i understand.
but have you tested it out yourself ?
cause beleive me it is hard, and i dun know how to get it too work but now i haev another problem on my hands.
which is that rpg maker wont allow me to run an event touch while the player is on a move route. :fap:

-rex :kiss:
 

Fusty

Sponsor

I've done a quick test and it seems to work, but it could be that by increasing the speed the move route reaches it's end to quickly which will cause problems if you have a wait command behind it.
If that happens your mine cart will reach the end of the move route and will stand still until the wait command is done.
 
Fusty":1on1o4mh said:
I've done a quick test and it seems to work, but it could be that by increasing the speed the move route reaches it's end to quickly which will cause problems if you have a wait command behind it.
If that happens your mine cart will reach the end of the move route and will stand still until the wait command is done.


thats what happend to me aswell.
i made the Up bottun speed up cart and down button slow down cart and whenever you press the button it just stopped the move route, its a tricky problem im in :(
 
Well I'm makeing demo For this. It's almost done. I plan to use it for other things. I'm going to try to update it often. I'll post it soon, like with in the weekend. It will have your Cart Game or at least my verison. I hope it will help. I'll tell you when I post it. :cheers:
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top