Search found 42 matches
- Thu Sep 15, 2022 1:35 am
- Forum: Support and Development
- Topic: [SOLVED] ipairs list only functioning on last item Why?
- Replies: 5
- Views: 1642
Re: ipairs list only functioning on last item Why?
glad you got it working. the if clause looks very different. Nothing in the code seems to have changed except now all the doors are iterating as they were intended. if checkCollision(pPosX,pPosY,playerWidth,playerHeight, v.posX+gridSize,v.posY,doorLayout.doorWidth,doorLayout.doorHeight) then vs if c...
- Wed Sep 14, 2022 10:42 pm
- Forum: Support and Development
- Topic: [SOLVED] ipairs list only functioning on last item Why?
- Replies: 5
- Views: 1642
Re: ipairs list only functioning on last item Why?
maybe wrap your problem area and turn it into a function. and then don't call it. write a new one, starting with outer loop and prove that it iterates over everything in doorLayout. just guesses 1) ipairs vs pairs; is doorLayout strictly an array with numerical keys, beginning at 1 and with no gaps ...
- Wed Sep 14, 2022 9:47 pm
- Forum: Support and Development
- Topic: gui freeze after interacting with console text (windows/linux)
- Replies: 6
- Views: 1798
Re: gui freeze after interacting with console text (windows/linux)
Does the same happen to you with apps other than Löve? pretty sure after re-learning about different windows subsystems that this would be an issue for any program on Windows. tldr; don't mix console and gui code on windows. guess right now if someone wants another non-freezing monitor window proba...
- Wed Sep 14, 2022 12:36 pm
- Forum: Support and Development
- Topic: gui freeze after interacting with console text (windows/linux)
- Replies: 6
- Views: 1798
Re: gui freeze after interacting with console text (windows/linux)
after adding a love.draw routine that draws a moving point to each frame, it became apparent that love2d itself freezes whenever the console is in focus and the console output client area has been clicked (i.e. not title bar or scroll bar or border). it resumes after pressing enter or cntrl-c. also ...
- Tue Sep 13, 2022 9:51 pm
- Forum: Support and Development
- Topic: gui freeze after interacting with console text (windows/linux)
- Replies: 6
- Views: 1798
Re: gui freeze after highlighting console text (windows)
replicates in my windows 10 environment with following code -- test console hang -- start app with lovec.exe -- click on gui -- raise console to foreground -- select some text -- click on gui window to give it focus -- hangs on windows 10 -- in lmde gnome terminal, copying txt from console halts the...
- Tue Sep 13, 2022 7:04 pm
- Forum: Support and Development
- Topic: gui freeze after interacting with console text (windows/linux)
- Replies: 6
- Views: 1798
Re: gui freeze after highlighting console text (windows)
Are you using lovec.exe? If so, does it make a difference if you turn the console on in love.conf? (not likely, but worth a shot) yes using lovec. good suggestion, alas setting t.console to either true or false isn't changing the behavior. i am beginning to suspect it is something in my code or con...
- Tue Sep 13, 2022 4:30 pm
- Forum: Support and Development
- Topic: gui freeze after interacting with console text (windows/linux)
- Replies: 6
- Views: 1798
gui freeze after interacting with console text (windows/linux)
on windows, a love2d app is started from the command line and runs normally. print() is used to output debugging info to the terminal. if the terminal is clicked (once) to bring it to top focus, and then focus is returned to the love2d gui window, things run as expected. however if any console text ...
- Tue Sep 13, 2022 3:23 pm
- Forum: Support and Development
- Topic: File chooser dialogs with FFI
- Replies: 20
- Views: 10865
Re: File chooser dialogs with FFI
yes, couldn't resist the necro, though ended up here from a bit newer comment! while porting old utility back to windows i found SiENcE's method no longer works and was rooting around for the cause https://love2d.org/forums/viewtopic.php?p=248036#p248036 I think I read somewhere that the next releas...
- Mon Sep 12, 2022 5:45 pm
- Forum: Support and Development
- Topic: File chooser dialogs with FFI
- Replies: 20
- Views: 10865
Re: File chooser dialogs with FFI
Leave it to microsoft to take a one line api call and turn it into a com-plicated nightmare. [Starting with Windows Vista, the Open and Save As common dialog boxes have been superseded by the Common Item Dialog. We recommended that you use the Common Item Dialog API instead of these dialog boxes fro...
- Sun Apr 24, 2022 1:50 pm
- Forum: Support and Development
- Topic: So I need help with spawning a item
- Replies: 2
- Views: 1543
Re: So I need help with spawning a item
Kallan00, You have to turn the idea in your mind into a concrete specification in a symbolic language. Above, you have taken the first step by providing a terse synopsis in English. The next step really depends upon your prior experience with programming, but most generally it entails breaking down ...