Skip to content

v1.2

Choose a tag to compare

@B4uti4github B4uti4github released this 27 Jan 04:01
  • Quality of Life (Qol) fix with improved security
  • Uploaded to unpkg/npm
  • Removed layers then so if you wants layers, code in this style:

Correct ✅:
// Scene 1: Green and white
choppy.sceneCreate(function(scene, ctx, deltaTime) {
    ctx.fillStyle = 'green';
    ctx.fillRect(0,0,200,100);


    ctx.fillStyle = 'white';
    ctx.fillRect(0,0,50,50);
}, "Cave");
Incorrect ❌: 
// Scene 1: Green and white
choppy.sceneCreate(function(scene, ctx, deltaTime) {
    ctx.fillStyle = 'green';
    ctx.fillRect(0,0,200,100);
    ctx.fillStyle = 'white';
    ctx.fillRect(0,0,50,50);
}, "Cave");
  • Removed Examples for soon, TODO list of the examples in this file