Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - elsenior

Pages: [1]
1
Support / Re: Gravity and Scene Scale
« on: August 25, 2012, 12:47:32 pm »
Well I have boxes in my game that are 64 pixels wide.

We could say that these boxes should be one meter in size. So 960 (screen width) / 64 = 15.

That means 15 pixels (or unity units) are one meter when my screen is 15 meters wide.

That's fine but how does that affect gravity? Still I have to set the gravity to -1000 to make it look good.

Or is it ok to have such a gravity value and I should just not care about the actual values too much?

Thanks

2
Support / Gravity and Scene Scale
« on: August 23, 2012, 12:09:49 pm »
Hey,

I was just wondering about the relationship between scene/camera scale and gravity.

My game has a fixed background and a ground plane. On the ground plane there are wooden crates that can be moved around. When I pick up one of the crates and throw it in the it moves veeeeeery slowly with the standard gravity.

In order to get a velocity that seems right I have to set gravity to -1000, but I don't know if that's a good idea...?

How is that handled in a, let's say angry birds like, game?

Or am I doing something wrong here?

3
Support / Re: Size of Sprites in Scene
« on: August 23, 2012, 12:05:46 pm »
Ok I fixed it. Had to recreate the SpriteSheet.

Thanks

4
Support / Size of Sprites in Scene
« on: August 21, 2012, 12:42:54 am »
Hey there,

I just purchased 2D Toolkit and have a general question about the sizing of sprites in the scene.

There is a tk2d camera in my scene set to 960x640 resolution. The Orthographic Size is 480, that was the default.

Now I have a sprite that is my level background with a size of 960x640.

Shouldn't that then cover the whole screen, size-wise?

Right now it comes out way too small. If I set the sprite size to 960x640 it is way too big.

This might be a stupid qestion but I thought that's how it is supposed to work?

Thanks

Pages: [1]