flixel.org
Forums
Help
Games
Twitter
Log in
Please
log in
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Search
Advanced search
Home
Help
Search
Login
Register
flixel
>
development
>
help
(Moderator:
photonstorm
) >
Tiled Tilemap
Pages: [
1
]
« previous
next »
Print
Author
Topic: Tiled Tilemap (Read 1278 times)
SwiftFalcn
Newbie
Posts: 17
Tiled Tilemap
«
on:
Thu, Aug 20, 2009 »
Ok so I've written a few simple classes to handle Tiled XML files. I've uploaded an example project including it and how to use it.
Something important to note is I changed a line in FlxTilemap on line 50 instead of casting it to uint I cast it to an int.
http://www.easy-share.com/1907428643/TiledExample.zip
So yeah I think its pretty straight forward but I've been using it for a while so If you have a question throw it up and I'll help ya out. Totally free for whoever wants to use it for whatever.
Logged
Wing Eraser
Jr. Member
Posts: 82
Re: Tiled Tilemap
«
Reply #1 on:
Fri, Aug 21, 2009 »
When I save the map, it's jumps to 2KB. Mode isn't playable anymore.
1. Open the tiledLvl.tmx
2. Hit CTRL+S
3. tmx file = 2KB
What's wrong?
Logged
SwiftFalcn
Newbie
Posts: 17
Re: Tiled Tilemap
«
Reply #2 on:
Fri, Aug 21, 2009 »
You probably have GZip compression enabled inside of Tiled. Go Edit->Preferences->Saving Tab->Layer Options Group-> and uncheck Compress layer data(gzip).
Logged
Wing Eraser
Jr. Member
Posts: 82
Re: Tiled Tilemap
«
Reply #3 on:
Sat, Aug 22, 2009 »
Yeah
, that helped. Thanks!
Logged
Wing Eraser
Jr. Member
Posts: 82
Re: Tiled Tilemap
«
Reply #4 on:
Tue, Aug 25, 2009 »
I was playing around to make a isometric map. When I load it into the game, it shows the normal map. The tile has been placed like this:
The tile size are 24px by 24px
So what's wrong? Or Flixel doesn't support isometric maps
«
Last Edit: Tue, Aug 25, 2009 by Wing Eraser
»
Logged
Adam Atomic
Administrator
Hero Member
Posts: 724
hostest w/ the mostest
Re: Tiled Tilemap
«
Reply #5 on:
Tue, Aug 25, 2009 »
Flixel doesn't support overlapping tiles currently, but it probably wouldn't be that hard to alter FlxTilemap to support them, as the only difference is really the X and Y offsets on the even numbered lines...though you might have to write up an angled collision function too?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
development
-----------------------------
=> help
=> releases
=> games
=> chat
Loading...