Jump to content


Photo
- - - - -

(3D tutorial) Zrepeat function of blocks


  • Please log in to reply
5 replies to this topic

#1 G-Games

G-Games

    GMC Member

  • GMC Member
  • 501 posts
  • Version:GM8

Posted 17 February 2011 - 03:37 PM

  • Title: Zrepeat on blocks in 3D
  • Description: Add a zrepeat on blocks in 3D
  • GM Version: GM8 and higher
  • Registered: Yes (for 3D fuctions)
  • File Type: *.gmk
  • File Size: 11,0 KB
  • File Link: http://gk-games.neti...at_tutorial.gmk
I've heard a lot of complains about why GM doesn't support a zrepeat into 3d when drawing a standard feature, but only supported hrepeat and vrepeat.

What's zrepeat? As you might know, if you draw a block that reaches higher than the height of your background texture, it get stretched out. To prevent this stretching, there is now the function called zrepeat. The value zrepeat defines how many times the texture should be repeated into the height (z).

Here's an example to show what I mean. The left block is without the zrepeat function, but only h- and vrepeat. The right block features the zrepeat function.

Posted Image

As you see, the right block looks better than the left block. Remember that both blocks are exactly the same in size (width,length,height) and have the same texture.

You can download the example + tutorial here: http://gk-games.neti...at_tutorial.gmk

Enjoy this new function that allows you to draw blocks in 3D more easilier! Feature made by GK-games.

Note: If you want to draw without any zrepeat, you can enter into zrepeat also 1! ;)

Edited by G-Games, 20 May 2012 - 11:26 AM.

  • 0

#2 G-Games

G-Games

    GMC Member

  • GMC Member
  • 501 posts
  • Version:GM8

Posted 06 March 2011 - 04:16 PM

This seems to be less usefull than I thought. Not many people has used it yet, and still it's a really good tool.
  • 0

#3 Hiddenaces

Hiddenaces

    GMC Member

  • New Member
  • 418 posts

Posted 06 March 2011 - 05:17 PM

yes its usefull and dont worry about the lack of down loads i tend to find that feed back here is really slow. im not in to to making 3d games but still like to know how to do things like this.give it time and im sure the comments and downloads will come :)
  • 0

#4 MudbudGoldfish

MudbudGoldfish

    Indie Game Dev Team

  • New Member
  • 494 posts
  • Version:GM8

Posted 21 March 2011 - 01:30 AM

This looks cool! To bad noone posts about it Posted Image well i think its a great tool for ppl that want to use 3d with better graphics look
  • 0

#5 G-Games

G-Games

    GMC Member

  • GMC Member
  • 501 posts
  • Version:GM8

Posted 01 November 2011 - 03:56 PM

@Hiddenaces: Thanks. I guess so too. :)
  • 0

#6 G-Games

G-Games

    GMC Member

  • GMC Member
  • 501 posts
  • Version:GM8

Posted 20 May 2012 - 11:26 AM

Just putting it out there: I'm not gonna make a tutorial for GM8.1, since you can simply open the old GM8 file. ;)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users