comp380team3 / PuzzlePathDimension

Class project for COMP 380 at California State University, Northridge
0 stars 0 forks source link

The Ball, Launcher, Platform, and Goal classes (part 1?) #8

Closed Jjp137 closed 11 years ago

Jjp137 commented 11 years ago

Update: Actually, don't pull this yet.

Here it is!

There are still a few things that aren't quite complete, but the basics are there, and I think other people can use this code when doing their own parts, especially Brian. He has to do the collision detection, and having the pieces defined already will help him a lot, I think.

Here's a summary of the main stuff:

And there are some basic controls that I put in for testing purposes:

There's also some not-so-obvious stuff that was changed. Notably:

And there's a lot of TODOs in the comments that need to be done as well, but I'm content with what I have so far. I could delay this push request, but I don't want to keep it to myself any longer. I need to do stuff for my other classes too :\

If anyone wants to refactor this code, that would be much appreciated as well! It's kind of a mess in places, and it could use some interfaces...

Okay, that's enough from me. Feel free to play what I have so far, and let me know what you think! And actually, if you want to make a new branch for this pull request, that would be fine too.