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.
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!
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!
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.
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! ^^
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
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.
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 ;)
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: ruclips.net/video/GuWzcXO3DgY/видео.html
I made a video on that a while ago: ruclips.net/video/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.
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!
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.
For those who get a black screen. In the room editor make it so the tiles layer is above the Instances layer.
thabnjs tu
Nvm it's still broken
nmv my b fixed it
This also applies to having a view of just the tiles you used as a flat texture.
how did you fix it?@@mattspng
This is what im gonna do in quarantine i guess thanks for uploading a proper gms2 3d tutorial
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.
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!
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!
I've owned GMS2 for a while, but I've been using D3d functions for the past 10 years. Well, I guess it's about time I learn the new system.
Who needs unity or unreal engine when you have Playstation 1 looking 3D
exactly
Thx Man it's the best tutorial on that topic I could find out there.
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.
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! ^^
@@pedrogeraldi7540 Working with the same version and I had to do the same as you. Enable Viewports and viewport 0 on visible. Now it's visible.
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 tutorial! Keep It up Bro!
Thanks!
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
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.
So glad you said this, I spent like an hour tryna figure out where I went wrong
@@colinboyette5566 no problem!
Is really hard for me evolve from the 3D of Gamemaker studio 1 to this new way of making 3D
Ok ima watch all the tuturials
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 ;)
Separate them out by category? Yeah, I guess it would make sense to do that!
Im taking Notes Of This and, Still some What Learnig The how it "Be" or "Does", i like it
this is really amazing thanks for the video
Yo My Man. I learning this Cuz I want to became a developer of Mine-Imator.
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: ruclips.net/video/GuWzcXO3DgY/видео.html
How would I go about drawing 2d sprites in the 3d area in a paper mario style?
I made a video on that a while ago: ruclips.net/video/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.
Kinda like a 90's game
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!
ok so where's the tutorial on how to move around in the room? That should have been a KEY part of this video!
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!
how did i never know about this feature?!?!?!?!
How you ever created a video about how to deal with gimbal lock in 3d rotations? A quaternion script with a related video would be nice.
I have not, could be useful though. I'll write it down for later!
You are very amusing!
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
why when drawing in 3d the picture has a perfect spr but it's black
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.
I had the same thing and I swapped the layers around so that the camera was below the tiles and it worked. May be it's a draw order thing.
make a complete 2.5D game tutorial.
Perhaps.
Do you have to follow these tutorials in a certain order?
not in all cases, though most of the later ones build on the earlier ones
I use unity for 3D and game maker for 2d
3d is way beyond my skills, but thank for good video
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.
your voice and mannerisms sound like toby fox's
so how do you fix the inverted camera?
Here: ruclips.net/video/GuWzcXO3DgY/видео.html
it says that the grass sprite is marked for no export and has been used and idk how to fix it. if i enable the screen gets black
uncheck "disable source export" in the tileset properties
@@DragoniteSpam it works now! thanks!!
I get "The identifier 'camera' is reserved and cannot be used as a variable."
Figured it out. It was because I literally named the object 'camera' case sensitive.
Second video coming soon?
This week, hopefully. I'm about halfway through editing it right now.
@@DragoniteSpam okayyy.....
This isn't working for me on the newest version of gamemaker for some reason
It definitely works. Is your camera above the background layer in the room editor?
@@DragoniteSpam ohhhh! It was. I just saw the pinned comment, I guess it did matter after all. thanks for the reply!
im using the code but the game dosent launch
it doesnt work... copied Code and background turned black... i played around and now i see the gras like 2d... not in 3d...
if anybody followed this tutorial and ended up with a black screen, try checking "enable viewports" and then for viewport 0 check "visible"
Rat notes are being taken. 📝🐀
2.5D or 3D ?
I don't know what this question is asking but I'm going to go with 3D.
i want to make a sonic 3d game
I'll never understand y they think they're cool enough to completely remove d3d, like y not just have both
"why not have both" is one of those things that quickly leads to problems in software development
Aww, shit... I just prefer these things in text so I can quick refer back and forth... Why do the majority of the population have to like videos XD
PLEASE WE NEED A DOOM STYLE 3D TUTORIAL FOR GMS2 THERE ISNT ANY AND IT AWFUL
Just wanna advise against doing 3D in Gamemaker. Don't ask me why.
The 1kth liker
how to get a 3d game
try not to find a GMS tutorial where unfunny people try to be funny and make everything longer than it needs to be challenge
Guy didn't have to share this wonderful info with the world, and I found his jokes pleasant :)
didn't work lol