0:00 / 0:00
- Recommended by 1 person: 1 in engineering communities.
- Linked in the descriptionPurpleKingdomGames/indigo.g8PurpleKingdomGames/snake-tutorialPurpleKingdomGames/indigo
- Made by the vendor. The company whose product it covers made or sponsored it.
- May be out of date. The tools, versions or practices it shows have likely moved on.
Beginner. No background in the topic needed.
1K views2 years ago1 recommendation
Game developmentProgramming languagesGame programmingScalaUnity, Unreal and Godot
A step-by-step tutorial on building the classic game Snake using Scala, Scala.js, and the Indigo game engine.
In this tutorial, we'll build a version of the classic game 'Snake!', from scratch. Snake is an excellent "Hello, world!" project to help you learn any game engine, but here we'll be using our very own Indigo. Indigo is a Scala 3 / Scala.js code-only game engine aimed at people interested in functional programming. If you'd like to follow along, please take a look at our Giter8 template to get set up with a blank project: github.com/PurpleKingdomGames/indigo.g8 If you'd like to explore the final project, there is a supporting Github repo, here: github.com/PurpleKingdomGames/snake-tutorial Other useful links: Indigo's website: indigoengine.io/ Indigo on Github: github.com/PurpleKingdomGames/indigo Discord: discord.gg/b5CD47g Sponsor our work: github.com/sponsors/PurpleKingdomGames Chapters: Let's build Snake! Build setup Blank project tour Wiring in an empty Model Basic rendering Rendering a model Moving the snake Managing the game's update rate Accepting user input Collecting apples Crashing! Sound effects Using images for graphics Getting helpWhy it's here
1 person recommends thisMoments people linked to
u/mostly_codesin r/scala • Mentions
On “S2D - Simple Videogames Programming Library written in Scala”
Both are excellent resources. And Dave, the author of Indigo, is a super friendly guy! He did a good little hello-world for Indigo here: link to this video
u/davesmith00000in r/scala • Mentions
On “We've added island editor to our game!”
…ites. It's very small and therefore fairly accessible in terms of understanding how it works:
https://indigoengine.io/demos/snake-in-5-minutes/
I did also make a video tutorial, once upon a time. It was my first attempt at making something like that and it will no doubt be showing it's age now, but it might give you a sense of what's going on:
[video
Hope that helps!…