Interesting! Going deeper into this could be used to develop some classic rpg game like ‘Eye of the Beholder’
I think it is possible. But this is a basic example, it does not have a camera rotation function.
My progress of pseudo 3D in gdevelop 5. I added the camera rotation feature. This is based on a different formula (cos, sin).
It looks really nice! Advancing from “Eye of the Beholder” to “Wolfenstein 3D”
Love seeing people managing to make stuff that GD isn’t built to do (or at least not yet).
Shows how diverse its capabilities are and opens the door for more possibilities.
Thank you for sharing this with us.
I tried to raycasting, it turned out to be possible, but in practice it’s difficult to apply, maybe someone will need
I forgot to mark the center of the sprite, because of this, the final image has shifted up
Here’s how it should be:
Download link updated
Have you see the cube of arthuro on Discord, and his project ?
@arthuro555 and you should collaborate you make really good things in 3D
̶N̶o̶,̶ ̶i̶ ̶d̶i̶d̶n̶’̶t̶ ̶s̶e̶e̶,̶ ̶d̶o̶ ̶y̶o̶u̶ ̶h̶a̶v̶e̶ ̶a̶ ̶l̶i̶n̶k̶?̶
I Found it But I don’t know anything about java script
I only have some experience in constructors (Clickteam Fusion 2.5, Gdevelop 4 and 5)
Updated )) I found an example! it is amazing!
I think we are both doing veeery different things anyway. He is doing raycasting (wich is if I remember correctly make walls just many lines wich length depends on the length of a ray to the wall in the 2D view, technique used for doom) and I am doing… I don’t really know how it is called but basically it relies on matrix multiplications with data structures and using the shape painter to render them.
Anyways if someone is interrested the project is on the discord and the demo is available here: Game Jolt - Games for the love of it
Wow! This is a really serious work! Not my pseudo 3d “toys”
I would not call your technique a simple toy. Both are just very different techniques for very different usages but serve the same purpose: bringing 3D in a 2D Renderer. I respect you more for doing it through the event sheet, I’ve got too lazy for that (because of the difficulty of implementation of arrays through structures)
Next step…Beat Unreal engine 4 …impressive work, is that cow made with program or is it imported?
The cow is downloaded from the internet. You can use many obj files but I only support 2 instructions out of ≈ 8 of the obj file format, so only basic models work. You can make one in blender and should be able to import it if you export it with the right options.
Can I know the method of importing the obj and can I have the file?
To load a 3d model, scroll down the first JS event and at the end uncomment the loading method you need, comment the cube loading and save the project before starting the preview.
Make sure to modify the Z position in the second JS event to make the object far enough to not clip into the camera.
Hello all! I decided to publish pseudo 3d example with the camera rotating. First post updated.
Maybe someone will be interested - raycasting test 3, I was able to improve the emission of rays using the condition “Raycast”, it works instantly, but so far it is impossible to make walls with textures without bugs. But this pseudo 3D method works faster than the non-ray method and I will try to develop it further.
That’s awesome! I’ve been watching your other videos with textures and it looks really nice!
Thank you! I also like how it looks It is a pity that so far it will not work to make a full-fledged game, a lot of things still need to be finalized