Skip to content

Instantly share code, notes, and snippets.

View alemart's full-sized avatar

Alexandre Martins alemart

View GitHub Profile
@alemart
alemart / guia_para_bricksets.md
Created August 19, 2025 21:42
Guia para bricksets

Guia para bricksets do Open Surge

Como usar

  • No seu editor de imagens, crie uma nova camada para sobrepor o seu brickset com este guia
  • Use o número central como o número do brick
  • Copie os valores de x e y para o campo source_rect no seu script .brk
  • Dica: use 1024x1024 para bricksets pequenos e 2048x2048 para bricksets maiores
  • Tamanho da grade: 128x128
@alemart
alemart / dark_surge.chr
Last active February 24, 2024 20:31
Player 2: repositioning methods
character "Dark Surge as Player 2"
{
companions "Follow the Leader AI" "Dash Smoke" "Brake Smoke" "Dark Surge's Repositioning Method Setup"
multipliers
{
acceleration 1.0
deceleration 1.0
friction 1.0
topspeed 1.0
brick 1
{
type SOLID
behavior DEFAULT
mask "images/my_game/my_brickset/mask001.png"
sprite
{
source_file "images/my_game/my_brickset/brick001.png"
source_rect 0 0 128 128
@alemart
alemart / README
Last active May 5, 2022 03:04
Creating a brickset #1
plastic_shamtastic_alt_palette.png by surt (CC0)
@alemart
alemart / bee_the_boss.ss
Created July 30, 2021 17:53
Creatng a BOSS in Open Surge #6
using SurgeEngine.Actor;
using SurgeEngine.Behaviors.DirectionalMovement;
using SurgeEngine.Transform;
using SurgeEngine.Vector2;
using SurgeEngine.Collisions.CollisionBall;
using SurgeEngine.Audio.Sound;
object "Bee the Boss" is "entity", "boss", "awake"
{
actor = Actor("Bee the Boss");
@alemart
alemart / bee_the_boss.ss
Created July 2, 2021 02:50
Creatng a BOSS in Open Surge #5
using SurgeEngine.Actor;
using SurgeEngine.Behaviors.DirectionalMovement;
using SurgeEngine.Vector2;
using SurgeEngine.Collisions.CollisionBall;
using SurgeEngine.Audio.Sound;
object "Bee the Boss" is "entity", "boss", "awake"
{
actor = Actor("Bee the Boss");
movement = DirectionalMovement();
@alemart
alemart / bee_the_boss.ss
Created June 25, 2021 00:46
Creating a BOSS in Open Surge #4
using SurgeEngine.Actor;
using SurgeEngine.Behaviors.DirectionalMovement;
using SurgeEngine.Vector2;
using SurgeEngine.Collisions.CollisionBall;
object "Bee the Boss" is "entity", "boss", "awake"
{
actor = Actor("Bee the Boss");
movement = DirectionalMovement();
collider = CollisionBall(30);
@alemart
alemart / bee_the_boss.ss
Created June 17, 2021 00:51
Creating a BOSS in Open Surge #3
using SurgeEngine.Actor;
using SurgeEngine.Behaviors.DirectionalMovement;
using SurgeEngine.Vector2;
using SurgeEngine.Collisions.CollisionBall;
object "Bee the Boss" is "entity", "boss", "awake"
{
actor = Actor("Bee the Boss");
movement = DirectionalMovement();
collider = CollisionBall(30);
@alemart
alemart / bee_the_boss.ss
Created June 10, 2021 01:31
Creating a BOSS in Open Surge - part 2
using SurgeEngine.Actor;
using SurgeEngine.Behaviors.DirectionalMovement;
using SurgeEngine.Vector2;
object "Bee the Boss" is "entity", "boss", "awake"
{
actor = Actor("Bee the Boss");
movement = DirectionalMovement();
restTime = 3; // given in seconds
moveTime = 3; // given in seconds
@alemart
alemart / bee_the_boss.png
Last active June 4, 2021 05:05
"Bee" the Boss
bee_the_boss.png