That's heartbreaking to know but I have just been in love with every member of Gideros team that I interacted with. It really is a perfect place to stick to, Thank you guys for helping me with my noob questions all the time. My most recent achieveme…
Yes, I think that was the issue. I could not set anchor point for movieClip(not allowed), so here is what finally worked
if mc1:getX() >= up:getX() and mc1:getX() + mc1:getWidth() = f - up:getHeight() then
local text4 = TextField.new(conf.fontL…
@ar2rsawseen: Ok, you have self.touchStarted in if condition. but it should be if not self.touchStarted according to my script(self.touchStarted = false when touch ends), If I do this:
if self.touchStarted then
@hgvyas123: It did work, but the problem is when I do self.anim:getPosition() and self.anim:setPosition(), the output is not what it should be , it's an animation so only the current frame on display should be set to that position.
No, no. initial position of y is 0. so here is what I changed the code to :
Note: Please let me know which keys I need to use to paste code properly, could not figure out .
function Play: whenTouched()
x,y = self.myAnim:ge…
This is the piece of code from book only
local startText = TextField.new(conf.fontLarge, "Start Game") startText:setTextColor(0xffff00) local startButton = Button.new(startText) startButton:setPosition(conf.width/2, conf.height - 80)
@ar2rsawseen: Yes, I included Button.lua but it necessarily asks for two parameters to be passed to Button.new() but in your book, the example that you have given takes only the text , Would not that work?
@OZApps: Okay, Thank you for asking these
My clock's hands are in weird position, actually I centered them and are rendered at centre when I test it in my phone but in Desktop player, I am getting this position for some reason I really don't know t…