Search found 102 matches

by VideroBoy
Fri Aug 20, 2010 1:01 am
Forum: Support and Development
Topic: XML Parser (for Tiled map files)
Replies: 4
Views: 2563

XML Parser (for Tiled map files)

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?
by VideroBoy
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.
by VideroBoy
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.
by VideroBoy
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...
by VideroBoy
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!
by VideroBoy
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 ...
by VideroBoy
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? :(
by VideroBoy
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...
by VideroBoy
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...
by VideroBoy
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:

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.