Gravity Game

Show off your games, demos and other (playable) creations.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Gravity Game

Post by kikito »

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.
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Gravity Game

Post by Taehl »

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+.
User avatar
gtothereal
Prole
Posts: 42
Joined: Thu Jan 06, 2011 3:17 pm

Re: Gravity Game

Post by gtothereal »

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.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Gravity Game

Post by tentus »

Just change line 6 to

Code: Select all

world = love.physics.newWorld(-1250, -6500, 1250, 6500) 
Also, you have PO2 image problems, please read PO2_Syndrome
Kurosuke needs beta testers
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Gravity Game

Post by BlackBulletIV »

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.
The wiki has labels on things that were removed in 0.7 and added in 0.7, so that should help you.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Gravity Game

Post by Robin »

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.
User avatar
gtothereal
Prole
Posts: 42
Joined: Thu Jan 06, 2011 3:17 pm

Re: Gravity Game

Post by gtothereal »

It is now converted to .7. Thanks for the help. I haven't fixed the text just wanted to make the game playable.
User avatar
gtothereal
Prole
Posts: 42
Joined: Thu Jan 06, 2011 3:17 pm

Re: Gravity Game

Post by gtothereal »

any help with the po2 problem would help.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Gravity Game

Post by Robin »

gtothereal wrote:any help with the po2 problem would help.
Well, the wiki page tentus linked to says it all. Where do you need help?
Help us help you: attach a .love.
User avatar
gtothereal
Prole
Posts: 42
Joined: Thu Jan 06, 2011 3:17 pm

Re: Gravity Game

Post by gtothereal »

Robin wrote:Well, the wiki page tentus linked to says it all. Where do you need help?
The Images Are all animations. Do i need the pictures to be even numbers or the animations sizes.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests