Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 17,416 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: Best way to do things ( random grass generator [Re: DestroyTheRunner] #179741
01/29/08 14:47
01/29/08 14:47
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
Yes, ofcourse ^^ I overlooked that.
So now your grass are popping up randomly at positions and move to others when they are out of players range?


Click and join the 3dgs irc community!
Room: #3dgs
Re: Best way to do things ( random grass generator [Re: Joozey] #179742
01/29/08 16:41
01/29/08 16:41
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
thats what im going to do today...
cause right now
the grass changes position in sequence, 1 to 200 then after that, grass number 1 is the next, and thats the loop.
so im going to do it with the same loop logic but if the position is inside the players vision then it doesnt move and pass the index to the next one.
shouldnt be hard.
do you want me to post the code after finished? or do you already has one?

Page 3 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1