Skip to content

mjrevel/blowboat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blow Boat

Overview

This project was developed to illustrate the mechanic of combining two sine waves. It uses a CPU computations to calculate the height of the wave at multiple coordinates, as well as the GPU to render the visuals by impmplementing VERTEX and FRAGMENT shaders.

A simple game of tug of war. The demo is configued to allow two users to enter their desired wave configuration. Once the wave configuration is locked in the users can use a sensor to aid in getting the boat to the opposite side.

Blow Boat gameplay

Resources and Inspiration:

Nvidia GPU Gems - Effective Water Simulation Physical Models

Acerola - How Games Fake Water

Crigz Vs Game Dev - How to make things float in Godot 4

How To Play

You can play with or without the sensors hooked up.

With Sensors

Depending on your machines configuration you may need to modify the serial port being monitored.

To modify the port navigate to the file ocean.gd and modify the port and baud rate.

serial.open("/dev/ttyACM0", 115200)

Without Sensors

Open the project in Godot and click the "play" button

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors