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.

Jumping problem!

Zeriab

Sponsor

I would love to be hug and hug you back. I like hugging ^^
I am glad I was able to help you as well Kiriashi. (Yes, I still go to Unlimited but not so much anymore)

The reason for the freeze was that without Ignore If Can't Move no move commands will be skipped in the move route.
You could consider the possibility of a NPC randomly walking unto the spot. The player will then wait until the NPC has left before moving.

You should take care not to create situations where the player or some NPCs can get stuck. If this happens then Wait for Move's Completion will wait indefinitely. (Should you have one. It does not have to be in the same event)

*hugs*
- Zeriab
 
A way to make a Jumping Event system better would be making it so the actor can jump from ledge to ledge and differentiate between different heights. I've thought of making a system like this but never had the time to actually craft one.
 
Souloux":1gjufbvv said:
A way to make a Jumping Event system better would be making it so the actor can jump from ledge to ledge and differentiate between different heights. I've thought of making a system like this but never had the time to actually craft one.

It's actually rather difficult, because you would either need to make a script telling which parts of which map are what level, or you would have to make events to do the same thing.
 
I know it's rather difficult but it could work similar to a Bridge Event System where certain tiles on the map have a variable set to a certain number  to determine where the actor is under a bridge or on a bridge.
 

Zeriab

Sponsor

I would use terrain tags for specifying height differences. I wouldn't want to make though as there are many special cases one needs to think about and stuff like jumping down from a bridge and walking under it is tedious to implement.

A problem in the current system is that if you don't release the buttons quick enough you might get double hops. If you put in too long a wait the player can feel unresponsive. You can fix this but using the button input process and then check if the correct button was triggered. (Instead of your Y button is pressed conditional branch)

I have once made a jump system myself where there was a small delay when you pressed the jump key so you could specify in which direction you want to jump. (The delay is as long as the jump button is held down or until a set threshold is hit)
http://zeriab.plesk3.freepgs.com/root/e ... System.rar

*hugs*
- Zeriab
 

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