Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
New Gideros Docs/Wiki... - Page 5 - Gideros Forum

New Gideros Docs/Wiki...

1235»

Comments

  • rrraptorrrraptor Member
    edited December 2019
    @MoKaLux It will be confusing here:
    https://wiki.giderosmobile.com/index.php/All_Classes_and_more
    MoKaLux said:

    PS: maybe the confusion came from the name of the plugin in gideros studio.

    Thats me, who designed it it this way :)
    Since it is a port of existing library I decided to call it with original name "FastNoise", but its very long name for a class :D
    2_asdad.png
    596 x 157 - 8K
  • MoKaLuxMoKaLux Member
    edited December 2019
    @rrraptor I have changed the name, everything is called Noise now.
    ps: I edited my previous post as well.

    Likes: rrraptor

    +1 -1 (+1 / -0 ) Share on Facebook
  • Yes, sorry - I thought it was called FastNoise. @hgy29 will know which it should be.
  • MoKaLuxMoKaLux Member
    edited December 2019
    I see a couple of problems with current gideros wiki.
    1- when I do a google search for gideros wiki it points to the old wiki.
    BUT the old wiki seems to be also MEDIAWIKI! so what happened here why didn't we use the old template (you lost the access :) )?
    2- when I finally get to the new wiki and my language is french THEN the content is not up to date so this is very not good! I guess that's the same for all other languages but english.
    3- new wiki is kind of hard to find from the official gideros web site.
    EDITED: 4- the forum also has a link to the old wiki (at the very top)!

    Probable solutions?
    1- A- redirect the old wiki to the new or add in big the link to the new wiki.
    OR B- migrate the new wiki to the old one? thus having google working for gideros again.
    2- get rid of all translations and only keep english.
    3- revisit official gideros web site

    Voilà.
  • hgy29hgy29 Maintainer
    3) is being taken care of, but I won't say more until we have something to show. Thinking of it, it would be nice to gather up to date visuals for that. if you have nice screenshots of your gideros made apps, the would be a start... Worth a new forum thread I reckon...
    +1 -1 (+2 / -0 ) Share on Facebook
  • MoKaLuxMoKaLux Member
    edited January 4
    Is this right?
    Geolocation.getAccuracy()
    Geolocation:start()

    It seems there are a couple of functions which are called with .(dot) instead of :(column)
    Is this correct? https://wiki.giderosmobile.com/index.php/Geolocation

    I have tested with the gideros player and it seems both work!
    local mygeoloc = Geolocation.new()
    print(mygeoloc.getAccuracy())
    print(mygeoloc:getAccuracy())
    Should I change all methods in the wiki (except the new method) to have : instead of . ?

    Thank you.
  • olegoleg Member
    Equivalent call forms:
    ObjectName: MethodName (Arguments)
     ObjectName. MethodName (ObjectName, Arguments)

    Likes: MoKaLux

    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
    +1 -1 (+1 / -0 ) Share on Facebook
  • thank you oleg, they both work but it is inconsistent imho.
    (bool) = Gyroscope.isAvailable() = (bool) = Gyroscope:isAvailable()
    We should put the : instead, what do you think?
  • olegoleg Member
    MoKaLux said:

    thank you oleg, they both work but it is inconsistent imho.
    (bool) = Gyroscope.isAvailable() = (bool) = Gyroscope:isAvailable()
    We should put the : instead, what do you think?

    No difference

    Likes: MoKaLux

    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
    +1 -1 (+1 / -0 ) Share on Facebook
  • hgy29hgy29 Maintainer
    There is a difference, as @oleg pointed out using : means that the function expects an object instance as its first argument. This is the case for most method, but not for class methods (what you would call static method in C++). Gyroscope.isAvailable is a class method, and doesn’t need an instance, so it should be a single ., on the other hand all others Gyroscope methods are instance methods, and need the instance the be passed as first argument, so : for them

    Likes: MoKaLux

    +1 -1 (+1 / -0 ) Share on Facebook
  • thank you now that makes sense. It seems to be related to physical components only: accelerometer, geolocation and gyroscope.
  • good news: I have started updating the reactphysics3d wiki :)
    https://wiki.giderosmobile.com/index.php/R3d.World
    bad news: I am stuck with joints! I don't know if they are implemented yet. I tried a couple of times to no avail.
    Here is a sample test, can somebody have a look please?
    zip
    zip
    reactphysics3D_joints.zip
    73K
  • hgy29hgy29 Maintainer
    They are implemented, but I never tried them. I just did with your example, and it turns out that you are right, the joint code has a bug. I fixed it for next release, but meanwhile you can still try by adding an empty 'joints_' table to reactphysics world and to all bodies to be used in joints, for your example:
    world.joints_={}
    cube01body.joints_={}
    cube02body.joints_={}
    There will be memory leaks though, so not good for production, but enough for trying...

    Likes: MoKaLux

    +1 -1 (+1 / -0 ) Share on Facebook
  • MoKaLuxMoKaLux Member
    edited 3:46AM
    I am almost finished with the reactphysics3d wiki?
    https://wiki.giderosmobile.com/index.php/ReactPhysics3D

    Before continuing I have some doubts about how gideros studio retrieves the wiki content.
    For example I have grouped all shapes under the r3d.Shape page.
    Can somebody tell me if that breaks anything with gideros studio or if the grouping of things is wrong?

    Peace.
    PS1: I will rethink the navigation at the bottom when I am done with the documentation.
    PS2:
    meanwhile you can still try by adding an empty 'joints_' table to reactphysics world and to all bodies to be used in joints ... There will be memory leaks though, so not good for production, but enough for trying...
    That worked :) .
  • MoKaLuxMoKaLux Member
    edited 6:40AM
    Ok I hurried it a bit at the end but reactphysics3d wiki is now finished (kind of) :* . I am not very happy with the grouping (I got confused by all the classes).
    Please feel free to comment here and I will correct it.

    I will update the wiki as I learn more about r3d (God's willing). Plus a wicked demo to show r3d is awesome.

    Viva gideros! <3

    Likes: hgy29

    +1 -1 (+1 / -0 ) Share on Facebook
  • hgy29hgy29 Maintainer
    Big thanks for your work @MoKaLux!
    MoKaLux said:


    Can somebody tell me if that breaks anything with gideros studio or if the grouping of things is wrong?

    I checked the API file generated from the wiki (https://wiki.giderosmobile.com/gidapi.php) and it seems correct.

    Likes: MoKaLux

    +1 -1 (+1 / -0 ) Share on Facebook
Sign In or Register to comment.