A business analyst who has led multiple development teams shares their experience of building a 2D game called 'Scorpions and Ferraris' in 40 minutes using Golang and the Ebiten library. The game, inspired by Frogger, features a scorpion avoiding cars to reach the other side of the screen. The post includes detailed steps for setting up the development environment, creating the game structure, and implementing game logic. Additionally, it discusses the use of Paint.net for modifying graphics.
Table of contents
Create New Go ProjectCreate Main.go FileInteger Constant DeclarationStructsNew Game FuncInitializeGame MethodUpdate MethodcheckCollisions MethodDraw MethodLayout MethodThe Most Important function in the Game ! : The Main FunctionClamp FunctionFinal CodeSelecting Your Own Images and Paint.netFor The Player and Car SizeRecommendation with Paint.net63 Comments
Sort: