For this platformer I used a collection of premade assets. I only need to use one script for the platformer which controls character movement. I start off by declaring my variables. playerSpeed stores the speed in which the player moves, playerJumpForce controls the force in which the player jumps with and moveInput detects whether the… Continue reading Platformer Write-up
Month: November 2021
Top Down Shooter Writeup
For this program, I have included two scripts for the player character. The first of these is called “scr_PlayerMovement”. I start off by declaring my variables. “moveSpeed” controls the movement speed of the player, “rb” stores the rigidbody of the player sprite and “camera” stores the camera. Vector2 movement stores a reference to the players… Continue reading Top Down Shooter Writeup
Space Invaders Writeup
My Space Invaders is set to an aspect ratio of 16:9. I have made my own assets for this game which I’ll display in the images below. The first of these is the player ship. This is the player ship. This is the enemy ship. This is the player’s bullet. This is the enemy’s bullet,… Continue reading Space Invaders Writeup
Cookie Clicker Code Writeup
The first thing I did when making this file is set the resolution. The resolution is automatically set to free aspect, however I want to set a custom resolution that would be appropriate for mobile devices. I have set the resolution of my game to 180×320 to be appropriate for 16:9 display mobile devices. This… Continue reading Cookie Clicker Code Writeup