Skill Tree Activated

The quest to become an indie game developer

#100DaysOfCode#100DaysOfGameDevC#CodingGame DevIllogical BaconScript-writingUnity

Flappy Pig – Post-spawning at Random Intervals

Day 082 #100DaysOfCode
Day 046 #100DaysOfGameDev

  • set up random post-spawning on the X-axis to create horizontal variety
declaring new MinX and MaxX variables
setting up random X position spawning
  • set up code within PostPool to save current and last post positions
declare variables to be used with setting current and last positions
setting current and last positions
  • write new CoinPickup script to add bonus items to the game (incomplete)

Leave a Reply

Your email address will not be published. Required fields are marked *