Skip to content

This game is just a stupid game that made by Rust Bevy. The goal of this game is to collect items in the supermarket before facing the threat of ZEDDD!!!

License

Notifications You must be signed in to change notification settings

Rayato159/zed-mart-zombiefest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zed Mart Zombiefest

Pubished By: Ruangyot Nanchiang

About This Game

alt text

Click to play on the browser!

This game is just a stupid 2D game that made by Rust Bevy from scratch.

The goal of this game is just to collect all items in the supermarket before facing the threat of ZEDDD!!!

However, the progress is proving to be quite challenging because this is my first attempt at creating a game from scratch. I'm grappling with numerous mathematics and physics aspects.

So far so good, Let's me present about mathematics and physics that used in this game step by step.

Motion

When we were young, we must have studied classical physics, which describes how the motion of objects works.

Imagine needing to walk from your house to the office. Would it be possible if you didn't have a speed, and the world didn't have time?

Exactly, isn't it? When you need to go from point A to point B, you have to walk, and as you walk, it takes time. With time in the equation, speed comes into play.

Speed is something that occurs when the distance between the starting point and destination point differs over time.

Then, the equation of motion is going to be demonstrated as shown in the picture below.

alt text

Zombie Head to Player

The direction is simply used to point the zombie towards the player to attack. This utilizes a mathematical technique known as "Vector".

At first, we find the distance between the player and the zombie, normalize the distance to move the zombie slightly based on its speed and direction towards the player. Then, kaboom!

alt text

alt text

Tech Stack

Assets Credit

Is Game Have Finished ?

First version has been finished!!!, But I'd need to add multiplayer mode in the future.

About

This game is just a stupid game that made by Rust Bevy. The goal of this game is to collect items in the supermarket before facing the threat of ZEDDD!!!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages