isaacscript-common 5.1.5 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/constants.d.ts +3 -1
- package/constants.lua +3 -1
- package/package.json +1 -1
package/constants.d.ts
CHANGED
|
@@ -34,9 +34,11 @@ export declare const EMPTY_PNG_PATH = "gfx/none.png";
|
|
|
34
34
|
* second TMTRAINER item subtracts one from that, and so on.
|
|
35
35
|
*/
|
|
36
36
|
export declare const FIRST_GLITCHED_COLLECTIBLE_TYPE: CollectibleType;
|
|
37
|
+
/** Game frames are what is returned by the `Game.GetFrameCount` method. */
|
|
37
38
|
export declare const GAME_FRAMES_PER_SECOND = 30;
|
|
39
|
+
/** Render frames are what is returned by the `Isaac.GetFrameCount` method. */
|
|
40
|
+
export declare const RENDER_FRAMES_PER_SECOND = 60;
|
|
38
41
|
export declare const GRID_INDEX_CENTER_OF_1X1_ROOM = 67;
|
|
39
|
-
export declare const ISAAC_FRAMES_PER_SECOND = 60;
|
|
40
42
|
/**
|
|
41
43
|
* The floor is represented by a 13x13 grid. Room indexes start at 0. The first column is
|
|
42
44
|
* represented by grid indexes 0, 13, 26, and so on.
|
package/constants.lua
CHANGED
|
@@ -35,9 +35,11 @@ ____exports.EMPTY_PNG_PATH = "gfx/none.png"
|
|
|
35
35
|
-- encountered by the player. The first TMTRAINER item takes the final possible 32 bit number. The
|
|
36
36
|
-- second TMTRAINER item subtracts one from that, and so on.
|
|
37
37
|
____exports.FIRST_GLITCHED_COLLECTIBLE_TYPE = (1 << 32) - 1
|
|
38
|
+
--- Game frames are what is returned by the `Game.GetFrameCount` method.
|
|
38
39
|
____exports.GAME_FRAMES_PER_SECOND = 30
|
|
40
|
+
--- Render frames are what is returned by the `Isaac.GetFrameCount` method.
|
|
41
|
+
____exports.RENDER_FRAMES_PER_SECOND = 60
|
|
39
42
|
____exports.GRID_INDEX_CENTER_OF_1X1_ROOM = 67
|
|
40
|
-
____exports.ISAAC_FRAMES_PER_SECOND = 60
|
|
41
43
|
--- The floor is represented by a 13x13 grid. Room indexes start at 0. The first column is
|
|
42
44
|
-- represented by grid indexes 0, 13, 26, and so on.
|
|
43
45
|
____exports.LEVEL_GRID_COLUMN_HEIGHT = 13
|