Snake Vs Block - chanhpomme/ugp-wiki-temp GitHub Wiki

Snake Vs Block

"SnakeVsBlock"

Number player skins available: 13

GameParameters:
{
  "UseCustomColor": false
  "BlockColorBegin": "#000000"
  "BlockColorEnd": "#000000"
  "BackgroundColor": "#000000"
  "WhiteBlockText": false
  "VerticalSpeed": 3.0
  "VerticalSpeedMax": 10.0
  "VerticalSpeedAccelerationStepValue": 50
  "VerticalSpeedAccelerationStepCount": 10

  /* Boosters */
  "SnakeStartSize": 5
}
UseCustomColor: use custom color instead of the default blue > green > yellow > orange > red pattern
BlockColorBegin: color of the lowest block value
BlockColorEnd: color of the highest block value
BackgroundColor: color of the background
WhiteBlockText: use white text inside the block instead of the default black text VerticalSpeed: initial speed of the snake (float)
VerticalSpeedMax: maximum speed of the snake (float)
VerticalSpeedAccelerationStepValue: how much the snake accelerate, or something like that (integer)
VerticalSpeedAccelerationStepCount: how frequently the snake accelrate, or something like that (integer)

SnakeStartSize: Snake ball count on start

Gameplay Events:
"BallCollected": the user has collected a yellow ball, incrementing the snake size (the given value is the value of the yellow ball)
"BlockDestroyed": the user has destroyed a block (the given value is the initial value of the block)
"FuryBlockDestroyed": the user has destroyed a fury block, and the fury mode has started (the given value is the initial value of the block)
"FuryStopped": the fury mode has expired

In-Game Boosters:
"Fury { }": immediately activate the fury mode (invincible mode)
"SpeedBoost" { "SpeedMultiplier": 1.5, "Duration": 10 }: multiply the current speed by the given multiplier and for the given amount of time

⚠️ **GitHub.com Fallback** ⚠️