itch.io is community of indie game creators and players

Devlogs

reworking camera and collisions, new feature from pre-jam : entities behaviour

Joan Jump
A browser Joan Jump made in HTML5

reworking camera and collisions, new feature from pre-jam : entities behaviour, "falling" or "moving right" is now a generic function that can apply to any element !

if (!element.sprite.canvas.collide(ground, element.sprite.name, 0, 1)) { 
    element.falling = true; 
    element.move(0, 1, 'falling');
} else { 
    element.falling = false; 
}
Download Joan Jump
Leave a comment