Game Maker 8.1: (Part1) How to Use True 3D Objects in you're game?

Channel:
Subscribers:
268
Published on ● Video Link: https://www.youtube.com/watch?v=65kjsx9TAvY



Duration: 22:30
288 views
0


Visit my Game Jolt site: https://bit.ly/328sjnN

Paypal Donate: http://bit.do/fkPAb

GM81 File: https://bit.ly/3eTpdHE

Good Example using Model Creator & Importing 3D object into Game Maker: https://bit.ly/3eCtcaI

Free 3D Models Downloads: https://free3d.com/3d-models/

Free Effects: https://pngtree.com/so/effects

50 Free Modeling Program Sites: https://bit.ly/31GQb1q

10 Things to Avoid in Game Maker: https://bit.ly/3gsmNQP

I will try to make another video on 3D objects for the sphere, sense I did not really talk about it. Going to create a dome sky with it in the second room, and get rid of the flat sky. For some reason, parenting the sphere with obj_wall_basic, does not work for the sphere, you go through it, but I did notice, if you make the sphere smaller, you don't go through it, weird.

obj_3d_cone

Events:

Draw

Actions:

d3d_transform_set_identity()
d3d_transform_add_translation(x,y,z)
d3d_draw_cone(-5,-5,z2, 5,5,z2+20,background_get_texture(texture_wall1),2,2,2,20)
d3d_transform_set_identity()


obj_3d_box

Events:

Draw

Actions:

d3d_transform_set_identity()
d3d_transform_add_translation(x+0,y+0.20,5.20)
d3d_draw_block(-4,-4,-4.00,8,5,4.00,background_get_texture(background28)-1,1,1,)
d3d_transform_add_translation(x,y,z)
d3d_transform_set_identity()

obj_corn_column, I think later on I realized that if you just parent the object to, obj_wall_basic the 3D object becomes solid and no need to have a collision with player, sense obj_wall_basic has all the elements for collision with player, just doing double work.

Events:

Draw

Actions:

d3d_transform_set_identity()
d3d_transform_add_translation(x,y,z)
d3d_draw_cylinder(-8,-8,z2, 8,8,z2+40,background_get_texture(texture_wall1),2,2,2,10)
d3d_transform_set_identity()

obj_inside,column, I think later on I realized that if you just parent the object to, obj_wall_basic the 3D object becomes solid and no need to have a collision with player, sense obj_wall_basic has all the elements for collision with player, just doing double work.

Events:

Draw

Actions:

d3d_transform_set_identity()
d3d_transform_add_translation(x,y,z)
d3d_draw_cone(-15,-15,z2, 15,15,z2+20,background_get_texture(texture_wall1),2,2,2,20)
d3d_transform_set_identity()







Tags:
how
learn
teach
find
player
code
create
object
sprite
game
maker
room
if
place
set
get
draw
image
drop
change
computer
pc
meeting
speed
solid
move
vspeed
amount
instance
educate
education
movement
hspeed
meet
land
on
parent
alarm
start
end
min
max
destroy
clear
id
number
drag
fake
fps
identity
transform
cone
box
add
translation
d3d
8.1