Jeremy Johnston

PAINT TO LIVE. An idea where the player can pick up paint to affect the canvas that is the world, and thereby keep their existence. WASD to move.

screenshot

Comments5

Liam :D21 Apr 2015, 17:02
"Web" link contains a zip with the files, which are run in a browser. You should find a web hosting provider and upload those so people can just run the test.htm page there.

Otherwise, the game is neat, but unbalanced. I had like 60+ seconds in no time. Also the camera should follow the player more closely. I only ever got killed by off-screen enemies.
Tijn23 Apr 2015, 20:02
What does the paint do exactly? Can't I just avoid the buzzsaws without ever touching the paint?
Loon Of Nature27 Apr 2015, 08:24
The idea of different paints doing different things was interesting but I think you needed a spawn limit, I started lagging hard a minute in.
Huo-cuo
Huo-cuo2 May 2015, 12:59
It is quite easy and starts lagging a lot after the first minute.
jmborden2 May 2015, 18:12
You really need a better mechanic than refreshing the page to restart. What I do is have an init() function and two functions which call requestAnimationFrame() on themselves, gameloop() and gamover(). On startup, init() resets the world and calls requestAnimationFrame() on gameloop(). If the gameover condition occurs (e.g. a saw hits your character) in gameloop() it calls gameover(), otherwise gameloop() calls requestAnimationFrame() on itself. The gameover() loop calls itself until the restart condition is met (such as hitting a space bar) and then calls init() to restart the cycle.

There is another issue where the game is creating tons of div elements in the page structure in Chrome. No sure what that is about. It might be causing the lag huo-cuo is mentioning.

Like Liam said, you should also host this somewhere. That's the beauty of HTML5 games, they can be run right in the browser!

The game itself isn't bad, but paint is a pretty old "weapon". There was an old arcade game called "Make Trax" where you had to paint the entire board in a maze game reminiscent of Pac-Man. Also check out Splatoon, an upcoming game from Nintendo on the Wii-U.

Nice entry, glad to see someone else making HTML/JS games with Three.js.
Found a bug?
Tell us on Discord