Quad Bleeding

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
spartan598
Prole
Posts: 1
Joined: Thu Nov 09, 2017 3:57 am

Quad Bleeding

Post 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 1765 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 1765 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.)
grump
Party member
Posts: 947
Joined: Sat Jul 22, 2017 7:43 pm

Re: Quad Bleeding

Post 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.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests