Backgrounds
- good for low cpu usage (unlike objects) so good for large maps e.g.:
- also easy to draw maps with reuseable tiles using tileset backgrounds:
Rooms
- settings - change height / width of room
- objects - can add / remove objects
- backgrounds - can add an image / texture to background (will work also with tilesets)
- tiles - can fill out room with background tileset by clicking on tiles tab:
the coolest thing about tilesets is you can use the current tile layer (the depth works the same as it does with objects - z axis, negative closer to you, positive into the computer screen). now i can walk in front of - or behind - trees in the background (for example):
Views
for big level we only want the camera to focus on a small part of the room:
this will always keep my ego / character centred, so when my hero spawns i use an "on create event" to centre my hero in the middle of the room:
this will only appear truely centred if my sprite origin is in the centre of my sprite, for example a 32x32 sprite would have its origin at (16,16):
Challenges
- Use the internet to find a tile set for a Zelda like village
- Create a Zelda like village. Use multiple rooms if you would like