Positioning Concepts

3 views
Skip to first unread message

jug

unread,
Aug 17, 2010, 12:10:01 PM8/17/10
to infinitep...@googlegroups.com
Hey Chris,

Could you explain a bit how the positioning works?
I know there is absolute and relative positioning and it worked
quite well so far (e.g. with the tooltips and speech bubble).
But now I'm trying to replace the dying with some kind of rescue
animation and the positioning of the player does not work like
it should. It has something to do with different cameras used
to convert positions or so.
Are there even different kinds of relative positions? Eg. relative
to the screen size (/gfx.width) and relative to the map/level size?
Cause the player position may not be inside the screen/ camera
view area.

I'm a bit confused.

I have commited my current code. If you run it and die you'll
see my idea and also what's wrong. Maybe you know how to fix!?

Regards,
Julian


Reply all
Reply to author
Forward
0 new messages