Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/armanx200/tilemap
implements a simple tilemap generator using the Tilemap class, allowing for dynamic map creation and modification
https://github.com/armanx200/tilemap
arman-kianian game game-development github python
Last synced: 6 days ago
JSON representation
implements a simple tilemap generator using the Tilemap class, allowing for dynamic map creation and modification
- Host: GitHub
- URL: https://github.com/armanx200/tilemap
- Owner: Armanx200
- Created: 2024-01-30T22:23:13.000Z (almost 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-24T16:52:50.000Z (9 months ago)
- Last Synced: 2024-11-24T09:16:35.939Z (2 months ago)
- Topics: arman-kianian, game, game-development, github, python
- Language: Python
- Homepage: https://github.com/Armanx200
- Size: 6.84 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tilemap
This Python script implements a simple tilemap generator using the Tilemap class. The code divides a 2D map into four parts (top, bottom, left, and right) to create a seamless tile-based environment. Each part of the map is represented by instances of the Tilemap class, allowing for dynamic map creation and modification. The script includes methods to set the initial map, handle neighboring maps, and print the resulting composite map.Key Features:
- Tilemap class for managing tile-based maps.
- Dynamic handling of top, bottom, left, and right parts of the map.
- Methods for setting and fixing the map to ensure continuity.
- Example usage with an initial tilemap configuration.Arman Kianian