RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic  
View previous topic - View next topic  
Author Message
syn9
Wandering Minstrel


Joined: 31 Aug 2002
Posts: 124
Location: USA

PostPosted: Sun Jun 28, 2026 11:03 am    Post subject: Raycaster RPG [quote]

I've been wanting to make a raycaster-style 3D RPG for a long time. This devlog is to capture my progress toward that dream.

I started off by making a simple dungeon generator that randomly places room rectangles. A random location inside the room is selected as an anchor point. The distances between all anchor points are calculated and used to create a minimum spanning tree. Then elbow paths are used to make hallways for the connections in the MST.


I then used this grid to create a binary space partition tree and build up convex rectangular volumes. Volumes are then drawn using raycasting.


Here's how it's looking in game so far.


For the outside I've been working on a voxelspace-style engine. I randomly generate an island terrain, then solve for the surface using cubic spline interpolation. The texture of the voxel is based on elevation and the slope right now, so that there are exposed rock walls. Coloring uses angle to the sun as well as atmospheric attenuation.




_________________
http://www.thehideoutgames.com
Syn9's Hideout
Gardener @ The Game Developer's Refuge
Back to top  
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1733
Location: Cedar Bluff, VA

PostPosted: Mon Jun 29, 2026 2:01 pm    Post subject: [quote]

Looks interesting!
Back to top  
Post new topic Reply to topic Page 1 of 1 All times are GMT
 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum