Caching Galore!
So I’ve got it caching properly and loading quickly now. Hooray!
Just need to start enabling DRADIS’ features now.
Tags: cache, local map| Subcribe via RSS
So I’ve got it caching properly and loading quickly now. Hooray!
Just need to start enabling DRADIS’ features now.
Tags: cache, local mapI’ve refined the actual local map generation code but unfortunately the way we’re outputting it doesn’t seem very clean. Sure, it loads faster but it just looks plain messy and I’m worried to hell about future memory leaks.
Tags: 13th colony, local mapSo with a little help from my friend James, I’ve now written a new algorithm for local maps.
It has yet to be implemented but should be way faster and memory effective.
Array
(
[0] => Array
(
[0] => -3
[1] => -2
[2] => -1
[3] => 0
[4] => -1
)
[1] => Array
(
[0] => -3
[1] => -2
[2] => -1
[3] => 0
[4] => -1
)
[2] => Array
(
[0] => -1
[1] => -1
[2] => 1
[3] => 2
[4] => 3
)
[3] => Array
(
[0] => -1
[1] => -1
[2] => 26
[3] => 27
[4] => 28
)
[4] => Array
(
[0] => -1
[1] => -1
[2] => 51
[3] => 52
[4] => 53
)
)
Tags: local map So I’ve got a graphical “DRADIS” working for the current sector screen now. Was quite a feat to achieve after not having used CSS in awhile but it seems to work fine.
Right now, I’m working on the different contact icons.
Update: Some progress, I’ve now made it look a little bit more uniform but had to cut 10 ships from the current sector view.
Tags: dradisAll comic book stores should be named “Virgin Megastore.”
Why? It’s obvious.
Tags: comics