Skip to content

CCantale/Ray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray (2023)

Simple engine to make and then navigate 3D maps à la Wolfenstein3D, made entirely in C++ using the SDL2 library to handle graphics.

It's pretty rough, but very cute also <3

Ray

Guide

After selecting a size for the map, the editor will open.

Draw Walls

Use the red spray tool to place walls:

Erase Walls

Use the black spray tool or the mouse right button to erase walls:

A Place to Start

Use the green spray tool to set an initial position for the navigation.

This is mandatory, the rendering of the map will not start without it.

Done

Finally, click on the START button and enjoy a nice walk through the map you've just drawn!

Navigation

Use W, A, S and D to move and the left and right arrow keys to rotate.

Exit

Press ESC to exit anytime.

Compilation

Windows

run make -C srcs to compile an executable directly in the main folder.

Linux

run make -C srcs/UNIX_Makefile to compile an executable in the main folder.

Mac

Sorry, guys, you're on your own for now.

Plans for future implementations

I'd like to add:

  • A save/load system for the maps
  • Mouse controlled rotation during navigation
  • The possibility to place walls of different colors
  • A loading system for external textures to use as walls or sprites
  • A way to set movement patterns for the sprites
  • Wait, is this becoming a game engine project?
  • I really hope not, it would be exhausting and dreadfully time consuming...

About

Simple engine to make and navigate "2.5D" maps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published