top of page

UNIT 10

Flash Doodle

click

 Week 1
In this unit we have to get somewhat an understanding of coding, getting the basics how to make buttons to trigger animations, creating symbols and adding commands to it as well. For the first time trying to code it is  very complex and difficult unlike commands, coding is much more in depth and hard coding requires a skill.

 

This  being my  first time introduced to coding is a lot harder but very straight forward. Creating a button was the first thing we had to create with simple commands how to stop the animation and then adding a button to press and play the animation.

 

However creating an interactive plane

 

seemed to be more of a complicated process and rather confusing me over and over. I would go back and re-try the process and see what I missed out and what went wrong, After four-times of trying I finally got it. What was missing was the HIT action the was on the button without that it would of not worked correctly.

Ball Bounce 

Creating a bouncing ball was a lot more complicated to me, although to me it seemed rather simple and straightforward. However, it much more complex and forces you to think outside the box.

Although coding is quite challenging to me, it does make you think even more and how to you should have everything in  the correct order otherwise, nothing will work.

When creating an object you have to convert it to a symbol such as a movie clip otherwise the code will not register. When starting you have to make variable's for the ball as an object telling it what it will come in contact with walls.   

Making Pong 

Week 2

This week we are making a simple game of pong, it seems simple but had a hard time figuring out the code at first but started to getting the hang of what needed to be done but it is still a bit confusing to me.

Before starting with the code you have to make an object, basically converting it into a symbol such as a Movieclip, the code will only be picked up if the object is a Movieclip in action script 2.0 inside Flash.

So once I made the paddle into a Movieclip had to load the variables under OnClipEvent(load) it is a command that gives the paddle values and also telling it where it should stop  and how fast the paddle should move.

The next step would be to be giving it the command telling what the paddle should do under OnClipEvent(enterFrame)

OnClipEvent(load) are variables that can only be load in once but OnClipEvent(enterFrame) will be continuous throughout each frame 

.......

​

​

bottom of page