|
1 registered members (TipmyPip),
18,546
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Best way to do things ( random grass generator
[Re: Joozey]
#179727
01/24/08 17:46
01/24/08 17:46
|
Joined: Aug 2007
Posts: 286
DestroyTheRunner
OP
Member
|
OP
Member
Joined: Aug 2007
Posts: 286
|
Quote:
If you create 200 grass sprites around the player at random locations, and you move the player forward, the grass sprites outside the visibility range should be relocated to some new location around the player that just appeared in visibility range. That's the most effective way.
you are right, thats was what i was trying to achieve creating and removing grass entities... but still about the c_move stuff... the rocks has their sprite collision detection OFF already AND they rarely make it to collide with a sprite. And still 200 makes the FPS to drop but its playable, im only affraid when the game get more stuff in its vision or level, whats goind to happen... 
I will try to come up with a code that makes what you said before, have any more thoughts or ideas about the FPS drop and anything else?
thanks
|
|
|
|
|
|