Jump to content


Photo

flat floor


  • Please log in to reply
4 replies to this topic

#1 Xbowman

Xbowman

    GMC Member

  • GMC Member
  • 45 posts
  • Version:GM8

Posted 05 August 2012 - 10:05 PM

how can i draw the floor completely flat?
  • 0

#2 Jobo

Jobo

    No neurons left today

  • GMC Member
  • 2405 posts
  • Version:GM:Studio

Posted 05 August 2012 - 10:07 PM

Really?

d3d_draw_floor()

  • 0

#3 Xbowman

Xbowman

    GMC Member

  • GMC Member
  • 45 posts
  • Version:GM8

Posted 05 August 2012 - 10:17 PM

Really?

d3d_draw_floor()

u need arguments 2 the code, lol.
  • -1

#4 Gamer3D

Gamer3D

    Human* me = this;

  • GMC Member
  • 1590 posts
  • Version:GM8.1

Posted 05 August 2012 - 10:28 PM

u need arguments 2 the code, lol.

GM has a manual. He told you what to use, you just need to look it up.
  • 0

#5 GMRescue

GMRescue

    GMC Member

  • GMC Member
  • 125 posts
  • Version:GM8

Posted 05 August 2012 - 10:42 PM

Hi,

If you want a flat floor in 3D, the best way to do that is the
d3d_draw_floor(x1,y1,z1,x2,y2,z2,tex,1,1)
option.
Probably the easiest and most basic one.

The x1 and y1 must be 0
The z1 must be 0
The x2 and y2 must be room_width and room_height
The z2 must be 0 too.

Here you go. Add a texture and you're done.
Good luck.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users