Today, I started to combine the main menu and story that done by my coursemate with my map function and game level parts. After combined, this flash project become slower. Since the ipad's resolution is 1024x768 pixel, I changed my map function and game level to this resolution. Although I had successfully integrated all the work into a flash file, there is a problem occurred in game level. The jelly does not move to the correct mouse clicked position. I have to redo the game level one and two according to the current size to get the correct mouse clicked position. After I redo the game level, this problem is solved. I tried to do some more challenging level features like moving floor while waiting for the level design from my coursemate and colleague.
Wednesday, 30 May 2012
Log/Activity on 29-05-2012
With my coursemate's helped, I had successfully apply the method same as the online source that I found yesterday. Now, the jelly's walking animation can be performed towards the mouse clicked position. However, the jelly is moving automatically when the level reset. The jelly at level two is follow the last clicked mouse position of the jelly at level one. This is because the x axis and y axis position of mouse clicked have not set back to the jelly's starting coordinate. I found this solution and adding this statement in my code, thus this problem can be successfully solved. After that, I tried to change the walking animation to jumping animation. Therefore, the jelly performed jumping animation to the point where mouse is clicked.
Log/Activity on 28-05-2012
Today I continued with the game development. I found some online sources for this flash game project. Most of the flash game from the internet are played by using the keyboard function, so I difficult to find more suitable references and tutorial from the internet. At last, I found a flash game which is most similar to movement of our game's character. This is a game with a walking animation of character which controlled by using mouse. This character will walk toward the mouse clicked position. Therefore, I started to read through this code. This method was slightly different from the method in my action script code. I tried to explore this code and apply this method on my mobile game, but I still have not successful to do it.
| walking animation of character |
Friday, 25 May 2012
Log/Activity on 25-05-2012
Since I have no idea to solve the movement's problem, I tried to search some information and flash sample codes from the internet as references. I tried to understand the action script codes of some flash game from internet. I do not have much progress for this part and I do not want to waste my time on this part. Therefore, I moved to do the other part which is doing the scene 11 of game's story by using the Illustrator.
After that, I added a replay button for the level one. This button is allow player to restart this level anytime. My replay button was worked but I only can set it back to the previous frame of the level one.
Log/Activity on 24-05-2012
I tried to follow the method which same as the swing animation. Now, the jelly can jump far when I clicked on the stick, but the jelly keep repeating the jumping animation. Therefore, I continued to explore the flash and tried to find the solution for it. At last, I solved this problem and the jelly do not repeat animation any more. It is worked but this is still not what I want. Because the we need a fixed object for the jelly so that this condition will become true and the jelly can perform the jumping far animation. There are still a lots of problem have to be solved but I would not give up until I get it.
Log/Activity on 23-05-2012
Today, I continued on trying to solve the problem that I mentioned yesterday. I was kept changing the codes in action script, but still failed to do like what I wish for the jelly's jumping animation. The codes in action script file is too complicated and difficult to understand. For the swing animation, the y axis position where the jelly hold was fixed now, but it was still some problem for the x axis position.
Tuesday, 22 May 2012
Log/Activity on 22-05-2012
Even though the swing animation was solved, the position where the jelly sticked does not match with the center of candy cane's diameter. This problem does not occur when we clicked accurate to the center of candy cane.
Another problem that I plan to solve is the jelly has to moved by jumping when mouse clicked. I tried to edit the codes in action script file, but I am still not yet success. The jelly was keep repeating the animation of jumping and each motion can not be displayed one times only. I spent whole day to find the solution for these two problems, but still failed and I think these problem are quite challenging to solve.
Subscribe to:
Posts (Atom)