
This time around, the epic quest was to write the code to make our character (any character, actually) move automatically back and forth across the screen. To do this, some research was required, but seeing as the Internet(z) did not offer any kind of easy-to-get-into guidance (at least not that I found), this proved to be a bit of a tricky case.
It wasn't before in lesson, last Thursday, that salvation presented itself in the form of a walk-trough of the codes to make the character move automatically. After a bit of trial and error, I was able to make my character both move automatically across the screen, and to "flip" as he reached the edge of the screen.
Have not been able to make the character for my game, Munch, do the same thing yet, but I'm working on it. Just gotta figure out how to make a god damn movie clip containing motion tweens and crap (for some reason I'm not able to make it work).
Test character: Mad Hatter
Ingen kommentarer:
Legg inn en kommentar