First HTML5 Pyro for Monkey2 demo EVER!
Monkey Archive Forums/Digital Discussion/First HTML5 Pyro for Monkey2 demo EVER!
| ||
I finally got Pyro for Monkey2 to compile for the web! Exciting times! http://www.playniax.com/SAF/spiral/ ( use mouse to drag the ball ) Pyro and Monkey2 still very young so I expect problems so please let me know if/how it runs ( or not ). And a big thank you to Mark for his awesome work! |
| ||
Exciting! However I get this (flickering) on Mac Mini El Capitain, in Chrome and Safari : ![]() |
| ||
At this Imac , chrome its running oke |
| ||
Thanks guys, much appreciated! Here is another for testing: http://www.playniax.com/SAF/jungle/ I guess I should post some Monkey2 ONLY demos to see if it is a Pyro thing or Monkey2 thing! |
| ||
No problem here with chrome (Version 52.0.2743.116) and win7 |
| ||
Jungle demo start and credit screen works perfectly. The game works, but has the yellow flicker/random noise on top. |
| ||
Thanks for the feeback! For everbody who is interested in the Pyro source codes... spiral demo: http://www.playniax.com/SAF/spiral/spiral.monkey2 jungle demo: http://www.playniax.com/SAF/jungle/jungle.monkey2 |
| ||
One of the things I wanted for 'Pyro for Monkey X' and 'Pyro for Monkey2' GUI objects is the ability set the handles to whatever you want and also to be able to rotate/scale them. The result I think is pretty cool: http://www.playniax.com/SAF/rpd/ Just click on the menu tab / menu and see what happens. I did not upgrade my latest Monkey2 to compile so some of the previous problems could occur. Since Monkey2 is not supporting touch yet it is best to test it on desktop. |
| ||
Cool :-) rpd demo works without hiccups on Mac Mini, El Capitain, in Chrome and Safari. |
| ||
So now I got the Pyro splitscreen feature working in a demo I ported from Ignition X! This is how you set up a splitscreen in Pyro for Monkey2: scene=New Scene() camera[0]=New Camera( scene,window ) camera[0].ClearColor=New Color( .25,0,0,1 ) camera[1]=New Camera( scene,window ) camera[1].ClearColor=New Color( .25,0,0,1 ) SetHorizontalSplitScreen( camera[0],camera[1],New Vec2i( 1024,768 ) ) I think these demos sum up a pretty good stress test for HTML5. Before I was testing them only for desktop and they all seem to compile flawlessly. There are still some hiccups as seen before but so far I am happy how the demos work! To control the 2 spaceships use cursor keys to control the red ship and M to fire, use the keys Z X C to control the blue ship and V to fire. http://www.playniax.com/SAF/gz/ |
| ||
If I press the Space key, I get "Exception thrown, see JavaScript console" |
| ||
Ah, my bad. I left a test key ( space ) in! Will change this! |
| ||
Tiled loaded isometrics test: http://www.playniax.com/SAF/isotest/ You can scroll using the cursor keys! You can let me know how and if it works:) |
| ||
Mac mini (2011) no issues in safari (el capitan) runs smooth as silk! |
| ||
Adam thanks for testing! I need to upload a new preview soon because mark added lights! |
| ||
Ok, I recompiled Spiral: http://www.playniax.com/SAF/spiral/ with the latest Monkey2! Maybe this solves previous problems... Please, let me know! Use mouse to drag the ball! |
| ||
Yes, working perfectly now without visual glitches. :-) |
| ||
Thanks! |
| ||
I recompiled the other demos with the latest version of Monkey2 as well so please be my guest and test them. Hopefully like the Spiral demo they run without problems now... http://www.playniax.com/SAF/jungle/ http://www.playniax.com/SAF/gz/ http://www.playniax.com/SAF/isotest/ |
| ||
Confirmed working ( system specs above) They seem to run on my Android tablet and phone too, but there is seems there is no input/touch support yet? |
| ||
Thanks for the feedback mate! That is due to Monkey2 not supporting touch yet. |