Jump to content

Technical Implementation: Difference between revisions

no edit summary
No edit summary
Line 30: Line 30:


* Notification from server if nearby actions take place, the notifications shall contain enough data to update the info in the client (typically attacks)
* Notification from server if nearby actions take place, the notifications shall contain enough data to update the info in the client (typically attacks)
== Animals ==
* Amout of animals: Linear to the number of active players.
* Have a an (average) lifetime and disappears after that time (no matter if in inventory or on ground)
* Show up nearby users, or on locations where users have been.
* Notifications to nearby users (with setting)
== Food ==
* Pretty evenly distibuted on earth
* Only visible on zoomed in.
* TODO Decrease and disappear after some time? New show up. How?
* When looking at area x1,x1 -> x2,y2, maybe it "scans the lines" and the distance to the next food occurrence is relative to the latitude to get it evenly distibuted. (instead of checking a square pattern)
* TODO But how to figure out where to spawn more food and where has it already been done?
* Math pattern having a fixed amount of food and a table with the removed ones (and dropped) and let the patters slowly slide/change in some way...


== DB ==
== DB ==