In this case Parent Sprite still will return width based on real child srite size.
local s1 = Sprite.new()
s1.getWidth = function() return 100 end
local s2 = Sprite.new()
p(s1:getWidth()) -- 100
p(s2:getWidth()) -- 0
As a workaround, you could record longer (say 1s more) and cut the wav file afterwise.
well, i found just one library https://github.com/Youka/LuaWAV/blob/master/wav.lua for managing wav files, but im not sure its suitable for cutting audiofile, any…
because loading plugins could fail (for exemple if you try to use a plugin not supported on some platform), and you may want to deal with it at runtime thanks to pcall(). So gideros doesn't automatically 'require' plugins since it wouldn't be able t…
I am getting "Fatal Exception: com.giderosmobile.android.player.LuaException: Invalid font size." crash report. But it doesnt happen on every sessions. Randomly, it crashes the app even if the font size is valid.
same for me !
I have the same error a very long time
Process: ru.artnode.smashed, PID: 10861
com.giderosmobile.android.player.LuaException: Invalid font size.
core/Text.lua:6: in function 'init'
[string "property.lua"]:52: in …
Hi, can you explain this part please ?
You know that strings in lua are just a sequence of bytes, not specifically characters. Md5 uses this to return its 16 bytes hash as a 16 byte…
Cryptography.md5() returns the 16 bytes hash in binary format, that is a string of 16 bytes, while you expect it to be hex-string encoded (32 characters).
I'd say you are getting some non writable character before your payload, such as BOM. This is definitely a server side issue. This may be relevant: https://stackoverflow.com/questions/41463965/bom-being-added-to-any-return-or-die-response
With GDPR and other related stuff, it is more and more difficult to directly identify a user or a device. I use the following approach in my apps: I generate a UUID (based on current time and random value), and save it to a file in '|D|' for reuse o…
@Yan Added to the wiki.
Let me know via a PM if you need access to make a custom sub-page like this: https://wiki.giderosmobile.com/index.php/RetroStar_-_A_3D_Arcade_Space_Combat_Indie_Ga…
Yes, children sprites are technically enclosed in the drawing process of parent sprite, so all attributes set to the parent Sprite are somehow applied to children, such as colorTransform, clip, etc. The way it is done now, the same goes for Shader a…
Same to me, I was using 2018.3 and everythings works fine (using gps 9.0.2), ive updated today to latest build and cant do export because I have same errors.
Very annoying, wanted to publish game this week
Tried 16.0.0 works fine Admob REQUIREs…