GameMakerHelpBlog

Monday, January 21, 2008

Basic 3D Model Trees (created in GameMaker)

Hi

This script will make a basic tree which you can use. It would be more suitable for cartoonish games, rather than realistic.

Remeber the [CODE] and [/CODE] tags aren't included in your game

[code]
d3d_draw_cylinder(x-4,y-4,0,x+4,y+4,16,background_get_texture(bg_trunk),1,1,true,16)
d3d_draw_cone(x-8,y-8,16,x+8,y+8,32,background_get_texture(background6),1,1,true,24)
[/code]

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home