Log In  

I'm working on a raycaster, and I'm stuck on trying to make billboard sprites; I think that it would be a waste to not at least show off what I had, so here's a little demoey thing.

Can you find all 4 hidden orbs?

Cart #rg_raycaster_demo-0 | 2020-06-18 | Code ▽ | Embed ▽ | No License
14

Hint 1:

There are some walls that are intangible.

Hint 2:

The maze is a grid of rooms, so a map will work fine.

Hint 3:

There is one tile in the stone hallway that is different to the others.

Map of the maze:

Y: Yellow pillar room/entrance
W: White pillar room
E: Exit
+  +--+--+--+--+--+
 Y ############ W |
+  +--+--+--+ #+--+
|  |  |  |#####   |
+  +--+--+# +--+  +
|  |#####|# |     |
+  +# + #+# +  +  +
|  |# | #|# |  |  |
+  +# + #+# +  +  +
|  |# | ### |  |  |
+--+# +--+--+--+--+
|   ############ E  
+--+--+--+--+--+--+


Also, if anyone could help me figure out how to do sprite billboards, that would be wonderful.

P#78216 2020-06-18 10:29

2

Okay, so I don't know much on Lua coding, but this game is really good, although you should slow the movement down a notch.

P#78225 2020-06-18 15:04

The game is very fast and i can't understand it. Sorry, i don't like the game.

P#78236 2020-06-18 18:50
3

Nice work! If you haven't read it already the billboard sprite tutorial at https://lodev.org/cgtutor/raycasting3.html is excellent, and ports nicely to pico-8 lua (you'll likely use sspr to draw vertical slices of the sprites).

P#78243 2020-06-18 20:57

the movement is too fast

P#78381 2020-06-22 03:53

Movement is a little quick, but it looks really good.
It is a little difficult to identify one of these "orbs" with no visual or descriptive aid, but I do believe I found all four.
I would recommend snapping to 45 deg on a push and 90 on a hold.
Getting through the doors is weird when you walk all over the place.
Generally, really impressive.

P#78390 2020-06-22 09:48

This is amazing! Great work.

P#134249 2023-09-13 03:57

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 22:29:28 | 0.011s | Q:28