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.

Pushing blocks and jumping on them, a la Golden Sun

I don't know if anyone who can help me has ever played golden sun...
If you have, remember those pillars that you could push around, then also jump on them from a ledge of the same height?
That's basically what I'm trying to do.

If you haven't played golden sun, please read the explanation below, after stabbing yourself a few times for not playing one of the most epic RPGs ever created. I'll wait. :P

Basically, what I'm trying to acheive is having special "platforms" around the game that the player can move by colliding with them. I've got that part down. I also want the player to be able to jump onto the pillars as long as he's on a ledge of the same height. That's the problem.
I've tried eventing it, and, although sometimes it works, it's extremely laggy if you have more than a few blocks on one map, plus it's also extremely buggy. Can anyone help me event this, or would it be more practical to request a script?

Pic:
mockup2.png
 
I know I can figure this out, but I'm going to put together a little demo for this one, since explaining it even confuses me. If it works, I'll give you the download link here. I know you can do it without a script, but you might need a few events on every map with movable pillars.

Be back in twenty minutes. : )
 
Okay. Hopefully this will work okay. It took me a little bit to get it to work right. The only thing I see that you might not like is that it automatically jumps when you try to walk toward the pillars. So if you wanted the player to have to push a key to jump from and to multiple pillars, you could do it, but.... it'd take a little bit of editing.

Also, I didn't try this with multiple pillars, but you should be able to just change the set move route and it would work fine. I don't know if it would cause lag, but I guess in a huge map with several of them, it probably would.

I also had to create my own box character sheet. You're welcome to use it if you'd like, or just use it as a template.

Hope this works for you. (Sorry it took so long. XD)

http://www.mediafire.com/file/gkmyuotezb1/Pillar Demo.exe
 

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