Improvements on Duck Duck Tree


The original Duck Duck Tree game was a top down game where the duck player just followed the cursor and planted trees around the screen when the spacebar was hit. It was really rudimentary but it was my first game from  a year ago...  https://suspicious-thompson-5f99c2.netlify.app/

Here are the improvements and additions I've made to improve the concept since then: 

  • Graphics/Sounds:
    • Popup/Treasure chest
      • Correct input should cause chest to open and give a popup with a different fact about trees each time
    • Hearts
      • Should correspond to how much player has collided with bots
      • Lose 1 heart when hit a bot once
      • Player should still be alive when have at least 1 heart
    • Animations
      • Stars
        • Should be spinning when untouched
        • Stars from chest should float from chest to player
      • Player
        • Player should turn left, right, back, front according to arrow key pressed
      • Trees
    • Duckie Stats At top of scene
      • Should not be covered by other objects in game at all times 
        • This includes the words “DUCKIE”, star counter, timer, and hearts
    • Game Music
      • Main game music should be playing on loop during levels
      • Should be sounds when player interact with stars, bots, and trees
      • Should be sound effect when user clicks the ‘No’ button when asked to try again
      • Should be sound effect on win scene

  • Mechanics:
    • Popup information
      • Pop Ups should contain a different fact every time that was taken from a linked list. There was really nothing education about my first game since it was just spam clicking space bar to plant trees within a certain amount of time. 
    • Trees
      • Trees should start out as stumps and become a full tree with correct input
    • Robots
      • Bots should be moving back and forth using velocity from a queue
      • Should be collide-able with player unless red button on level 3 is pressed
    • Player Movement/Interaction
      • Player should be able to move around with cursor keys
      • When player touches the tree stump + hits the spacebar, the stump should become a tree
      • When the player touches the treasure chest + hit the spacebar, the chest should open and give a popup
      • When the player touches the robot, the player loses a heart and respawns at start
      • When the player touches the star, should add the star to an incrementing counter
      • When player touches flag, game should go to a transition scene
    • Buttons
      • White square buttons should be clickable with mouse pointer
      • Red button on level 3 should be able work when player runs over it once
    • User Input/Interactivity
      • Space bar, cursors, mouse pointer should work when applicable
  • Scenes:
    • Title
      • Should have a colorful game title
      • Should have text telling user how to start playing
    • 3 Game Levels
      • Should transition in order from level 1 to 2 to 3
      • Each should have own unique map and design
    • Transitions
      • Should appear after player has touched the flag
      • Should have stats from level player just finished
      • Must only allow player to move to next level when all trees are restored and stars are collected
    • Game Over
      • Should give player option to retry current level or quit game
        • If quit game, game will reload back to title scene
    • Win
      • Should appear after all 3 levels are complete with a encouraging message and visuals
  • Code: Uses Linked List, Queue, and 2D Array on each level of game (I didn't have any advanced data structures a year ago). 
  • Organization: 
    • All main game files in src folder
    • Assets sorted correctly based on type/use in sub folders in ‘public’ 
  • Creativity:
    • Selection and creation of assets contributes to a better overall game feeling of depth and completeness
    • Has more than one level. Variety in level, something feeling different/unique about each level

Files

dist (2).zip Play in browser
May 30, 2021

Leave a comment

Log in with itch.io to leave a comment.