You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2020. It is now read-only.
Kevin Dai edited this page Apr 15, 2020
·
2 revisions
Rendering Pipeline:
Greenfoot will call the act() of the world.
A Camera's renderToBuffer method will be invoked.
Camera2D Rendering Pipeline
The main Camera2D of a Scene will fetch all GameObjects from that scene.
Only GameObjects with a PolygonRenderer will be rendered onto the buffer (by raster rendering).
The buffer is then drawn as the background to the screen.
GameObjects can have components associated with it. A component must implement the IComponent interface.
Components by themselves don't do much. They only store information about the GameObject (for now).