Skip to content

Simple raycasting for Arduboy

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE.txt
Notifications You must be signed in to change notification settings

ladroid/3dWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

3d World

Overview

This Arduino sketch is designed to run on the Arduboy handheld gaming device. It implements a basic 2D raycasting engine, similar to early first-person shooters, and includes a particle system. The code is based on the raycasting tutorial from lodev.org.

Features

  • 2D raycasting engine for rendering a simple maze-like environment.
  • Particle system with basic physics.
  • User input handling for movement and particle generation.
  • Procedural map generation based on a hashing function.
  • Dithering

Movement and Controls

  • Use the UP and DOWN buttons to move forward and backward.
  • Use the LEFT and RIGHT buttons to rotate the view.
  • Press the A button to generate particles.

Particle System

  • Particles are generated at the player's position and move in the direction of the player's view.
  • Each particle has a limited lifespan, decrementing each frame.
  • Particles are rendered as small squares on the screen.

Additional Notes

  • Collision detection with the map boundaries is implemented.
  • The game utilizes the Arduboy's 128x64 pixel monochrome display.

Legal

Copyright (C) 2023 ladroid.

This code is BSD-3-Clause Licensed.

About

Simple raycasting for Arduboy

Topics

Resources

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages