GameMaker 3D [EASY] Only 3 Scripts

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] want to make a 3d game with game maker just use these three simple scripts and you'll be on your way in no time this is back space cadet and today I'm here to show you how take noon for example new uses a clever combination of 2d and 3d to pull off this stunning aesthetically this video is going to break down the so-called complicated code for you and save you a lot of headache so I'm just going to briefly go over this here are some of the sprites that I've created I'm just gonna skim through some of this so that you can see what I have here is the first script s er underscored depth underscore 3d basically what this is doing is this is setting the draw or how the character is going to look either in front or behind objects based upon where the camera is rotated so if you put this script into every object then it will be drawn correctly on the screen now we move on to script number two essentially this is a script that I borrowed from heart beast I will leave a description in the comments below with this video and finally we move on to the third script this is really easy this is what you're gonna want to use for your 2d images so that they appear to be three now I'm just gonna open up the objects here I have a collision parent and all of the collidable objects are children of this object now I'm using physics in this example and all that I'm doing is giving this a collision with itself so that all objects collide in the physics world now if you'll notice in my player here I'm just setting the global Z and a few other things calling the scripts right here as we looked at before and then in the draw I'm calling the draw sprite 3d script and here I've used left and right to rotate the camera or the global Z and I'm using WASD to move the character in the four directions while also flipping it from left to right with image X scale this is just an emergency game end and the collision parent because it is a child of the collision point now notice here are the collision values and then moving on to the 2d obstacle just calling the scripts uses physics and now I'm going to show you the collision shape all of these objects are going to have the collision shape at their base moving on to the next calling the scripts here just like the last time but a little bit differently and here's the collision shape now I just have the camera following the player in a smooth way just to look a little bit nicer if you don't have this it might look a little a little bumpy and finally moving on to the room I have my objects placed in the room and if you'll notice here in the room properties if I go down here here's the size I have the views enabled zero here are the numbers that I've use here following the camera and moving on to the room physics I have physics enabled no gravity because this is technically a top-down and here's one final look if you'd like to see another video with a more in-depth explanation please leave a comment below requesting so consider subscribing for related content every subscription helps this channel grow if you have any tutorial requests questions or even if you just want to chat feel free to comment below please consider giving a like if you found this video helpful but in the meantime that's gonna be it for this video I'll see you guys in the next one [Music]
Info
Channel: Backspace Cadet
Views: 30,597
Rating: undefined out of 5
Keywords: gamemaker, 3d, game, maker, tutorial, heartbeast, 2d, sprite, stacking, fake, psuedo, fake3d, zaxis, NIUM, videogames, howto, make, program, create, studio, GMS2, GMS, gamemaker3d, backspacecadet, backspace, cadet, back, space, eric, skiff, three, scripts, easy, beginner, novice, advanced, hard, simple
Id: eIh7QXn4Adg
Channel Id: undefined
Length: 3min 47sec (227 seconds)
Published: Sun Apr 28 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.