UPDATE: 2018-02-04 I made a Paint-Em-Up 2player digital painting software/game thing, and presented it at Coaxial Arts. A demo is up. Arrow keys and WASD are controls.
Painting Programs && code
Digital Painting
I’m working with J.A.S. to make (build?) some new painting performance projects - games, perforamnce tools, hardware.
Just stumbled across the old Action Painting game and Action Painting Pro. The v1 is better.
I made a painting interactive software thing, even less game-like. Rough demo is here and the code here. I’m going to use it as a starter code to make more stuff.
Variations
- Roguelike
- no paintbrush/canvas control - you can only alter sliders for color, size, speed of bot-brush - everything controlled with sliders
- Vimpaint
- Bot-painter
Multikeypress
Need multiple keypresses to be recognized at once? function keyPressed()
is not your friend as it has a limitation to how many keys can be identified. keyIsDown() can check if a key is currently down.
Example
function draw(){
if (keyIsDown(DOWN_ARROW)) {
y += 5;
}
if (keyIsDown(UP_ARROW)) {
y -= 5;
}
if (keyIsDown(RIGHT_ARROW)) {
x += 5;
}
if (keyIsDown(LEFT_ARROW)) {
x -= 5;
}
}