Class Hours: 10:05 – 2:40
Mr. Bohmann | wbohmann@ewsd.org
10:05 Today’s Notes & Attendance
- No School on Monday for Memorial Day
- Braden – Meeting in the Career Center at 1:20 today with Ms. Hemmingway and Mr. Mason
- If you missed days this week, be sure to read missed day plans for details you are responsible for
- Past Due work – please get this in so you can focus on your game. See me if you are not sure what assessments you have missed
- After you read this, open your 2D Programming Playground Project….
- Equipment – please return
10:10 2D Level Design and Tilemaps in Unity
Super Mario pretty much put Tilemaps on the Map! Tilemaps, like pixel art are fun and challenging to make and with Unity, can be easily painted in to a scene. Depending on your needs, you may have many different tilemaps or just a few. For example you may have a tilemap for the sky, for the ground elements and for your platforms
A Tilemap is a grid of resuble tiles. With tilemaps you can create platforms, animated tiles, boundaries and different game and level layouts.

Tilemaps palettes are imported like sprite sheets – as a group or individually. From there you can cut them up. You can have high pixel count tiles or low pixel.
The Unity Asset Store has a bunch of free platformer tilesets you can use. I have one for you for today’s lesson. You can download it from my Google Drive. Download so we can play around and test the workflow. We’ll cover:
- Opening in Photoshop and looking at a sprite sheet
- Exporting and slicing sprite sheets
- Creating Tilemap Grids
- 2D Object > TileMap > Rectangular
- Window > 2D > Tile Palette
- Saving/ Loading the Palette
- Painting Tiles
Your Task: Create a Room with two exits and some internal walls or obstacles or create a platformer with ground, platforms and objects/obstacles. You can work outside of the scene mode. Afterall, a platform moves left to right (most of the time) or you can build a nice big top down world.
The goal here is to get comfortable using tiles on the grid / sorting layers and making palettes. Be sure to include a collider for your tiles – called a tilemap collider.
If you want your tilemap collider to work well, think about how many layers you have in your tilemap grid.
When complete with your room, take a screen shot and place in the community slide deck. Community Slide Deck. You have editing rights. Go to the slide with your name on it.
If you want to run around in your world (Dungeon Crawler Style), grab my player movement code and place on your player.
Some more props if you want to add some props to your scene.

10:50 Morning Break (10 minutes)

11:00 Game Studio – Work Session Time

This is a game worksession. Don’t forget, we did a lot of coding the past two months. I also have a folder in Public/CAWD2/UnityResources/Unity Scripts explained
My lesson notes on basic player movement in 2D. You’ll find some information of how to make your player flip in both directions. This Code is intended for side scrollers and does not include jumping. If you didn’t want the player to move up and down – you could remove the vertical code. Full code.
My lesson notes on player jumping in 2D. This code is added to the player script. The notes describe the process of what the code is doing.
My code on camera smoothing and tracking. Place this code on your camera and fill in the variables as needed. This provides some 2D camera offset on the x axis and some smoothing when the player changes direction.
Thinking of adding a checkpoint in your game. You’ll need an object for your checkpoint. Then you can review my notes and code on handling checkpoints and apply to your game.
Fall detection and respawn for player. Notes and code included. This same code could be used and adapted for a killzone.
My code and notes for Player Movement for a dungeon crawler. You should add RIgidBody2D to your player. Change gravity to 0 and freeze rotation on Z. If you add the camera as a child of the player, you can have a basic player follow. This script would be good for a tilemap level.
Rollerball Camera Code for 3D scene with camera offset.
If you want to destroy a game object, like what did with the blocks in Arkanoid or a refresher on adding UI elements like a score or sounds be sure to check back to previous code and games you made already.
For this week – share your Trello Board and tell me your game name. Then open a new project – remember to use Unity 6. Game Design Documents are due on Tuesday.
12:25 Lunch
12:55 Independent Reading

1:20 Afternoon Break (10 minutes)

1:30 Speed Design

1:50 Independent Production & Guided Support
- Past Due Work
- Final Game Project work (Game Design Document due Tuesday)
- Dissecting your favorite video game – due on Tuesday
2:38 Dailies
