Game
GUIDANCE



1 year ago

Made a script for jumping across small gaps that can be reused and replaced easily. Should be pixel movement friendly as well! ^.^

Uses Yanfly's Moveroute core #WIPWednesday


All you need is two events. One is a blank event called "jump to" which you move from the actual jump interaction event.

Unfortunately Moveroute core doesn't allow for you to input variables for coordinates in it's Jump To command, but I managed to workaround this my placing an event instead (which you CAN set to coordinates according to variables) so it all works out in the end. ^.^

Now, you might be wondering "for small distances, why not just use a normal jump command?" I'm glad you asked.

As some of you may know, GUIDANCE uses pixel movement, in particular I use a plugin called Altimit. The problem is, if you aren't lined up right, the regular jump command will get you stuck in places you aren't supposed to be.

That sucks.

Pulled my hair out for a long time trying to figure out how to make that work, and I think I've finally perfected it!

This same script can be copy pasted anywhere with no alteration (except when moving to a new map to make sure the Jump To event is still event 11, and if not, to change what event the command targets)

And that's it!

The only way I could make this cleaner (that I can think of) would be if I could input the Jump To coordinates with variables directly, instead of moving an event to those coordinates and then targeting the event.

But like- this is more than good enough! ^.^

And that puts to rest a demon in this game that's been tormenting me for the past 2+ years :)

So how was your day?

EDIT:

Made a much cleaner version lol

ice_screenshot_20240814-150831.png

Just a bit less repeated code where it doesn't need to be, since it turns the exact same script either way.



17 comments

Loading...

Next up

We’re teaming up with @NEOWIZ_QUEST to support developers with a narrative game jam! 🤯 The jam kicks off on October 31 in the Game Dev community, so start brainstorming and assemble your team.

#gjbroadcast

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

Hoomanz! is a stealth-adventure game by @koffeecup that's PACKED with coziness and humor.

Play the demo and wishlist the game: http://bit.ly/HoomanzSteam

Complete our quests to get Hoomanz! trophies! 🏆

#gjbroadcast

Successful landing

#screenshotsaturday

Shuiro Haname. #Commission

Commission for @ShuHaname

We're glad to announce that Baby Dino Adventures 🦖 is now available in Early Access here on GameJolt! Link: https://gamejolt.com/games/babydinoadventures/508121 Walk, run, and jump as a baby t-rex in this cute platformer Free demo available #IndieGame | #GameDev | #PixelArt

If you have more of an acquired taste, the restaurants in Niravasi have you covered! Maybe skip the salad bar, though.

2d lighting experiment

OK, this starts to be too tricky puzzle already :D

#platformer #indiegame #puzzle

Some time ago, we posted a screenshot of the Mexico level. A curiosity about it is that, like some other scenarios of the game, it was inspired by a real landscape, The Basaltic Prisms of Santa María Regla. It is one of the natural wonders of the country!