DEFOLD Game Engine TUTORIAL #02: Implementing the ENEMY MOVEMENT & ANIMATIONS
DEFOLD Game Engine TUTORIAL #02: Implementing the ENEMY MOVEMENT & ANIMATIONS
In this video, we are implementing an enemy with a basic behavior of walking forward until colliding with a wall and then flipping into the opposite direction. We will add animations to the enemy and to the player that was implemented in the previous video.
Since some people required more detail on scripting with LUA, we will be going slowly over the implementation of the enemy script with the Defold scripting language - LUA.
Let’s keep building our Defold game.
Timestamps 00:45 Creating the enemy Skeleton 09:16 Implementing Walls Collision on the level 12:33 Implementing in LUA ground and walls collisions 27:37 Making the enemy skeleton move with LUA 28:09 Setting the collisions events for the Walls with LUA 30:06 Flipping a sprite with LUA 31:36 Playing Animations with LUA 34:19 Setting the animations for the PLAYER
Defold is a free to use, source available, 2d/3d game engine with a developer-friendly license. Defold is owned and developed by the Defold Foundation. It was originally bought and used by King Entertainment, which later on gave it back to the Defold Foundation. King still uses the game engine in some of its games.
Want to make a 2D platformer game, and don´t know which engine to choose? in the serie we are making the same game with different engines. In this case the GODOT ENGINE.
In this video, we will start to take a look at the building blocks of creating a game for the GODOT game engine.
To make it easier to understand the main difference between the different engines that we are covering, we have thought of implementing the same game with the resources.
Since in G Develop we have already started to put the foundations on a new platformer for the Melee tutorials, we have decided to use it too in Construct.
There so, In this tutorial, we will import all the assets for the level, player, and enemies, we will create a first draft level, and implement a basic movement that will allow us to control our player character.
Timestamps
0:00 Introduction
1:03 Creating the project and Setup
2:16 Creating the Tilemap with Godot
9:26 Creating the Player
10:37 Player Animation
13:07 Player Collider
13:47 Player Camera
15:49 Player Scripting with GD Script
21:58 Player movement and animations
Resources:
The resources will be posted in our website
https://game-developers.org/godot-engine-2d-platformer-tutorial/
Make Your First 2D Game with Godot: Level & Player is the video that you are watching. Want to see the same game being developed in other tools?
Make Your First 2D Game with Gdevelop
https://www.youtube.com/watch?v=mROioKthpAg&list=PLiyuZHAJlUip8CCU1mfUwX05jOTMiHkoo
Make Your First 2D Game with Defold
https://www.youtube.com/watch?v=2sxj1Ggc4jQ&list=PLiyuZHAJlUirBilfmrIBHD-A8ouaWvBCj
Make Your First 2D Game with Construct 3
https://www.youtube.com/watch?v=GVEnx1EUnMI&list=PLiyuZHAJlUiqe-ycnvO7SI_uhQk-7ns45
We have a twitch channel too now, where we are thinking in live streaming
https://twitch.tv/gamedeveloperz
Stay tune, and don´t forget to subscribe, it will certainly support us.
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Our Store: https://game-developers.org/shop ▶
Godot is a 2D and 3D, cross-platform, free and open-source game engine released under the MIT license. It was initially developed by Argentinians Juan Linietsky and Ariel Manzu for several companies in Latin America prior to its public release. The development environment runs on multiple operating systems including Linux, BSDs, macOS, and Microsoft Windows. Godot can create games targeting PC, mobile, and web platforms.(Source: Wikipedia)
you can download the GODOT Game engine from.
https://godotengine.org/download
...
https://www.youtube.com/watch?v=bWx7WyqIJt4
Want to make a 2D platformer game, and don´t know which engine to choose? in the serie we are making the same game with different engines. In this case the GODOT ENGINE.
GODOT Engine TUTORIAL Part #02: Make Your First 2D PLATFORMER GAME with GODOT: Create the Enemy
In this video, we will continue with the same 2D Platformer example that we have been developing in different game engines.
We will create the enemy, give it some basic AI to allow it to move on a platform or between obstacles, detect the player, attack it until dead.
To make it easier to understand the main difference between the different engines that we are covering, we have thought of implementing the same game with the resources.
Since in G Develop we have already started to put the foundations on a new platformer for the Melee tutorials, we have decided to use it too in Construct.
There so, In this tutorial, we will import all the assets for the level, player, and enemies, we will create a first draft level, and implement a basic movement that will allow us to control our player character.
Timestamps
0:00 Introduction
0:33 Creating the Enemy
2:06 Enemy AnimatedSprite Animations
7:53 The Enemy AI Script
11:41 Enemy scanning Environment with Raycast
24:39 Detecting the player and damage
32:32 Enemy Attack, Hitboxes and hit animations
36:17 Player Death
Resources:
The resources will be posted in our website
https://game-developers.org/godot-engine-2d-platformer-tutorial/
Make Your First 2D Game with Godot: Level & Player is the video that you are watching. Want to see the same game being developed in other tools?
Make Your First 2D Game with Gdevelop
https://www.youtube.com/watch?v=mROioKthpAg&list=PLiyuZHAJlUip8CCU1mfUwX05jOTMiHkoo
Make Your First 2D Game with Defold
https://www.youtube.com/watch?v=2sxj1Ggc4jQ&list=PLiyuZHAJlUirBilfmrIBHD-A8ouaWvBCj
Make Your First 2D Game with Construct 3
https://www.youtube.com/watch?v=GVEnx1EUnMI&list=PLiyuZHAJlUiqe-ycnvO7SI_uhQk-7ns45
We have a twitch channel too now, where we are thinking in live streaming
https://twitch.tv/gamedeveloperz
Stay tune, and don´t forget to subscribe, it will certainly support us.
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Our Store: https://game-developers.org/shop ▶
Godot is a 2D and 3D, cross-platform, free and open-source game engine released under the MIT license. It was initially developed by Argentinians Juan Linietsky and Ariel Manzu for several companies in Latin America prior to its public release. The development environment runs on multiple operating systems including Linux, BSDs, macOS, and Microsoft Windows. Godot can create games targeting PC, mobile, and web platforms.(Source: Wikipedia)
you can do
...
https://www.youtube.com/watch?v=BnXoACQC1LI
Gdevelop FREE VISUAL Game Engine Examples: BACKPACK HERO
Continuing to bring some examples of games that have been developed with GDevelop. In this case BACKPACK HERO, a game that draws some inspiration from the original Mario and then takes another interesting direction.
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
Our honest feedback
A very strange and interesting game where you are basically trapped inside a nightmare and doomed to stay in a loop where every time you are able to win the game, you awake again in your room and have to restart every over.
As you progress through the game, the enemy becomes tougher to kill and starts to throw more things at you, like fists, monsters, fissures into the screen, rocks, etc...
Although you could think that by having the same mechanic repeting over and over again, could make the game boring, it is actually fun as the difficulty increases at with each nighmare.
From the itchio page, the creator of the game says that the game was developed for a LDJAM47 and IndiQ Quantum Gamejam.
You can find more information on the game webpage, with the web version and the downloadable version of the game.
You can test the game on itch.io
https://ar-borno.itch.io/backpack-hero
GDevelop is an open-source, cross-platform game engine designed for everyone - it's extensible, fast and easy to learn.
In its concept it is very similar to Scirra Construct game engine ( somewhat less polished) with a growing community developing games, tutorials and supporting the game engine development.
We are posting a serie of easy gdevelop tutorials to let you start your way into game development.
https://www.youtube.com/playlist?list=PLiyuZHAJlUir3DO5u0FkKhV449llDDSMH
Download Gdevelop is free!
https://gdevelop-app.com/download/
Flip the cards example made in Gdevelop. This is an application very similar to Clickteam Fusion 2.5 and Adobe gamemaker and construct 3.
http://www.game-developers.org
https://www.facebook.com/videogamedevevelopers
https://twitter.com/game_developers
https://game-developers.itch.io/
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
from Game Developers to Game Developers, sharing knowledge
MAKING YOUR WAY INTO THE GAMES INDUSTRY
...
https://www.youtube.com/watch?v=dOtCCqPaPwQ
GDEVELOP Game Engine Examples: MADREALMS #SHORTS
Madrealm : Adventure of Hopes is a classic 2D platformer game with fantasy world theme inspired by Shovel Knight.
Menu
1. Press arrow up and down choose menu, and enter to confirm
Gameplay
1. Pres Arrow Left and Right to move
2. Press Space to jump
3. Press X to attack
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Our Store: https://game-developers.org/shop ▶
▶ Our Discord :) : https://discord.me/gamedevelopers ▶
Our honest feedback
The game is still under development and there so has still some aspects of it that needs some more working as to calibrate and balance it correctly.
Some of the mechanics needs to be very precise in where you perform them as to be able to have them working correctly and one pixel can make the difference between failing or succeeding.
The game punishes heavily failure as you will immediatly be sent back to the beginning of the game. Not sure if there are some checkpoints implemented later on in the level, as we try to have our gameplays to be less than 5 minutes independently of the progress that we are able to have.
The art of the game is nice, but could be in some cases improved.
The music is probably to high and you have to lower it down through the system speakers as the game menu is still missing some configurations.
The game can be found on itch.io
https://moorizbar.itch.io/madrealm-adventure-of-hopes
GDevelop is an open-source, cross-platform game engine designed for Game Developers that want alternatives to the mainstream engines. It is small, fast and supported by a very supportive and growing community.
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Our Store: https://game-developers.org/shop ▶
▶ Our Discord :) : https://discord.me/gamedevelopers ▶
GDevelop is an open-source, cross-platform game engine designed for everyone - it's extensible, fast and easy to learn.
In its concept it is very similar to Scirra Construct game engine ( somewhat less polished) with a growing community developing games, tutorials and supporting the game engine development.
We are posting a serie of easy gdevelop tutorials to let you start your way into game development.
https://www.youtube.com/playlist?list=PLiyuZHAJlUir3DO5u0FkKhV449llDDSMH
Download Gdevelop is free!
https://gdevelop-app.com/download/
#shorts #gdevelop #gamedev
http://www.game-developers.org
https://www.facebook.com/videogamedevevelopers
https://twitter.com/game_developers
https://game-developers.itch.io/
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Our Store
...
https://www.youtube.com/watch?v=8S-BCSDVg9o
DEFOLD Game Engine Examples: SHOTGOLF
Continuing to what we think is the best way to showcase a technology, through its games,, and in this case for the DEFOLD GAME ENGINE; with a cool little puzzle game created SHOTFGOLF.
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Our Store: https://game-developers.org/shop ▶
▶ https://www.facebook.com/groups/defold.game.engine ▶
Our honest feedback
The game has a really cool concept and it is very fun to try to understand how to control the crazy game mechanic to take the shotgun to the flag without going crazy firing in all directions.
The controls are simple and intuitive, and it doesn't take long to control the movements of the shotgun, although mastering it as to make it go where you want is something totally different. Especially without ruining your stats.
The game is still under construction, is very short and have some annoying bugs like where the shotgun gets through the walls.
But certainly it is a very fun game to play.
The game demo can be found on itch.io
https://seltzerfish.itch.io/shotgolf
Defold is a free to use, source available, 2d/3d game engine with a developer-friendly license. Defold is owned and developed by the Defold Foundation.
It was originally bought and used by King Entertainment, which later on gave it back to the Defold Foundation.
King still uses the game engine in some of its games.
Download Defold Game Engine. It is free!
https://defold.com/download
http://www.game-developers.org
https://www.facebook.com/videogamedevevelopers
https://twitter.com/game_developers
https://game-developers.itch.io/
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Our Store: https://game-developers.org/shop ▶
▶ https://www.facebook.com/groups/defold.game.engine ▶
#gamedev #indiedev #defold #madewithdefold #gamedevelopers
from Game Developers to Game Developers, sharing knowledge
MAKING YOUR WAY INTO THE GAMES INDUSTRY
...
https://www.youtube.com/watch?v=KiLIldBxezY
GDEVELOP Game Engine Examples: IN & OUT NIGHT BURGLAR
Continuing with the showcase of GDEVELOP games, and in this case a small stealth game from the same author than the previous reviewed game delta chase
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Our Store: https://game-developers.org/shop ▶
Our honest feedback
In And Out - Night Burglar, is a game about sneaking your way in to a vault and booking it out without being caught by the guards.
The game is really fun to play and the way each new mechanic is being integrated in the game as you play, makes your feel in control all the time of the fun.
Each new level will increase the overall complexity and stress a little bit, but always based on the same concepts and same controls, which makes it easiy to follow through and to adapt to the game.
Up to the level that we have played, in order to keep the video short, we thought that maybe the levels could be somewhat more different as they were all linear.
The graphics are very simple but they fulfill quite well their commitment of making the game enjoyable.
Not sure if the developer will continue improving the game, but it is certainly a fun game, that we would love to more material coming on.
The game demo can be found on itch.io
https://helperwesley.itch.io/inandout-night-burglar
The game creator has also a youtube channel where he is documenting his creation process. He is quite prolific in developing game, so it is a good reference.
https://www.youtube.com/watch?v=gO_hhgXZ0nc
GDevelop is an open-source, cross-platform game engine designed for Game Developers that want alternatives to the mainstream engines. It is small, fast and supported by a very supportive and growing community.
GDevelop is an open-source, cross-platform game engine designed for everyone - it's extensible, fast and easy to learn.
In its concept it is very similar to Scirra Construct game engine ( somewhat less polished) with a growing community developing games, tutorials and supporting the game engine development.
We are posting a serie of easy gdevelop tutorials to let you start your way into game development.
https://www.youtube.com/playlist?list=PLiyuZHAJlUir3DO5u0FkKhV449llDDSMH
Download Gdevelop is free!
https://gdevelop-app.com/download/
http://www.game-developers.org
https://www.facebook.com/videogamedevevelopers
https://twitter.com/game_developers
https://game-developers.itch.io/
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Our Store: https://game-developers.org/shop ▶
from Game Developers to Game Developers, sharing knowledge
MAKING YOUR WAY INTO THE GAMES INDUSTRY
...
https://www.youtube.com/watch?v=mBColrPgCG0
Gdevelop FREE VISUAL Game Engine: RESKINNING GAME ASSETS
Welcome to this focused tutorial on how to reskinn game assets in a template or in another game to match your needs.
Those who follow our videos with some regularity, already know that we are mainly covering long series of videos to build complete games, but in the middle, we can cover specific elements with one time videos to explain a mechanic or a specific feature and how it can be implemented.
In this case, we are going to cover how to change graphics in a template or a game downloaded from the G Develop 5 repository as to integrate your own graphics.
This is something most of the developers using G DEVELOP were requesting for sometime now, and finally comes to life.
Time Stamps
0:42 New platformer template
1:34 Replacing Sprites in animations
2:17 Adjusting game objects for new sprites in game
2:53 Replacing all sprites in all animations
4:56 Changing Camera Zoom
6:00 Solving Sprites Blurring in G Develop
7:04 Player reskinned
For the this specific tutorial, we have used the following resources:
Cartoon Warrior
https://hugues-laborde.itch.io/cartoon-warrior-character-pack
Stay tune, and don´t forget to subscribe, it will certainly support us.
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Visit our STORE: https://game-developers.org/shop ▶
Since we think, that more than doing what we like, we should fulfill the expectations of the people that watch us, and since the request was actually shorter than others, we have decided to make it.
If you have a specific request, in GDevelop or in other engines, don´t hesitate to ask us, and we will try our best to include it in our pipeline of content.
The link for the article with all the resources
https://game-developers.org/
Get you controllers ready, download Gdevelop and we will be starting ...
GDevelop is an open-source, cross-platform game engine designed for everyone - it's extensible, fast and easy to learn.
In its concept it is very similar to Scirra Construct game engine ( somewhat less polished) with a growing community developing games, tutorials and supporting the game engine development.
We will post a serie of easy gdevelop tutorials to let you start your way into game development.
Download Gdevelop is free!
https://gdevelop-app.com/download/
#gamedev #indiedev #gametutorial #gamedevelopers #gdevelop #tilemaps
http://game-developers.org/gdevelop-free-visual-game-engine-contra-tutorial/
https://www.facebook.com/videogamedevevelopers
https://twitter.com/game_developers
From Game Developers to Game Developers, sharing knowledge
Music
RolemusicThe Little BrothThe Black DotChiptune, Chip Music
https://freemusicarchive.org/music/Rolemusic/The_Bl
...
https://www.youtube.com/watch?v=osk2Hhof83o
re you passionate about creating your own indie games but not sure where to start? In this video, we will walk you through the entire process of indie game production, from ideation to launch.
Learn valuable tips and tricks from industry experts to help you succeed in the competitive world of indie game development. Whether you're a seasoned developer or just starting out, this video is packed with invaluable insights to help you bring your indie game vision to life. Watch now and kickstart your journey to indie game production success!
game-developers.org
Connect with us on social media:
Facebook: Video Game Developers
Twitter: @game_developers
Itch.io: Game Developers
Also, check out some of our tutorials:
Some of our tutorials:
Make Your First 2D Game with Godot: Level & Player is the video that you are watching. Want to see the same game being developed in other tools?
Make Your First 2D Game with Gdevelop
https://www.youtube.com/watch?v=mROioKthpAg&list=PLiyuZHAJlUip8CCU1mfUwX05jOTMiHkoo
Make Your First 2D Game with Defold
https://www.youtube.com/watch?v=2sxj1Ggc4jQ&list=PLiyuZHAJlUirBilfmrIBHD-A8ouaWvBCj
Make Your First 2D Game with Construct 3
https://www.youtube.com/watch?v=GVEnx1EUnMI&list=PLiyuZHAJlUiqe-ycnvO7SI_uhQk-7ns45
We have a twitch channel too now, where we are thinking in live streaming
https://twitch.tv/gamedeveloperz
Stay tune, and don´t forget to subscribe, it will certainly support us.
...
https://www.youtube.com/watch?v=OzSD41LMGos
FLAX ENGINE Tutorial #10 : WOLFENSTEIN 3D Retro FPS VI- GAME HUD and ENEMY DAMAGE
Welcome to Part 10, in our new game development series, focused on the 3D FLAX GAME ENGINE, and the sixth in our specific Wolfenstein 3D game tutorial.
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Visit our STORE: https://game-developers.org/shop ▶
▶ Our Discord :) : https://discord.me/gamedevelopers ▶
Again, sorry about the delay between videos, but we were trying to implement the health system in visual scripting, and in the end, we had to drop the idea as we were facing an engine bug that made it impossible to do and forced us to go back to the c# scripting.
Also, we have migrated to the last version of the flax engine build and we have been suffering innumerous crashes of the engine that had made the production of this video quite difficult. We will probably uninstall and reinstall everything to see if it is a problem with our installation.
In this video, we are starting to implement the player HUD and specifically the damage indicator with the face of the player character, and we are finishing the enemy state machine to manage damage and death.
We were targeting to try to start implementing a procedural map, but we have to leave it for another video.
The code for on how to make a Singleton with Flax Engine can be found here
https://game-developers.org/how-to-create-a-singleton-with-flax-engine/
The sprites for the guns and for the hud can can be downloaded from:
https://game-developers.org/
The textures and sprites that will be using in this tutorial can be donwloaded from:
http://www.wolfenvault.com/files/resources/ffgraphics.zip
The player script from the Physics Tour Sample can be downloaded from:
https://github.com/FlaxEngine/FlaxSamples/blob/master/PhysicsFeaturesTour/Source/PhysicsFeaturesTour/PlayerScript.cs
The source code for the tutorials will be made available on our webpage
https://game-developers.org
▶ Please Subscribe : https://bit.ly/GameDevelopers ▶
▶ Donate: https://www.patreon.com/game_developers ▶
▶ Visit our STORE: https://game-developers.org/shop ▶
▶ Our Discord :) : https://discord.me/gamedevelopers ▶
FLAX Engine, is an open-source, cross-platform game engine designed for wide target of people interested in making 3D games and don´t always have coding skills.
#flaxengine #gamedevelopers #gamedev #indiedev
Download Flax Engine from!
https://flaxengine.com/download/
...
https://www.youtube.com/watch?v=qr_08S4fv84