Wall
Variables are items in vpx you can set, adjust or call.
Call | Detail | Example |
---|---|---|
Name(string) |  |  |
TimerEnabled(bool) |  |  |
TimerInterval(int) | set interval for triggering the timer (1 equals 1000 timer calls per second, 1000 equals 1 timer call per second, -1 makes it dependent on the FPS that a user can reach) |  |
HasHitEvent(bool) |  |  |
Threshold(float) |  |  |
Image(string) | texture name |  |
SideColor(OLE_COLOR) |  |  |
HeightBottom(float) |  |  |
HeightTop(float) |  |  |
FaceColor(OLE_COLOR) |  |  |
CanDrop(bool) |  |  |
Collideable(bool) |  |  |
IsBottomSolid(bool) |  |  |
IsDropped(bool) |  |  |
DisplayTexture(bool) |  |  |
Elasticity(float) |  |  |
SideImage(string) |  |  |
Visible(bool) |  |  |
Disabled(bool) |  |  |
SideVisible(bool) |  |  |
UserValue(any) | can store any user defined value for re-use later-on |  |
SlingshotColor(OLE_COLOR) |  |  |
SlingshotThreshold(float) |  |  |
SlingshotAnimation(bool) |  |  |
FlipbookAnimation(bool) |  |  |
Friction(float) | 0..1 |  |
Scatter(float) |  |  |
ReflectionEnabled(bool) | default=true |  |
DisableLighting(bool) |  |  |
BlendDisableLighting(float) | 0..1, same as DisableLighting, but can blend between the two extremes |  |
BlendDisableLightingFromBelow(float) | 0..1, similar to DisableLighting, but will block light coming from below (e.g. from light elements) |  |
Methods are procedures or actions that you can fire in VPX.
Call | Detail | Example |
---|---|---|
PlaySlingshotHit() | if the wall has slingshots defined, a call to this function will play the hit animation without triggering the actual hit event. |  |
Event | Detail | Example |
---|---|---|
_Init |  |  |
_Hit |  |  |
_Slingshot |  |  |
_Timer |  |  |