tubelz / macaw

2D game engine written in Go using SDL2 and ECS
https://github.com/tubelz/macaw/wiki
zlib License
12 stars 0 forks source link

Add parallax in render system #10

Closed rennomarcus closed 6 years ago

rennomarcus commented 6 years ago

Is your feature request related to a problem? Please describe. Camera only works in orthodox view. We need a perspective camera to improve the rendering in some games

Describe the solution you'd like We need to add a Z-axis to add depth so we can draw with perspective camera

Some questions that might help you to describe the feature

  1. Why is this change important? To improve the game XP
  2. What are the benefits this change will bring? Users can use z-order to render their entities
  3. What part of the code would be affected? Render system and Render components
rennomarcus commented 6 years ago

Added in https://github.com/tubelz/macaw/commit/54bc2e6145603038dd055104417cab48c6390728