/Revolving-Objects-Demo

This demo is a personal project made to show my understanding of Mathematical Functions, Prototype-Based Classes, Object-Oriented Programming, and Single Script Architecture.

Primary LanguageLuaMIT LicenseMIT

Revolving Objects Demo!

Overview

A small game I worked on in the past. Decided to open source it in case anyone is curious on how it works.

Used Sine and Cosine functions in conjunction with Object Oriented Programming (OOP) to make a table of revolving objects with sine waves to create a bobbing effect. You can add/delete objects from the table, adjust the radius, angular velocity, and amplitude calculations in-game if you're interested in how it works!

Demo Link: https://www.roblox.com/games/7512059984/Revolving-Objects-Demo

Video Link: https://www.youtube.com/watch?v=9t4_zqqNfmU&t=15s