[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 » Sat Feb 14, 2015 8:57 pm

I've been trying to fix this for over an hour could you guys please help me!
adventure.love
(5.68 MiB) Downloaded 49 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 » Sun Feb 15, 2015 1:22 am

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 » Sun Feb 15, 2015 2:06 am

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: 1005
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: [LOVEFRAMES] Buttons don't draw!

Post by Positive07 » Sun Feb 15, 2015 4:54 am

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/Positive07)

RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

Re: [LOVEFRAMES] Buttons don't draw!

Post by RaptrStudios » Sun Feb 15, 2015 6:54 am

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 » Sun Feb 15, 2015 4:06 pm

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 » Sun Feb 15, 2015 6:00 pm

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 » Sun Feb 15, 2015 8:01 pm

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 » Thu Mar 05, 2015 4:20 am

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: No registered users and 4 guests