Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Gideros 2022.3 Released - Page 3 — Gideros Forum

Gideros 2022.3 Released

13»

Comments

  • hgy29hgy29 Maintainer
    I am getting there with 3D particles:
    +1 -1 (+4 / -0 )Share on Facebook
  • YanYan Member
    edited April 22
    hgy29 said:

    I am getting there with 3D particles

    Awesome, looks neat!

    I've started with liquidfun liquid today and failed

    Please fix: Event.BEGIN_CONTACT_PARTICLE, it is not firing at all
    	self.world					= b2.World.new(0, 30, true)
            self.world:addEventListener(Event.BEGIN_CONTACT_PARTICLE, function(event)
    		d(event)
    	end, self)
    vk.com/yan_alex
  • hgy29hgy29 Maintainer
    @Yan, don’t hesitate to improve the docs by yourself, the wiki was made to allow the community to improve the docs.

    Likes: SinisterSoft, Yan

    +1 -1 (+2 / -0 )Share on Facebook
  • MoKaLuxMoKaLux Member
    edited April 22
    @Yan I improved the wiki a little bit with your references :) hope this helps.
    (at) hgy29 very nice addition :p

    Likes: Yan

    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
    +1 -1 (+1 / -0 )Share on Facebook
  • MobAmuseMobAmuse Member
    edited April 23
    Just another observation I found today...

    Updating all my apps on Google Play and coming towards the end now, on app Qubit Maze I noticed this on my Android device after compiling in latest Gideros and exporting my own player with no assets etc from the same code.

    The 3D graphics appear darker than usual? I'm not sure if this just my device (Samsung Galaxy Z Fold 2) as I had a Samsung Galaxy S8+ before and all worked fine on that as did the previous iOS and Amazon versions some here may recall perhaps.

    Other than that it works and looks fine in the Windows desktop Gideros player tho.

    Screenshot from Samsung Galaxy Z Fold 2 Gideros player.





  • MoKaLuxMoKaLux Member
    edited April 23
    I am sorry to tell guys but Replace (CTRL+H) is broken :s
    Steps to reproduce:
    - select a word you want to replace
    - CTRL+C
    - CTRL+H
    - CTRL+V
    - replace with whatever you want
    - click Replace => this deletes a bunch of lines of code!

    I build with latest commit Commits on Apr 22, 2022

    I will try to find out what happens :)

    EDIT: why ui/findreplacedialog.cpp is not part of ui.pro?
    QT WARNING this file is not part of any project

    EDIT2: there is a typo in findreplacedialog.h but as above: file not part of any project!?
    // void setMathcesText(const QString& str);
    void setMatchesText(const QString& str);

    ****
    PS: (at)hito9 your fix for word highlighting works for me on my win10 ;)
    PS2: (at)hito9 your fix for replace works for me too ;)

    Thanks a lot for contributing to awesome GIDEROS guys <3
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • hito9hito9 Member
    edited April 23
    MoKaLux said:

    - click Replace => this deletes a bunch of lines of code!

    reproduced, @hgy29 Please suspend my commits until I can test better?

    @MoKaLux findreplacedialog you mentioned is no longer used with the current Studio(I think it was the old implemetation). Just focus "replace function" I can revert "replace function" with the old one but we need to find a solution the first line problem.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29hgy29 Maintainer
    hito9 said:

    @hgy29 Please suspend my commits until I can test better?
    .

    I am afraid commits can’t be undone in git, or if it is possible, it is tedious. Best would be to move forward and push a fix.
  • hito9hito9 Member
    hgy29 said:

    I am afraid commits can’t be undone in git, or if it is possible, it is tedious. Best would be to move forward and push a fix.

    @hgy29 Ok then, please accept my latest commits. Just consider [bd48707 ] and [71515ee]. Do we have to uptade the Lexilla repo for the code folding tests? Thank you for your 3D Particles addition . Will "3D Particles example/demo" come with the next release?
  • hgy29hgy29 Maintainer
    I manually merged those two commits, thanks. Yes, Lexilla have to be updated, and rebuilt (make qlexilla) to fix code folding.
    And yes, I'll add my 3D particle sample code to Gideros for next release. I still have a few things to add to particles (like knowing when a particle has been destroyed), and doc to update (the boring part...), then I'll be ready for a 2022.5 release

    Likes: hito9

    +1 -1 (+1 / -0 )Share on Facebook
  • YanYan Member
    hgy29 said:

    @Yan, don’t hesitate to improve the docs by yourself, the wiki was made to allow the community to improve the docs.

    I didnt know, I may do this. Next time ill do this by mysqlf. Thanks!

    Likes: hgy29

    vk.com/yan_alex
    +1 -1 (+1 / -0 )Share on Facebook
  • YanYan Member
    MoKaLux said:

    @Yan I improved the wiki a little bit with your references :) hope this helps.
    (at) hgy29 very nice addition :p

    Thanks! Ill do this by myself next time

    Likes: MoKaLux

    vk.com/yan_alex
    +1 -1 (+1 / -0 )Share on Facebook
  • YanYan Member
    edited April 25
    self.world					= b2.World.new(0, 30, true)
    self.world:addEventListener(Event.BEGIN_CONTACT_PARTICLE, function(event)
              d(event)
    end, self)
    Event.BEGIN_CONTACT_PARTICLE

    Team, any solutions? Is this broken, or not realized at all?
    vk.com/yan_alex
  • hgy29hgy29 Maintainer
    Yan said:

    self.world					= b2.World.new(0, 30, true)
    self.world:addEventListener(Event.BEGIN_CONTACT_PARTICLE, function(event)
              d(event)
    end, self)
    Event.BEGIN_CONTACT_PARTICLE

    Team, any solutions? Is this broken, or not realized at all?
    I am investigating. Code seems to be present, but a quick try shows it doesn't work, or I missed something too.
  • YanYan Member
    hgy29 said:

    Yan said:

    self.world					= b2.World.new(0, 30, true)
    self.world:addEventListener(Event.BEGIN_CONTACT_PARTICLE, function(event)
              d(event)
    end, self)
    Event.BEGIN_CONTACT_PARTICLE

    Team, any solutions? Is this broken, or not realized at all?
    I am investigating. Code seems to be present, but a quick try shows it doesn't work, or I missed something too.
    Aha, there no any collisions detected. I think this might be implementation error.
    vk.com/yan_alex
  • hgy29hgy29 Maintainer
    edited April 25
    Actually it works, I forgot to add flags=b2.ParticleSystem.FLAG_FIXTURE_CONTACT_LISTENER to the particle group in my test.
    If the flag isn't set, collisions aren't reported.

    EDIT: It appears that those flags aren't documented on the wiki either. Full list of supported flags: https://github.com/gideros/gideros/blob/master/plugins/liquidfun/source/common/liquidfunbinder.cpp#L547

    Likes: Yan, MoKaLux

    +1 -1 (+2 / -0 )Share on Facebook
  • YanYan Member
    hgy29 said:

    Actually it works, I forgot to add flags=b2.ParticleSystem.FLAG_FIXTURE_CONTACT_LISTENER to the particle group in my test.
    If the flag isn't set, collisions aren't reported.

    EDIT: It appears that those flags aren't documented on the wiki either. Full list of supported flags: https://github.com/gideros/gideros/blob/master/plugins/liquidfun/source/common/liquidfunbinder.cpp#L547

    Oh, I didnt find solution.

    This link contains all the flags: https://google.github.io/liquidfun/API-Ref/html/b2_particle_8h.html#a73d3b011893cb87452253b1b67a5cf50

    I think should be added to docs. Im not yet registered in wiki.
    vk.com/yan_alex
  • MoKaLuxMoKaLux Member
    edited April 25
    I updated the wiki with the info you provided guys https://wiki.gideros.rocks/index.php/B2.ParticleSystem.

    There is one issue though I don't know where to find the constant number! for example https://wiki.gideros.rocks/index.php/B2.ParticleSystem.FLAG_COLOR_MIXING value = 256. Do you know where are the other values?

    (at)hgy29 I have built latest gideros with 3d particles sample will try to update the wiki accordingly (unless it is too difficult for me!).
    EDIT: I see you already update the wiki :o

    Viva gideros!

    Likes: hgy29, Yan

    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
    +1 -1 (+2 / -0 )Share on Facebook
  • YanYan Member
    edited April 26
    MoKaLux said:

    I updated the wiki with the info you provided guys https://wiki.gideros.rocks/index.php/B2.ParticleSystem.

    There is one issue though I don't know where to find the constant number! for example https://wiki.gideros.rocks/index.php/B2.ParticleSystem.FLAG_COLOR_MIXING value = 256. Do you know where are the other values?

    (at)hgy29 I have built latest gideros with 3d particles sample will try to update the wiki accordingly (unless it is too difficult for me!).
    EDIT: I see you already update the wiki :o

    Viva gideros!


    https://forum.giderosmobile.com/discussion/7067/liquidfun-from-c-to-lua

    Heres the values
       34     b2_waterParticle = 0,
       36     b2_zombieParticle = 1 << 1,
       38     b2_wallParticle = 1 << 2,
       40     b2_springParticle = 1 << 3,
       42     b2_elasticParticle = 1 << 4,
       44     b2_viscousParticle = 1 << 5,
       46     b2_powderParticle = 1 << 6,
       48     b2_tensileParticle = 1 << 7,
       50     b2_colorMixingParticle = 1 << 8,
       52     b2_destructionListenerParticle = 1 << 9,
       54     b2_barrierParticle = 1 << 10,
       56     b2_staticPressureParticle = 1 << 11,
       58     b2_reactiveParticle = 1 << 12,
       60     b2_repulsiveParticle = 1 << 13,
       66     b2_fixtureContactListenerParticle = 1 << 14,
       72     b2_particleContactListenerParticle = 1 << 15,
       74     b2_fixtureContactFilterParticle = 1 << 16,
       77     b2_particleContactFilterParticle = 1 << 17,

    Likes: MoKaLux

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