creating a world

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
someguy99
Prole
Posts: 16
Joined: Tue Mar 17, 2009 5:34 pm

creating a world

Post by someguy99 »

OK,i got a question about creating a physical world: whats the size measured in?Pixels or something else?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: creating a world

Post by bartbes »

Currently: pixels
Future: ask rude
User avatar
hdon
Prole
Posts: 36
Joined: Tue Mar 17, 2009 10:54 pm
Location: Pittsburgh, PA, USA
Contact:

Re: creating a world

Post by hdon »

someguy99 wrote:OK,i got a question about creating a physical world: whats the size measured in?Pixels or something else?
bartbes wrote:Currently: pixels
I believe the current advice for Box2D users is to tease out any nuances in your game's physics by adjusting the scale however you like. Some LÖVE people suggest using CAMERA to accomplish this.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: creating a world

Post by bartbes »

hdon wrote:I believe the current advice for Box2D users is to tease out any nuances in your game's physics by adjusting the scale however you like.
It is, but this all gives you wrong values for draw functions. So, use pixels, or CAMERA.
User avatar
hdon
Prole
Posts: 36
Joined: Tue Mar 17, 2009 10:54 pm
Location: Pittsburgh, PA, USA
Contact:

Re: creating a world

Post by hdon »

bartbes wrote:
hdon wrote:I believe the current advice for Box2D users is to tease out any nuances in your game's physics by adjusting the scale however you like.
It is, but this all gives you wrong values for draw functions. So, use pixels, or CAMERA.
:roll:
Post Reply

Who is online

Users browsing this forum: No registered users and 39 guests