[LOVEFRAMES] Buttons don't draw!

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
RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

[LOVEFRAMES] Buttons don't draw!

Post 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 292 times
Raptr Studios
http://raptrstudios.weebly.com/

Please consider donating to us!

New Game I'm Working On - Cerradon
User avatar
Nikolai Resokav
Party member
Posts: 140
Joined: Wed Apr 28, 2010 12:51 am
Location: United States

Re: [LOVEFRAMES] Buttons don't draw!

Post by Nikolai Resokav »

They seem to draw correctly for me. Can you post a screenshot of the issue?
RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

Re: [LOVEFRAMES] Buttons don't draw!

Post 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
Raptr Studios
http://raptrstudios.weebly.com/

Please consider donating to us!

New Game I'm Working On - Cerradon
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: [LOVEFRAMES] Buttons don't draw!

Post 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
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

Re: [LOVEFRAMES] Buttons don't draw!

Post 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
Raptr Studios
http://raptrstudios.weebly.com/

Please consider donating to us!

New Game I'm Working On - Cerradon
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: [LOVEFRAMES] Buttons don't draw!

Post 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
Help us help you: attach a .love.
RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

Re: [LOVEFRAMES] Buttons don't draw!

Post 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
Raptr Studios
http://raptrstudios.weebly.com/

Please consider donating to us!

New Game I'm Working On - Cerradon
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: [LOVEFRAMES] Buttons don't draw!

Post 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.
Help us help you: attach a .love.
RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

Re: [LOVEFRAMES] Buttons don't draw!

Post by RaptrStudios »

Thanks
Raptr Studios
http://raptrstudios.weebly.com/

Please consider donating to us!

New Game I'm Working On - Cerradon
Post Reply

Who is online

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