by avidichard
I created this demo for anyone outside that want to beggin in 3D game technique. Everything in this demo is logical and can be achieved if you are a noobie. I have long tried to understande Game Maker's 3D game code and always fell on demos that calculate cos, sin and tan etc which I never really understood. Others rotate the view or rotate the objects which make you read the origins of points in a room weirdly. So I just decided to use as less code as possible and I achieved the same effects. You will get something that looks a bit like Super Paper Mario on the Wii but with a bit of experience and fiddeling, you could build yourself a 3D shooter but that requires more than those small calculations I've given in this tutorial.
This demo uses these basic functions:
Basically with only these functions, you can have a 3D game.
d3d_start()
d3d_end()
draw_set_color(c_white)
d3d_set_projection(x_from, y_from, z_from, x_to, y_to, z_to, xup, yup, zup)
background_get_texture(background_image)
d3d_draw_floor(x_start, y_start, z_start, x_end, y_end, z_end, texture, repeat_hor, repeat_ver)
d3d_draw_wall(x_start, y_start, z_start, x_end, y_end, z_end, texture, repeat_hor, repeat_ver)
Tags: 3d, game, tutorial, example, demo, 2d, new, users, noobie
DownloadReleased | 2012-09-06 |
Category | Other |
Rating | 3.7 (by 3 users) |
Downloads | 805 |
Version | 1 |
ID | 204032 |
Slug | 3d-game-tutorial |