Storing background tile in HTML development
I have a top-down shooter built on LimeJS.
I have a series of different "parts" to the game's background and I don't want to load them all on load.
I have the play's x and y position, how should I go about storing the description of the environment and finding the pieces of that description that are within a certain distance of the player?
Thanks.
I have a top-down shooter built on LimeJS.
I have a series of different "parts" to the game's background and I don't want to load them all on load.
I have the play's x and y position, how should I go about storing the description of the environment and finding the pieces of that description that are within a certain distance of the player?
Thanks.
No comments:
Post a Comment