General Pulpcore applet structure

A Pulpcore applet is made up of a single stage where scenes are played out using sprites to display the graphical content.
A Pulpcore applet may only ever have on stage but it may have more than one scene.
In my experiences it is common to have a scene for each major state in a game.
For example our Pong game has three states and three scenes as follows a loading scene, title scene and play scene.

Scenes can have many sprites to display graphics to the users.
Sprites are contained in groups which are added to a scene.
A scene can have many groups.
For example a scene may have three groups background group, sprite group and GUI group.
A sprite can only belong to one group.
Groups can be used to create some interesting effects with a few simple examples shown in our Pong demo.

Previous
Next