Skip to content

Commit

Permalink
zzz
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerdolby committed Nov 11, 2021
1 parent c3308d8 commit e6e2522
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Bug Saves World
![really far from complete, but a demo photo](https://user-images.githubusercontent.com/48612525/141258976-5b37794c-97fe-464c-b173-987e612afa7f.png)
![really far from complete, but a demo photo](https://user-images.githubusercontent.com/48612525/141270291-f5a67a06-767f-4b27-8997-6766645d9e6c.png)

_this is a really early demo photo of what one of the loading screens will sorta look like_

You are the last bug left on planet Earth, the only way to make it out (to safety) alive is to collect all the secret tokens hidden in each level. Sounds easy enough right? :)
Expand Down
Binary file modified assets/ladybug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions game.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function preload ()

// todo: make ladybug a spritesheet
// positions: (facing front,left,right,left running, right running)
this.load.image("ladybug", "assets/ladybug-transparent.png");
this.load.image("ladybug", "assets/ladybug.png");

// todo: add special items/keys to be found e.g. stars/special item

Expand All @@ -67,7 +67,7 @@ function create ()
this.add.image(100, 100, "star").setScale(.9);
this.add.image(450, 50, "star").setScale(.9);
this.add.image(650, 180, "star").setScale(.9);
this.add.image(400, 400, "ladybug").setScale(.2);
this.add.image(400, 400, "ladybug").setScale(.25);

// todo: add physics, create staticGroup()

Expand All @@ -83,5 +83,3 @@ class BugCharacter {
this.posY = 0;
}
}

const buggy = new BugCharacter("buggy", "#f06");

0 comments on commit e6e2522

Please sign in to comment.