Tech Discussion


Hello there! I am Anthony from Zetix Studios. Today, I wanted to talk about some cool techniques I made in this game using some tools with the game engine I use, scratch. This is a tech discussion. Yesterday, I made a postmortem, but wanted to do a tech discussion today.

First of all, let's talk about the waves. If you can't tell, the waves keep on scrolling across the screen. Since I can't make infinite waves, and Scratch doesn't support scrolling that well, it was hard. So, what happens is it spawns at the right side of the screen, then keeps on moving until it gets to the left, than goes back to it's original position and repeat this forever until the game stops. I made symmetry by making half of it, duplicating it, flipping it, and making it beside each other, to make it look like waves.

Second, let's talk about how the spawning thing works. First what it does is I used the pick random feature so it will spawn at a random time. I made it spawn by using the clone feature, which is also how I made the FPS thing.

Then I use the run without screen refresh feature so it will go in a random position on the waves by keep on going to a random position until it is on the waves.

Third, let's talk about how gravity works. In real life, you can swim in the water, but at the same time you don't stay up. So I made it so the trash sometimes moves random and turns by making it change it's position and direction on the screen at all times. I also made it so if it gets out of the water, it keeps on going down until it's back in, and made it so if it touches the sand, it will keep on going to the right until it hits the water.

Thanks for seeing this. I hope you enjoy and make sure to download it. If you don't want to download, you can always play the browser version. Cya next week or later today for Game Design (maybe a tutorial)!

Files

Trash First, Safety Second (Windows).zip 83 MB
Nov 13, 2021
Trash First, Safety Second (Linux).zip 95 MB
Nov 13, 2021

Get Trash First, Safety Second

Leave a comment

Log in with itch.io to leave a comment.