Godot 2D action adventure platformer demo

Source code available here https://github.com/Levrault/godot-2d-action-adventure-platformer-demo

Godot 2D action adventure platformer demo will be a "complete" tiny demo that should contains a lot of useful stuffs for people that want to learn Godot Engine and creating their own platformer. 

I hope it should answer the common question : Damn, how can I code that ? by only reading through code instead.


Features

Engine

  • A basic retro physic engine
  • Momentum hitting management (slow time with an ease-in-out effect)
  • Tilemap system
  • Music and sound management

Player


A pretty basic but complete character moveset

  •   Jump
  •  Double jump
  • Getting hit
  • Dying
  • Grounded combo attack
  • Air combo attack

GUI

  •   Cooldown bar between combo
  •    Healtbar
  •   Pause screen

Enemies

Slime: A vicious little creature that will follow you if you get to close to him  

  •   Will try to bite you if your too close  
  •  Multiples behaviours (idle, move, attack, getting hit, dying)

  
Eagle: A flying enemy that mind his own business, if you don't get in his path (simple movement path)

Interfaces


  • Main menu
  • Loading screen 
  • Credits Screen
  • Game Over screen

Keys

Move - wasd, arrow keys

Jump  - Space bar

Attack  - F, left mouse click

Pause - Escape

*Game is also playable with a game controller*

Credits

This demo was made by using those amazing assets (thanks to their author, that share their works like that). To use those assets, I recommend to directly download it from their official page and follow the license terms. 

Sprites

Animated Pixel Adventurer

Free Pixelart Platformer Tileset 

Sunny Land 2D Pixel Art Pack

Slime

Pixel health bar asset pack 

Fonts

pixelmix font

Arcade Classic Font

Sounds and musics

The Essential Retro Video Game Sound Effects Collection [512 sounds] By Juhani Junkala

Star Commander1 [music]

Obviously if an asset is not credited, contact me, I always try to credits the asset I use, but something I can just forget to do it.

Install instructions

Download zip files

Unzip

Play

Download

Download
sidescroller-demo-alpha-v092-linux.zip 42 MB
Download
sidescroller-demo-alpha-v092-window.zip 39 MB
Download
sidescroller-demo-alpha-v092-source.zip 28 MB

Development log

Comments

Log in with itch.io to leave a comment.

The main character is flying forever when you jump!

Also, very beautiful and amazing game! Congrats!

it's seems that physic broke on certain linux version. Can you tell what is your hardware and if it happen everytime you'r jumping ? I didn't have time to check the issue but I will try to fix it if I can reproduce it :P

(1 edit)

I'm using Windows 10 (1803).

I can't tell if it happens everytime because once you jump the character flies out and you can't jump again... It seems like a simple boolean issue...

(+1)

Thanks, I was able to reproduce. I will fix it as soon has possible.

(+1)

I re-export the project on windows and the issue seems to be fix... maybe an export problem. I will do the same for the linux and mac version but I can't test them for the moment. Tell me if it's better now. Thanks.

It's fixed now... Very beautiful and amazing game! Congratulations!!!

I found another bug... It seems that an unnamed scene is trying to be loaded when you click on Retry after dying in the second stage

(+1)

Thanks you again for your feedbacks. I will made a fix in the next few days.

(1 edit)

Can we reach all Project Sources (codes)?

Yop juste right there https://github.com/Levrault/godot-2d-action-adventure-platformer-demo

Thanks!

I added the source code on the page, I think it will be more convenien

the jump and gravity on the linux version is broken.

Can you tell me which version of Linux did you use ? I test it on Linux Mint and pop is and everything looks fine. With more details I will be able to find a fix.

linux mint 19.1 Cinnamon.

Everything seems to work as intended on linux mint 18.2. I will try to create a virtual machine to test on 19.1. Can you tell me if you use the nvidia drivers, intel or amd ?

I think I fix the issue, it seems to been an export issue. I not able to test it on linux right now, but I think the jump physics will now work. Don't hesite to give me your feedback.