Graphics oddity
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Graphics oddity
I'm writing a 2.5D minecraft clone for practice.
Problem is, top textures like this begin to flash on vertical movement.
The texture is a 16x16 quad of your generic texture atlas, scaled to 32x8. There is 2 of them stacked on the picture, other is in background layer.
Is there a remedy for this?
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Graphics oddity
We don't have enough information to know what it looks like. Either put up a video, GIF or .love of the project.
However, without that information I'm still betting it's the same exact problem a hundred other people have posted threads about before. Try math.flooring the camera X and Y values.
However, without that information I'm still betting it's the same exact problem a hundred other people have posted threads about before. Try math.flooring the camera X and Y values.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Graphics oddity
We don't know what you are trying to accomplish nor how, so at least put a minimal example in a code tag that replicates the error/problemJasoco wrote: ↑Sun Feb 26, 2017 4:42 am We don't have enough information to know what it looks like. Either put up avideo,GIFor .love of the project.
However, without that information I'm still betting it's the same exact problem a hundred other people have posted threads about before. Try math.flooring the camera X and Y values.
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: Graphics oddity
Seems pretty obvious to me, the are no pixels past exactly the tile edge, hence when quad is rendered at non integer coordinates and samples just outside of the tile section, the are no pixels there.
Re: Graphics oddity
Game files are available here https://github.com/MetoolDaddy/minecraft-reminisce
Excuse my lack of skill
Excuse my lack of skill
Who is online
Users browsing this forum: No registered users and 4 guests