Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tilemap with metadata #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add tilemap with metadata #9

wants to merge 2 commits into from

Conversation

trex
Copy link
Owner

@trex trex commented Mar 7, 2018

This change adds a Tiled built tilemap with metadata for wall collision and player start locations.

Collidable tile layer is default, whereas a non-collidable tile layers are specified using nocollide=true as a custom property on the Tiled layer.

Player starting coordinates are identified by the type player_start on the Tiled object. Unique player coordinates are created for all 4 players and are distinguished by the object name, names include start_yellow, start_magenta, start_cyan, and start_red.

@trex
Copy link
Owner Author

trex commented Mar 7, 2018

@matthewaltman this is not ready for merge yet, but putting it up so that you can pull down and run.

The tileset I am using is made of 32x32 tiles. The player is currently 64x64. Should we resize the player, or the tileset/tilemap?

Prior to merging, I would like to add documentation on designing tilemaps for the project, and possibly shore up the sizing of sprites and tiles, and fit the gameboard to screen.

@matthewaltman
Copy link
Contributor

matthewaltman commented Mar 7, 2018

@trex we can resize the player down in game. I made the player larger so when it is resized after powerup it's not too blurry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants