Background extension!

YamJam-dev/pxt-background-extension: A simple and unperfected extension that adds a couple blocks to spice up the background of your game.

This extension adds 5 blocks, all of them really simple and relatively easy to understand.

  1. Random BG color. (self explanatory)
  2. Sprite background. (creates a background of any sprite)
  3. Run background animation. (runs an animation as the background)
  4. Screen split in half. (splits the background into 2 colors)
  5. Screen split quarter. (splits the background into 4 colors)

This is also my first extension! As some people might know, but this extension is also far from perfect, as the sprite background block only lets you use gallery sprites (:frowning: idk why) BUT the extension is still ABSOLUTLEY FIRE :fire:

7 Likes

I want to use this with the game I’ve been working on (you know which one…). I don’t know if it will fit the theme though.

1 Like

If you are the first use my first extension, thank you! If not, I’m coming for you…

[details=]
I’m joking now don’t make me disappea-
[/details]

Which one I don’t even know who u are

Why did you forget the hide deatil part

huh what
oh.
why did that happen?

1 Like

You need a string after the = in details; you typed this:
[details=]
When you should have said
[details= ]
This has two spaces so the details thinks it has text (one space won’t work).
So it will appear like this:

Working now

Instead of this:

[details=]
Not working
[/details]

thanks @EugeneRedwing8

Added 2 new blocks and shortened the background animation block name.

sorry for all the updates, I really wanted to perfect it even though I already commited… wait…
5 CHANGES IN A WEEK. :sob: