Giter VIP home page Giter VIP logo

novemberdev-godot-endless-runner-tutorial's Introduction

Endless-Runner Template and Tutorial by NovemberDev

This is an endless runner template I built for a video and a game (Nov Run) that I released on the Google Play Store.

Screenshot

Screenshot

Screenshots of Nov Run (final game)

Screenshot Screenshot

How does it work?

Nov Run is mainly controlled by World.gd. The script spawns Parts (Corridor, Curves) and populates them with obstacles (obstacles, obstacle_scenes).

Foreach part in scenes/parts, you open a part and click on the toolscript "Compile Parts", which spawns an OBJECT_LAYOUTS node, where you can drag in Scenes from scenes/obstacles.

Screenshot

If you press the "Compile Parts"-Button again, the Toolscript creates a "res://compiled_parts.tres"-File, which contains your configuration and gets parsed at runtime foreach part of any theme.

In the background another Toolscript (ObjectPooling.gd) creates instances of your scenes to make sure the game doesn't stutter while you play.

How to extend the game?

  1. Clone the Project and open it in Godot 3
  2. Create 3D models for obstacle_scenes with the ORIENTATION_THEME_INDEX naming convention
  3. Create 3D models for parts with the ORIENTATION_THEME_INDEX naming convention
  4. Register new themes in World.gd:
var themes = ["TERRAN"]
var themes = ["TERRAN", "EGYPT"]

Nov Run on Google Play

https://play.google.com/store/apps/details?id=com.novemberdev.novemberdevnovrun

Note: this game is still a technical test, just with more assets now

novemberdev-godot-endless-runner-tutorial's People

Contributors

novemberdev avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

nikhil-desai

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.