Skip to content
0:00 / 0:00

#scala#scala.js#indigo

Let's build Snake!

Purple Kingdom Games

58 subscribers • 1 video on Hallway

YouTube

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 help

Why it's here

1 person recommends this

u/davesmith00000in r/scala • Recommends

Let's build Snake!

u/davesmith00000in r/functionalprogramming • Recommends

Let's build Snake!