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.
-
imDread
- Prole
- Posts: 6
- Joined: Mon May 20, 2024 10:39 am
Post
by imDread »
Code: Select all
function Exit()
love.event.quit()
end
F1 = Exit
-- Ui Dementions
UiHeight = 15
textOpacity = 0.1
textsClr = {{0.2,0.2,0.2}}
textsFunctions {F1}
-**Btw this code is written in love.load()**-
im trying to put that function in a list but every time i do that it gives me this error :
main.lua:120: attempt to call global 'textsFunctions' (a nil value)
Pls guys help
Last edited by
imDread on Sat May 25, 2024 8:10 am, edited 1 time in total.
-
keharriso
- Party member
- Posts: 109
- Joined: Fri Nov 16, 2012 9:34 pm
Post
by keharriso »
I think you're missing an equals sign.
You want
LÖVE-Nuklear - a lightweight immediate mode GUI for LÖVE games
-
imDread
- Prole
- Posts: 6
- Joined: Mon May 20, 2024 10:39 am
Post
by imDread »
Oh, thanks
Users browsing this forum: Bing [Bot] and 3 guests