Under the Ocean | Code a Fishing Game on App Inventor [BEGINNER]
Visited the aquarium during the holidays? Relive your experience with this Under The Ocean tutorial! In the 3rd instalment of our App Inventor series, you can dive into programming a fishing game with a Game Boy interface. 🎣
Begin as a medium-sized goldfish and move around with the controls located at the bottom of the screen!
Eat small fishes to gain points
Avoid the big fishes to live longer! 🐟
Remix it! 👉 https://ai2.appinventor.mit.edu/?ng=62c1e57f-b302-4017-8af0-e62253434fa3
(You will need to create or sign in to your App Inventor account)
Overview of video:
0:00 Introduction
1:33 Step 1: Create 3 variables to keep track of the speed of our fish
3:01 Step 2: Create a variable to keep track of the total energy
3:41 Step 3: Change the speed of our fish when button B is pressed
5:37 Step 4: Trigger clock component to change the energy bar when button B is pressed
10:30 Closing
Get Featured!
Made your own version of Under the Ocean? We'd love to see it! Tag us @codinglabasia on Facebook or Instagram and stand a chance to be featured! 😉