Blockland Forums > General Discussion
Player_Stealth
<< < (6/7) > >>
bµbbler:
heh
for some reason I misread "Player_Sheath"
Dillpickle:

--- Quote from: bµbbler on May 23, 2012, 11:29:18 PM ---heh
for some reason I misread "Player_Sheath"

--- End quote ---
I thought the thread was going to be about Icygamma. haha
Gizmo.:

--- Quote from: Dillpickle on May 23, 2012, 11:25:53 PM ---What if you were in a tight colorful place? How would it determine what color to use?
Like in a city scape, would it select the wall, the window, the sidewalk?

--- End quote ---

Its downward only
Eussorus:

--- Quote from: Dillpickle on May 23, 2012, 11:31:55 PM ---I thought the thread was going to be about Icygamma. haha

--- End quote ---
yeah.
M:
Global loops have more potential for lag than per-player, really. Since you're going to be looping through all players all at once rather than the engine getting to tick over between players.

Schedules got their reputation for lag from CityRP, and it wasn't the loving schedule causing it, it was the code run in that schedule (looping all data in the database at once). That's like blaming Obama for the recession.

Also this is rendered basically useless by the raycast being downward, since that means it's only guaranteed to be accurate if they're looking at you from above. But then not like you can set a different color on one object for each player.

You could do a hide and seek gamemode where the raycast direction is determined by the direction from 'it' to the player, you then raycast in that direction for the brick to get color from. Would be a touch better (but still not great, the only way to make this really possible would be clientside code which is pretty much impossible to integrate when it's necessary for it to function)

YES I HAVE TO stuff ON EVERYTHING IT IS MY BIOLOGICAL IMPERATIVE
Navigation
Message Index
Next page
Previous page

Go to full version