Never attempted 3D before. It's nice to see it's real easy to set up. When it comes to actually make stuff that works well, different story I'm sure. This was an awesome video. Thank you, dude. Good stuff.
the thing I love is that he always shows the reality on coding, you don't get everything on one go, I think its pretty funny for the most part, keep going!
Hi Dragonite! I'm a person who wants to develop games! I'm really happy to find this tutorial to help me with my first 3D Game! Thank you for this tutorial, much love from three years later!
So awesome. I went through the video the first time and got a black screen. I thought maybe this video is outdated. But knowing myself, I gave it a second watch and apparently did it right this time. Can't wait to learn how to move around and interact with objects. Hopefully.
still getting a black screen even after rearranging layers, i've checked every comment suggestion and triple-checked all the code and seemingly no dice
Great Tutorials! Very well explained and with a sense of humor, dig it. I manageg to hack together a doom clone ages ago in GMS 1.4 - But now i finally caved in and moved on to GMS 2...sigh. And i wanna do some retro style, rough, janky 3d shit. So you're now my spirit guide on that journey. ;p
Sorry, this is my last question, I've basically figured out everything I want to, but I'm just wondering how you'd approach drawing 2D sprites/layers/tiles on top of the 3D? (Like having a 3D background with 2D gameplay similar to a lot of DS games). I assume that there's a way to stop the 3D camera and then draw the 2D sprites, but I can't seem to figure it out. Thanks!
By the way, it does matter where the camera layer is since it has to be under the Grass Tiles. Not sure why, I am using objects but it doesn't seem to work when the camera is a layer above the grass objects.
Note: You have to activate a viewport for it to work, at least that is what i had to do in game maker version 2.2.5.378. Aparently it do not catch the default camera using the camera_get_active() so it dosent change any properties of the camera.
It didn't seem to need it when I tested it (I'm also on 2.2.5.378), but using views definitely couldn't hurt. (You have more control over the viewport that way, anyhow.)
@@DragoniteSpam strange i suppose that this must be a bug... i even started a new blank project to test it out and the results are the same haha anyway thx for the tutorial! ^^
I do enjoy your GMS2 vids, and just wondered - any chance you could put them into a separate playlist - including future vids.. many thanks - Keep up great work ! ahh I did just find u put them in one big game maker PL.. but still a thought for you ;)
I made a video on that a while ago: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H_-Ulj8xulE.html You'd want to use matrices rather than d3d_transform though, and you'd have to do a few other things if you want the sprites to work with stuff like lighting and fog.
Correct me if I'm wrong but the reason the camera was inverted could be because you were 400 units UNDER the floor instead of over it? I made the Zfrom value negative and left the Zup positive and it looked right
That's one solution, but I really don't like having to invert the z coordinate of everything in the world (I rarely use the room editor for 3D). Later I did a video specifically on the up vector: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-GuWzcXO3DgY.html
Heya Dragonite! I really do appreciate the tutorials, You're a godsend! I do have a question though and I'm not sure if it's been asked before... Or where the answer really is. ======================== I want to create a 3D game WITHOUT models, I understand I'll need to individually write positions for each face of each 3D object and I'm absolutely prepared for that! In your later videos I see you're able to draw each face as a different color, I understand how that works and can replicate it. Instead of changing colours however, *I want each Primitive to have a different TEXTURE.* Is there an easy way to change the texture for each primitive in the Buffer? Could you point me in the right direction? Thanks a million!
yea I was just curious cause I thought I remember undertale was made by Toby Fox and I realized that deltarune is also by Toby Fox so I looked it up and realized it was made by gms2 and deltarune has a 3D level so it confused me since i had no idea it was possible to make 3d in gms2
All that happens when I put the camera object in my room is that it zooms out a little, it's still looking straight down towards the room. EDIT: I copied and pasted your code exactly from the link you provided and I get the same result, also, none of the values I change in obj_camera have any affect, it's always just facing the room and a little zoomed out.
That sounds like there's a camera or view somewhere set up wrongly, or if changing the values doesn't affect anything, perhaps there's either another camera rendering (do you have more than one views active?) or the main camera isn't rendering at all.
if you can walk around a real world without walking into things and you dont need to flattern yourself out like a sheet of paper to slide under a door to move around then i am sure with time and lots of trial and error you can do it, we are only limited by our own thoughts and you shouldnt let that get in the way if you really wanna do it. i'll be finally trying it soon.