Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VB Mario Contest
#17
Heres what I got so far:

http://www.vbgore.com/temp/platformer.wmv

Just did the NPCs today/yesterday. They randomly spawn on the yellow attribute tiles (spawn tiles). Have yet to add a place to define what NPCs spawn and how much per map, though. This is just 1000 randomly-moving/jumping NPCs. Theres two types of tiles - platform, which you only have drop-vertical collision on, and blocked, which you can never occupy the same space as (not shown in this).

The bandwidth usage is a bit insane*, but then again what do you expect from 1000 constantly-moving NPCs. As far as performance, the NPCs take about 0.00003 milliseconds to update individually for the collision information, and all-together the server uses about 2% of the CPU with all this going on. Not bad, not bad. Wink

*Just realized you can't really see the debug info. The bandwidth in is like 7+KB/sec, including packet headers.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)