Log In  
Log In  

@LJRadio

Follow
Follow

POST YOUR SHAREWARE PIXEL ART HERE
AS LONG AS IT'S MADE IN PICO-8 IT'S A-OK

[33x32]

P#28796 2016-09-19 11:12 ( Edited 2016-09-19 15:12)

Good day, and thank you for looking at this tutorial i put up for the convenience of developers who wish to understand
palt() and how it can be utilized.

the command is used to render colors as transparent when sprites or graphical commands are used. This command also avoids any other edits to the palette that are initiated in the code used.

         

syntax for palt is simple: first parameter chooses color to render transparent or not, second parameter is boolean and decides for the color to be transparent. palt( x , true ) would make the color x not render.

this should be a useful command when using another color as transparency.

I want to show you how sprite packaging [as i call it] can be utilized in pico8, to provide for bigger sprite space for sprites that containt up to 4 colors.

                                                     - Sprite Packaging for 2 color sprites -

The most efficient way i get 4 sprites from one is to stick them together and draw them as if they were different sprites.

-- a should be 1 , 2 , 4 , 8

function sssspr( x , y , w , h , dx , dy , a , c )
for i = 0 , 15 do
--remove unverified colors
if (i/a)%2 < 1 then
palt( i , true ) else
palt( i , false ) end
-- turn verified colors into c
pal( i , flr((i/a)%2)*c )
end
sspr( x , y , w , h , dx , dy )
palt()
pal()
end

I stick colors in a blending program which forces one color to be its next, and this way of combining sprites work very well for me.

           

Cart [#19912#] | 2016-04-19 | No License | Embed
13

And I don't know what else to add but that by using sprite packaging, you can get 512 sprites that have two colors, and 256 for sprites with four.

                                                              - Programs which use this -
                                     TinyTextLS / MinitextLS  https://www.lexaloffle.com/bbs/?tid=3059

ok thanks

                    
P#19916 2016-04-19 04:22 ( Edited 2016-04-19 23:21)

P#19378 2016-03-23 19:10 ( Edited 2016-03-23 23:10)

Cart [#18711#] | 2016-02-07 | No License | Embed
6

                                                   ZOOMZOOMZOOMZOOM

is in beta
some of the commands and keys you can use are
ARROW KEYS = move selection for zoom
Z = zoom
X = colors
TAB = you can change color combinations
D = edit palette

if you want to help me make this art thing
you can help by assisting in

-making the zoom animation actually work
-zoom out functions
--other bugs that drive me insane

(ADDING YOUR OWN SPRITES)
or
(ADDING A WAY TO CHANGE THE SPRITESHEET INGAME)

part of the art saga i suppose.

P#18713 2016-02-07 18:30 ( Edited 2016-02-11 21:42)

Cart [#15867#] | 2015-10-26 | No License | Embed
3

P#15869 2015-10-26 13:52 ( Edited 2015-10-28 16:05)

Cart [#11134#] | 2015-06-05 | No License | Embed
12

WORM

MERIUS ETIS

CONTROLLS = ALL

INSPIRED BY DIARY OF UNSPOKEN TRUTHS, ARTIST, AND I, ROBOT
BY NIALL, MICHAEL, ANd PERSON

OLD

 
Cart [#10815#] | 2015-05-20 | No License | Embed
12

P#10816 2015-05-20 17:22 ( Edited 2017-09-27 20:48)

 
Cart [#10415#] | 2015-05-02 | No License | Embed
13

I wILL NEVER STOP

THE WORSD WILL COMMAND ME TO ISOLATION

z to change

left and right for intensity

P#10416 2015-05-02 00:50 ( Edited 2015-10-22 08:08)

Cart [#10409#] | 2015-05-02 | No License | Embed
6

Making songs and ascii plasma is a dream come true with pico 8 ~~~

P#10410 2015-05-01 21:40 ( Edited 2015-05-02 01:46)

X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-01-21 04:45 | 0.091s | 4194k | Q:80