GithubHelp home page GithubHelp logo

rayofideas / godot_gdbot_2d_demo Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 2.0 68.75 MB

Demo of 2D platformer with smooth animation transitions, created using Godot

License: MIT License

GDScript 100.00%
godot godot-engine godot2d

godot_gdbot_2d_demo's Introduction

Godot: GDbot 2D Demo

Demonstrates Godot's capabilities to create a 2D platformer by utilizing many features from AnimationTree, PhysicsBody2D, Light2D, AudioStreamPlayer2D, and Particles2D.

Quick look

๐Ÿค– GDbot

GDbot is the playable character in this demo. Originated from the Godot's logo, Tyson Tan (้’›ๅฑฑ) designed a couple of mascots for Godot Engine: GDbot and Sophia.

GDbot & Sophia

Tyson has kindly given us the krita file of his original design, so I took it and make the vectorized version of it. It's slightly different to suit this demo, but they are more or less the same. (I must admit I butchered GDbot's hand and leg, but well...)

Thank you for your masterwork, Tan! ๐Ÿค—

All files are included in this repository, or click these links: ๐Ÿ”— Krita file ๐Ÿ”— SVG file ๐Ÿ”— Affinity design file

๐Ÿ•น๏ธ Features

This project includes simple codes in GDbot.gd to control GDbot's movement and transitions between animations. In addition to that, sfx_manager.gd manages multiple audio players to produce special sound effects for each movement.

The animation pack also features attack and damaged animations for GDbot which work hand-in-hand with GDbot.gd to handle the combat system. Notice the CallMethod track in some animations to know the precise time when GDbot applies damage when attacking.

In this demo, the light ball will turn to red after being damaged, causing it to be hostile to GDbot. If the ball hits player when it's red, GDbot will receive damage. To turn it yellow again, GDbot must punch the ball which also cause.

โš ๏ธ Issues

  • Not very smooth transitions on edge cases.
  • Landing animation doesn't play on the right time when landing on a higher platform.
  • Sometimes methods are not called by animation player when transitioning.
  • This: GDbot & Sophia
  • Haven't been tested as a robust template for making a game with this style

Some issues above has been addressed in the v0.1.1 release. Hopefully it resolves these bugs.

๐Ÿ“ˆ Possible Future Plans

  • Stay tuned for a video discussing this project on my YouTube channel: ๐Ÿ”— Ray of Ideas
  • If I get enough support, maybe I'll try to make this project good enough as a production-ready template, so people can make a game on top of it!

godot_gdbot_2d_demo's People

Contributors

rayofideas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

belzecue avor2

godot_gdbot_2d_demo's Issues

Downloaded ZIP isn't complete.

Everytime i downloaded the ZIP for the repo or the project, it always got missing files upon extraction.
Even the project.godot file isn't in the Extracted Folder. Its a hassle trying to download each missing files from the repo by hand.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.