How to make Flying Enemies?

preview_player
Показать описание

The reddit!

What's up, Gamers?
Here's a breakdown of how I added flying enemies to my indie game!

The game that I'm developing as an indie game dev is called Isadora's Edge! A 2D Pixel Art platformer game, that I'm developing in the Godot Game Engine! If you're new to Godot or have any questions about Godot or game dev in general, feel free to ask me!

=== THE LOVELY AND TALENTED INSANDIO ===

=== HASHTAGS ===
#GameDev #IndieGame #Godot #GodotEngine #IndieGameDev #Vimjam #8BitsToInfinity #Vimlark #VimJam2 #VimJam2021 #Vimjam2021 #Devlog #GameDevlog #GameJam #GameJamDevlog #Jam #GMTK #GMTKJam2021 #GMTKJAM2022 #Indie #Game #Dev #IndieDev
Рекомендации по теме
Комментарии
Автор


Also, if you haven't yet, follow Isadora's Edge on Kickstarter!
And wishlist Isadora's Edge on Steam!

Thanks so much, everyone!

InboundShovel
Автор

If you can add a response delay to the sprite flipping above the character it will feel like a natural response reaction instead of an instantaneous trigger. A countdown starts after passing above Isadora. When it stops, the enemy checks position and then flips.

Faux_Rest
Автор

As usual, it’s a delight to witness the progress of this game. It really has a lot of charm to it

pommedeter
Автор

I think a backward flying animation would be great for the bottle sprite. Think someone swimming backwards. That way when she's "fleeing" from Isadora, she still seems focused on the current threat, performing her duty as a sentry. Might help with sprite flipping too, cause then you can just tell Bottle Sprite to always face Isadora if she is in range

LamplightProductions
Автор

The bottle enemy would look good going backwards instead of turning if you did a special animation of it.
On the other hand, You could try increasing the movement speed a bit when "fleeing" so it feels like it is actually trying to flee.
Right now i think it feels weird how it turns it's back to Isadora without trying to hurry to face her again.

KuroNK
Автор

I love how he really gets into the weeds of what hes working on in extreme detail instead of glossing over things like this like most other gamedev youtuber

NoomStuff
Автор

15:28 WAIT THAT MOVEMENT WAS SICK AS HELL IS THE FLIP SPECIFICALLY FOR JUMPING OUT OF A DASH?

sachitechless
Автор

I liked the Donut solution very much, but here's a question:
Is the "donut" fixed on isadora or do you have a Donut per enemy?

If you have one per enemy, could be interesting to have Donuts with different radius to accommodate for different firing angles and a way to represent the enemies "bravery" (how close they let Isadora get before fleeing) for example.

trayhl
Автор

1:41 I think the topic of how the bottle originally ended up with the plague doctor has not been covered 🤣

savage
Автор

Noo not the primal aspides again!😢😢(from the thumbnail), but hey your game is cool keep it up

adamebadra
Автор

Suggestion for the sprite flipping problem:
Change the movement angle so that the enemy never only moves vertically.

For example through a minimum angle or through moving the target point horizontally.

gniludio
Автор

Cool solution! Although, I did think Novedoo patrolling a path was pretty neat, so maybe there's a compromise where you can have him on a set path, but then move toward Isadora when he enters the donut. Once outside of the donut, return to the patrolling path.

ponodude
Автор

I think it should be more like a half donut system for these two enemies. They want to attack from above, so them being happy to be in the donut below you if you're on a platform doesn't seem right. A more complicated system could be enemy type specific area shapes and locations in relation to Isadora they want to be in, fitting to their type of attack (straight above, diagonally above, etc). And they wouldn't want platforms/obstacles to be in the way that break projectiles, but then it gets even more complicated. Some grounded enemies might also have a certain distance they would prefer to be in in relation to Isadora to do their attacks.

rationaality
Автор

I would add an angle range to top (and bottom) of the donuts of like..10-15 degrees where they cannot target a point. This would mean they are always flying slightly to the left/right of the player, which would make sense for an enema that has to lob a bottle, since they wouldnt lob it directly up as it would hit themselves.

HodgepodgeHomonculus
Автор

I'm not a programmer, but I love learning about the process. I was thinking about what you said about the flipping sprite situation. What would happen if there was a third zone in the donut, like a slice of pizza (cone-shaped) above the character, where the enemy has a different sprite that looks down?
Also I'd love to know more about how you do sound effects. I always wished I had gone into voice acting (instead of my current occupation), so I find that topic interesting.

gwendolynbarnett
Автор

What language are you using on Godot engine?

XIII-wi
Автор

The bottle sprite needs to swap his potions in a more satisfying pattern. Maybe random.

Also, enemies need to have a randomized delay after first seeing the player before they can fire.

nathanlamberth
Автор

Just code it like

If:
(going to fly weird)

Then:
(don’t)

michaelreeves
Автор

What size of canva are you using for you tileset? 16x16 I supposed? And what size for Isadora? Is it 32x32? Look too small... 64x64? Thanks for your answer ❤

XonosOnYtb
Автор

what is the music you use around the 2 minute mark, i heard it lots of times now in your videos and i like it a lot

cheepcheep