mercredi 15 juillet 2009

Flash final: let your eye’s rock and roll!

As a last item in this short intro in FLASH scripting i asked a cat to let her eye’s roll a bit in a FLASH script…

And other nice simple things. We increase the complexity of the script in this folder.

http://www.contrechoc.com/flash/flashRotation.zip

as special features connections of FLASH with other media will be shown, such as:

  • FLASH wii remote connection
  • FLASH rfid connection
  • FLASH PS2 connection
  • FLASH arduino connection….

showing one of the possible next stages of working with FLASH, the communication with the outside world!


Where to go on?
First of all, when familiar with these possibilitities, you could learn to script more structured, in classes. That is quite a jump!
Then you can program top down, that is you can make a scheme of what to do, like

startup
game
highscore
finish

then detailing top down like:

game:
level1
score
level2
score
level3

level:
let shooter come in
let items to be shot fall down
when shooter is killed
new life
when 5 lives are up
loose
when items are shot
next level

then game is a class
gamelevels are a class
shooter is a class
items is a class
score is a class
etcetera

This way you can handle bigger structures like games.
Have fun! Make nice things!

Aucun commentaire:

Enregistrer un commentaire