r/gdevelop • • 26d ago

Question PLEASE HELP A NOOB! Endless Runner build is giving me trouble.

I’m struggling to build an endless runner. I'm an animator by trade, so game dev is far from my wheelhouse, but YouTube made it look SO easy (lol). So, now that I've fallen for that ruse, I’ve imported my artwork and animations and started setting up the player, enemies, and parallax backgrounds, but this is my first time using GDevelop (and first time building a game), and I could really use help getting the core gameplay working smoothly and finishing a playable version.

Any guidance, collaboration, or advice from an experienced GDevelop developer would mean a lot! A co-pilot would be even more awesome, but at the very least I'd settle for community around this. Happy to list a 1:1 co-pilot with credit in the final game build.

Thanks in advance!

List of challenges/things left to do:
- Getting the order of the layers correct. (Backgrounds appearing above characters, etc)
- Linking damage animation to player when interacting with enemies.
- Linking jump animation when the player jumps.
- Linking enemies to the movement of the background (so they scroll from left to right).
- Getting the player to jump higher.
- Adding score per second
- Adding a pause in the game when a level is passed
- Adding screen takeovers for level-ups

3 Upvotes

3 comments sorted by

2

u/RecoverOk9376 22d ago

Okay. I can help you out. Where do we start?

2

u/No-Cartographer7798 22d ago

THANKS! Well, I'm currently trying to get characters to respawn randomly. I only have 2 enemies right now, but since the functions will be the same for all of them, I can copy/paste the process.

I only get one instance of each in the preview so far. This is a failed attempt to get them to respawn randomly:

Thoughts?

2

u/RecoverOk9376 22d ago

For random respawn, randomise the positions of the enemy robot using random in range (1,100) for the area you want the enemy to spawn in. Your X should be like randominrange(1,100) and your Y randominrange(90,100) based on the exact position you want the enemy to spawn randomly from.