@veethree That's exactly what I had. The player will turn red when it hits a wall and then stays red. I'd like it to switch back to while not colliding with anything but I can't seem to implement that logic properly. Thanks for the response though, your little game has been very educational and inspirational.
@Germanunkol I think what I need to do is figure out when it's not colliding? player.collision does not revert to false when the conditions are no longer met.
Flappy löve (Works on android! (theoretically))
Re: Flappy löve (Works on android! (theoretically))
I just tested the code i posted in my previous response, It does exactly what you need it to do.Reef wrote:@veethree That's exactly what I had. The player will turn red when it hits a wall and then stays red. I'd like it to switch back to while not colliding with anything but I can't seem to implement that logic properly. Thanks for the response though, your little game has been very educational and inspirational.
Re: Flappy löve (Works on android! (theoretically))
Ah! You're right! I missed the first line, which is what I was missing. I knew it was something simple and obvious. Thank you so much.
Who is online
Users browsing this forum: No registered users and 5 guests