Angry Birds
(Part 3)
Pig1.js:
class Pig1 extends BaseClass {
constructor(x, y) {
super(x, y, 50, 50);
this.image = loadImage('sprites/Pgi.png');
}
display() {
super.display();
}
}
"Code. Create. Level Up. Your daily source for game dev breakthroughs, app design trends, and full-stack innovation."
0 Comments: