Search found 8 matches

by uiblob
Tue Jun 11, 2019 11:39 am
Forum: General
Topic: Please delete my account
Replies: 1
Views: 2282

Please delete my account

Thank you :)
by uiblob
Thu Jul 19, 2018 8:19 am
Forum: Support and Development
Topic: 512 FPS?
Replies: 7
Views: 2484

Re: 512 FPS?

Wow, thanks for the great information.
by uiblob
Thu Jul 19, 2018 5:30 am
Forum: Support and Development
Topic: 512 FPS?
Replies: 7
Views: 2484

512 FPS?

Hello there, after I played around with my layout engine I managed to get a good boost from 149 fps to 512. But even after optimizing more I did not get more fps. Then I tested an empty project which did nothing but print the fps to screen (with disabled vsync). This empty screen got between 509 and...
by uiblob
Wed Jul 04, 2018 3:24 am
Forum: Support and Development
Topic: Screenshot for transition
Replies: 2
Views: 1106

Re: Screenshot for transition

The transparency comes from onboarding-fullscreen.lua and onboarding-resolution.lua (look for the calls to setColor with 0.5 at the end). It appears that you expect a global colour state of 1,1,1,1 yet you don't reset it after setting it, or push/pop the state. Wow thank you, of course that's such ...
by uiblob
Mon Jul 02, 2018 3:52 pm
Forum: Support and Development
Topic: Screenshot for transition
Replies: 2
Views: 1106

Screenshot for transition

Hi, I have a problem with screenshots and I am not sure what exactly is happening. You can find the code in the "uiblob" branch on the repository: https://gitlab.com/uiblob/deorum/tree/uiblob The background: In my scene manager ( src/scene.lua ) I take a screenshot of the current scene. Ho...
by uiblob
Sun Jun 17, 2018 11:32 am
Forum: Support and Development
Topic: what was there when I pressed the button?
Replies: 4
Views: 2028

Re: what was there when I pressed the button?

Just save the positions of the images, along with the positions of all the edges, and on click search if the click happened between the edges of a picture, if not try the next one etc.

There are better ways than a simple loop for every image but you can optimize later, it works for a prototype.
by uiblob
Sun Jun 10, 2018 11:29 am
Forum: Support and Development
Topic: simple log library crashes love without notice
Replies: 2
Views: 1315

Re: simple log library crashes love without notice

local timestamp = os.date("%F-%R:%S") This particular line seems to be at fault; I checked the lua docs for the usage of os.date and it did not list %F or %R as legible arguments, which for a reason or another results in lua runtime to instantly hang up. I changed the line to something li...
by uiblob
Sun Jun 10, 2018 9:00 am
Forum: Support and Development
Topic: simple log library crashes love without notice
Replies: 2
Views: 1315

simple log library crashes love without notice

Hi, just getting started with love, but I have an error I don't know how to debug. :| The game simply crashes without any errors. How can I debug this? What am I doing wrong? :? Greetings Karl Here is the code of my lib debuglog.lua if ddebuglog then love.filesystem.write ("log", "Sta...