Saturday, April 3, 2010
Testing and Debugging
The last time I used trace to find a problem (in my main project anyway) was during the hitTest on the notes. Patrick helped me write an efficient and working code, but I needed to troubleshoot it later. Mostly because I didn't fully understand it when he wrote it in class, and I was working on my project outside of class. Anyway, I was having trouble calculating a hitTest between two different movieclips from within several instances of a single movieclip. I believe I eventually used global variables to get things working, but I used a trace command in my hitTest so that I could easily tell when I had things working properly. Then I just tweaked until my trace began running.
Coding Enemies
In this assignment, we learned to use math statements and mouse co-ordinates to make an enemy character follow the mouse cursor or another character. It was odd at first, because we were using a completely new list of commands and statements we'd never touched on before but it didn't take long to get used to them.
Platforms
This one was a long and tricky day in class. Yet again, not relevant to my game but a necessary skill indeed.
Running, Jumping, etc.
Again, something that isn't very integral to my game. As a fairly standard rhythm game, my game doesn't have any characters moving or jumping or any other such nonsense... But still a fun, interesting, and helpful day in class.
Drag and Drop
Honestly, I enjoyed the drag and drop tutorial greatly, and had a great time putting my own spin on the kirupa project we used, but I don't have any plans of using drag and drop features anywhere in my game at this time.
Character Effects
The main way character effects will be used in my game, is to signify that notes have either been hit or missed. This will happen via use of "._alpha" as the note's alpha will reduce to 0 if it has been hit. Should the player miss the note, its value will remain at 100.
Other uses for character effects may arise at a later time.
Other uses for character effects may arise at a later time.
Wednesday, March 3, 2010
Timer
...I'll keep this short and sweet. I hate Timers... I cannot make the code kirupa.com. actionscript.org, or the majority of the rest of users APPARENTLY use, work. I am Agent Smith and they are Neo. I am Joker and they are Batman. They drop in to piss me off whenever they get the chance and F?%! up my fiendish schemes... In the Actionscript world, they're my mortal enemy; In an RPG, I'd PVP them (and LOSE!); In reality, I'd play Manhunt with them...
End of story...
End of story...
Subscribe to:
Posts (Atom)
