You are doing some cool stuff!!! I wish I knew how to make extensions, I got stuck passing variables and sprites into the function…
if you want I can try to help you make one for example most of what you can do in a extension you can do by creating functions in blocks if that helps
also some of my first extensions I used a AI to help and I have learned a little so I don’t know if that helps
hey I have a question about my screen brightness extension is there any way to get the color pallet because it works but if you change the color pallet it resets the color pallet to the default colors and I don’t know how to fix it
hey I have a question so for anyone that checked out my extensions does anyone think they are useful because I’ve been wanting one of my extensions to be wanted to be added to make it more fun or fix a issue
I know that
hex`__pallet`
contains a buffer of the pallet normally, but I haven’t tested if it changes when you change the pallet in use or if it’s just the default pallet. I have a feeling that it’s just the default one (the one you change in the assets tab) but idk
so this is like a get pallet command
also where would this go
I just tried doing let dc = hex_pallet but it errors
I tried to make a ui extension first, just simply drawing to the screen at z index. I know that was already made, but there isn’t good enough documentation on how to make an extension.
You need 2 underscores, and I also spelled it wrong
It should be
hex`__palette`
Edit to say that it only contains the default palette and does not change when you change the palette using the image.setPalette() function. Obviously, the new palette must be saved somewhere, so I’m searching for it, but idk if I’ll find it since setPalette points to a c++ function.
hey about duck hunt i have one of the game boys that has a motion sensor and what if you had a device that move it and you shoot a nerf dart at it sure its not the best it just poped into my head
yes but where do I place this
but does this get the color pallete
This is a buffer containing the color palette, and it does change when you change the color palette in the assets tab. It doesn’t change when you change the palette using the color extension, so it wouldn’t work with the color extension, but I think that’s fine. Looking at your repo, I think you are using it correctly, but idk without actually going deeper than just skimming it.
well it seems to work with my extension I have a function that resets the color palette like let dc = hex 8888 99999 7777 and I replaced it with let dc = hex__palette
because originally it just set the colors in one of my projects with a changed color palette back to the original colors an I new why and that’s why I asked you and it seems to work find now thank you
neverstopthecoder/buttons here is yet another ui extension for buttons
what about crafting extension