Skip to content

Commit

Permalink
Docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
Natashi committed Feb 13, 2022
1 parent 0e10a4b commit dcc8734
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
22 changes: 21 additions & 1 deletion Change Log.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
A mostly-complete history log of engine updates can be found here.

1.32b
Changes:
- All functions and actions that change a shot's graphic ID has an additional feature:
- The actual graphic ID will be the absolute value of the value received.
- If the value received was negative, the graphic change operation will preserve the shot's previous spin angular velocity and Z-angle.
- Affected functions and actions:
- ObjShot_SetGraphic
- ObjMove_AddPatternA3
- ObjMove_AddPatternA4
- ObjMove_AddPatternB3
- ObjMove_AddPatternC3
- ObjMove_AddPatternC4
- TRANSFORM_GRAPHIC_CHANGE
Additions:
- Added an instruction on how to get ph3sx to work with Wine. (Check readme.txt)
- Added SetIntersectionVisualizationRenderPriority.
Bug fixes:
- Fixed incorrect documentation for some functions.
- Fixed AddPoint not working correctly.
- Fixed some issues with acceleration and max speed when converting from B-movement to A-movement or C-movement with AddPattern.

1.32a
Changes:
- Renamed "real" to "float".
Expand All @@ -20,7 +41,6 @@ A mostly-complete history log of engine updates can be found here.
- ObjMove_SetAngularVelocity
- Swapped the "shot graphic ID" and "target ID" arguments in ObjMove_AddPatternA4.
- Swapped the "max speed" and "angular velocity" arguments of the following functions:
- CreateShotA2
- ObjMove_AddPatternA2
- ObjMove_AddPatternA3
- ObjMove_AddPatternA4
Expand Down
17 changes: 13 additions & 4 deletions New Functions Documentation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3473,6 +3473,14 @@ ALL ARGUMENTS ARE FLOATS UNLESS STATED OTHERWISE
Yellow : Enemy hitbox+killbox
Red : Enemy shot

SetIntersectionVisualizationRenderPriority
Arguments:
1) (int) render priority
Description:
Sets the render priority of hitbox visualizations.

Default value is 68. (GetCameraFocusPermitPriorityI() - 1)

--------------------------------> Player Functions <--------------------------------

GetPlayerScriptID
Expand Down Expand Up @@ -3838,7 +3846,7 @@ ALL ARGUMENTS ARE FLOATS UNLESS STATED OTHERWISE
LERP_DECELERATE:
Decelerating interpolation.

ObjMove_AddPatternA2
ObjMove_AddPatternA2 (overload)
Arguments:
1) (int) object ID
2) (int) frame
Expand All @@ -3848,9 +3856,9 @@ ALL ARGUMENTS ARE FLOATS UNLESS STATED OTHERWISE
6) max speed
7) angular velocity
Description:
Change.
Overloaded with 7 arguments.

Swapped max speed and angular velocity.
Additional ability to specify angular velocity.

ObjMove_AddPatternA3
Arguments:
Expand Down Expand Up @@ -4329,7 +4337,8 @@ ALL ARGUMENTS ARE FLOATS UNLESS STATED OTHERWISE
1) (int) object ID
2) (bool) enable
Description:
If set to false, the shot will not lose penetration upon collision with an enemy hitbox.
If set to false, the shot will not lose penetration upon collision with another enemy shot.
Intended to be used with players shots, in tandem with ObjShot_SetEraseShot.

Default is true.

Expand Down

0 comments on commit dcc8734

Please sign in to comment.