- Out-of-Time
- Batman: The Trilogy
AP Computer Science Principles
Anthony G. Nguyen
The story follows Batman's origin story about the death of his parents; however, you killed his parents. Your next decisions determine what happens to Bruce Wayne and you, the murderer, as you struggle to overcome internal moral conflicts.
The two main difficulties I encountered were the messy organization of the printed text, which I solved by adding spaces and indents using "\n", and with the code itself since there were many indentation and syntax errors that were difficult to identify. Organizing different scenes into functions allows us to easily reorganize the scenes and transition to other scenes in modules and to efficiently locate specific scenes we may want to change or fix. I enjoyed Benjamin Huynh's story, "Adventure Time", because the plot is very creative and has a fantasy-like feeling.
There is a big bad man from Maplestory who wants to steal everyone's literal time because he is the antagonist and needs them to do his AP World History homework.
Hit Points for both Mr. Boss Man and Mr. Player Man
A variable value is used to determine Mr. Boss Man's attack patterns (when/where he attacks)
At a certain point, when Mr. Player Man damages Mr. Boss Man enough, Mr. Boss Man says he is mad and his Hit Points and attack rate increases
The game ends when Mr. Player Man is sad and bad at the game because he lost and his Hit Points reached 0 before Mr. Boss Man's did
I made this game because I was obligated to. I was inspired to use Maplestory graphics because they look cool and I had no idea what else to use that would look better and I made a boss fight because it seemed to be the easiest thing to do at the time.
Mr. Player Man's movements and Mr. Boss Man's attack patterns
The Health Bar system I wanted to use didn't like my Scratch game and I didn't like it either so I removed it. I wasn't able to do all the fancy things I wanted to do and solved this by "I didn't".
If I had more time, I would improve the title screen and the boss fight, so basically everything.
This algorithm is used to animate the player walking towards the left side of the screen by checking the current costume, transitioning to the costumes looped in the animation, checks when the player stops walking, and transitions back to the default costume.