Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:32 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Labyrinth procedural generator

Author Message
johngill
Newbie

Joined: 22/09/2020
Location: United Kingdom
Posts: 38
Posted: 05:43pm 09 Mar 2021
Copy link to clipboard 
Print this post

Hi all,

As previously mentioned on my facebook post - for those who are interested, I've attached the .bas file (zip file at end of post) - and some of my scribblings on how I put the procedural generator together.

cursor keys to move around the labyrinth, -/+ changes the light distance.

"l" turns off the lighting routine, draws all the labyrinth. NOTE there's a bug in this, the player wall collisions doesn't work when you turn off the lighting routine.






proctiles.zip
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 06:13pm 09 Mar 2021
Copy link to clipboard 
Print this post

Hi John,

Haven't had opporunity to run it for myself yet but saw it on Facebook and it looks great, I hope you turn it into a game, even if only a simple one.

You should also post on TBS about your 3D landscape generator, I meant to include that on a new version of The Welcome Tape, but I'm just not getting around to it.

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
bar1010
Senior Member

Joined: 10/08/2020
Location: United States
Posts: 197
Posted: 07:54am 10 Mar 2021
Copy link to clipboard 
Print this post

  johngill said  Hi all,

As previously mentioned on my facebook post - for those who are interested, I've attached the .bas file (zip file at end of post) - and some of my scribblings on how I put the procedural generator together.

cursor keys to move around the labyrinth, -/+ changes the light distance.

"l" turns off the lighting routine, draws all the labyrinth. NOTE there's a bug in this, the player wall collisions doesn't work when you turn off the lighting routine.






proctiles.zip


Thanks for uploading this code.  There are things included that could use in my projects.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025