Hey guys, I'm back.
Anyway, I want to use Tiled to make the maps for my new project. I'm wondering if there's a Lua-based XML parser anyone would recommend.
The Lua Users wiki has a page on Lua XML parsers. Have any of you tried them with the map files created by Tiled?
Search found 102 matches
- Fri Aug 20, 2010 1:01 am
- Forum: Support and Development
- Topic: XML Parser (for Tiled map files)
- Replies: 4
- Views: 2563
- Mon May 17, 2010 2:53 am
- Forum: Support and Development
- Topic: Are SpriteBatches affected by the current colour
- Replies: 0
- Views: 1502
Are SpriteBatches affected by the current colour
As in, are SpriteBatches coloured like other images are if you set the colour?
Because I don't think they are. I haven't been able to affect the colour of a SpriteBatch like I can with regular images by calling love.graphics.setColor.
Because I don't think they are. I haven't been able to affect the colour of a SpriteBatch like I can with regular images by calling love.graphics.setColor.
- Fri May 14, 2010 9:50 pm
- Forum: Support and Development
- Topic: Artifacts in scaled images
- Replies: 14
- Views: 5162
Re: [Reply]Problematic Application Inquiry
http://filesmelt.com/dl/VidwarsAlpha0.love By the way, if anyone is studying the source, the map drawing code is in map.lua at line 341, with the map graphics loading done at line 72 in the function mapGraphics.load in the same file. The actual map drawing is called in map_select.lua at line 145.
- Thu May 13, 2010 11:26 pm
- Forum: Support and Development
- Topic: Artifacts in scaled images
- Replies: 14
- Views: 5162
Re: Artifacts in scaled images
Why does flooring it create gaps between the tiles? You should be using whole pixel coordinates regardless of what tile system you're using. To be honest, I don't remember. And the code I've uploaded since doesn't have that issue anymore. I think I initially handled coordinates in a way such that I...
- Wed May 12, 2010 10:09 pm
- Forum: Support and Development
- Topic: Artifacts in scaled images
- Replies: 14
- Views: 5162
Re: Artifacts in scaled images
The select button has no functionality implemented yet, so you're not seeing a bug.
But the lines and gradients, yikes!
But the lines and gradients, yikes!
- Mon May 10, 2010 8:44 pm
- Forum: Support and Development
- Topic: Artifacts in scaled images
- Replies: 14
- Views: 5162
Re: [Reply]Problematic Application Inquiry
try flooring the drawing coordinates or try setting the image blend mode to nearest. I got similar weird artefacting when I was drawing things at .<x> coordinates in Proto-RTS for a while, but making it work on whole numbers fixed that. I tried flooring. The thing is, though, is that I'm drawing a ...
- Mon May 10, 2010 12:23 am
- Forum: Support and Development
- Topic: Artifacts in scaled images
- Replies: 14
- Views: 5162
Re: Artifacts in scaled images
Bumping.
No one has an answer for this?![Sad :(](./images/smilies/ms-sad.png)
No one has an answer for this?
![Sad :(](./images/smilies/ms-sad.png)
- Sat May 08, 2010 4:31 pm
- Forum: Support and Development
- Topic: Artifacts in scaled images
- Replies: 14
- Views: 5162
Re: Artifacts in scaled images
Just so I understand it correctly: are you scaling images up and then pasting them over a Spritebatch, or are you pasting unscaled images on an spritebatch and then scaling the spritebatch itself? I'm scaling the SpriteBatch itself. I've tried scaling in two ways. The first way is scaling the Sprit...
- Sat May 08, 2010 3:05 am
- Forum: Support and Development
- Topic: Artifacts in scaled images
- Replies: 14
- Views: 5162
Artifacts in scaled images
Attachments aren't working through my web proxy, so I'll use web links. http://img62.imageshack.us/img62/3263/vidwars07may2010113537p.png http://img441.imageshack.us/img441/1456/vidwars07may2010113545p.png I'm drawing a SpriteBatch. However, if I do any scaling I get the artifacts you see above. Set...
- Tue May 04, 2010 7:38 pm
- Forum: Support and Development
- Topic: How to load a vectorial image?
- Replies: 8
- Views: 3394
Re: How to load a vectorial image?
Native support for SVG would be pretty cool. I'm tired of resolution-dependent graphics. ![Nyu :nyu:](./images/smilies/ms-nyu.png)
Finding an actual SVG library has been pretty sketchy in my experience though, and I've heard that the SVG specification is a monster to implement.
![Nyu :nyu:](./images/smilies/ms-nyu.png)
Finding an actual SVG library has been pretty sketchy in my experience though, and I've heard that the SVG specification is a monster to implement.