Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
hgy29 - Gideros Forum

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Top Posters

hgy29

About

Username
hgy29
Joined
Visits
7,898
Last Active
Roles
Maintainer

Comments

  • Can I use the addonsto insert the code into the active lua window? No, the only available API today deals with files
    in Addons tutorial Comment by hgy29 May 23
  • I added those two functions in order to ease caret positionning when editing text fields...
  • @Apollo14, here you go: local text=TextField.new(font,"This is a text") local isS,isE=string.find(text:getText()," is ") --Get 'is' word position local isSX,isSY=text:getPointFromTextPosition(isS) --Get 'i' starting point local isEX,isEY=text:getPo…
  • Do you put breakpoints in the left side of the margin and launch in debug mode ?
    in Debugging Comment by hgy29 May 21
  • Only Gideros Studio, I never used ZBS. It works on player too in the end BTW, but the editor window has to be focused...
    in Debugging Comment by hgy29 May 21
  • Further testing it looks like it works when debugging directly on device from Mac, but not with Gideros Player. I am investigating...
    in Debugging Comment by hgy29 May 21
  • Actually debugger in Gideros is a very recent feature, most of us here are used to do it the old way: printing stuff to gideros console to debug. Gideros code is mostly the same for Win and OSX, I have no idea why it doesn't work on Mac, but I use w…
    in Debugging Comment by hgy29 May 21
  • I was able to use breakpoints on OSX, but unfortunately it looks like tooltips don't show up, so you can't inspect variables on Mac
    in Debugging Comment by hgy29 May 21
  • @oleg, what are you after actually? It is typical for fpu to return infinite (either +inf or -inf) when dividing by zero. It is even a correct math answer...
  • This is not an issue but a feature: all lua files are compiled and merged together, except those explicitly marked as 'Exclude from execution' in gideros. This is because gideros loads all your lua files by default, thus you don't need to explicitly…
  • My highest score is 7293 so far, my wife made 8489 (she designed the levels) and she is hoping to beat my nephew who made 8570
    in MiniGolf Runner Comment by hgy29 May 14
  • @pie, good points. I’ll think about that, thanks EDIT: I have uploaded a new version which rate limits ads. They are not shown more frequently than every 1'30. That should pretty much do what you suggest since the more experienced you become, the l…
    in MiniGolf Runner Comment by hgy29 May 13
  • This is about GPS, did you disable it (assuming you don’t use it) in require plugin ?
  • @MoKaLux, by the look of your issue, and further confirmed by reading your code, it seems that you create only one Sprite for each letter (except vowels), so you can't have more than one copy of each on screen. Fix option #1: create multiple sprite…
  • @MoKaLux, Unicode 65165 and above are in NotoSansArabic and Arial at least, the two fonts I tried. And yes, letters are misplaced in Gideros, that's why I worked on integrating HarfBuzz, which purpose is exactly to place them correctly. See the res…
    in Arabic Comment by hgy29 May 6
  • @kussakov Unfirtunately there doesn't seem to be any uptodate easy to follow good tutorial on making plugins for Gideros. It's one of those things that it really needs. I'd be happy to help anyone who wants to do that. I tried many times to write a …
  • Yes, WRITE_EXTERNAL_STORAGE is one of the dangerous permissions since android 23, that is no longer granted automatically even if specified in the manifest. You have to request it through Java code, and since it is asynchronous you further need to c…
  • Hi @dreiko65, as far as know, nothing has changed recently in the way fonts resolution is handled. To which version are you comparing, and what do you see/what did you expect?
  • Spam. The source email address doesn’t exist.
    in Crawler? Comment by hgy29 April 22
  • @SinisterSoft, HarfBuzz .dll is around 1MB in size, which is quite a lot compared to other plugins. I can't tell for other platforms yet. It actually handle most languages, not just arabic. I am not sure how I will implement BiDi yet, but I'll mak…
    in Arabic Comment by hgy29 April 19
  • So, I made a HarfBuzz plugin for gideros, and so far it works as expected! I am going to try and implement BiDi algorithm now...
    in Arabic Comment by hgy29 April 18
  • @MoKaLux, you are mixing up things In order to display a text, we have to go through several steps. Roughly: 1. Get a string with the text we want to display: lua strings are only 8 bit, so in gideros texts are expected to be UTF8 encoded. This is…
    in Arabic Comment by hgy29 April 18
  • Hours later: diacritics are misplaced because freetype doesn't handle opentype GPOS tables, which indicates how to lay out composed glyphs. Freetype guys suggest to use HarfBuzz library instead for complex script rendering. Benefit: it would handle …
    in Arabic Comment by hgy29 April 17
  • Digging and reading further I understood a few things: arabic vowels glyphs are classified as 'combining diacritics' that should just be drawn above the preceding character. This should already work in theory provided that unicode chars are reversed…
    in Arabic Comment by hgy29 April 17
  • Ok, turns out my code is far from being complete. i found a comprehensive set of rules here: https://www.w3.org/TR/alreq/
    in Arabic Comment by hgy29 April 17
  • @MoKaLux 0x is used to denote hexadecimal notation. My code handle ligatures for chars in the range 0x627 to 0x64a (1575 Unicode to 1610 Unicode): it replaces independent characters with connected versions (Unicode 65165 and next ones) I will at you…
    in Arabic Comment by hgy29 April 17
  • I am using the following piece of code to preprocess arabic before sending to TextField. It seems to be ok according to the few arabic customers I have, but I don't read arabic myself so can't tell for sure. I'd like to integrate it into gideros, so…
    in Arabic Comment by hgy29 April 16
  • Something like this maybe ? -- Build our scene: a pyramid local pyramid_h=(3^0.5)/2 local pyramid=Mesh.new(true) -- Create a 3D mesh pyramid:setVertexArray{ 0,pyramid_h,0, -0.5,0,0.5, 0.5,0,0.5, -- Back Face 0,pyramid_h,0, -0.5,0,-0.5, 0.5,0,-0.5…
  • Actually, an example covering camera/viewport settings for 3D would be good, I don't think any of current examples use newests gideros features regarding 3D
  • To give you an idea of what my 3D WIP game looks like, see attached picture