Zenler Player
Your course is loading. Hang tight.
Building 2D Games with Ebitengine in Go (Golang)
Back to curriculum
0% Complete
0% Complete
Introduction
Installing Go
Installing Visual Studio Code
Ensuring our development environment is ready for Ebiten
Asking for help
What we will build in this section
Important note for Windows WSL users
Getting started with our game
Getting started with sprites
Creating a Player object with our sprite
Drawing the player to the screen
Rotating the player sprite
Moving the player on the screen
Keeping the player on the screen
What we'll build in this section
Setting up a scene manager
Modifying the Game type to use a scene manager
Setting up a Game Scene
Updating the Player type to use a scene manager
Trying out our updated project
Adding a simple title scene
Updating text display to use text/v2
What we'll build in this section
Loading meteor assets
Getting started with meteor.go
Adding the Update, Draw, and keepOnScreen methods to our Meteor type
Draw some meteors on the TitleScene
Drawing meteors on the GameScene
What we'll build in this section
Add solarlune/resolv to our project to allow for collision detection
Updating meteors to create collision objects
Updating the player to create collision object
Creating a space for collisions in the Game Scene
Testing collision detection
What we will build in this section
Getting started adding player lasers
Adding lasers to the Player and Game Scene
Actually firing lasers
Destroying meteors with lasers
Destroying meteors with lasers II
Destroying the player with meteors
What we'll build in this section
Loading acceleration sound asset
Adding acceleration sound
Adding exhaust while accelerating
Allowing the player to move backwards
Adding laser sounds
Adding explosion sounds
Adding background sounds
Adding background stars
Adding background stars to the Game Scene
What we'll build in this section
Adding a Game Over Scene
Adding Lives Remaining indicators
Adding Lives Remaining indicators II
Displaying the current score, high score, and level
Persisting the high score
Moving to the next level
What we'll build in this section
Setting up the Shield assets, type, and drawing the shield
Displaying and updating the shield
Setting up Shield Indicators
Bouncing meteors off of the shield
Setting up Hyperspace and the Hyperspace indicator
What we'll build in this section
Setting up basic inertia
What we'll build in this section
Setting up the Alien Type
Setting up the AlienLaser Type
Updating the GameScene to spawn aliens
Allowing the aliens to fire lasers
Handling collisions between Aliens, Alien Lasers and the Player
What we'll build in this section
Building an executable with a custom icon for a Mac
Building an executable with a custom icon for Windows
Deploying our game to the web as a WASM file
Introduction
Introduction
Preview
Installing Go
Preview
Installing Visual Studio Code
Ensuring our development environment is ready for Ebiten
Preview
Asking for help
Getting Started WithOur Game
What we will build in this section
Preview
Important note for Windows WSL users
Getting started with our game
Getting started with sprites
Creating a Player object with our sprite
Drawing the player to the screen
Rotating the player sprite
Moving the player on the screen
Keeping the player on the screen
Setting Up Scenes
What we'll build in this section
Preview
Setting up a scene manager
Preview
Modifying the Game type to use a scene manager
Setting up a Game Scene
Updating the Player type to use a scene manager
Trying out our updated project
Adding a simple title scene
Updating text display to use text/v2
Adding Meteors to Our Game
What we'll build in this section
Preview
Loading meteor assets
Getting started with meteor.go
Adding the Update, Draw, and keepOnScreen methods to our Meteor type
Draw some meteors on the TitleScene
Drawing meteors on the GameScene
Collision Detection
What we'll build in this section
Preview
Add solarlune/resolv to our project to allow for collision detection
Updating meteors to create collision objects
Updating the player to create collision object
Preview
Creating a space for collisions in the Game Scene
Testing collision detection
Implementing Basic Gameplay
What we will build in this section
Preview
Getting started adding player lasers
Adding lasers to the Player and Game Scene
Actually firing lasers
Destroying meteors with lasers
Destroying meteors with lasers II
Destroying the player with meteors
Adding Sound
What we'll build in this section
Preview
Loading acceleration sound asset
Adding acceleration sound
Adding exhaust while accelerating
Allowing the player to move backwards
Adding laser sounds
Adding explosion sounds
Adding background sounds
Adding background stars
Adding background stars to the Game Scene
Adding Levels
What we'll build in this section
Preview
Adding a Game Over Scene
Preview
Adding Lives Remaining indicators
Adding Lives Remaining indicators II
Displaying the current score, high score, and level
Persisting the high score
Moving to the next level
Adding Shields and Hyperspace
What we'll build in this section
Preview
Setting up the Shield assets, type, and drawing the shield
Displaying and updating the shield
Setting up Shield Indicators
Bouncing meteors off of the shield
Setting up Hyperspace and the Hyperspace indicator
Adding Simple Game Physics
What we'll build in this section
Setting up basic inertia
Adding Aliens
What we'll build in this section
Setting up the Alien Type
Setting up the AlienLaser Type
Updating the GameScene to spawn aliens
Allowing the aliens to fire lasers
Handling collisions between Aliens, Alien Lasers and the Player
Deploying the Application
What we'll build in this section
Building an executable with a custom icon for a Mac
Building an executable with a custom icon for Windows
Deploying our game to the web as a WASM file
×
This is an unpublished lesson. This lesson will not be shown for students unless you set it as Public.
Back to Dashboard
No contents are available in this lesson!
No lessons available !
Back to Dashboard
Lesson contents locked
Enroll to unlock this lesson.
Enroll to unlock
Next Lesson