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

Perspective rendering (Camera needed ?) #11

Closed
Inateno opened this issue Oct 31, 2017 · 0 comments
Closed

Perspective rendering (Camera needed ?) #11

Inateno opened this issue Oct 31, 2017 · 0 comments
Assignees

Comments

@Inateno
Copy link
Owner

Inateno commented Oct 31, 2017

GameObject should have a "z" attribute that simulate a perspective rendering.
Is this possible trough the scene rendering or should we re-do the camera ?

When the z change, a _zscale value is calculated and change the scale of the object in _updateScale method (already exist in GameObject.scale).

This will also have an impact on sorting with zindex cf #10

Related to #9

Inateno added a commit that referenced this issue Nov 4, 2017
@Inateno Inateno changed the title #9 related: re-do perspective rendering Perspective rendering (Camera needed ?) Nov 4, 2017
@Inateno Inateno self-assigned this Nov 4, 2017
Inateno added a commit that referenced this issue Nov 4, 2017
@Inateno Inateno closed this as completed in 20ea535 Nov 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant