Hybroid
Live

Programming Language

Supercharge your PPL level development.

level.hyb
env MyLevel as Level
// Import Pewpew for convenience
use Pewpew

Print("Hello, World!")
SetLevelSize(500f, 500f)
ConfigurePlayer(0, struct{
  shield = 10
})
let ship = NewShip(250f, 250f, 0)

tick with time {
  if !IsEntityAlive(ship)
    StopGame()
  if time % 60 == 0 {
    NewRollingCube(Fmath:RandomFixed(0f, 500f), Fmath:RandomFixed(0f, 500f))
  }
}

Other projects by Hybroid Team