Jump Crashes Game

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
WolfNinja2
Party member
Posts: 150
Joined: Wed Oct 24, 2012 10:10 pm

Jump Crashes Game

Post 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
Attachments
JumpCrash.love
(964 Bytes) Downloaded 141 times
User avatar
TheP3
Citizen
Posts: 62
Joined: Tue Dec 20, 2011 9:20 pm

Re: Jump Crashes Game

Post by TheP3 »

Kinda fixed it... :S
Attachments
Fixedish.love
(1019 Bytes) Downloaded 146 times
I write rules for my computer... I'm not the ruler of the world(yet)... Also, I livestream stuff http://NateAGeek.com/Live
User avatar
TheP3
Citizen
Posts: 62
Joined: Tue Dec 20, 2011 9:20 pm

Re: Jump Crashes Game

Post by TheP3 »

Also, are you trying to do OOP with the player functions?
I write rules for my computer... I'm not the ruler of the world(yet)... Also, I livestream stuff http://NateAGeek.com/Live
User avatar
WolfNinja2
Party member
Posts: 150
Joined: Wed Oct 24, 2012 10:10 pm

OOP?

Post by WolfNinja2 »

TheP3 wrote:Also, are you trying to do OOP with the player functions?
OOP? I don't know what that is.
User avatar
TheP3
Citizen
Posts: 62
Joined: Tue Dec 20, 2011 9:20 pm

Re: OOP?

Post 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
I write rules for my computer... I'm not the ruler of the world(yet)... Also, I livestream stuff http://NateAGeek.com/Live
User avatar
WolfNinja2
Party member
Posts: 150
Joined: Wed Oct 24, 2012 10:10 pm

Re: OOP?

Post 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?
User avatar
TheP3
Citizen
Posts: 62
Joined: Tue Dec 20, 2011 9:20 pm

Re: Jump Crashes Game

Post by TheP3 »

I write rules for my computer... I'm not the ruler of the world(yet)... Also, I livestream stuff http://NateAGeek.com/Live
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Jump Crashes Game

Post by Robin »

TheP3 wrote:Also, are you trying to do OOP with the player functions?
Apparently not. :P
Help us help you: attach a .love.
User avatar
WolfNinja2
Party member
Posts: 150
Joined: Wed Oct 24, 2012 10:10 pm

OOP ...

Post 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!'.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 230 guests