Hello, recently I enrolled into a Software Development and Game Design 2 course at my high school. Here lies the problem, I took SDGD1 my freshman year, i'm a senior now and i'm the only one that has no clue what im doing at the moment. I am quite the fast learner but I would like more resources for help other than just a textbook which is why I came here.
Anyway, back to the assignment. We were assigned a review of SDGD1, this includes items like:
1) Make a new Scenario, a new subclass of World and several subclasses of Actor.
____ 2) Utilize appropriate documentation and formatting to make program code relatively easy to read.
Include a comment naming yourself as the creator/author of the program
Include a comment at the beginning that states the date for the program’s creation
Include at least one comment for EACH method explaining the purpose and operation of the specific method being commented.
____ 3) Create a character in the world so that it will be in the direct center of the screen when you compile (without manually adding them prior to execution). Try to make it so it is at a non-absolute position --- so it will adjust to the center of the screen if I change the dimensions. (hint: get the width and height of the world to calculate the center)
____ 4) Utilize a loop statement to add 10 objects at random locations at the beginning of a game.
____ 5) Make a character move by being controlled with keyboard arrow keys (up/down/left/right).
____ 6) Make that character from #5 go off each edge and wrap to the appropriate site (like asteroids).
____ 7) Make one of your classes’ characters move randomly around the screen where it can deflect off the walls appropriately (like little crab).
____ 8) In that same class as above, make each character enter the world going a different direction (so not all going to the right for example). Hint – this is testing your understanding of the constructor function.
____ 9) Cause characters to respond (see bulleted list) when they collide…
Make one character disappear
Make a sound generated by the computer
Keep a score by increasing some variable based on the number of collisions
____ 10) Utilize the logical structure for decisions throughout the program, where appropriate (the IF or the IF/ELSE state.
anyway, I'd taught myself to do a majority of those things but require some help in others. More specifically I don't know how to create a score, start actors to move in their own directions, utilize a loop (i have no idea on what a loop even is), and lastly wrap the edges of the world.
I've attempted all of those using what resources i have but just end up with errors and I only have the class every other day. Sorry if the formatting is rough, ANY help is appreciated.
-sidenote, i'll gladly upload my code but I don't know how to move it here without messing up the formatting here.
