Skip to content

peebam/baba-portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baba - Portal

This project explores genetic algorithms through an application to the game Geodash. alt text

About

It's ugly, but it works :D

Somes tricks :

  • Since Godot doesn't allow to manipulate camera's frustum, I split the level structure in plates. Then I used instance layers to display or hide the plates from the differents couple camera/viewport that simulates the view through portals.
  • I massively used shader to render the "view" through portals. Some glitch can happen if the camera is too close from the texture that render the view.

Features

The player move using zqsd / wasd to move front or back and strafe left or right. The mouse (captive) move the camera. The left click create the red portal and the right click the blue portal. Escape quit the game.

There is no way to win. It's just a sandbox.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/peebam/baba-portal
    
  2. Open the project in Godot Engine 4.4.

  3. Run the project.

About

This project explores a way to implement portals in Godot.

Topics

Resources

Stars

Watchers

Forks

Contributors