~I’m back with a new mini-game called Shoot’em.~ :) READ BEFORE YOU PLAY *Note: This game is infinitely generated and it should not be laggy because of the despawning mechanics. <Controls> [Left] and [Right] to turn [Up] to go forward, [down] to go backwards. [space] to sprint [d] to see the data. Click or [z] to shoot <Game> Control your tank and shoot the enemies! First, you have 100 bullets but you lose each time you use it! You get a extra bullets if you kill the enemies! Each enemy has about 5 health. If you get a certain amount of bullets, you can exchange your bullets that you have with your strength/bomb upgrade! There are only 5 upgrades for now. 1) Default. [0b] 2) 2 Strength [500b] 3) 3 Strength [1000b] 4) 4 Strength [1500b] 5) Laser Gun [5000b] The dot on the edge of the screen shows a offscreen enemy. It might despawn if you are far away from it. Follow the dot to guide your way to your target. Anyway, have fun! <What I am working> I am actually working on the fishing simulator game which is more complex. This game is just a mini game and I just wanted to share this before I share the main game! You don’t have to read below. +++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++ <How I made it> This includes scrolling and moving sprites in the direction they’re facing at the same time using sin and cos which can determine the x and y coordinates in the circle. X=sin(direction) Y=cos(direction) This is useful for scrolling and not just moving it’s position, it can control the variable! This is also how scratch’s [move () steps] works! #tutorial #game #art #all ©All rights goes to @Craftman-1223