-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|510|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Showcase Home -> Graphic Demos


 
Pakz
Created : 11 May 2016
Edited : 11 May 2016
System : Cross Platform
Language : Monkey

Mojo2 html5 animation

A nice looking background animation effect

https://cromdesi.home.xs4all.nl/html5/mojo2/polyscreen/MonkeyGame.html
Screenshots
I made it this morning in Mojo 2. It is one of the first things I made in Mojo2.

The link goes to the webpage showing the demo. I tested it on laptop and ipad mini. Seems to run fast enough on ipad mini.

The sourcecode is here :

https://www.monkey-x.com/Community/posts.php?topic=10550

 

Comments


Wednesday, 11 May 2016, 01:56
Jayenkai
How is mojo2?
I haven't dared upset my devkit to try it out, but that little test seems to run smoothly, which is nice.
Wednesday, 11 May 2016, 14:05
Pakz
I started using it this morning. The documentation is really lacking. So many features and no snippets/examples per command and short descriptions. It wil take longer to learn more about what it can do. (beginners forum)

Drawing to images is neat. This is a great addition. No need for writepixels and arrays. Use canvas commands to draw into images. The code in this showcase uses drawpoly into a extra canvas that is assigned to a image. This makes making/modyfing/buffering ingame graphics easier.

Colors are now floats. 0 to 1. Which is a big change.

You can not run the html from the browser locally. You need a webserver. (Run through ted)

I like it so far and wil spend more time with it.