Page 1 of 1

Jump Crashes Game

Posted: Mon Nov 05, 2012 1:17 am
by WolfNinja2
So, I finally got gravity to work, but now jumping will break the game, the error recalls back to the testMap function which, since I'm a beginner, I don't even understand. Please help!
Also, if it wouldn't be a bother, could someone explain the whole test map and draw map functions?
Thanks either way!
-Wolf

Re: Jump Crashes Game

Posted: Mon Nov 05, 2012 7:00 am
by TheP3
Kinda fixed it... :S

Re: Jump Crashes Game

Posted: Mon Nov 05, 2012 7:01 am
by TheP3
Also, are you trying to do OOP with the player functions?

OOP?

Posted: Mon Nov 05, 2012 7:10 am
by WolfNinja2
TheP3 wrote:Also, are you trying to do OOP with the player functions?
OOP? I don't know what that is.

Re: OOP?

Posted: Mon Nov 05, 2012 7:21 am
by TheP3
WolfNinja2 wrote:
TheP3 wrote:Also, are you trying to do OOP with the player functions?
OOP? I don't know what that is.
object oriented programming

Re: OOP?

Posted: Mon Nov 05, 2012 7:36 am
by WolfNinja2
TheP3 wrote:
WolfNinja2 wrote:
TheP3 wrote:Also, are you trying to do OOP with the player functions?
OOP? I don't know what that is.
object oriented programming
I am a complete newb, what EXACTLY would that be?

Re: Jump Crashes Game

Posted: Mon Nov 05, 2012 7:43 am
by TheP3

Re: Jump Crashes Game

Posted: Mon Nov 05, 2012 12:03 pm
by Robin
TheP3 wrote:Also, are you trying to do OOP with the player functions?
Apparently not. :P

OOP ...

Posted: Mon Nov 05, 2012 3:25 pm
by WolfNinja2
I don't think I am, Object Oriented is trying to make it more realitic through somethings traits or properties. Like in that article, a car and a truck can both have windows and doors and a driver, but a car doesn't have a bed so a car isn't a truck. Ok. Now I just confused myself.............

And thank you guys for trying to help me out all the time, I really appreciate this forums community. If you guys weren't here, I would still be drawing rectangles on a screen, printing 'Hello World!'.