This week I finally got createjs to start cooperating with me. I worked on my script for the I trio all game at finding-understanding.com/nutrition.php . I have managed to add graphics and have integrated preloadjs a library in the createjs suite.
I have a manifest now with all of my current graphics which are being preloaded with a Loader and then placed as children on the stage. I also have mock ups of bad and good nutrients in the form of red and green circles respectively that move towards the player. They are placed on the stage on the far right at random y positions.
The character/player begins the game as soon as the space bar is pressed. When the game starts the player will fall perpetually and must be kept off of the stage bottom through hitting the space bar. If the player hits the bottom I have a method that stops the game, declares game over, announces a point total, and resets the game. I also added an event listener for touchstart so the game can be played on mobile.
Currently I have some bugs to work out concerning zombie circles on game restart. I also need to integrate sprite sheets for animating the game. I need to add collision detection, and a difficulty acceleration. So far I’m feeling much better than last week about my project though.