Blocksworld Wiki

We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

READ MORE

Blocksworld Wiki
Advertisement
UI Object Counter I HD

The Object Counter is an Action Block. It is used to count events or objects; it can then activate triggers, Signals, or other conditionals based on that count.

Notes[]


  • The Object Counter can be attached to any other block using any of its six surfaces.


  • The "star" counter used by the Object Counter can be used to track nearly anything. For example, the counter can be programmed to respond based on collecting objects with Is Loot tiles, touching a particular block (via a Signal), or entering a Trigger Zone. This is set up in an object's Programming Window - the desired event can be set up to execute an Add or Subtract Action (to increment or decrement the Counter when it happens).


  • The Object Counter's onscreen UI can be displayed for gameplay purposes, or can be hidden from the player. Hiding the UI is done by adding the Hide UI tile to the Object Counter's Programming Window.


List of Scripting Tiles[]

Image Tile Name Description Parameter
95x75
Set Max Sets the maximum count of the Object Counter Max Value (Slider)
95x75
Equals Conditional; triggers an event when the count number equals this value Value (Slider)
95x75
= Max Conditional; triggers an event when the count number equals the maximum value (on the Set Max tile) List parameter type
95x75
Subtract Subtracts from the Object Counter's current count by one Value (Slider)
95x75
Add Adds to the Object Counter's current count by one Value (Slider)
95x75
Is Less Conditional; triggers an event when the count number is lower than this value Value (Slider)
95x75
Is More Conditional; triggers an event when the count number is higher than this value Value (Slider)
95x75
Is Not Conditional; triggers an event when the count number is not equal to this value Value (Slider)
95x75
UI Text Creates an onscreen text message for counter events Text Entry Field
95x75
Show UI Enables the Object Counter's onscreen UI display N/A
95x75
Hide UI Disables the Object Counter's onscreen UI display N/A
95x75
Use Icon Replaces the default onscreen counter graphics (stars) with a chosen Block icon; (place chosen Block icon after this tile) N/A
95x75
Use Decal Replaces the default onscreen counter graphics (stars) with a chosen Decal icon (place chosen Decal icon after this tile) N/A
95x75
Win Conditional; triggers a "Win Game" event N/A
95x75
Lose Conditional; triggers a "Lose Game" event N/A


Usage[]

  • It's used for making games where you collect loot.



Tips & Tricks[]

  • Placing this block and loot can make a small game



Advertisement