Free source code

The source code for a number of my games is now freely available for anyone to download or use. This is mostly to assist newcomers to Defold in how to do basic stuff, but anyone is welcome to have a look.

Bare in mind there are usually multiple ways to program things and I may not have always used the best way - I tend to use simplistic methods where possible.

The repositry can be found here - https://github.com/benjames-171/defold-games

And lastly a bit of advice: try and understand code you cut and paste, you’ll be glad you took the time in the long run.

Any questions or problems, I’ll be here.

62 Likes

Fantastic initiative! Great mentality towards newcomers and the community in general :slight_smile:

5 Likes

You sir deserve a big bag of Defold swag! Please PM me your address and I’ll happily send you some stuff!

12 Likes

Great! Thanks a lot! :slight_smile:

3 Likes

Thank you so much for your generous contributions to the Defold community! :+1:

3 Likes

Wow, thank you very much! Fantastic learn ressources! :smiley:

3 Likes

Thank you, this is so helpful!

2 Likes

Thanks for posting these Ben! I’m new to the Defold engine, and programing in general. These games are inspirational and look like a great starting place.

P.S. Heli-Rescue is SUPER addictive!

5 Likes

“Ice Runner” source code added to the repo : https://github.com/benjames-171/defold-games/tree/master/Ice%20Runner

12 Likes

The repository is now up-to-date with my most recent games:

Cave Runner
Circuitron
Elephant Smash
Multipod
Word Worm
Driller
Crystal Caverns

Link again : https://github.com/benjames-171/defold-games

22 Likes

Wow :smiley: there are no words to tell you how much we appreciate it, thanks, Ben! :smiley: I especially like Crystal Caverns and Driller :smiley:

4 Likes

Oh my!!! I’m gonna play them all!!!

1 Like

This repository has been updated again with some of my more recent games. To improve the overall quality, I’ve removed some of the older games where the code was at a lower standard. Have fun!

GitHub link - https://github.com/benjames-171/defold-games

7 Likes

Fantastic list of games. Really useful to learn how things were made by playing and then dipping into the source. Is there a list of playable versions of all the games somewhere?

2 Likes

You can play all the games (and more) from my itch.io page.

3 Likes

:ok_hand:

Repo has been updated again with five new games:

Planet Zero
Jetpack Jeopardy
Asteroid Apocalypse
Star Runner
Sub Strike

GitHub link - https://github.com/benjames-171/defold-games
Play the games - https://benjames171.itch.io/

21 Likes

It’s been a while so time for an update: another five news games added to the repository.

  • Alpha Squirrel
  • Crystal Caverns 2
  • Moon Golf
  • Reactor
  • StackPack

Have fun!

21 Likes

Thank you so much Ben.:+1::+1::+1::+1::+1::+1::+1:

4 Likes

Waaaahhh thanks. I love :heart_eyes: .

3 Likes