[DiscordArchive] why map update?
[DiscordArchive] why map update?
Archived author: Foe • Posted: 2022-02-08T15:00:27.953000+00:00
Original source
Store guid then lookup object by guid when you need them
Archived author: <o> • Posted: 2022-02-08T15:00:47.448000+00:00
Original source
that's a last resort, but way too expensive to use guids everywhere
Archived author: Dep • Posted: 2022-02-08T15:00:53.724000+00:00
Original source
hash table?
Archived author: Dep • Posted: 2022-02-08T15:01:18.105000+00:00
Original source
or just a dictionary would do I guess
Archived author: <o> • Posted: 2022-02-08T15:01:18.924000+00:00
Original source
it should be just an array lookup
Archived author: <o> • Posted: 2022-02-08T15:02:13.970000+00:00
Original source
no, it's not nevermind that, it's at least a hash lookup
Archived author: Dep • Posted: 2022-02-08T15:03:22.734000+00:00
Original source
if I get this wrong it's gonna be nasty to debug
Archived author: <o> • Posted: 2022-02-08T15:03:22.812000+00:00
Original source
we've had very good success keeping our references short-lived and letting our entities manage their own memory core-side, it gets really clean for the scripter too
Archived author: Dep • Posted: 2022-02-08T15:05:12.066000+00:00
Original source
oh well.. I'll fix moving the floats and pointers later and then I can test some more interesting stuff
Archived author: Dep • Posted: 2022-02-08T15:06:53.318000+00:00
Original source
I want to make ghost npc like in super mario where it only moves towards you when you don't look at it