Gravity Game
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Gravity Game
mm I'm getting an error in love.physics.newWorld. Are you using LÖVE 0.6.2 instead of 0.7 ?
When I write def I mean function.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Gravity Game
Your .love file instantly crashes with a "main.lua:6: Incorrect number of parameters". You're using Love 0.7, right?
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- gtothereal
- Prole
- Posts: 42
- Joined: Thu Jan 06, 2011 3:17 pm
Re: Gravity Game
I just updated the game to the most recent version. I just downloaded version 7.0 and dont have a clue on how to convert the game from 6.2.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Gravity Game
Just change line 6 to
Also, you have PO2 image problems, please read PO2_Syndrome
Code: Select all
world = love.physics.newWorld(-1250, -6500, 1250, 6500)
Kurosuke needs beta testers
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Gravity Game
The wiki has labels on things that were removed in 0.7 and added in 0.7, so that should help you.gtothereal wrote:I just updated the game to the most recent version. I just downloaded version 7.0 and dont have a clue on how to convert the game from 6.2.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Gravity Game
The most important change is the place text is drawn, it is currently top-left. But your game doesn't have much text to draw, I think.
Help us help you: attach a .love.
- gtothereal
- Prole
- Posts: 42
- Joined: Thu Jan 06, 2011 3:17 pm
Re: Gravity Game
It is now converted to .7. Thanks for the help. I haven't fixed the text just wanted to make the game playable.
- gtothereal
- Prole
- Posts: 42
- Joined: Thu Jan 06, 2011 3:17 pm
Re: Gravity Game
any help with the po2 problem would help.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Gravity Game
Well, the wiki page tentus linked to says it all. Where do you need help?gtothereal wrote:any help with the po2 problem would help.
Help us help you: attach a .love.
- gtothereal
- Prole
- Posts: 42
- Joined: Thu Jan 06, 2011 3:17 pm
Re: Gravity Game
The Images Are all animations. Do i need the pictures to be even numbers or the animations sizes.Robin wrote:Well, the wiki page tentus linked to says it all. Where do you need help?
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 1 guest