This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

RcCookie
RcCookie presents ...

2022/1/26

aMAZ3

This is the remastered version of my scenario "aMAZE": You are spawned inside of a maze and have to find yourself to the green target.

Controls:
WASD/Arrow keys - Movement
EQ - Straving
Shift - Sprint

The mazes are randomly generated - they are always possible. The algorithm to generate the mazes is the same as in the initial version, but about everything else has changed.

The rendering is done using a sort-of 2D self-written ray-tracer. This means, that the image is rendered by shooting many rays from the players point of view and testing where they hit.

Performance is WAY BETTER OFFLINE. I strongly recommend you to download the game and play it in the application as there more advanced techniques such as multi-threading is used. Also, resolution scaling is lowered for online, so the image will be a lot sharper offline.

2953 views / 19 in the last 7 days

14 votes | 1 in the last 7 days

Tags: game simulation physics maze first ray raycast raycasting raytracing amaze

This scenario is a member of: UNiTy iN NeEd


open in greenfoot
Your browser does not support the canvas tag.
DavidsonDavidson

2022/4/1

I am a stupid person
DavidsonDavidson

2022/4/1

Since I lost the challenge, I had to say this as it's a dare given by Jhonath
DavidsonDavidson

2022/4/1

*given by Jhonathan the Idiot
RcCookieRcCookie

2022/4/3

Thank you. Why do you mean the fps cap was a problem?
DavidsonDavidson

2022/4/3

I mean to prevent 3d game from lagging on platform like greenfoot would be difficult for you
RcCookieRcCookie

2022/4/5

Oh I see. Online, yes performance is always bad. But offline Greenfoot has a very small performance penalty. The main way of optimizing this is to improve the raycasting algorithm. I am working on running on the GPU, and on using a „bounding volume hierarchy“ which groups walls in the same area into groups so not all have to be tested.
AlphaKennyOneAlphaKennyOne

2022/4/14

wtf bro
Hey, david, do you know who I am? I am one of the member of your night club
Nice 3d game. It's on trending
RossUnagiRossUnagi

2022/5/15

Offline is far better than online

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Edit LIU-25535 RossUnagi Roshan123 Carryminati Greenfoot_Admin AlphaKennyOne AbdulrazaqAS Davidson Jhonathan Füchèr Super_Hippo Gabe1098