Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Extending Gideros - Page 6 — Gideros Forum

Extending Gideros

12346»

Comments

  • Thx @bowerandy, It works... hope @ar2sawseen will fix the community lib !
    Cheers.
  • ar2rsawseenar2rsawseen Maintainer
    Fixed
    Plus:
    Added enable touches
    SoundChannel FadeIn FadeOut (works only if GTween is included in project)
    io.exists and io.copy for easier copying files between Resource and Document directory

    Also was thinking of many other features, including maybe merging datasaver module with Application or io class.

    And we really need to think more on modular approach, because this kind of code becomes almost unmanageable :D

    Any propositions are welcomed ;)
  • @ar2rsawseen, the physics extensions are a reasonable size and would be likely to grow in future. How about splitting them off from the main file?

    Best regards

    PS: Did you include that fix in the above file to do with recording points in Shape drawing?
  • U 2 r my gurus, @bowerandy and @ar2rsawseen: i have a strange behavior with my code since the last version, for an unknown reason, i cannot debug into the AceSlide Class, in not one function. I use the zeroBrane Studio (also debugger), but it wan't jump into the AceSlide Class. Did u ever had a similar situation ? Thx in advance...
  • bowerandybowerandy Guru
    edited March 2013
    @yarnee, I don't really know why that would be. Do you have all your source files loaded into ZBS before debugging? If not, and the Lua files are not in the main project directory, then ZBS won't know where to look and will not allow you to step into them. An alternative would be to ask @paulclinger who is he author of ZBS.

    Best regards
  • Thx for the rapid answer @bowerandy.
    After moving the file into the main directory, i m able to debug the AceSlide class.
    But i was 100% sure i could debug also classes which were not in the main directory, there was no problem with ZBS, but i ll have to verify it again :-O
  • @yarnee, yes, you should be able to debug classes that are not in the main directory. As @bowerandy suggested, you do need to have the files opened in ZBS (or you need to configure the IDE to auto-open files for you: http://studio.zerobrane.com/doc-faq.html#why_stepping_into_function_calls_doesnt_work_in_some_cases). If this doesn't work for you, please describe your setup and I'll try to reproduce to see if there is some issue I may need to fix. Andy, thank you for the call out.
  • @ar2rsawseen,
    Just saw the GiderosCodingEasy on GiderosLabs at http://giderosmobile.com/labs/gideroscodingeasy, and here's a small suggestion.
    local text = TextField.new(font, "Some text")
    	--positioning
    	:setPosition("center", "center")
    	:setPosition(300,250)
    	--named colors
    	:setTextColor("white")
    	:setAnchorPoint(0.5, 0.5)
    	:setRotation(45)
    	:setShadow(3, 3, "gray", 0.5)
    	:setSkew(60)
    Instead of having a :setPosition to support both a location on the screen and alignment, why not change that to
    :setAlignment
    instead?

    Likes: hgvyas123

    twitter: @ozapps | http://www.oz-apps.com | http://howto.oz-apps.com | http://reviewme.oz-apps.com
    Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
    Cool Vizify Profile at https://www.vizify.com/oz-apps
    +1 -1 (+1 / -0 )Share on Facebook
  • Hi guys

    I just found this awesome library and it really simplifies adding physics etc.

    I was wondering if it is compatible with movie clips?

    I've been experimenting/looking around and I can't seem to find a way :(

    Thank you in advance for any help!
Sign In or Register to comment.