Doubt about building game borders
Posted: February 29th, 2012, 9:59 pm
Hi there Chilli my man! Hello everyone!
I have a doubt concerning the little game i´m developing using Chillis frame... It´s a shamefull version of Pacman.
My doubt is this: how to draw borders and static obstacles without loading them everytime frame refreshes?
The thing is that my game becames very slow when he has to build that ton of border and obstacles pixels.
Since they are static all the way is there some way to load an image to make the borders or something?
Resuming: pacman controled by player runs perfectly well when the borders and obstacles are not loaded into frame... When they are load into the frame the pacman runs slower than before.
Ps: sorry for my bad english.
Cheers people!!
I have a doubt concerning the little game i´m developing using Chillis frame... It´s a shamefull version of Pacman.
My doubt is this: how to draw borders and static obstacles without loading them everytime frame refreshes?
The thing is that my game becames very slow when he has to build that ton of border and obstacles pixels.
Since they are static all the way is there some way to load an image to make the borders or something?
Resuming: pacman controled by player runs perfectly well when the borders and obstacles are not loaded into frame... When they are load into the frame the pacman runs slower than before.
Ps: sorry for my bad english.
Cheers people!!