origin (0,0)

6 views
Skip to first unread message

Philippe

unread,
Feb 8, 2012, 3:55:14 AM2/8/12
to cocos2d discuss
Hello,

Is there a way to set the origin (0,0) at the top-left corner of the
window ? (instead of the bottom-left)

thank you,
Philippe

Thomas A R Woelz

unread,
Feb 8, 2012, 3:41:12 PM2/8/12
to cocos-...@googlegroups.com
I think not, and will probably use some of your own functions for translating that. Thing is, cocos is built on top of pyglet that is built on top of opengl that sets the origin at bottom-left. Probably for that reason the pyglet and cocos2d guys didn't try messing with that.

Philippe

unread,
Feb 8, 2012, 5:42:41 PM2/8/12
to cocos2d discuss
ok
I will write my own translation functions.
Thank you !
Reply all
Reply to author
Forward
0 new messages