Last 12 weeks ยท 2 commits
1 of 6 standards met
This game is a top-down 2D game where a player collects letters to form words while avoiding enemies. A player, for each level, has to collect the letters of a word. Once they get all of the letters for a given level, they are able to cross a body of water to reach the next level. The "finish line" on each level is across the water, and once they cross it, they go to the next level. Words The list of words is in README.md, and embedded in the maps for each level. Sprites The maps are files (from Tiled, named level1.tmj through level10.tmj) in . The spritesheet is also in , called . It is full of 16x16 sprites packed together, it is a 25x11 grid. Map structure Every map for each level has: A ground layer An obstacle layer that the player can collide into, but not cross A water layer that the player can only cross when they have all of the letters in the word for the level A goal layer that the player has to go to once they get all of the letters (and once they do, that unlocks the next level) A letter layer with all of the letters that the player has to collect An enemy layer with bombs and hovercrafts (bombs are stationary enemies, hovercrafts move around randomly up, down, left, and right) A spawn layer where the player spawns for that level Sprites not in the map The player "walk cycle" sprite is in the sprite sheet in the seven bottom-most tiles on the sheet (as in, the last row of the sheet, in the far right 7 columns). When the player crosses the water, they should use the boat sprite at row 8, column 16. Navigation A player uses arrow keys or WASD to move around the map. Splash screen The current look of the splash screen is fine. We will update it to have a Help button to share the instructions with the players, and a start button.
Repository: cassidoo/code-wave. Description: Collect the letters and cross the waves to your goal! Stars: 18, Forks: 0. Primary language: JavaScript. Languages: JavaScript (98%), HTML (1.4%), CSS (0.6%). Homepage: https://cassidoo.itch.io/code-wave Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 28%. Top contributors: cassidoo.
Top-down 2D game where players collect letters to form words while avoiding enemies. Players must collect all letters for a level's word to unlock water crossing and reach the goal. Changes Core Game Engine Game config: Arcade physics, 720x480 canvas (45x30 tiles @ 16px), pixel art mode TMX Parser (): Parses Tiled map files, extracts tile layers and object groups Camera: 4x zoom with smooth player following, bounded to map dimensions Gameplay () Player movement via WASD/Arrow keys with walk cycle animation (frames 268-274) Tile layer rendering: Ground, Obstacles (collision), Water (blocking), Goal Letter collection from object layer with word progress tracking Water crossing unlocks when word is complete; player switches to boat sprite (frame 190) Enemies: bombs (stationary), hovercrafts (random movement) - contact triggers game over 10 levels with words: AI, Git, Data, Merge, Commit, Branch, GitHub, Program, Copilot, Developer Scenes Preloader: Loads spritesheet, TMX files, creates animations MainMenu: Splash screen with click/Enter/Space to start GameOver: Win/lose states with level reached Screenshot Original prompt This section details on the original issue you should resolve* Game set-up This game is a top-down 2D game where a player collects letters to form words while avoiding enemies. A player, for each level, has to collect the letters of a word. Once they get all of the letters for a given level, they are able to cross a body of water to reach the next level. The "finish line" on each level is across the water, and once they cross it, they go to the next level. ## Sprites The maps are files (from Tiled, named level1.tmx through level10.tmx) in . The spritesheet is also in , called . It is full of 16x16 sprites packed together, it is a 25x11 grid. ### Map structure Every map for each level has: A ground layer An obstacle layer that the player can collide into, but not cross A water layer that the player can only cross when they have all of the letters in the word for the level A goal layer that the player has to go to once they get all of the letters (and once they do, that unlocks the next level) A letter layer with all of the letters that the player has to collect An enemy layer with bombs and hovercrafts (bombs are stationary enemies, hovercrafts move around randomly up, down, left, and right) A spawn layer where the player spawns for that level ### Sprites not in the map The player "walk cycle" sprite is in the sprite sheet in the seven bottom-most tiles on the sheet (as in, the last row of the sheet, in the far right 7 columns). When the player crosses the water, they should use the boat sprite at row 8, column 16. ## Navigation A player uses arrow keys or WASD to move around the map. ## Splash screen Use the current temporary splash screen for now. The existing Phaser code is not sacred. Rewrite whatever you need. ## Comments on the Issue (you are @copilot in this section) Fixes cassidoo/code-wave#1 โจ Let Copilot coding agent set things up for you โ coding agent works faster and does higher quality work when set up for your repo.