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.

Need help with movement system!

I had the idea to make a movement system I'd like to impleament into my game. The type of game im making isn't combat oriented, it's more of a free running style game. Anyways what im trying to achieve is a jump system with running. Im planning on doing this all with events because i dont know how to sqript and also i found events are more easy to edit (which are just my prefrences). Now, jumping and running is all easy to do with events but the hard part about this is that I need to make my towns layered. I would be hard to explain soo ill show you using pictures.

Jumpsystem.jpg


Ill try and explain what im looking for, anyways the first step (going down) is when the player i on ground level, after he jumps or climbs something to get onto a roof he will teleport to another map where the layers above the object he is on disapear.

Anyways the effect im going for is that as soon as he jumps the layers will disapear, or the next height layer will appear and that will determine if the player hits a wall or jumps onto the next platform. The reason im going through all the touble of making this is because when a player is moving around I find that you really only get to see one side of the world where with this system a player maybe running somewhere along one roof and notices that there are cables behind a building that he can jump to or somehtign along the lines of that. Now the point im trying to make is that if the building were to be fully visible the height of it would take up alot of space and would block off the image of cables hanging from behind it.

Anyways what I need help with is making the game so when the player jumps he will teleport based on his coordinates to another map and be in the same place.
 
Luckily, what you want isn't actually that complicated. You'll want a no-fade Transfer Player when you switch maps, and it's easy to A) assign variables equal to a character's X and Y coordinates, and B) Transfer a character to those coordinates on another map.

Heck, making the multiple maps work that way shouldn't be too hard-- you can copy and paste maps, after all. That way, you'll have minimal editing to do to remove the upper layers of things, and the map coordinates will always be the same.
 

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