Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Layout — Gideros GUI framework - Page 2 — Gideros Forum

Layout — Gideros GUI framework

2»

Comments

  • n1cken1cke Maintainer
    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.

    Likes: john26, pie

    +1 -1 (+2 / -0 )Share on Facebook
  • keszeghkeszegh Member
    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.
  • piepie Member
    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.

    Thank you :)
  • n1cken1cke Maintainer
    edited August 2017
    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:
    local charsets = {
    	{0x0020,0x007F},
    	{0x0080,0x009F},
    	{0x00A0,0x00FF},
    	{0x0100,0x017F},
    	{0x0180,0x024F},
    	{0x0250,0x02AF},
    	{0x02B0,0x02FF},
    	{0x0300,0x036F},
    	{0x0370,0x03FF},
    }
    I have fixed github repo, thank you, @pie.

    Likes: pie, antix

    +1 -1 (+2 / -0 )Share on Facebook
  • SinisterSoftSinisterSoft Maintainer
    edited October 2017
    @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
  • Hi,

    Just a quick question. Can Layout be used with the scene manager?
Sign In or Register to comment.