Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor code to use virtual width/height #36

Open
PixelsCommander opened this issue Mar 14, 2013 · 0 comments
Open

Refactor code to use virtual width/height #36

PixelsCommander opened this issue Mar 14, 2013 · 0 comments

Comments

@PixelsCommander
Copy link
Owner

At the moment we have scale-independant X,Y for objects but their width, height depends on real size of images used.

So for scale 4 it will be 32_32 and for scale 1 it will be 8_8.

It`s not good for game logic development, all game logic have to be independant of scales.

We have to modify DisplayObject code to have 8*8 always, but also implement realWidth and realHeight properties to use for rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant