Join Kelley Hecker for an in-depth discussion in this video Number of moves level type, part of Build a Match 3 Game with Unity.
- [Voiceover] The first type of level…we're going to implement is the number of moves level type.…The player will start with a certain number of moves…and a target score they must reach.…If they reach the target score,…within the given number of moves, they win!…If not, they lose.…Create a new script called LevelMoves and open it.…This will derive from our base level class.…The only additional parameters…the move level needs over the base level…is the number of moves the player gets,…the target score, and how many moves…the player has already used.…
The number of moves and the target score…will be public, so we can set them in the inspector.…In start, we set the level type to the moves level type.…We'll also print the number of moves and the target score.…Later we'll be implementing a UI to display this.…In the level one scene, click on the level object…and remove the level component.…Replace it, with the level move script.…Assign the variable for a grid object in the inspector.…
Click on the grid and change the size to six by seven.…
Game developer Kelley Hecker covers topics like creating a grid-based game board, using inheritance to create different types of game pieces, adding obstacles and new levels, detecting matches and clearing pieces, and implementing a user interface complete with a score screen. By the end of the course, members will have a completed game and learned new techniques to apply to their next Unity project.
- Creating a game board grid
- Creating and scripting game pieces
- Filling the board
- Creating obstacles
- Swapping pieces
- Matching pieces
- Clearing obstacles and pieces
- Creating new levels
- Creating the user interface: HUD, game over screen, etc.
Skill Level Intermediate
Unity 5 2D Essential Training (2015)with Jesse Freeman3h 22m Intermediate
Creating Mobile Games with Unitywith Kelley Hecker1h 12m Intermediate
Unity 5: Build a Real-Time Strategy Gamewith Dan Violet Sagmiller3h 46m Intermediate
1. The Game Board
2. Make a Move
3. Special Piece Types
4. Level Types
5. User Interface
Next steps1m 29s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.