Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

wow! im interested in to how this redering engine was made in gms, but not enough to actually download the source file and examine :P

(1 edit)

It’s actually really simple and all done using stock GML!

What I did was divide every room into two sections - one containing what is inside the ship you’re in, the other what is outside. Then I made two surfaces - surf_inside and surf_outside.

Everything that’s supposed to be drawn inside the ship had its draw event prefaced with a couple lines of code that set the camera’s position to where the player’s eyes were looking and the target surface to surf_inside.

Everything outside had the camera set to where the ship was (+ the angle the player was looking at to make it look genuine) and the target surface set to surf_outside.

Then at the Draw GUI event I first draw surf_outside, then i draw surf_inside on top of it aaannnd… that’s basically it!

I’m not sure if that’s what you were looking for, but let me know if you wanna know anything else

I was more curious about the basic 3D implementation but i assume u just used the basic 3D in the engine? I just never used them or even taken a look at them so i have no idea how hard it is

Yeah, I used the basic 3D - it’s a bit hard to get going initially, but once you figure out the basics it’s pretty easy to work with

Oh cool. I guess i could try to learn this but it is a much better career choice to just move to unity, honestly if i were to move even just a year ago i might already have been in a full time development job, but no regrets.