Hi guys, First of all i want to thank you for all the help you’ve been giving me so far.
I’ve been working on this game for a while now, it’s a flappy bird like game, but with more graphics and obstacles, i’m supposed to put the game platform before the starting of the game, and the player moves and at the same time the camera is following him, all the way to the end.
I have to add like more than 500 entities to my world, i already created them, most of the entities have spritemaps as their graphics, so i decided to use pixelmask and calling the render method so can the mask change with the spritemap.
I also used the Greensock library in some entities, cuz i needed the tween movement, and i’m using a few parallaxes for the background as well.
I was think about a way to put all the entities in my world, so i put all the coordinates in a script and i read the script when the world starts, so when the user starts the game, all the entities are in the world, updating and waiting for the player to come.
I thought about removing the entities when the player overpass the object and it’s no longer in the screen.
I’m waiting for more permissions so i can show you guys the game so far, but i need and advice about handling memory , entities, my game … i’ve been reading the documentation frequently, but i can use to help of the experts.