• Stars
    star
    212
  • Rank 185,400 (Top 4 %)
  • Language
    Dart
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A 2D infinite side scroller mobile game made in Flutter using Flame engine.

Dino Run

A 2D infinite side scroller made using Flame engine.

Demo

Menu

Jump

Hit

Downloads

Build steps

# Clone this project
$ git clone https://github.com/ufrshubham/dino_run

# Access
$ cd dino_run

# Install dependencies
$ flutter pub get

# Run the project (Make sure that a virtual or physical device is connected first)
$ flutter run

# The will start the game on any connected device.

Supported platforms

  • Android
  • iOS
  • Windows (without audio)

License

Assets provided in this repo are not owned by my. For more details about their origin and authors, check assets/images/readme.md and assets/audio/readme.md

This project is under license from MIT. For more details, see the LICENSE file.

Why the code is so different than the YouTube series?

Dino run is a simple mobile game that I originally started making, so that I can learn Flame engine. But while doing so, I couldn't find a lot of up-to date resources (apart of the official docs). So I decided to make a YouTube series covering the development of this game.

Everything went great and in about 7 weeks I wrapped up the series (actual game completed way sooner than the series). The original game and the YouTube series was made using version 0.28 of Flame (probably latest at that time). But little did I know that Flame was under massive development preparing for the 1.0 release.

I suspected that my videos were going to get outdated pretty soon with newer versions of Flame. My plan to deal with this was to keep updating this repository with latest changes from Flame, so that new viewers of the series don't get stuck with a code that won't even build. But things got much worst after Flutter went null-safe. I tried migrating this project to null-safety and latest version of Flame multiple times. But I always ended up introducing a lot of bugs in the game.

It was not like this is a very big project and a lot of people are follow it. I was easier to leave this repository in a broken state. But personally, I've been through the frustration of trying to learn something new, spending hours and hours watching some tutorial series only to find out at the end that it is completely outdated. Remaking the whole YouTube series is a big undertaking (which I am not prepared for). But rewriting this game again wasn't that big of a deal. So finally I decided to rewrite the whole thing from scratch (almost), keeping the original code on a separate branch. Surprising it took me only few hours to get it up and running.

To check the original code, checkout the main branch.

Games inspired from Dino Run

This list might not contain all the project that are inspired from Dino Run, but these are the ones that I know of. If you want to add your game here or know of a game that should be featured here, feel free to open a pull request or send me the required details.


Join my Discord if you want to discuss something about this project.

More Repositories

1

spacescape

A 2D top-down space shooter made using Flutter and Flame engine.
Dart
114
star
2

Flutter-Basics

Example code files to understand how different flutter widgets work.
Dart
61
star
3

flame_simple_platformer

A 2D platformer made using Flame engine
Dart
54
star
4

2D-Snake-Game

A simple 2D Snake Game using C++ and SFML.
C++
31
star
5

multi-value-listenable-builder

A Flutter package to listen to multiple value listenables in a single widget.
Dart
11
star
6

That-Wallpaper-App

Yes, this is that wallpaper app that nobody really wants.
Dart
10
star
7

halloween_battle

A fun little 2D-PvP-turn based game written using the Flame engine for the very first Flame Game Jam!
Dart
10
star
8

raylib-dart

Dart bindings for Raylib!
Dart
8
star
9

sfml-project-template

A cross-platform template for C++ SFML projects using cmake
C++
6
star
10

ski_master

A top-down vertical scroller game about Skiing made using Flame Engine
Dart
5
star
11

Boids-SFML

A boids simulation made using C++ and SFML.
C++
4
star
12

FastestPizzaDelivery

A game made for the Game (Engineless) Jam using Raylib
C++
3
star
13

Invert

A 2D Puzzle Platformer made using Godot.
GDScript
3
star
14

lost

A game created for the Flame6Year competition
C++
3
star
15

Pixel-Platformer

A 2D platformer made using Godot engine
C#
2
star
16

Price-Drop-Notifier

Tracks product price and sends an email notification using if price drops for a given product using Python
Python
2
star
17

TweetTweetJam4-Catch_em

A simple game within 560 characters of code!
GDScript
2
star
18

todo-plus-plus

This is simple CURD application written in C++ with elements and sqlite library.
C++
1
star
19

Connect4-Clone

A Connect4 clone using SFML and C++
C++
1
star
20

Brick-Buster

A 2D breakout game made using C++, SFML and Box2D
C++
1
star
21

launcher

An open source android launcher made using Flutter!
Dart
1
star
22

Tic_Tac_Toe

A tic tac toe game using python.
Python
1
star
23

OneClickRumble

A 2D game created as a submission for One Button Game jam.
GDScript
1
star
24

hold_labs

A game about temperature science
Dart
1
star