Screen Effects Extension (Development, Q&A, Feature Requests)

I am developing a screen effects extension, that allows for all sorts of screen effects like zooming in the screen, as in pxt-zoom (ZOOMING OUT WILL MAKE THE BORDERS OF THE SCREEN BLACK), pixelating the screen, as in pxt-blur, and a new feature which is a static effect which makes random pixels of colors that are on-screen appear on the screen. These are all of the effects currently developed, and more are coming soon. Every effect I added has hardware support, and this is required for each new one I add.

To test this extension, you can use the “kiwiphoenix364/pxt-beta-screen-effects” extension, but THIS IS IN ITS DEVELOPMENT PHASE STILL, SO EXPECT FREQUENT UPDATES THAT MAY BREAK GAMES WITH THE EXTENSION. PLEASE USE THIS EXTENSION FOR TESTING ONLY AND NOT ON GAMES YOU DON’T WANT TO BREAK.

This topic will be where I tell what I add in updates, answer questions about the extension, and take feature requests (not every feature request will be implemented, but will be considered).

4 Likes

can you do like any color not just black?

1 Like

@Opisticks sorry for not replying sooner, but I will likely add the feature to have an image as the “background” instead of black in the next beta release!

I’ve updated the pxt-beta-screen-effects extension several times! These updates mostly focus on the ability to manually create of screen effects in blocks, adding features previously not included in blocks, as well as adding @Opisticks 's suggestion! Feel free to test these features in kiwiphoenix364/pxt-beta-screen-effects, as 0.0.4 is the current release (as of this post), and all the features are available for testing, but may break when updates happen. I will probably add blitImage and blitRow to blocks in the future! This extension is already my biggest extension yet (and its goal is to be incredibly useful, especially for games that use advanced cinematic/graphical effects, and to almost be a must-have for those games), and I am still open to feature requests and questions about this extension!
0.0.2:
This update includes @Opisticks 's suggestion (instead of a solid color, however, it uses an image), and a new “advanced” section. This section adds the ability to create a renderable (also available in arcade-sprite-util) and other features to blocks that were previously inaccessible including making buffers, getRows, and setRows! There is a bug in this version where the images for getRows and setRows showed as an image selector instead of a block where you could put a variable into it. Therefore, in this version, getRows and setRows are only usable in TS (where they are natively usable already, and these functions are therfore useless.) Block order may have been changed (I don’t remember.)
0.0.3:
This update fixes the bug mentioned in 0.0.2, so now for getRows and setRows the image section in the block is draggable and able to be set as a variable. This now allows for setting a row in one image to a row in another image (or place in the same image, in blocks. Block order may have been changed (I don’t remember.)
0.0.4:
This adds blocks for getting and setting individual values in a buffer! This can be especially useful for drawing custom images to the screen quickly! Block order has been changed, to be better and easier to use, with the probably more used (by most people) blocks near the top!

1 Like

THank you for considering my Suggestion