Variables not changing thier state
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Variables not changing thier state
I've got an problem! In love.draw function I've got an powerball picture being drawn. But when it is in the love.draw the uprender variable doesn't change it state! It remains the same state and the player floats(I know why he floats. Because of uprender being on).
- Attachments
-
- BOOX.love
- (247.45 KiB) Downloaded 58 times
Re: Variables not changing thier state
It doesn't always float here. Video link.
Sorry, I'd help more but I can't really understand the code right now and I don't have much time - anyway, I noticed you posted the same topic twice - the first post by a user has to be validated by an "approved" member, in an attempt to fight spambots (so they only annoy us, instead of everyone. ) before anyone can see it, so you had to get approved before being able to see your own post. Welcome to our community!
Sorry, I'd help more but I can't really understand the code right now and I don't have much time - anyway, I noticed you posted the same topic twice - the first post by a user has to be validated by an "approved" member, in an attempt to fight spambots (so they only annoy us, instead of everyone. ) before anyone can see it, so you had to get approved before being able to see your own post. Welcome to our community!
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Variables not changing thier state
I meant player floats after falling of the platformNixola wrote:It doesn't always float here. Video link.
Re: Variables not changing thier state
Then, sometimes the player floats even before touching the platform, while sometimes it does not.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Variables not changing thier state
I think this happens because platform is getting generated before player even has time to fall to groundNixola wrote:Then, sometimes the player floats even before touching the platform, while sometimes it does not.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest