Search found 7 matches

by bumblberry
Mon Mar 28, 2016 4:39 pm
Forum: Support and Development
Topic: Tiled Map Editor compression help please
Replies: 8
Views: 3909

Re: Tiled Map Editor compression help please

Have you seen this? https://github.com/karai17/Simple-Tiled-Implementation Been trying various settings in Tiled (csv, gzip, etc.) and STI seems to understand them fine. Or is this not fast enough for you? It feels a bit clunky to work with but it seems to get the job done just fine. This is awesom...
by bumblberry
Sun Mar 27, 2016 2:35 am
Forum: Support and Development
Topic: Tiled Map Editor compression help please
Replies: 8
Views: 3909

Re: Tiled Map Editor compression help please

again, I don't at all see why you would want to do this. It will perform worse in every case! In releases it takes longer to load (because you decompress it twice and the parsing is 100% unecessary overhead) and it will probably actually increase filesize because it wont compress the maps any bette...
by bumblberry
Sat Mar 26, 2016 5:15 pm
Forum: Support and Development
Topic: Tiled Map Editor compression help please
Replies: 8
Views: 3909

Re: Tiled Map Editor compression help please

Sulunia wrote:Well, after a quick look i think you'll have to parse the XML file yourself i'm afraid, based on this: http://doc.mapeditor.org/reference/tmx-map-format/
Do you know any tutorials on how to parse an XML file?
by bumblberry
Sat Mar 26, 2016 3:52 am
Forum: Support and Development
Topic: Tiled Map Editor compression help please
Replies: 8
Views: 3909

Tiled Map Editor compression help please

I've been making maps in Tiled v0.15.2 and exporting them as .lua files so I can have them drawn at different times. The problem is, Tiled doesn't seem to support the compression for love2d any more. By that I mean how in every tutorial I see the layers[1].data table looks something like this: data ...
by bumblberry
Sun Mar 13, 2016 5:12 am
Forum: Support and Development
Topic: Sprite Serialization Help
Replies: 4
Views: 2404

Re: Sprite Serialization Help

The idle and selecting animations have 3 frames, and the rest have four, do you check whether the spr.curr_frame value is actually between 1 and the number of frames defined in the current animation (spr.curr_anim) anywhere? That may be the issue. That does seem to be the issue. I copied a middle f...
by bumblberry
Sat Mar 12, 2016 6:06 pm
Forum: Support and Development
Topic: Sprite Serialization Help
Replies: 4
Views: 2404

Re: Sprite Serialization Help

The problem is likely in archer_f_sprite.lua; can you show it? Yup print("archer_f_sprite.lua loaded") local source_img = love.graphics.newImage("assets/character_sprites/map/archer_f.png") local image_w = source_img:getWidth() local image_h = source_img:getHeight() return { ser...
by bumblberry
Sat Mar 12, 2016 5:50 am
Forum: Support and Development
Topic: Sprite Serialization Help
Replies: 4
Views: 2404

Sprite Serialization Help

I'm working on a top-down game with grid-based movement and a ton of possible player sprites. All of my sprites are loaded using this http://www.buildandgun.com/2014/07/animated-sprites-in-love2d.html . After switching between animations for a short time, I get an error like this: [Error] AnimatedSp...