Added: 3 years ago
From: kingflapjackthunder
Views: 58,867
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (477)

Sign In or Sign Up now to post a comment!
  • 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!

  • 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.

  • SOO FAST!!!

  • Comment removed

  • good tutorial

  • Comment removed

  • Comment removed

  • DAORA ;D

  • 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 do u even have payed version

  • eror in block code

  • waths the code ?

  • BANANA RULES!!!

  • 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

  • 4:30 minutes something that does not look good

  • "Failed to run the game" :P I thought I did it correctly!

  • @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

  • Hey, do you need Game Maker to play game maker games?

    Sorry for being off-topic.

  • @timtmoney if the game is compiled, the game maker engine isn't needed..

  • Great video, man! tnx

  • @HpredatorUN No, you can't.

  • @TheMinerTeam 2D+3D-2.5D XD

  • 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

    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 OK, thanks!

  • This won't work because he Is using game maker 7 pro not 8/8.1

  • 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+1­6,-32,tex_block,1,4)

     ^

    at position 37: Unknown variable tex_block

    what is that?

  • @tippok3 You failed the variable "tex_block"

  • Comment removed

  • happens to me a problem, when I put a background I do not leave

  • @themature1234 It's the peanut-butter jelly time banana...

  • @themature1234 chicken?

  • lol its 2d+3d XD

  • Tnx, it works.

  • Who have .gmk file ? :)

  • now i can say thanks

  • you did you help me but why dont you just tell us download it in yoyogames

  • works great

    

  • the word tex_block could not get it error message

    PS:i've got gm8 pro

  • @MissingnoUploader the correct code is something like this:

    --- G M L ---

    else

    {

    gravity=0

    }

    if vspeed>=12

    {

    vspeed=12

    }

  • @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.

  • what are the length and width of tex_block?

  • @GoodDogProd it's 16x16

  • how does it work with you when you write tex_block

  • 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+1­6,-32,tex_block,1,4)  ^

    at position 37: Unknown variable tex_block

    pleas help

  • @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!

  • Why wont the character move?

  • what size do you make the tex_block

  • Nice mouse.

  • thanks!!

  • Unknown varible tex_block!

    Che devo fare?

  • UNKNOWN VARIBLE PLACE_FREE

  • 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 Dont put any room transitions

  • <33 breaking benjamin lol

  • It keeps giving me errors about tex_block. PLEASE help me on how to solve it.

  • @kmenningen more info please

  • Comment removed

  • awsome!! thank you very much, this was exacly what i needed ;)

  • i followed ALL the instructions and it turned out with this player that i could not control and then the bricks were messed up!!

  • EVERYTHING IS UPSIDE DOWN!!!!! HOW DO I FIX IT!

  • dude, is this 3D??????

  • @augustvctjuh Yes....and no. Its called 2.5d, the ground is 3D but the player is 2D, much like New Super Mario Bros. etc.

  • this tutorial sucks

  • THANKS!!! Quality of video is better than my computers normal quality

  • unknown variable tex_block

  • error: tex_block?

    

  • can no one use their voice??!!

  • did you go to collage?

  • can you do it without writting scripts?

  • @armandoynk only if you have a libary that can do all this

  • U guys are so stupid, if you just read what the error says and then just fix it. -.-

  • My guy keeps falling through the wall

  • 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 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 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,1­2);

    vspeed=0

  • @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" :)

  • @Vnarves and @everyone else with the problem: use x=xprevious,y=yprevious ;) "The Code Man" sub me or micol767 if this helps...

  • 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.

  • 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

  • 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 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.

  • @Fagush change the move to contact thing to "vertical speed = 0" :D I had to do that -_-

  • @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+1­6,-32,tex_block,1,4)

    at position 37: Unknown variable tex_block

    Do you know what I did wrong with this code?

  • @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+1­6,-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 You will have to make a background called tex_block. It should be 32 by 32 pixels. Edit it however you want it to.

  • how the hell do i suppose to know the code for the wall texture if you pause???

  • 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 Buena

  • terrible tut

  • 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 change all 'char' into your player object name (mine is obj_player)

  • @HeteroProductions i am using char as the name of the player, I copied his exactly to make sure nothing went wrong...

  • @lyingpancake95

    Oh, well sorry I can't help.

  • 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

  • what the name of song.

  • 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_t­exture(bac_down),1,4;] in order that the block has a different part it arrives and it of below.

  • howcome its upside down?

  • good work!!

  • i have pro but when i use this the game is upside down and there isnt any 3d

    :(

    and i have gm8

  • •◘•

  • 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

  • yay my works :D

  • 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 You Have Game Maker Lite :D

  • @balsa99ravno um noo i have pro -_-

  • @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

  • move_contact_solid(direction,1­2);

    vspeed=0

  • la projección es distinta, y no puedo trabajar con eso

  • NO PODRIAS DEJAR UN LINK PARA DESCARGAR EL EDITABLE PORFA

  • subscibed it works awesome i have GM 8 pro

    but it is upside-down? help?

  • LAME! IT DIDNT WORK!

  •  d3d_set_start(); error 5 error in this tutorial

    ^

  • 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+1­6,tex_block,1,4)  ^

    at position 46: Wrong number of arguments to function or script.

  • @Fireblade2472 you have lite

    

  • @balsa99ravno I don't! I have pro!!!

  • 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 you forgot -16 after +16

  • 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?

  • write all the codes for me because I gave my mistake

  • YOUR CURSOR IS A BANANA ...... :) LOL

  • thats trippy

  • i subscribe you for the 100 or more

  • 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 else {gravity=0}

    parenthesis do not work, you need the brackets.

  • nice dude :D

  • Try out depth in 3d, its cool.

  • 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,1­2);  ^

    at position 19: Assignment operator expected.

  • @pidku8 move_contact_solid(direction,1­2)

    use parenthesis, not brackets.

  • 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-.-

  • draw_set_alpha(1); error

  • thx

    

  • makin 3d games is so complicated

  • 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

  • where do i go to have the 3d platformer plugin, or what it is for gamemaker pro?

  • no undersstand nothing!

  • Its peanut butter jelly time LOL ROFL

  • how do i save my game? :/

  • @p1v0tpr0s You Are Noob?

    Use File And Enter Save Is Not Fake :P

  • youre great tnx alot man

  • 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

  • nvm dude i got it thnx

  • 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

    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

  • i got an error else {gravity=0}

  • 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

  • thanks worked perfectly and i have game maker 8 pro

    awesome tutorial!

  • I tried to do that but all blocks are black?!

    please help!!

  • question, at 1:21, you do a code, when I put that in, it says Error.

    help?

  • Its peanut butter jelly time

  • You teach me!

  • 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+1­6,-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 ty

  • My dude falls though the blocks

  • COOL 3D i have maker level editor make video??

  • error to p3d is zoo or 200?

  • 2:57 you relative??

  • 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

    

  • Penut Butter Jelly TIme

  • my game is upside down

  • @r4ngeordie then check the code to start d3d

  • @r4ngeordie I had that problem, had to make it all over a gain, that was a while ago though.

  • can you do game maker project of it for me ??? PLZ

  • i dont uderstand in execute a piece of code in room end event because you have text by movie maker

  • Sweet! Thanks man!