starblast-modding icon indicating copy to clipboard operation
starblast-modding copied to clipboard

Starblast Modding tools and API documentation

Results 11 starblast-modding issues
Sort by recently updated
recently updated
newest added

Could we have an option to access/modify the ship's lives? This is vital in many cases when you want players can die infinitely without being kicked out of the game...

a new components attach to scoreboard: ```js ship.setUIComponent({ id: "scoreboard", components: [ {type:"highlight",position:[0,0,100,100],color:"#F00"}, {type:"player",id:5,position:[0,100,100,100],value:"6.",color:"#FFF"} ] }); ``` This will add the player highlight component and edit the `type:"player"` component with...

There's no doubt that team mode is the most reliable root_mode to team based gameplay. However there's one rather annoying limitation and that's the station's statistics. People who've played U-Series,...

An amazing addition would be the ability to create custom ship instances and add them to `game.ships`, and make them just as capable as normal human-controlled ships, except they are...

Having access to this would allow creators to find the percentage of shields in combination with ship.shield. Any shield precent/ratio finding code would also then have forward support for any...

I would like these events: |Event|Properties| |-|-| |Alien spawned|event.alien| |Asteroid spawned|event.asteroid| |Crystal spawned|event.crystal| |Laser spawned|event.laser| |Alien damaged|event.alien, event.damager| |Asteroid damaged|event.asteroid, event.damager| |Ship damaged|event.ship, event.damager| |Crystal collected|event.crystal, event.ship| `event.damager` would be...

I would like asteroids to have properties to drop crystals and weapons. ``` game.addAsteroid({size:25,x:3,y:19,vx:0.13,vy:-0.27,crystal_drop:6,weapon_drop:10}); ```

A function to spawn crystals would be nice. Properties: - Value - All the regular stuff (x, y, vx, vy...) ``` game.addCrystal({value:23,x:11,y:9,vx:0.1,vy:0.35}); ```

A property that ships would have that stores their color. ``` > game.ships[0].color #F00 ``` It could be useful for UI. Also, it would, in theory, when in a team...

A simple new UI component. ``` ship.setUIComponent({ components: [ {type:"glyph",position:[0,0,100,100],value:"\u0061",color:"#F00"} ] }); ``` This code would display a red ship glyph, a bit like the image below. ![image](https://user-images.githubusercontent.com/36546666/42716250-9a549394-86c8-11e8-881f-892c5e89b441.png) This should...