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 .
Lovingsoul1337
Citizen
Posts: 62 Joined: Fri Feb 21, 2020 1:26 pm
Post
by Lovingsoul1337 » Fri Mar 20, 2020 2:10 pm
Hey there
im currently trying to install a Framework how can i do that ? I got Atom as Code Editor with "Love-IDE"...
Thanks in advance
bobbyjones
Party member
Posts: 732 Joined: Sat Apr 26, 2014 7:46 pm
Post
by bobbyjones » Sat Mar 21, 2020 6:00 am
You attempted to adapt the tutorial but made a mistake. On line 5 change Window to Jenny. Also read up on Lua Variable Scope. You want the Jenny variable to be available to the draw function but it will be stuck to the update functions scope. So it will still error even after you make the change.
Lovingsoul1337
Citizen
Posts: 62 Joined: Fri Feb 21, 2020 1:26 pm
Post
by Lovingsoul1337 » Sat Mar 21, 2020 11:05 am
Hey there still dont get a output...i did remove the whole class thing and for some reason i doesnt write something on the Screen...
function love.load()
end
function love.update()
end
function love.draw()
love.graphics.setColor(1,1,1)
love.graphics.print("Jenny")
end
Thanks for your help...
tobiasvl
Prole
Posts: 29 Joined: Mon Oct 01, 2018 4:58 pm
Location: Norway
Contact:
Post
by tobiasvl » Sat Mar 21, 2020 10:09 pm
I assume this has been solved
in this post
Users browsing this forum: Bing [Bot] and 9 guests