goos-org / goosberry

1 stars 0 forks source link

2d Renderer #1

Open lylythechosenone opened 1 year ago

lylythechosenone commented 1 year ago

Some plans for a 2d renderer:

bayu889900 commented 3 weeks ago

Some plans for a 2d renderer:

  • [x] A Camera2d struct which houses wgpu state
  • [ ] A renderer module that does the following steps:
    • [x] Create RenderObjects for all sprites (get indices for pipelines, render textures, get transform)
    • [ ] Create Renderables for all RenderObjects (create vertex buffer, get indices in vertex buffer, could be merged with the above in the future)
  • [ ] A renderer_2d system that queries for cameras and sprites, then uses the renderer module to render the scene.
lylythechosenone commented 3 weeks ago

?