Search found 6 matches
- Thu Sep 15, 2022 7:33 pm
- Forum: Support and Development
- Topic: Lua show black screen when i run code
- Replies: 11
- Views: 4670
Re: Lua show black screen when i run code
"draws nothing but the background" Is this related to the other post: https://love2d.org/forums/viewtopic.php?f=3&t=93747&sid=cc9e1b026f26787a628b3f135c5da433 ? Maybe but its like something got corrupted. if i put breakpoints, when i run the code the breakpoints are never reached,...
- Wed Sep 14, 2022 7:16 pm
- Forum: Support and Development
- Topic: Lua show black screen when i run code
- Replies: 11
- Views: 4670
Re: Lua show black screen when i run code
There's nothing weird about the code. Restarting the game resets everything as expected. Did you disable vsync by any chance? That would likely make the rectangle fly away very fast. To make the game frame rate independent use the delta time supplied to the update function: function love.update(dt)...
- Fri Sep 09, 2022 4:09 am
- Forum: Support and Development
- Topic: Lua show black screen when i run code
- Replies: 11
- Views: 4670
- Fri Sep 09, 2022 4:07 am
- Forum: Support and Development
- Topic: Lua show black screen when i run code
- Replies: 11
- Views: 4670
Re: Lua show black screen when i run code
Can you post your .love file (or contents of main.lua)? What operating system are you running? What version of Love do you have installed? Yes, the code is very simple, after the first time when it showed the rectangle moving and dissapearing off the screen, it stoped to work and now every time i r...
- Fri Sep 09, 2022 4:04 am
- Forum: Support and Development
- Topic: Lua show black screen when i run code
- Replies: 11
- Views: 4670
Re: Lua show black screen when i run code
then i continue the tutorial drawing a rectangle, after that, adding code to move it, until this moment all worked ok, Maybe you moved the rectangle off-screen? The usual approach when things do not work is to un-do the last changes until it somewhat works again. Then carefully do more changes and ...
- Thu Sep 08, 2022 4:56 pm
- Forum: Support and Development
- Topic: Lua show black screen when i run code
- Replies: 11
- Views: 4670
Lua show black screen when i run code
Hi, im new at this, i started following a tutorial about LOVE using ZeroBrane Studio for editing. I started with the classic "Hello World", then i continue the tutorial drawing a rectangle, after that, adding code to move it, until this moment all worked ok, but then something happens, now...