add README
This commit is contained in:
@@ -4,14 +4,14 @@ import { cameraInput } from './cameraControl.js';
|
||||
|
||||
export function createPlayer() {
|
||||
const player = new Sprite();
|
||||
player.scale = 0.20;
|
||||
player.scale = 0.13;
|
||||
player.img = "assets/nubzuki.png";
|
||||
player.bounciness = 0;
|
||||
player.rotationLock = true;
|
||||
|
||||
player.w = 20;
|
||||
player.w = 25;
|
||||
player.h = 20;
|
||||
player.offset.y = 25;
|
||||
player.offset.y = 30;
|
||||
player.elevation = 0;
|
||||
player.x = width / 2;
|
||||
player.y = height - 80;
|
||||
|
||||
Reference in New Issue
Block a user