diff --git a/doc/nirvana_docs/nirvana_stage_editor.txt b/doc/nirvana_docs/nirvana_stage_editor.txt index 334b3ea..ab48866 100644 --- a/doc/nirvana_docs/nirvana_stage_editor.txt +++ b/doc/nirvana_docs/nirvana_stage_editor.txt @@ -80,7 +80,7 @@ This is where you create layers and edit layer settings

#4 - Layer Settings #list ul -#li Type - The type of layer selected. There are 4 types of layers: sprite, tile, canvas 2d, and canvas 3d. +#li Type - The type of layer selected. There are 5 types of layers: sprite, tile, isometric tile, canvas 2d, and canvas 3d. #li Name - The name of the layer #li HScroll - The speed the layer scrolls horizontally #li VScrol - The speed the layer scrolls vertically @@ -88,6 +88,14 @@ This is where you create layers and edit layer settings #/list

+

#5 - Sprite Layers have extra settings that can be changed. +#list ul +#li Sprite Grid - Grid type can be either SQUARE or ISOMETRIC and determines how sprites move and snap when snap tile movement is enabled. +#li Sort By - This setting will override SpriteZ values and determines the priority sprites are rendered in +#li Order - This determines whether the priority set by Sort By is in ascending or descending order +#li Shape Data - You can use this to have the editor generate the shapes when generating code or just export the shape data so you can handle collision yourself +#/list +


Editor Settings

@@ -116,6 +124,9 @@ This is where you can change editor settings

Tile Map Tools

These tools are only usable when a tile layer is selected. + +NOTE: There is a subset of these tools available on sprite layers. The sprite layer tools will create a sprite with the selected tiles. + #image "images/nirvana_tilemap_tools.png"

#1 - Tools diff --git a/doc/serenity_docs/nirvana_api.html b/doc/serenity_docs/nirvana_api.html deleted file mode 100644 index 93e8b9a..0000000 --- a/doc/serenity_docs/nirvana_api.html +++ /dev/null @@ -1,673 +0,0 @@ - - - - - - Nirvana2D [RCBasic Doc] - - - -

Nirvana2D API

-

- This API is what allows developers to access objects created in the Nirvana2D editor inside RCBasic. -

-

-

Nirvana Types

-

-

- Type Nirvana_Vector2D -

- -

-
-

-

- Type Nirvana_Size2D -

- -

-
-

-

- Type Nirvana_Sprite -

- -

-
-

-

- Type Nirvana_TileMap -

- -

-
-

-

- Type Nirvana_Background -

- -

-
-

-

- Type Nirvana_Shape -

- -

-
-

-

- Type Nirvana_Layer -

- -

-
-

-

- Type Nirvana_Stage -

- -

-
-

-

- Function Nirvana_CreateVector2D(x, y) As Nirvana_Vector2D -

- -

-
-

-

- Function Nirvana_CreateSize2D(w, h) As Nirvana_Size2D -

- -

-
-

-

- Function Nirvana_CreateSprite(spriteDefinition_name$, sprite_name$) As Nirvana_Sprite -

- -

-
-

-

- Function Nirvana_CreateTileMap(tset_name$, tmap_width, tmap_height) As Nirvana_TileMap -

- -

-
-

-

-

Nirvana Stages

-

-

- Function Nirvana_LoadStage(stage_name$, viewport_x, viewport_y, viewport_w, viewport_h) -

- -

-
-

-

- Sub Nirvana_Update() -

- -

-
-

-

-

Nirvana Layers

-

-

- Function Nirvana_GetLayerIndex(layer_name$) -

- -

-
-

-

- Function Nirvana_GetLayerCanvasID(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerType(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerName$(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerAlpha(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerScrollSpeed(layer_index) As Nirvana_Vector2D -

- -

-
-

-

- Function Nirvana_GetLayerTileSetName$(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerTileSetID(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerTileMapID(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerTileMaskCount(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerTileMaskIndex(layer_index, mask_num) -

- -

-
-

-

- Function Nirvana_GetLayerSpriteCount(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerSpriteIndex(layer_index, sprite_name$) -

- -

-
-

-

- Function Nirvana_GetLayerShapeCount(layer_index) -

- -

-
-

-

- Function Nirvana_GetLayerBackgroundImageID(layer_index) -

- -

-
-

-

- Function Nirvana_SetLayerBackgroundImage(layer_index, image_id) -

- -

-
-

-

- Function Nirvana_GetLayerBackgroundRenderType(layer_index) -

- -

-
-

-

- Function Nirvana_SetLayerBackgroundRenderType(layer_index, render_type) -

- -

-
-

-

-

TILE MASK

-

-

- Function Nirvana_GetTileMaskName$(mask_index) -

- -

-
-

-

- Function Nirvana_GetTileMaskMatrix(mask_index) -

- -

-
-

-

- Function Nirvana_GetLayerMaskHit(layer_index, mask_index, x, y) -

- -

-
-

-

-

SPRITES

-

-

- Function Nirvana_GetSpriteID(sprite_index) -

- -

-
-

-

- Function Nirvana_GetSpriteName$(sprite_index) -

- -

-
-

-

- Function Nirvana_GetSpriteDefinitionName$(sprite_index) -

- -

-
-

-

- Function Nirvana_GetSpriteAnimationCount(sprite_index) -

- -

-
-

-

- Function Nirvana_GetSpriteAnimationName$(sprite_index, animation_num) -

- -

-
-

-

-

CAMERA

Sub Nirvana_SetStageOffset(offset As Nirvana_Vector2D) -

- -

-
-

-

- Function Nirvana_GetStageOffset() As Nirvana_Vector2D -

- -

-
-

-

-

VIEWPORT

Sub Nirvana_SetStageViewport(v_position As Nirvana_Vector2D, v_size As Nirvana_Size2D) -

- -

-
-

-

- Function Nirvana_GetViewportPosition() As Nirvana_Vector2D -

- -

-
-

-

- Function Nirvana_GetViewportSize() As Nirvana_Size2D -

- -

- - - \ No newline at end of file diff --git a/rcbasic_runtime/rc_post_fx.h b/rcbasic_runtime/rc_post_fx.h index 1cf8ab5..3f8e9ba 100644 --- a/rcbasic_runtime/rc_post_fx.h +++ b/rcbasic_runtime/rc_post_fx.h @@ -1085,6 +1085,7 @@ bool rc_setPostEffect(int canvas_id, int effect_type) { rc_canvas[canvas_id].post_effect.is_active = false; rc_canvas[canvas_id].post_effect.type = -1; + return false; }