Closed stephenap07 closed 11 years ago
I found Tiled, a map editor that I really like. There's already a well-received pygame extension pytmx to convert the maps into resources usable by maps. I added the library to the utils module and rewrote test.py to show it off.
http://www.mapeditor.org/ - Tiled Map Editor https://github.com/bitcraft/PyTMX - Pygame TMX Extension
Awesome, I merged the pull request. The test runs smoothly.
I was looking for some python/pygame implementations of map editors but they are all pretty weak. I spent about an hour messing around in Tiled and like it. It has a lot of cool features that should make map development easier for us. Tiled generates .tmx files, a special kind of xml file. There happened to already be a .tmx extension to pygame called pytmx. I added it to the project and rewrote test.py to draw the map. The code is in the latest commit.
On 6/16/2013 8:34 PM, stephenap07 wrote:
Create a basic map format to lay down our blocks and other entities. Using an existing tool or creating a new tool for map editing would be nice instead of hardcoding.
— Reply to this email directly or view it on GitHub https://github.com/2nickpick/jax-group-project/issues/2.
Sounds great! Sorry to be a little pedantic, but I think that pytmx needs to be put in a separate directory called contrib in the root jax-group-project directory. I didn't test the project yet, but looking good so far.
Ah, yea. I'll move it over soon. Thanks for the feedback, much appreciated.
After I clean that up I'll spend some time on fleshing out the Level class a little more. Then I'll set my sights on player movement and basic collision.
On 6/17/2013 10:39 AM, stephenap07 wrote:
Sounds great! Sorry to be a little pedantic, but I think that pytmx needs to be put in a separate directory called contrib in the root jax-group-project directory. I didn't test the project yet, but looking good so far.
— Reply to this email directly or view it on GitHub https://github.com/2nickpick/jax-group-project/issues/2#issuecomment-19549246.
Create a basic map format to lay down our blocks and other entities. Using an existing tool or creating a new tool for map editing would be nice instead of hardcoding.