23.9 C
New York
Monday, April 28, 2025

Enter the pretend Gungeon model 2D within the 3D engine, in Godot 4


So I’m making an attempt to create an RPG of Artwork Pixel from high to backside, however for the principle mechanic to work, I want the engine to be in 3D and solely use the truck of the digicam in order that the sport is seen as 2D from high to backside primarily based on mosaics. That is mainly the identical as Gungeon, and I do know there’s already a publication about Find out how to make the same configuration in Unity. Nevertheless, I’ve had zero luck to work on Godot 4.3.

I’m making an attempt to get assist from anywhere I can, so I thought of asking right here too.

That is how the configuration is seen with none extra perspective manipulation.

I’ve tried two makes an attempt to unravel this, each with totally different issues. In each makes an attempt, the scene is in 3D, the digicam is an orthographic chamber of descending angle of 45 levels, as proven right here.Spelling Chamber configured at an angle of 45 degrees in a 3D scene

I strive 1: I climbed the basis node of the 3D scene as a result of sq. root of two within the dimensions and Z. This achieved the appropriate look with good photos of pixel, however physics was not affected by stretching and and z, which makes issues just like the diagonal motion of the participant visually look dangerous. This occasion could be simply solved, however this physics drawback would happen with another physics -related object, and I must have satisfactory physics for this sport.

I try 1 gif, incorrect physics problem

Try 2: Somebody prompt utilizing a canvas and a subviewport that stretches vertically to unravel the issue of “crushed mosaics.” Whereas this maintains appropriate physics and motion, breaks the proper photos of pixels, which I additionally need to preserve.

Incorrect pixels in method 2

Ally and every of the help to unravel this may be a lot appreciated. I’ll even put you within the loans of the sport if/while you full it.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles