@mertocan can you zip up a project with the assets and send me a link, I'll take a look.
Also, alpha decay can be done now by the particle system - no need to do it in your enterframe loop.
Not too sure on the max no of particles for one particle sprite either. @hgy29 will know.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I have updated the code but still It doesnt work in some builds. I tested 10-20 times. Sometimes, particles are not created and sometimes they are located in wrong.
I'll take a look tonight, it may be a gfx card issue - does it happen on Android too?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
All path relative features do not work in gideros studio like open example, open help->api reference, open player, select plugins. Could not open the project file: ../../Examples/Graphics/Button/Button.gproj
@Xman and others, We are investigating this Mac issue, looks like it could be some Sierra restriction since fresh installs on El Capitan seem to work properly. However I switched to Sierra and did a fresh reinstall of Gideros and it still works on my Mac. OTOH I use my Mac to build Gideros so I may have some specific configuration. Could it be some new security feature brought by Sierra ?
It seems that Sierra has a different opinion of what constitutes the current working directory (CWD) compared to previous versions of OS X.
On my computer, Gideros is installed at /Applications/Gideros Studio/Gideros Studio.app/Contents
(with subdirectories under this including MacOS which contains the actual executable).
Previously OSX would take the above directory to be the CWD so, the path ../../Examples/Graphics/Bird Animation/Bird Animation.gproj
would find the correct file.
But now it looks like the CWD is taken to be somewhere else. If so this is going to break hundreds of programs not just Gideros and it's a simple Apple bug which they will no doubt fix. (I can't believe this is a 'feature'!)
I also found this website which lists numerous bugs in Sierra:
I think this section might be relevant: “The application ‘name’ can’t be opened” or Error -41
Unfortunately the solution is to reinstall Sierra!
Note that this problem only occurs in Sierra not in previous versions of OSX. However, @hgy29 has installed Sierra without encountering the problem. I have not upgraded from El Capitan yet as I am afraid such a buggy release of OSX will break the build system. I'd rather wait till things stabilise before upgrading.
I built a release on a Sierra Mac just now, and it could run without this issue.
@hay29, no specific configuration required for Sierra to run it . I built it on one Mac and install it on another fresh Mac, both with Sierra, all works well.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I tried and can reproduce the issue too, I think it can be a wrong init of time reference, as if gideros was drawing the first frame trying to take a huge lag into account...
Yes, that would explain it - could the 'huge lag' it be some kind of inverted difference because no or no time has passed?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Quick update about Mac OS Sierra 'issue': it looks like newest version of Apple OS now sandbox apps donwloaded from 'unsafe' locations, that is apps not coming from the app store or not signed. Those apps are marked as 'quarantine', and thats why Gideros Studio fails to find its file.
One can disable quarantine by typing the following command in a terminal window:
You also need to do a similar command for the player if you use libs like the bit library.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
Also, alpha decay can be done now by the particle system - no need to do it in your enterframe loop.
Not too sure on the max no of particles for one particle sprite either. @hgy29 will know.
https://deluxepixel.com
Likes: SinisterSoft
Starts Gideros player button not work.
Look here: http://docs.giderosmobile.com/reference/gideros/Particles/setParticleDecay#Particles:setParticleDecay
and here: http://docs.giderosmobile.com/reference/gideros/Particles/addParticles#Particles:addParticles
Donated
I have updated the code but still It doesnt work in some builds. I tested 10-20 times. Sometimes, particles are not created and sometimes they are located in wrong.
https://deluxepixel.com
like open example, open help->api reference, open player, select plugins.
Could not open the project file: ../../Examples/Graphics/Button/Button.gproj
We are investigating this Mac issue, looks like it could be some Sierra restriction since fresh installs on El Capitan seem to work properly. However I switched to Sierra and did a fresh reinstall of Gideros and it still works on my Mac. OTOH I use my Mac to build Gideros so I may have some specific configuration. Could it be some new security feature brought by Sierra ?
launch the gideros studio from Contents/macOS/Gideros Studio, it seems all works fine.
I also installed on my older MacBook Pro with 10.12.1, the gideros studio could not be opened at all.
On my computer, Gideros is installed at
/Applications/Gideros Studio/Gideros Studio.app/Contents
(with subdirectories under this including MacOS which contains the actual executable).
Previously OSX would take the above directory to be the CWD so, the path
../../Examples/Graphics/Bird Animation/Bird Animation.gproj
would find the correct file.
But now it looks like the CWD is taken to be somewhere else. If so this is going to break hundreds of programs not just Gideros and it's a simple Apple bug which they will no doubt fix. (I can't believe this is a 'feature'!)
I also found this website which lists numerous bugs in Sierra:
http://osxdaily.com/2016/09/24/troubleshooting-macos-sierra-problems/
I think this section might be relevant:
“The application ‘name’ can’t be opened” or Error -41
Unfortunately the solution is to reinstall Sierra!
Note that this problem only occurs in Sierra not in previous versions of OSX. However, @hgy29 has installed Sierra without encountering the problem. I have not upgraded from El Capitan yet as I am afraid such a buggy release of OSX will break the build system. I'd rather wait till things stabilise before upgrading.
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
The previous release can work just well on Seirra.
@hay29, no specific configuration required for Sierra to run it . I built it on one Mac and install it on another fresh Mac, both with Sierra, all works well.
libFacebook.so should be libfacebook.so (all lowercase)
PS - I also turned off Instant Run in the latest version of Android Studio (v2.2.2).
7.11.0 2016‑09‑15
Removed dependencies on CoreBlueooth, EventKit, and EventKitUI frameworks.
7.9.0 2016‑07‑13
Added GLKit, OpenGLES, CoreMotion and CoreVideo framework dependencies to improve and enhance ad rendering and quality.
7.7.0 2016‑02‑24
Added a dependency on the MediaPlayer framework.
So the docs at http://docs.giderosmobile.com/interface/ads are slightly out of date.
Likes: SinisterSoft
Every so often though they would be huge and in the wrong place.
This may have been because maybe they are not cleaned up properly?
@hgy29 might know?
https://deluxepixel.com
Likes: SinisterSoft
https://deluxepixel.com
The good news is that it is only related to particles, the bad news is that I can't think of a workaround for current release.
Likes: hgy29
One can disable quarantine by typing the following command in a terminal window:
Likes: stetso, SinisterSoft, HubertRonald
https://deluxepixel.com