thanx! this is just what i need! but can you help me, how i can make objects in that game like that looks 3D graphics? plz help me. and sorry for my bad english if this is bad!
This tutorial has come in handy for me (it's the first time I've created a 3D game) but is it possible if I can find out how to have a background on my levels using this engine? should I create object(s) for the background or is there a better way of doing it? cheers anyway.
I'm using Game Maker 7 pro, and I don't understand why doesn't it works. What should I do? I'm expecting the answer from kingflapjackthunder, I don't think anyone else would give a correct answer. D:
@XxRoblomalxX It doesn't work. :/ I've told you anyone other than kingflapjackthunder won't give a correct answer. The problem is that somehow the "else" doesn't work, and it says that the variable name is expected.
@36425682 hey, yeah i was wondering the same thing. but when he writes the variable "tex_block" hes referring to a texture in the backgrounds folder. Thats why the blocks are red instead of black like the sprite shows. you can see it when you play back to 4:30 ish. hope i helped!
@GameMaster337 Hey thanks man. I'm rid of errors now, but when I play it, my guy falls right through the walls. They seem to effect him by pushing him around a little but he still goes right through them. This is my code for collision with the walls: move_contact_solid(direction,12);
Guys all the codes are correct all your codes arn't you troble makers even made one that was 2D out of this one i was unfinished so i just made more new levels so shut it
thank you so much for this tutorial i been wanting to make a game with game maker 7 with a 3d environment but as a platformer like the example in this tutorial
ok so i followed your tutorial step by step and i did it , but when i put all this into the game im making it works but the only problem is that the game is upside down please help.... its upside down idk why
thanx! this is just what i need! but can you help me, how i can make objects in that game like that looks 3D graphics? plz help me. and sorry for my bad english if this is bad!
TheTEPS190Films 2 days ago
Help please. When i play it is all black and its all at the top of the screen and the character just floats up and off the screen.
SketchistGames 1 week ago
SOO FAST!!!
iawsome24 2 weeks ago
Comment removed
bluesnagletooth 1 month ago
good tutorial
pugno50 1 month ago
Comment removed
PivotMaster0011 2 months ago
Comment removed
PivotMaster0011 2 months ago
DAORA ;D
danielbersani2011 2 months ago
I copyed everything you just did perfectly and nothing works. maby because im useing gamemaker 8.1. im pissed tho i waisted 3 hours for nothing.
zuchary 4 months ago
@zuchary do u even have payed version
cancan460 3 months ago
eror in block code
TheDima1964 4 months ago
waths the code ?
blauwblokje 4 months ago
BANANA RULES!!!
dudeplayminecraft 4 months ago
help! my game makes my charicter bigger and flips him upside down and the background is tiny in the background :'(
P.S. i'm using game maker 8 pro
JulianAyres5 4 months ago
4:30 minutes something that does not look good
sebastiBOT 5 months ago
"Failed to run the game" :P I thought I did it correctly!
iassen1 5 months ago
@HpredatorUN Go to rooms-views-enable use of views-Visible when room starts-Set object following to your character. Then do this
Hbor: 800 Hsp: 300
Vbor: 800 Vsp: 300
Paralyzer1000 5 months ago
Hey, do you need Game Maker to play game maker games?
Sorry for being off-topic.
timtmoney 5 months ago
@timtmoney if the game is compiled, the game maker engine isn't needed..
ZengHe1 5 months ago
Great video, man! tnx
luizecia 5 months ago
@HpredatorUN No, you can't.
ComJacker 5 months ago
This has been flagged as spam show
@kingflapjackthunder because in apear error whit this code???
if place_free(x,y+1) then(gravity=5.0) else(gravity=0)
if vspeed>12 then(vspeed=12)
adonis4441 6 months ago
@TheMinerTeam 2D+3D-2.5D XD
adonis4441 6 months ago
Hey there,
This tutorial has come in handy for me (it's the first time I've created a 3D game) but is it possible if I can find out how to have a background on my levels using this engine? should I create object(s) for the background or is there a better way of doing it? cheers anyway.
Rexeljet 6 months ago
@Rexeljet
Late reply.
You can do the code "d3d_draw_floor".
But, it gets really messy, so just tweak the numbers till you got the background right.
Problem with this is that you can't move the background to have some sort of parallax effect.
dracmeister 2 months ago
@dracmeister OK, thanks!
Rexeljet 2 months ago
This won't work because he Is using game maker 7 pro not 8/8.1
MrMetile 6 months ago
ERROR in
action number 1
of Draw Event
for object obj_wall:
Error in code at line 1: d3d_draw_block(x,y,32,x+16,y+16,-32,tex_block,1,4)
^
at position 37: Unknown variable tex_block
what is that?
tippok3 6 months ago
@tippok3 You failed the variable "tex_block"
MystickManiac 6 months ago in playlist GM
Comment removed
adonis4441 7 months ago
happens to me a problem, when I put a background I do not leave
megaluizer 7 months ago
@themature1234 It's the peanut-butter jelly time banana...
VenemaIkaon 7 months ago
@themature1234 chicken?
XStrikerx23X 7 months ago
lol its 2d+3d XD
DarkChaos611 7 months ago
Tnx, it works.
PineAppleDesu 7 months ago
Who have .gmk file ? :)
A0D1MQ 8 months ago
now i can say thanks
36425682 8 months ago
you did you help me but why dont you just tell us download it in yoyogames
36425682 8 months ago
works great
TheGrayIdentityPlus 8 months ago
the word tex_block could not get it error message
PS:i've got gm8 pro
legovader09 8 months ago
This has been flagged as spam show
There's something wrong with these lines:
else gravity=0
if vspeed>12 then(vspeed=12)
I'm using Game Maker 7 pro, and I don't understand why doesn't it works. What should I do? I'm expecting the answer from kingflapjackthunder, I don't think anyone else would give a correct answer. D:
MissingnoUploader 8 months ago
@MissingnoUploader the correct code is something like this:
--- G M L ---
else
{
gravity=0
}
if vspeed>=12
{
vspeed=12
}
XxRoblomalxX 8 months ago
@XxRoblomalxX It doesn't work. :/ I've told you anyone other than kingflapjackthunder won't give a correct answer. The problem is that somehow the "else" doesn't work, and it says that the variable name is expected.
MissingnoUploader 8 months ago
what are the length and width of tex_block?
GoodDogProd 8 months ago
@GoodDogProd it's 16x16
macocco124 8 months ago
how does it work with you when you write tex_block
36425682 8 months ago
ERROR in
action number 1
of Draw Event
for object obj_wall:
Error in code at line 1: d3d_draw_block(x,y,32,x+16,y+16,-32,tex_block,1,4) ^
at position 37: Unknown variable tex_block
pleas help
36425682 8 months ago
@36425682 hey, yeah i was wondering the same thing. but when he writes the variable "tex_block" hes referring to a texture in the backgrounds folder. Thats why the blocks are red instead of black like the sprite shows. you can see it when you play back to 4:30 ish. hope i helped!
GoodDogProd 8 months ago
Why wont the character move?
WTFoobul 8 months ago
what size do you make the tex_block
madmonkey305 8 months ago
Nice mouse.
19dynamite96 8 months ago
thanks!!
TheMdDOG 8 months ago
Unknown varible tex_block!
Che devo fare?
leggidicomputer991 9 months ago
This has been flagged as spam show
My mistake, it works.
theplock99 9 months ago
UNKNOWN VARIBLE PLACE_FREE
theplock99 9 months ago
it's epic! it all works if you do the script right but...
i dont get why it send me an error about projector on second lvl and stufff is seethtrugh unless i restart level 0.0
cadester177 9 months ago
@cadester177 Dont put any room transitions
RoboticHomless 9 months ago
This has been flagged as spam show
It keeps giving me errors about tex_block.
and
give this
Unknown variable background_get_texture
Pabloandome 9 months ago
This has been flagged as spam show
It keeps giving me errors about tex_block.
how i do?
the texture... give error
Pabloandome 9 months ago
<33 breaking benjamin lol
666deadomen666 9 months ago
It keeps giving me errors about tex_block. PLEASE help me on how to solve it.
kmenningen 9 months ago
@kmenningen more info please
xGoATHD 9 months ago
This has been flagged as spam show
i did this but im getting an error when i start it, the error is in the obj_wall draw event. Its not recognizing tex_block??
beggsz1 9 months ago
Comment removed
beggsz1 9 months ago
awsome!! thank you very much, this was exacly what i needed ;)
BaraBrandurHenriksen 10 months ago
i followed ALL the instructions and it turned out with this player that i could not control and then the bricks were messed up!!
lop90able 10 months ago
EVERYTHING IS UPSIDE DOWN!!!!! HOW DO I FIX IT!
NinjaBoxGames 10 months ago
dude, is this 3D??????
augustvctjuh 10 months ago
@augustvctjuh Yes....and no. Its called 2.5d, the ground is 3D but the player is 2D, much like New Super Mario Bros. etc.
TheMariofan32 10 months ago
this tutorial sucks
lop90able 10 months ago
THANKS!!! Quality of video is better than my computers normal quality
PukkiT1 11 months ago
unknown variable tex_block
armandoynk 11 months ago
error: tex_block?
TMcDonagh97 11 months ago
can no one use their voice??!!
RokuNoRaiden 11 months ago
did you go to collage?
Matchlessdread1 11 months ago
can you do it without writting scripts?
armandoynk 11 months ago
@armandoynk only if you have a libary that can do all this
TheFlop123456 11 months ago
U guys are so stupid, if you just read what the error says and then just fix it. -.-
xChirow 11 months ago
My guy keeps falling through the wall
Vnarves 11 months ago
I must have screwed something up, can someone help with
FATAL ERROR in
action number 1
of Step Event
for object char:
COMPILATION ERROR in code action
Error in code at line 1: if place_free{x,y+1} then{gravity=0.5}
at position 16: Assignment operator expected.
Vnarves 11 months ago
@Vnarves Yes, you have to replace the brackets with parentheses. Also remove the "then" Command. The code should be like this:
if place_free(x,y+1) {gravity=0.5} Or you can have it: if place_free(x,y+1) then gravity=0.5
Both of the code should work.
GameMaster337 11 months ago
@GameMaster337 Hey thanks man. I'm rid of errors now, but when I play it, my guy falls right through the walls. They seem to effect him by pushing him around a little but he still goes right through them. This is my code for collision with the walls: move_contact_solid(direction,12);
vspeed=0
Vnarves 11 months ago
@Vnarves Yup, it was just me being stupid for a while there :P Well, you gotta be sure the max vspeed is 12 though. And, I am not "man" :)
GameMaster337 11 months ago
@Vnarves and @everyone else with the problem: use x=xprevious,y=yprevious ;) "The Code Man" sub me or micol767 if this helps...
DemonicHacks 10 months ago
FATAL ERROR in
action number 1
of Draw Event
for object drawblock:
COMPILATION ERROR in code action
Error in code at line 1: d3d_set_projection(char.x,char.y-6,9,200,char.x,char.y-7,190,0,0,1) ^
at position 67: Wrong number of arguments to function or script.
HardCoreGamr 11 months ago
Guys all the codes are correct all your codes arn't you troble makers even made one that was 2D out of this one i was unfinished so i just made more new levels so shut it
Sonicdxi1999 1 year ago
OK, hit a problem. at this section of the code:
if place_free (x,y+1) then(gravity=0.5) else(gravity=0)
it brings up an error, saying that an "assignment operator is expected" (in the "else(gravity=0)" part.) What did I do wrong?
SpykeAnimations 1 year ago
This has been flagged as spam show
@SpykeAnimations Try this: "if place_free (x,y+1) { (gravity=0.5) }
else { (gravity=0) }"
Jarle212 1 year ago
@SpykeAnimations You shouldn't have parentheses at the gravity action. The code should be like this:
if place_free(x,y+1) then gravity=0.5
else gravity=0
Hope that helped.
GameMaster337 11 months ago
@Fagush change the move to contact thing to "vertical speed = 0" :D I had to do that -_-
GameMaster337 1 year ago
@GameMaster337 ERROR in
action number 1
of Draw Event
for object obj_wall:
Error in code at line 1: d3d_draw_block(x,y,32,x+16,y+16,-32,tex_block,1,4)
at position 37: Unknown variable tex_block
Do you know what I did wrong with this code?
Vnarves 11 months ago
@GameMaster337 ERROR in
action number 1
of Draw Event
for object obj_wall:
Error in code at line 1: d3d_draw_block(x,y,32,x+16,y+16,-32,tex_block,1,4)
at position 37: Unknown variable tex_block
Do you know what I did wrong with this code? How did he make the background tex_block?
Vnarves 11 months ago
@Vnarves You will have to make a background called tex_block. It should be 32 by 32 pixels. Edit it however you want it to.
GameMaster337 11 months ago
how the hell do i suppose to know the code for the wall texture if you pause???
elmingodotcom 1 year ago
hola a todos yo e echo un concurso de juegos creados en game maker si desean participar entren a mi canal y lo veran
Adiuvo114 1 year ago
@Adiuvo114 Buena
megustaserchileno 1 year ago
terrible tut
vfire27 1 year ago
Problem 1
ERROR in
action number 1
of Draw Event
for object p3d:
Error in code at line 1: d3d_set_projection(char.x,char.y-6.9,200,char.x,char.y-7,190,0,0,1) ^
at position 25: Unknown variable x
lyingpancake95 1 year ago
@lyingpancake95 change all 'char' into your player object name (mine is obj_player)
HeteroProductions 1 year ago
@HeteroProductions i am using char as the name of the player, I copied his exactly to make sure nothing went wrong...
lyingpancake95 1 year ago
@lyingpancake95
Oh, well sorry I can't help.
HeteroProductions 1 year ago
i saw a mistake at ...tex_block,1,4) it is more pricese and better grapics if it is tex_block,1,1) yep :P
thndrking4 1 year ago
what the name of song.
megaluizer 1 year ago
Friend, you can put [d3d_draw_block(x,y,32, x+16,y+16,-32, background_get_texture(bac_up),1,1);
d3d_draw_block(x,y,32, x+16,y+16,-32,background_get_texture(bac_down),1,4;] in order that the block has a different part it arrives and it of below.
megaluizer 1 year ago
howcome its upside down?
yugiohrox3 1 year ago
good work!!
Mark021997 1 year ago
i have pro but when i use this the game is upside down and there isnt any 3d
:(
and i have gm8
Nambona890 1 year ago
•◘•
nocll23 1 year ago
thank you so much for this tutorial i been wanting to make a game with game maker 7 with a 3d environment but as a platformer like the example in this tutorial
NeoTrggrTheGammer 1 year ago
yay my works :D
Nicolasroxas 1 year ago
FATAL ERROR in
action number 1
of Draw Event
for object ground:
COMPILATION ERROR in code action
Error in code at line 1: d3d_draw_block(x,y,32,x+16,y,+16,-32,text_block,1,4) ^
at position 52: Wrong number of arguments to function or script
i couldnt find what is wrong with the code can you see if there is? idk if its an error in a previos code idk i couldnt find any
PiromancerFreak 1 year ago
@PiromancerFreak You Have Game Maker Lite :D
balsa99ravno 1 year ago
@balsa99ravno um noo i have pro -_-
PiromancerFreak 1 year ago
@PiromancerFreak first of all you typed in text_block its suppose to be tex_block and also that red tile back ground should be named tex_block
freak19930 1 year ago
move_contact_solid(direction,12);
vspeed=0
tretey 1 year ago
la projección es distinta, y no puedo trabajar con eso
Pdx0309 1 year ago
NO PODRIAS DEJAR UN LINK PARA DESCARGAR EL EDITABLE PORFA
wsbp100 1 year ago
subscibed it works awesome i have GM 8 pro
but it is upside-down? help?
andyandy26 1 year ago
LAME! IT DIDNT WORK!
jb200930 1 year ago
d3d_set_start(); error 5 error in this tutorial
^
drymarti1111 1 year ago
FATAL ERROR in
action number 1
of Draw Event
for object obj_wall:
COMPILATION ERROR in code action
Error in code at line 1:
d3d_draw_block(x,y,32,x+16,y+16,tex_block,1,4) ^
at position 46: Wrong number of arguments to function or script.
Fireblade2472 1 year ago
@Fireblade2472 you have lite
balsa99ravno 1 year ago
@balsa99ravno I don't! I have pro!!!
Fireblade2472 1 year ago
This has been flagged as spam show
I give up - now I fixed that but it says this:
FATAL ERROR in
action number 1
of Draw Event
for object p3d:
COMPILATION ERROR in code action
Error in code at line 3: draw_set_alpha(1) ; ^
at position 2: Symbol , or ) expected.
What's wrong with it?
stickrecorder5555 1 year ago
just fixed it but now says:
FATAL ERROR in
action number 1
of Draw Event
for object wall:
COMPILATION ERROR in code action
Error in code at line 1: d3d_draw_block (x,y,32,x+16,-32,tex_block,1,4) ^
at position 46: Wrong number of arguments to function or script.
stickrecorder5555 1 year ago
@stickrecorder5555 you forgot -16 after +16
yugiohrox3 1 year ago
FATAL ERROR in
action number 1
of Step Event
for object character:
COMPILATION ERROR in code action
Error in code at line 2: else{gravity=0); ^
at position 20: Unexpected symbol in expression. I did exactly what you did?
stickrecorder5555 1 year ago
write all the codes for me because I gave my mistake
igr9 1 year ago
YOUR CURSOR IS A BANANA ...... :) LOL
adamflubby 1 year ago
thats trippy
disturbedfanatik 1 year ago
i subscribe you for the 100 or more
jaimeaceves1 1 year ago
FATAL ERROR in
action number 1
of Step Event
for object char:
COMPILATION ERROR in code action
Error in code at line 2: else(gravity=0) ^
at position 6: Variable name expected. y???
iKammikins 1 year ago
@iKammikins else {gravity=0}
parenthesis do not work, you need the brackets.
RCTycoonIII 1 year ago
nice dude :D
gametutorial10 1 year ago
Try out depth in 3d, its cool.
RCTycoonIII 1 year ago
FATAL ERROR in
action number 1
of Collision Event with object obj_wall
for object char:
COMPILATION ERROR in code action
Error in code at line 1: move_contact_solid{direction,12); ^
at position 19: Assignment operator expected.
pidku8 1 year ago
@pidku8 move_contact_solid(direction,12)
use parenthesis, not brackets.
RCTycoonIII 1 year ago
COMPILATION ERROR in code action
Error in code at line 1: d3d_draw_block(x,y,32,x+16,-32,tex_block,1,4)
at position 45: Wrong number of arguments to function or script.
Tryed everything-.-
kingofjg 1 year ago
draw_set_alpha(1); error
drymarti1111 1 year ago
thx
mrbrentx 1 year ago
makin 3d games is so complicated
macblaster10 1 year ago
n1 tut 5/5 :)) <3!!! BTW!! who have tex_block "error" make new background 32x32 and call it tex_block ;)) {} or () DONT TOUCH!! ty xD
ceh555 1 year ago
where do i go to have the 3d platformer plugin, or what it is for gamemaker pro?
monjanse 1 year ago
no undersstand nothing!
cibermaxoo7 1 year ago
Its peanut butter jelly time LOL ROFL
yopOhpop 1 year ago 11
This has been flagged as spam show
I FOUND THE SOLUTION FOR THIS TYPE OF ERROR:
ERROR in
action number 1
of Draw Event
for object obj_wall:
Error in code at line 1: d3d_draw_block(x,y,32,x+16,y+16,-32,tex_block,1,4)
at position 37: Unknown variable tex_block WHAT U MISSSED WAS THE PART WHERE HE DID ' BACKGROUNDS '
CLICK BACKGROUNDS AND MAKE A BACKGROUND(JUST LIKE THE RED BOX HE DID IN THE VID AND NAME IT tex_block) CHEERS! PM ME IF U HAVE ANY PROBS!
artixcorporation 1 year ago
how do i save my game? :/
p1v0tpr0s 1 year ago
@p1v0tpr0s You Are Noob?
Use File And Enter Save Is Not Fake :P
fabinho1202 1 year ago
youre great tnx alot man
DGYJL 1 year ago
ok so i followed your tutorial step by step and i did it , but when i put all this into the game im making it works but the only problem is that the game is upside down please help.... its upside down idk why
romanul12 1 year ago
nvm dude i got it thnx
pokemonpeanut100 1 year ago
it says ERROR in
action number 1
of Draw Event
for object pd3:
Error in code at line 1: d3d_set_projection(char.x,char.y-6.9,200,char.x,char.y-7,190,0,0,1)
at position 20: Unknown variable char
pokemonpeanut100 1 year ago
@pokemonpeanut100
char is the player name if you dont have the same name for the player then change the variable or the name of the player in the object list
romanul12 1 year ago
i got an error else {gravity=0}
pokemonpeanut100 1 year ago
Oh, and if you want to make it look less crappy on the walls set:
obj_wall
Draw Event
Execute Code
Set the vrepeat to 1 instead of 4
rockfreak900 1 year ago
thanks worked perfectly and i have game maker 8 pro
awesome tutorial!
rockfreak900 1 year ago
I tried to do that but all blocks are black?!
please help!!
rautavilla 1 year ago
question, at 1:21, you do a code, when I put that in, it says Error.
help?
110stickman 1 year ago
Its peanut butter jelly time
Speelwow 1 year ago
You teach me!
smilepepe 1 year ago
To make it that the skin/tex doesn't repeat itself, and lap 4 times on the front, change the 4 in the code for the draw event for the block
d3d_draw_block(x,y,16,x+16,y+16,-16,tex_block,1,4)
That last number, is how many times the skin/tex will repeat itself on the front and back, and the 2nd last one is the same, but for the sides
hylianfreak 1 year ago
@hylianfreak ty
r4ngeordie 1 year ago
My dude falls though the blocks
hylianfreak 1 year ago
COOL 3D i have maker level editor make video??
fabinho1202 1 year ago
error to p3d is zoo or 200?
fabinho1202 1 year ago
2:57 you relative??
fabinho1202 1 year ago
ERROR in
action number 1
of Draw Event
for object p3d:
Error in code at line 1: d3d_set_projection(char.x,char.y-6.9,200,char.x,char.y-7,190,0,0,1) ^
at position 25: Unknown variable x
gabs1021 1 year ago
Penut Butter Jelly TIme
kelly2000398 1 year ago
my game is upside down
r4ngeordie 1 year ago
@r4ngeordie then check the code to start d3d
RETRODANIEL360 1 year ago
@r4ngeordie I had that problem, had to make it all over a gain, that was a while ago though.
hylianfreak 1 year ago
can you do game maker project of it for me ??? PLZ
alfateamcompany 1 year ago
i dont uderstand in execute a piece of code in room end event because you have text by movie maker
ximitoulias 1 year ago
Sweet! Thanks man!
Buddydestruction 1 year ago