@Gceschool I'm sure it can be a good place to start and get some quick results, but if you were serious about making a game then you'd want to use something more professional. XNA has a brilliant developer community and there's a lot of successful titles being released that were coded in XNA. Not to mention the Xbox compatability.
I'm having such a hassle with this. I just want a cube in the corner of my screen, but no matter what I do this wont work for me. I run it, and it only lets my mouse look up and down, and the model is in mainly the right place, but my character gets drawn in the floor and I can't move. Any ideas?
@theredmejias Yeah, but now all you have is an image plastered into the corner of your screen. This tutorial shows how to actually get a 3D model into the corner.
You could simply make a 3D model of a block (a very thin one) and make it red (or green, just a color) and then draw it in the draw event when the mouse is clicked or whenever you wish.
Yes, it is. But I'm not understanding why it doesn't work. It's perfectly typed. (Not including the generated spaces created by the YouTube comment.) I really wish I could help you out with this one. Well, what's the player's draw event code?
Well, if you can't pay the $25, then you can't get the Pro version and can never create 3D games with Game Maker. So if this is disappointing, then I'm sorry but I can't think of another way to get 3D capabilities with Game Maker.
Thx for video! Great stuff! But i have Lite version of game maker and i am creating platform games, i am realy good at it! But how to ger Pro version of game maker? (without paying)?
@Thiniusgames still want game maker pro for free then search game maker 8 pro for free in the youtue search and links will cum up pm me if you want the full link
No, you can attempt to create a fake FPS game that is actually 2D, but an actual 3D one is always more professional. Also Game Maker isn't that expensive. Plus, I think the price is well worth it anyway.
hey, nice tutorials. Help me out alot. But can you tell me how to put a picture of a gun up instead of making one with d3d_model_block()? I like the way the gun moves.
well you have to use that d3d_transform_add_rotation_z(direction) to rotate the gun in the direction of the player. then use d3d_transform_add_rotation_y(zdirection) to rotate the gun with the player's pitch or "zdirection"
yea, but on an fps, you need to calculate the position of the guns on the screen, and animate them when they shoot.
a 3rd person game could use movenow for the animations, or most 3rd person games dont even have animations, and their still fun! look a tuts test by KcLc, the player is just a ball, and he got 3rd plce in the ancient civilization competition =P
the hardest part of a 3rd person game is controlling the camera's position...
cool...but may i suggest added a link to where you can download the codes? that way, many more people will use this, especially those who dont feel like watching someone type for 6 1/2 minutes
Wtf, I thought this wad a drawing vid
bigboyninja 4 days ago
the program wont open
domrenater 5 days ago
ok I need game maker help. I have two views in my game and I want a certain object to only be drawn in one of the views. Anyway i can do this?????
deathmanofdoom 2 months ago
Oh you did a cube oh wait maybe your doing MINECRAFT 2 !!!?
guidernow 5 months ago
i need real PRO videos!!!!
0722bailey 6 months ago
whats ur first event
TheRockinCubies 6 months ago
you are the best bro
theultimatemuffin881 7 months ago
good tutorial!
theelmaty11 7 months ago
better off learning XNA or UDK imho
CoDeWiThLoGiC 9 months ago
@CoDeWiThLoGiC
XNA?! Game Maker is as least more worthwhile and versatile than XNA.
Gceschool 5 months ago
@Gceschool I'm sure it can be a good place to start and get some quick results, but if you were serious about making a game then you'd want to use something more professional. XNA has a brilliant developer community and there's a lot of successful titles being released that were coded in XNA. Not to mention the Xbox compatability.
CoDeWiThLoGiC 5 months ago
what is the event
TheRockinCubies 9 months ago
what's on the 1.22 minutes the first line? please reply
totebo1995 9 months ago
god tutorial
extrarokichupi 10 months ago
wait is this for game maker PRO only?
xMercuryx56 11 months ago
This was very useful. Thanks!
nojskoj 11 months ago
bad tut >:()
CamBrothers 1 year ago
how do you get it to fire?
pidku8 1 year ago
dude i could not see da other part of da code for event Draw action Code after , y-sin (direction?????????
0044sam 1 year ago
is there any way that the gun can bee smaller?
tretey 1 year ago
can you send me all the codes? please
truls876 1 year ago
what if you have an model like: gun.d3d
how to make it follow player?
zaptor32 1 year ago
fail doesnt work
SethPwns41541 1 year ago
I'm having such a hassle with this. I just want a cube in the corner of my screen, but no matter what I do this wont work for me. I run it, and it only lets my mouse look up and down, and the model is in mainly the right place, but my character gets drawn in the floor and I can't move. Any ideas?
PoundcakePlaysMW2 1 year ago
@PoundcakePlaysMW2 There's probably an issue in the DRAW and STEP event. Send those codes to me in a message.
BanthyStudios 1 year ago
thanks 4 the help but i don't want my guy walking around with a cude 4 a gun.
how can i make it into a gun?
chimeradude1 1 year ago
@chimeradude1 Just change the model of the cube into a model of a .d3d gun model.
BanthyStudios 1 year ago
buen video cabro
TheDamianSleep 1 year ago
@theredmejias A cube, actually.
BanthyStudios 1 year ago 7
@theredmejias Yeah, but now all you have is an image plastered into the corner of your screen. This tutorial shows how to actually get a 3D model into the corner.
BanthyStudios 1 year ago
do you need a 3d model maker to make 3d objects? or can you just do that on the gamemaker?
sporingtons 1 year ago
@sporingtons You can do it in Game Maker.
BanthyStudios 1 year ago
hey, uh, one problem with this game.
the bullet doesn't go to the mouse!
it justs goes straight out.
JHDSTUDIOS 1 year ago
this aint in HQ?
MattieKirby1 1 year ago
i dont use background_get_texture in draw.... it slows the game down
MoonWerewolf 1 year ago
it would be great if you could like do this with a commentary
HALFxLIFExII 1 year ago
@HALFxLIFExII Yeah, I've been trying to do that lately, but my mic quality is so bad, it's pretty much useless.
BanthyStudios 1 year ago
tnx man
winsoft211 1 year ago
Comment removed
u89204861 1 year ago
How would I go about making a kind of laser gun?
Ideally simply a long, thin line comes out of the gun. How can I do this?
Thanks for the help, and the tutorial was one of the best I've watched!
souleben 1 year ago
You could simply make a 3D model of a block (a very thin one) and make it red (or green, just a color) and then draw it in the draw event when the mouse is clicked or whenever you wish.
BanthyStudios 1 year ago
And an tutorial on how to make an Scope effect?
Numberman45 2 years ago
Hmm. Very good idea..
BanthyStudios 2 years ago
Can you make an tutorial on how to make an crosshair in the place of the mouse?
Numberman45 2 years ago
i think that is pretty easy:
step event:
change mouse into spr_crosshair.
and in your global settings view mouse off
trevortjes 2 years ago
Ty all i need is how to make like the gun's shape... not just a block...
123swordphin 2 years ago
i dont yhink its HQ...... sorry
gmod99unit 2 years ago
Please help! my gun doesn't follow the mouse when i look up and down
pitatenfan1 2 years ago
What's the gun's draw event code?
BanthyStudios 2 years ago
d3d_transform_set_identity();
d3d_transform_add_rotation_y(zdirection);
d3d_transform_add_rotation_z(direction);
d3d_transform_add_translation(x+0.05,y+0.05,13+0.05);
d3d_model_draw(gun,0,1.2,-2,background_get_texture(tex_gun));
d3d_transform_set_identity();
is that the right one?
pitatenfan1 2 years ago
Yes, it is. But I'm not understanding why it doesn't work. It's perfectly typed. (Not including the generated spaces created by the YouTube comment.) I really wish I could help you out with this one. Well, what's the player's draw event code?
BanthyStudios 2 years ago
d3d_set_projection(x,y,13, x+cos(direction*pi/180),y-sin(direction*pi/180),13-tan(degtorad(zdirection)), 0,0,1);
pitatenfan1 2 years ago
It needs to be 13+tan(degtorad(zdirection))
BanthyStudios 2 years ago
thanks
pitatenfan1 2 years ago
That means im f****d up?
Thiniusgames 2 years ago
Well, if you can't pay the $25, then you can't get the Pro version and can never create 3D games with Game Maker. So if this is disappointing, then I'm sorry but I can't think of another way to get 3D capabilities with Game Maker.
BanthyStudios 2 years ago
Thx for video! Great stuff! But i have Lite version of game maker and i am creating platform games, i am realy good at it! But how to ger Pro version of game maker? (without paying)?
Thiniusgames 2 years ago
You can't get it without paying. It's not a free program. Lite is of course, but the Pro version is $25 if I'm not mistaken.
BanthyStudios 2 years ago
This has been flagged as spam show
well there is an way to get it for free check it out on youtube it worked for me!!!
dinudinu400 2 years ago
@Thiniusgames still want game maker pro for free then search game maker 8 pro for free in the youtue search and links will cum up pm me if you want the full link
Deathbringer3557 2 years ago
@Deathbringer3557 haha u said cum
elementbamiscool 1 year ago
I'm sorry, but this just made me laugh.
BanthyStudios 1 year ago
its sort for come retard
Deathbringer3557 1 year ago
@Deathbringer3557 It's also a dirty word :>
PoundcakePlaysMW2 1 year ago
@elementbamiscool loool
Dclaws1000 1 year ago
can you do a Tutorial on
how to shape a gun
you know to make it not look like a block
angelomorgan813 2 years ago
is there any way to make an fps in gm7 lite?
pivotedsticks1 2 years ago
No, you can attempt to create a fake FPS game that is actually 2D, but an actual 3D one is always more professional. Also Game Maker isn't that expensive. Plus, I think the price is well worth it anyway.
BanthyStudios 2 years ago
no. they require scripting which you can only do in pro. sorry
NuraHawk 2 years ago
I have got a proplem: if i klick on the test botten
it comes a error Direct3D devices
Elite3761 2 years ago
Be more specific, please.
BanthyStudios 2 years ago
stop noting to yourself please ITS ANNOYING
joshsora2000 2 years ago
Noting to myself? Example?
BanthyStudios 2 years ago
how to place walls i can place it buth its only on 1 place :s ent this isen't a HQ gun :p but thanks for the source it helped me verry good ^^
DJinotez 2 years ago
By "HQ" I meant High Quality 'Video' available. :P. Hehe
BanthyStudios 2 years ago
WORKS PERFECTLY!!! 5*****
natham10 2 years ago
Thank you
BanthyStudios 2 years ago
That was cool 5/5
gamemasterjr 2 years ago
i didnt see anygun on my gmk7pro
vlaflipgast 2 years ago
Note to self: Stopped at 2:11
ceryt56 2 years ago
Note to self: Stopped at 5:14
ceryt56 2 years ago
cool tutorial thanks
p990ias 2 years ago
i got the same problem as you
nintendo0nerd 2 years ago
that dosnt even looks like a gun but it works ;D thx
nintendo0nerd 2 years ago
iam having mouse problems the gun model wont stay in one place
scotty88hh 2 years ago 10
@scotty88hh solved depth needs to be 100.
scotty88hh 1 year ago
and um how do l make like bullets please reply and maps
luckybucky95 3 years ago
look at my bullet tutorial.
BanthyStudios 3 years ago
ok ty
luckybucky95 3 years ago
how do l get like a machine gun or soething like that
luckybucky95 3 years ago 6
Replace all of the current gun model code with this new one.
gun = d3d_model_create();
d3d_model_block(gun, 0,-0.5,1, 7,0.5,0, 0.3,0.3);
d3d_model_block(gun, 0,-0.7,0.5, 7,0.7,0, 0.3,0.3);
d3d_model_block(gun, 0,-0.1,0.8, 12,0.1,0.7, 0.3,0.3);
d3d_model_block(gun, 6.5,-0.01,1.3, 7,0.01,0.1, 0.03,0.03);
laser = d3d_model_create();
d3d_model_block(laser,6,-0.02,-0.02, 2048,0.02,0.02,2,2);
scope = d3d_model_create();
d3d_model_block(scope,0,-0.25,-0.25, 5,0.25,0.25, 0.3,0.3);
BanthyStudios 3 years ago
@luckybucky95 Create a model in a different program and import it...
PotadoTomado 1 year ago
I have a problem with vspeed=0
HELP!
Fleskhjerta640 3 years ago
how do you like make the gun a different shape than a box??
KingLjinusz 3 years ago
d3d_draw_ellipsoid like a sphere or tube depending on x and y parameters..perhaps barrels on a double-barreled shotgun?
scotty88hh 2 years ago
whenever i start the game, my gun shows for about 1 frame(1 step)(1/30 of a second)
any suggestions???
dahellwitya 3 years ago
make sure you put all the codes down right, if you did, then i don't know.
Revanic45 3 years ago
me no under stand wat coding is for
munkylad545 3 years ago
___________________________________________
FATAL ERROR in
action number 1
of Create Event
for object obj_player:
COMPILATION ERROR in code action
Error in code at line 14: d3d_model_block(gun,0,-1,1, 7,1,0,0,3,0,3);
at position 43: Wrong number of arguments to function or script.
vlissingen4live 3 years ago
d3d_model_block(gun,0,-1,1, 7,1,0,0.3,0.3);
BanthyStudios 3 years ago
is it possile to do this on game maker lite
zacwashere2007 3 years ago
no. sorry
BanthyStudios 3 years ago
how do you get the crack?
thefirecapechannel 3 years ago
I have it~
Katz2009 3 years ago
u should download drxjs crack
scotty88hh 2 years ago
hey, nice tutorials. Help me out alot. But can you tell me how to put a picture of a gun up instead of making one with d3d_model_block()? I like the way the gun moves.
IceSyn 3 years ago
Looks like an ugly alien shooter or something, or maybe a starwars CIS assault guy shooting with its robot hand.
Southpark124 3 years ago
can i change my weapons location to right?
OlloX3 3 years ago
nevermind, but mine weapon wont work how do i use a platform weapon?
OlloX3 3 years ago
can u add a weapon like sword
kibmaru 3 years ago 3
yes, but that would be much harder
SamDGoodrick 3 years ago
how do you get the gun to follow the mouse?
GMakerGames 3 years ago
well you have to use that d3d_transform_add_rotation_z(direction) to rotate the gun in the direction of the player. then use d3d_transform_add_rotation_y(zdirection) to rotate the gun with the player's pitch or "zdirection"
BanthyStudios 3 years ago
hey i cant see the rest of the top stuff. when i hit that button b4 i save it, it highlights the top.
dpiper1967 3 years ago
Thank you! I've been looking for a good gun texture for a long time now, because I want to make a really nice looking FPS.
Tesuki1 3 years ago
where u get that cool gun tex?
Tablekorner 3 years ago
I just goto Google Images and type in gun texture
BanthyStudios 3 years ago
yea, but on an fps, you need to calculate the position of the guns on the screen, and animate them when they shoot.
a 3rd person game could use movenow for the animations, or most 3rd person games dont even have animations, and their still fun! look a tuts test by KcLc, the player is just a ball, and he got 3rd plce in the ancient civilization competition =P
the hardest part of a 3rd person game is controlling the camera's position...
grompymonkey 3 years ago
well i guess your right. but the fps gun is just rotated by 2 d3d_transform_add_rotation
codes...'zdirection' and 'direction'.
BanthyStudios 3 years ago
you have to translate it too...which is hard for stupid ppl like me..and obviously, you need to make bullets, which i tried it, and its hard =/
grompymonkey 3 years ago
actually translation is VERY simple and the bullets are going to be one of my other tutorials.
BanthyStudios 3 years ago
hmm..then i should subscribe then =P
grompymonkey 3 years ago
well im a game maker well i wouldnt say expert but, im pretty good its just that im having troubles well making a first person shooter.
BlueSpartan90 3 years ago
yea, for sum reason making an fps is harder than making a 3rd person game...probably cause of the gun :(
grompymonkey 3 years ago
actually FPS is easier because animating the player walking, jumping, ect... is a lot more difficult than just making a gun.
BanthyStudios 3 years ago
cool...but may i suggest added a link to where you can download the codes? that way, many more people will use this, especially those who dont feel like watching someone type for 6 1/2 minutes
grompymonkey 3 years ago
I guess that makes sense. I'll see wat I can do for you
BanthyStudios 3 years ago
can you do a 3d platformer one please
sonicslug942 3 years ago
hmmm a 3D platformer. I'll see what I can do! :)
BanthyStudios 3 years ago
thanks! can you make it so you can see the character
sonicslug942 3 years ago
like a 3rd person view. i dont think i can do 3rd person very well, sorry. That's the only thing a cant do YET.
BanthyStudios 3 years ago