generated from sigonasr2/JavaProjectTemplate
Merge branch 'main' of http://sig.projectdivar.com/sigonasr2/PixelEngine
This commit is contained in:
commit
d587009b25
@ -11,7 +11,7 @@ You will also have to update the `sig` script with the new `PROJECT_NAME` value.
|
|||||||
Window Width, Height, and the title can all be customized.
|
Window Width, Height, and the title can all be customized.
|
||||||
|
|
||||||
# Drawing
|
# Drawing
|
||||||
You will find all possible drawing features under the `game` Panel object that is initialized for you. Draw commands all start with `Draw`. The example program contains quite a few of the possible draw commands available.
|
You will find all possible drawing features under the `game` Panel object that is initialized for you. Draw commands all start with `Draw` or `Fill`. The example program contains quite a few of the possible draw commands available.
|
||||||
|
|
||||||
## Sprites
|
## Sprites
|
||||||
Sprites can be placed in the `sprites` folder and referenced accordingly. Instantiating a new `Sprite` class or `AnimatedSprite` class with the name will auto-load it in. Animated Sprites need their base width and height defined, the engine will figure out the animation frames for the rest of the image. `DrawAnimatedSprite` functions request what index of the animation to draw, you feed that yourself. Only horizontal animation strips are supported by default.
|
Sprites can be placed in the `sprites` folder and referenced accordingly. Instantiating a new `Sprite` class or `AnimatedSprite` class with the name will auto-load it in. Animated Sprites need their base width and height defined, the engine will figure out the animation frames for the rest of the image. `DrawAnimatedSprite` functions request what index of the animation to draw, you feed that yourself. Only horizontal animation strips are supported by default.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user