Page 1 of 1

[LOVEFRAMES] Buttons don't draw!

Posted: Sat Feb 14, 2015 8:57 pm
by RaptrStudios
I've been trying to fix this for over an hour could you guys please help me!
adventure.love
(5.68 MiB) Downloaded 273 times

Re: [LOVEFRAMES] Buttons don't draw!

Posted: Sun Feb 15, 2015 1:22 am
by Nikolai Resokav
They seem to draw correctly for me. Can you post a screenshot of the issue?

Re: [LOVEFRAMES] Buttons don't draw!

Posted: Sun Feb 15, 2015 2:06 am
by RaptrStudios
The menu buttons draw perfectly fine, however when the game over screen shows, there should be a button, but there isn't!
Image
Image

Re: [LOVEFRAMES] Buttons don't draw!

Posted: Sun Feb 15, 2015 4:54 am
by Positive07
Uhm that .love file doesnt work at all, you forgot tu put loveframes in it, it crashes before starting so I cant help at all

Re: [LOVEFRAMES] Buttons don't draw!

Posted: Sun Feb 15, 2015 6:54 am
by RaptrStudios
i know, i did put loveframes in it, i don't know why i does that. But you can help, you can look at the source ya' bimbo

Re: [LOVEFRAMES] Buttons don't draw!

Posted: Sun Feb 15, 2015 4:06 pm
by Robin
RaptrStudios wrote:But you can help, you can look at the source ya' bimbo
Well that's a sure-fire way to motivate people to help you! /s

Re: [LOVEFRAMES] Buttons don't draw!

Posted: Sun Feb 15, 2015 6:00 pm
by RaptrStudios
Sorry, ive been at this for 2 days now and i'm quite pissed. I really have no idea how to fix this, and i could really use someones help

Re: [LOVEFRAMES] Buttons don't draw!

Posted: Sun Feb 15, 2015 8:01 pm
by Robin
I looked at your code, and I don't know anything about loveframes, but it seems like you should call loveframes.SetState('dead') when the player dies.

(Also, you don't need to set all properties of the buttons every frame.)

EDIT: also, next time please include all libraries you used. Being able to run a .love you supply allows us to 1) reproduce the bug and 2) see what actually fixes it.

Re: [LOVEFRAMES] Buttons don't draw!

Posted: Thu Mar 05, 2015 4:20 am
by RaptrStudios
Thanks