How would i go around editing an already open window

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
Goober_taken
Prole
Posts: 2
Joined: Wed Feb 12, 2025 1:36 am

How would i go around editing an already open window

Post by Goober_taken »

very new to Love2d (just installed it) and im wondering how exactly i would go around editing an already existing window if i run a love2d program after its already been opened outside of love2d

ik this is gonna sound dumb but i had a pretty cool sounding idea for an fnf modchart and am wondering how i would move/scale the window properly without running the modchart file in love2d, and i dont wanna use lua's built in functions since those are pretty inconvenient
Goober_taken
Prole
Posts: 2
Joined: Wed Feb 12, 2025 1:36 am

Re: How would i go around editing an already open window

Post by Goober_taken »

when i try to run a love function it just prints this before causing the script not to work

"mods/FridayFunkin/data/cool-tt/main.lua:11: attempt to index global 'love' (a nil value)"
User avatar
pgimeno
Party member
Posts: 3710
Joined: Sun Oct 18, 2015 2:58 pm

Re: How would i go around editing an already open window

Post by pgimeno »

You can't get löve to reuse a pre-existing non-löve window if that's what you mean. Löve needs to create and manage the window in order to draw to it.
Post Reply

Who is online

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