Raycasting 3D render -- Blocks Edition

Is there a way to show text without it cutting to just the background?

3 Likes

and how did you get floor and sky

3 Likes

These are all not supported by this extension yet.

3 Likes

The target of support SayText feature by Raycasting extension is just “COPY” faithfully. So you could try some trick of SayText, eg: add a return letter inside words, like

spr.sayText(" test\ntest\ntest\ntest\ntest\ntest\ntest\ntest\n", 9999)

image

4 Likes

When are you planning to fully release these features?

4 Likes

You mean the Floor/Sky?
Should be when I can optimized it to 15 fps on my Meowbit, or 10 fps at least.
The current algorithm of floor take 3 times of wall’s each frame, plus sprites and other game logic, FPS is too low to be a qualified game, I think.

4 Likes

Would you mind releasing it specifically for the simulator? I understand performance really matters since you work with hardware but it would be something nice to have on the simulator when the performance is not limited

5 Likes

All the code is written in TypeScript (Arcade calls it JavaScript) right? If you want huge optimization, you can use C++ (It’s pretty hard to use though). Look through some C++ files in the screen and core folders in the explorer, (In an Arcade project/game) maybe you’ll understand how C++ works in Arcade.

3 Likes

I tried add cpp file in extensionlong time ago, it does work in micro:bit, but failed generating the correct shim file in Arcade online.
Have you tried in extension or project, how did you do?

4 Likes

I am working on a perspective algorithm recent, which can be applied on floor/sky. But still on struggling performance too. I will consider release new version with current floor algorithm, if the new perspective one cann’t satisfied me. :joy:

5 Likes

I am a noobie and i have like no experience and im trying to figure out if i should go do computer science when i get to high school

3 Likes

It wouldn’t really work straight if the box, I also can’t use my own extension in micro:but. I also didn’t create any extensions with C++ yet.

4 Likes

Speaking of which when would we be able to have custom floors?

3 Likes

Hello there i’m sorry to say that i would discontinue my backrooms game but instead of leaving off thier i decided to turn it to a functional wave defense game currently it’s in demo version but ill try to improve on it

3 Likes

Its finally out a sort of functional game that I would continue working on

this update adds -zombie body system, -brand new sounds- random drip- retexture zombie- and More- also with a few bugs but that’s it for this update ill try to add a weapon changing system next but i might need help from somebody so if you can help please replies to this please and thanks

3 Likes

This is my final update ill work on something new i hope

3 Likes

It seems to be like it came out quick but it took 2 days to actually get the post accepted

5 Likes

How can i remove gray scale effect?

3 Likes

First, make sure your project is backed up so you can restore it at any point. Then, remove any of the new block that I added (the one that controls the darkness modifier and texture visibility from your project). Then, install the original raycasting extension that does not have the grayscale. Press “Remove extension(s) and add pxt-raycasting” and after it loads you should be good to go!

1 Like

But how to make sure that the blocks with your extension remain?

2 Likes