UPDATE: ◘ Added ability to zoom and scroll sprites, see "zooming" example. Should be useful for strategy games and arcade puzzles with big fields. ◘ Updated hit detection. ◘ Some minor fixes and improvements, for example template grids can have empty database.
hi @n1cke, sorry for not checking more the errors/problems i had with the layout class, in fact i tried the latest version briefly and i still had problems, so i had to revert to an earlier version that i modified to fit my needs, which seems to work ok (except that i had to disable scrolling by touch as it did not work consistently, so now only scrolling using the scrollbar is allowed).
i'm afraid i do not have much time to test more nowadays. meanwhile, thanks for your efforts.
I am sorry to bother you @n1cke, I just noticed that the Layout example project on github crashes my windows and android player on launch. I am on the latest release of both. I noticed it first on gideros 2017.8, but it happens also with the previous gideros releases I tried. It's not Layout.lua alone, because I can use it in other projects.
Hello, guys. For some reason in new Gideros versions cached fonts work differently and now some fonts can crash Gideros player. If I remove some charsets from "init.lua" file of Layout example project then it works flawlessly, for example with this charsets:
@n1cke I think this should now be fixed, but I think you should instead set the cached font to "" initially. This will put the font into a mode where it automatically adds characters AND will be able to use multiple textures - to avoid this crash.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
◘ Added ability to zoom and scroll sprites, see "zooming" example. Should be useful for strategy games and arcade puzzles with big fields.
◘ Updated hit detection.
◘ Some minor fixes and improvements, for example template grids can have empty database.
Likes: john26, pie
i'm afraid i do not have much time to test more nowadays. meanwhile, thanks for your efforts.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I noticed it first on gideros 2017.8, but it happens also with the previous gideros releases I tried.
It's not Layout.lua alone, because I can use it in other projects.
Thank you
For some reason in new Gideros versions cached fonts work differently and now some fonts can crash Gideros player. If I remove some charsets from "init.lua" file of Layout example project then it works flawlessly, for example with this charsets:
Likes: pie, antix
https://deluxepixel.com
Just a quick question. Can Layout be used with the scene manager?