Skip to main content

2048 with Bevy ECS

1h 40m 27s
English
Paid

Course description

2048 is a 2d board-oriented game. We cover foundational Bevy concepts while spawning tiles on the screen, handling user input, keeping score, and querying for resources in a small contained game. Bevy systems also provide a contained playground for Rust language concepts like references and ownership.

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 25 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Initializing a new Bevy Project

All Course Lessons (25)

#Lesson TitleDurationAccess
1
Initializing a new Bevy Project Demo
02:27
2
Changing the name of the Window
02:02
3
Adding a 2d Camera
02:02
4
Spawning the 2048 Board
03:49
5
Using Color to change the look of the board
01:42
6
Changing the color of the background
01:21
7
Filling out the board with tile placeholders
06:28
8
Defining associated functions on structs
02:44
9
Spawning Tiles with rand to Start the Game
07:01
10
Showing Point values on Tiles
04:33
11
Updating Tile display when Point values change
03:49
12
Listening for keyboard input
04:45
13
Sorting tiles with Ord
03:32
14
Updating tile Position with Transforms
06:05
15
Board Shifts in 4 directions
01:54
16
Spawning new tiles with events
07:09
17
Keeping Score
05:42
18
Setting up the UI around the game
01:29
19
Live Updating the Score Display
06:39
20
Are there any moves left?
01:06
21
Playing, GameOver, and other states of play
08:12
22
Interactive Button systems
02:36
23
Starting a new game
07:44
24
Tracking High Scores
02:21
25
Animating tiles when board shifts happen
03:15

Unlock unlimited learning

Get instant access to all 24 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Ansible: A Complete Course with Step-by-Step Demo and Labs

Ansible: A Complete Course with Step-by-Step Demo and Labs

Sources: udemy
During this workshop, you will receive an introduction to Ansible that is geared toward people who have no prior experience with the platform. In this course, you will study the...
5 hours 18 minutes 23 seconds
Devops Fundamentals - CI/CD with AWS +Docker+Ansible+Jenkins

Devops Fundamentals - CI/CD with AWS +Docker+Ansible+Jenkins

Sources: udemy
Lets get into Devops World from Scratch with real time Hands On Projects to build Solutions for CI/CD through Jenkins with deploying Docker Containerized apps
8 hours 46 minutes 37 seconds
Ansible: Ansible Automation Masterclass: 2-in-1

Ansible: Ansible Automation Masterclass: 2-in-1

Sources: udemy
Ansible is a simple IT automation engine, that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT nee...
17 hours 33 minutes 12 seconds
DevOps Project - 2022: CI/CD with Jenkins Ansible Kubernetes

DevOps Project - 2022: CI/CD with Jenkins Ansible Kubernetes

Sources: udemy
If you know various DevOps tools like git, Jenkins, Maven, Ansible, Docker, and Kubernetes and are not sure how collaboratively does it work? Or you would like
6 hours 8 minutes 11 seconds
Mastering Ansible

Mastering Ansible

Sources: udemy
Mastering Ansible is a step-by-step journey of learning Ansible for configuration management and orchestration. The course is designed as a journey through configuring a realist...
4 hours 47 minutes 58 seconds