Skip to content

Instantly share code, notes, and snippets.

View alemart's full-sized avatar

Alexandre Martins alemart

View GitHub Profile
@alemart
alemart / snail.png
Last active November 23, 2019 02:45
Creating a baddie in Open Surge: files for the tutorial https://youtu.be/LrUyv-aTJ6Q
snail.png
@alemart
alemart / bee_the_boss.png
Last active June 4, 2021 05:05
"Bee" the Boss
bee_the_boss.png
@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.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 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 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 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 / README
Last active May 5, 2022 03:04
Creating a brickset #1
plastic_shamtastic_alt_palette.png by surt (CC0)
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 / 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