The Silly Brawl Demo is Here!

Finally, it’s here! The demo of Silly Brawl! For those who have been following my devlog, you’d probably know what this is.

Silly Brawl is a game where you defeat enemies and score points. There are 4 game modes, to be exact, so be sure to check those out.

There are also lores and what I call “test features.” Learn more about the enemies in the enemy catalog and check out the background selection menu, which still is working on. The lobby songs menu is currently empty, and needs you! I need your songs for the lobby song menu, so you can later choose what songs you want when you’re in the menu.
Here are the guidelines

  • Must be original
  • Must be one whole song together in the code, no split-up song parts.
  • Must be YOUR WORK
    I will always credit your work and feature you. :slight_smile:

…well, I don’t have much to say except this is just the demo. Reviews are appreciated, and, well, enjoy smashing Silly enemies! I would like to thank all my friends, outside and inside the forums, for helping me throughout this game’s work. I happily credit me, @TeddyB, and @invalidproject for their songs! There’s nothing like it without your work! And most of all, thank YOU for reading this and testing and playing my game! The Arcade has been lagging too much ever since because of the (very) big code, and this forum thriving and diverse has been giving me hope ever since and reach my goals. Could’ve never done it without you guys.

(P.S. @king_bob, this is for you, my friend.)
Ok, enough me, now. You’ve been waiting for it, here it is.

7 Likes

Pretty fun! The mobile controls are a little janky, but I bet pc feels great.

2 Likes

Nice! I’m interestes to see where you can take what once was just “funi repaint mod”. In case you want to make changes to how the characters work, shape smasher’s code is really easy to modify and i can tell you more if you’re interested.

and that pesky ERROR guy had the AUDACITY to crash my game!! Can you believe it!?

1 Like

heheh… soon, I will have ALL the power to DESTROY SILLY BRAWL!!!

Uhh who was that? Definetly wasn’t me. Tell me more about character code!

1 Like

Creating a new shape: A Guide

Instructions

To create a new shape, follow these steps:

  • 1: Locate these blocks of code:

  • 2: On the On Start block:

  • Find the part with these functions:

  • Duplicate and customise the parameters to your liking.

  • From left to right, the parameters are:
    Image, Name, Health, Speed, Super Description, Basic attack description.

For this example i’ll create a new shape called “Tri but good”

Don’t worry about changing the menu or anything the code does that on its own.

For this example we will disregard the fact that if you make names too big the menu position gets messed up.

Now, you can select it and go into a round. However, it does not have Ammo or Super Charge, and cannot attack. Lets give it ammo.

  • 3: Find these arrays in the On Start block:

  • Add a new value to both of these. The index of the value (aka the position in the array) should correspond to the position of the “DefineShape” function.
  • Change this value to your liking. The blocks should have comments to explain how they work:

For this example i’ll add a new value that will correspond to Tri But Good and set its ammo reaload to 150 and super cooldown to 20.

Now you do have ammo and super charge, but neither of them do anything. Lets give our new shape an attack!

  • 3: Locate the RegularAtacj Function

-Expand the “if-then” statement, copying the previous boolean and increasing the number (lile this)

  • The diference between ShootBullet and ShootBulletWallPattern.

In ShootBullet, all bullets go in a straight line to your crosshair. From left to right, the parameters of the function are:

Angle (In most cases, should always be "angle from playerbody to cursor)

Image

Shooter (either playerbody if its a super or playerweapon if its a basic)

Lifespand (how long it lasts)

Speed

Damage

Ammount of bullets

Delay between bullets (in milliseconds)

In ShootBulletWallPattern, shots are spread out around where you inicially aimed. Parameters are, from left to right:

Angle

Image

Shooter

Lifespan

Speed

Damage

Number of bullets (each spread)

Spacing between bullets

Repetitions (how many times it will spread)

Delay between repetitions

  • Knowing this, duplicate one of these functions to throw on your if statement, changing the parameters to your liking. For this example i did this:

  • 4: Locate the SuperAtacj function:

For this one… oh no the explanation is running out of budget. Ok so for this one you change the if statement like with regular attack and you can make it either call another ShootBullet for an attack or custom code a special effect for your super. The variable names are pretty self explanatory so it shouldnt be confusing, look around if you want to replicate something.

With that out of the way heres the example project with the character we made:

Ok now my time is due

Goodbye

3 Likes

Can you explain further on the SUPER part?

2 Likes

Sorry for the late reply. For supers, you find the “SuperAtacj” function, expand the if statement like you do with the regular attack, then you can add another “ShootBullet” function or program something custom.

2 Likes

Hey @Bilangus I think I found an unexpected error. When I added the code in the super attacj function, the super function is doing nothing, and I think it’s affecting the other characters in the weapon position. Can you please help? TYSM.

Pretty sure you forgot to update the “if body =8” in the last statement to 9

1 Like