About Monkey 2 › Forums › General Discussion › Insectoids
This topic contains 33 replies, has 12 voices, and was last updated by
therevills 1 year, 6 months ago.
-
AuthorPosts
-
September 24, 2017 at 1:29 am #10775
Dont use the zip attached to the post above, its an old version and I cant delete it(?).
September 25, 2017 at 9:00 am #10800September 25, 2017 at 1:12 pm #10801Cool!
September 28, 2017 at 11:46 pm #10868http://monkeycoder.co.nz/insectoids/Insectoids.html
I like how the ‘hot pink’ icon jumps out at you (very easy to spot monkey2 file type icons) but at that scale it’s a bit much! Might need to change it up…
Pretty amazed wasm in an iframe works too, although can’t set focus?
September 29, 2017 at 12:08 am #10869And again…? Stretch or resize?
September 29, 2017 at 1:47 am #10872I tried to play it from your post above but when I press the space bar to play it just advances the page.
Also because both applications are running in the Browser at the same time my browser has become really slow. maybe figure out a way to keep the applications from running until somebody clicks on one an an option to close them down.Os X Safari
September 29, 2017 at 8:43 am #10881Actually, doesn’t seem to be slowing browser down at all here, and both apps are running at 60hz.
Focus does indeed need to be fixed – anyone know how to set focus to an iframe? Is there some trick to it? Could also a be a wasm issue I guess. And yes, would be nice to have apps properly suspend if they don’t have key/input focus.
September 29, 2017 at 9:11 am #10883Very Cool!
I played with different sizes of the Monkey2 logo, any smaller and the “Powered by” was getting lost.
This site needs the ‘hot pink’ icon as the fav icon
September 29, 2017 at 12:13 pm #10885That’s really cool that you can embed it like that
Doesn’t slow down here but it would be cool if you could send a sleep mode to it when not in view similar to twitter and video embeds.
September 29, 2017 at 4:45 pm #10886This is great ,top stuff guys. As Jesse says i cant get focus on Insectoids,and im using Chrome,and the powered by Monkey logo WOW thats loud.
September 29, 2017 at 5:48 pm #10887Insectoids is quite jerky for me in Firefox, while the ducks demo runs smooth as silk — made sure I only had the Insectoids tab running anything, too, still the same.
September 29, 2017 at 11:16 pm #10889Well, Three post down doesn’t slow it for me any more. I guess they stop running after they are not in view anymore.
I suspect the one slowing things down for me is the ducks demo. I don’t think my 2013 MacBook Air 1.7Ghz is up to par with those modern graphics in the browser and all those 3D objects.September 30, 2017 at 11:45 pm #10895this is how cesium does it i think –
Monkey12345var canvas = viewer.canvas;canvas.setAttribute('tabindex', '0'); // needed to put focus on the canvascanvas.onclick = function() {canvas.focus();};October 1, 2017 at 2:46 am #10896Ducks run at 20 fps in Safari, 15-19 in Chrome on my MacBook Air. Neither of them seem to start in Firefox.
Specs: https://everymac.com/systems/apple/macbook-air/specs/macbook-air-core-i5-1.4-13-early-2014-specs.html
October 1, 2017 at 9:55 am #10898Here’s work to rectify the small logo issues
and the finished one.
I dropped the pink “2” due to clarity
The final version also has some subtle borders on the text to aid viewing on lighter backgrounds
Attachments:
-
AuthorPosts
You must be logged in to reply to this topic.

