This should work:
array_all_words -> For each x element
Here is how it could work, but it's more a dirty hack.
Im using mersenne-twister.js from here https://gist.github.com/banksean/300494 and use Browser.executeJS.
It seems to work with a seed. I get every time the same value.
Example:
https://drive.google.com/uc?export=down ... d3rk87HXUs
Look here, korbaachs example. It's for C2 but I think i should also work in C3.
https://app.box.com/s/9y3912jdztpt03zw7vpvfffcehsxt292
Thread : how-do-i-simulate-a-terminal-cmd_t184345
unfortunately it does not work for me as I would like. It works for me only when I'm on the top. As soon as I go down, the enemy is crazy. I only changed the enemy's speed.
unfortunately it does not work for me as I would like. It works for me only when I'm on the top.
As soon as I go down, the enemy is crazy. I only changed the enemy's speed.
As I wrote. The movement of the enemies are hard coded positions, if you change the position it won't work.
I changed the example this should work better:
https://drive.google.com/uc?export=down ... 9Ga5Ifxim1
I recommend that you try to understand how this works, otherwise it will break again when you adapt it to another setting. I put a little explanation in it.
Does that mean that all existing C3 3rd party add-ons have to be adapted to the new runtime? No backwards compatibility?
My try:
https://drive.google.com/uc?export=down ... ChIjxlEols
I turned the enemy sprite 90° in the sprite editor to use move forward. I turned pixel rounding of for smoother movement. You have to look with the absolut positions if that is OK. The enemies react only every 3 seconds. I recognized that was in you video the same. If that is not what you want change the time or delete it.
You have to call execute Javascript from the Browser plugin with something like that:
"var myPopup = window.open("""", ""MyPopup"", ""width=200,height=100""); myPopup.document.write("&Score&");"
Score is you global variable.
You could try it with a subliminal message, like Lotus Turbo Challenge 2 on the Amiga from Gremlin Graphics.
-> <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">
Develop games in your browser. Powerful, performant & highly capable.
In NWjs 0.29 is a bug with webGL. If you use 0.29 try 0.28 or wait for 0.30
https://github.com/nwjs/nw.js/issues/6498
Asmodean thanks for reply and for your advice but it did not work
Asmodean
thanks for reply
and for your advice
but it did not work
As I wrote it isn't reliable. If the mobil-Browser is in Desktop-Mode it doesn't work at all. I only tested it on one device with Chrome and FireFox. It works with both.
If you run it in chrome you can use the chrome-taskmanger (Shift-Esc) to controll if you have an memory leak. If it increase steadily you have a problem.
It works with the 'On collision with another object' . Isn't this an 'Is overlapping' with 'triggered once'?
The same problem occurs in C3 too.
However, even if it's a problem with picking it is still a bug. If it's not working correctly it should be mentioned in the manual that OR isn't working reliable.
Member since 31 Jul, 2015