Page 1 of 1

Quad Bleeding

Posted: Wed Jan 24, 2018 10:32 pm
by spartan598
Hey, first time poster here. (so give me a shout if I missed anything)

My game is really simple, I have an archer sprite that is animated, basic shooting, and what I'm having trouble with: a modified map script.

Controls
-wasd/udlr controls for moving
-mouse 1 for shooting
-t for running any code I'm trying to test
-an unimplemented dash function so ignore that

The Problem
I'm trying to get a tiled map that I've modified to run, and for some reason the tiles it uses are offset by 1/5th of a pixel or something?
Capture1.PNG
Capture1.PNG (22.33 KiB) Viewed 1766 times

I believe what is happening is its selecting slightly more than what I want it to:
Capture.PNG
Capture.PNG (20.61 KiB) Viewed 1766 times
Also I noticed in the making of this that the tiles seem to be rendering the tile in front of it for some reason
(so tile 1 draws tile 2's sprite)
but I've got that feeling of frustration from dealing with the first problem for so long so I'm going to post this and take a break.

Full "Game":
V008.love.zip
(20.97 KiB) Downloaded 52 times

Please Help!
-Spartan598

P.S. (I'm not the most timely person so I apologize if it takes me a bit to respond.)

Re: Quad Bleeding

Posted: Thu Jan 25, 2018 7:58 am
by grump
Welcome to the forums!

The documentation adresses this problem in a big orange box at the top of the page. You need a border around your tiles.