Log In  
Follow
biteco8
[ :: Read More :: ]

I am doing a little project here and decided to show how the results are going.
The project will be called pico 4 and will run on pico 8. It will have an audio editor (16 audios, eaach one with a length of 8 notes, 16 notes and 16 volumes), a sprite editor (4 colors palette, 16 sprites, 4x4 pixels and a 32x32 screen), a map editor (32x32 tiles) and a code editor (256 tokens, each one fitting on exactly 1 byte). In the end you get 961 bytes in a cartridge and with a little 63 bytes of save (mainly for highscores) it results in 1 kilo byte cartidges.
The objective is to do a mini-console where you can do a minigame in les than 2 hours.
Will be possible to use it in any pico 8 port using of virtual keyboards and some type of external saving (thinking in some type of special qr code or something).
And every editor will be written on the bto language (successive letters of asm) the language I am ending now.
Here the first interpreter. (You need to put the code inside the cart code (last lines inside quotes) 'cause I didn't end the code editor yet lol)

Cart #pico4-5 | 2022-10-12 | Code ▽ | Embed ▽ | No License
5

I will keep updating here.

BTO DOUCMENTATION

Sintax:

    Declaration:
        a = sentence
    Sentences:
        Are like values.
        A number is a sentence, a id is a sentence, a char is a sentence, a function literal  is a sentence and a "function call" is a sentence.
        Sentences can include other sentences inside of them using parenthesis
        Every sentence ends in a;
        Characters are initialized with $c where c is the char you want
        Function literals are code included inside of {}
        Example sentences:
             $a
             $(
             $\e (empty char)
             print 0 0 $a
             sub var 1 (execute the code)
             {sub a 2} (store the code on a string)
             if c {print 0 0 a}

Functions:
    if cond code
    equal a b -> true if both are equal false if not
    print x y str1 str2 str3
    sub a b
    add a b
    str c1 c2 c3 c4... -> gets a lot of characters and put them together in a single string
    strcat s1 s2 -> cats two strings (similar to str)
    strsub s start end -> same as pico 8 but zero idexed
    strlen s
    btn b
    key -> returns the first key pressed on the virtual keyboard on the key queue
    updt fn -> sets the update callback

Built in variables:
    true = 1
    false = 0
    (x emoji) and (o emoji) = same as pico lua


Examples:

    if 0 {print 0 0 2;};
        Doesn't print nothing
    a = 1; if a {print 0 0 (sub a 2;);};
        Prints -1
    print 0 0 (str $L $o $v $e;);
       Prints Love
    if (btn X;) { print 0 0 (key;);};
       If is pressing X, prints the last typed char on the virtual keyboard

P#118911 2022-10-11 18:19 ( Edited 2022-10-12 22:06)

[ :: Read More :: ]

Today I was playing with string management and thought: "If strings now work kinda like tables, maybe pairs() can work with them", but seems that it can't...

code:
for p, i in pairs(code) do
.
.
.

Note: I am on education edition

P#118909 2022-10-11 17:39

[ :: Read More :: ]

Cart #proceduralworlds-3 | 2022-09-21 | Code ▽ | Embed ▽ | No License
3

I'm making a game with procedural world genration and decided to post the generator here. If you have some suggestion, please tell me xD.

P#117724 2022-09-20 20:01 ( Edited 2022-09-21 01:20)

[ :: Read More :: ]

Playing terra on the bus, I discovered there's no apparent way to copy something on bbs in the mobile. It would be very cool if maybe we had a button to copy the message put on the copy area. It can help to save your progress and etc. The inverse is also a needed thing, pasting into the game.

P#116933 2022-09-05 15:10 ( Edited 2022-09-05 15:33)

[ :: Read More :: ]

Hi, I think the tittle is self explanatory. I always had to fight against that lua lack. I came from c, so I am very accustomed to use the inline conditions. And it can be very useful for shrink code, like with tweetcarts. I know, there are some approaches in lua to solve this, but an official and explicit way would be very good.

P#116417 2022-08-28 19:59

[ :: Read More :: ]

Cart #butter_rooster-13 | 2022-08-28 | Code ▽ | Embed ▽ | No License
5

A game with a fighting rooster with butter in the foot.

Select a city on the menu and try to beat it's residents.

You need to get the rock, get impulse and shoot it on the zombie roosters.

Kill all the enemies to go to next wave.

Beat all the waves to defeat the selected city

CONTROLS

GET THE ROCK -> JUST COLLIDE WITH IT
SHOOT THE ROCK -> X
MOVE YOUR ROOSTER -> ARROW KEYS

1.0

  • First official launch

1.1

  • New maps for Grooster (grass and roooster, get it?)

1.2

  • Menu added
  • Outlines added
  • Complete reform on graphics

1.3

  • New cities added
  • New tiles added

1.4

  • Cities completely setted up
    Game in constant work and various things can change
P#115945 2022-08-17 16:47 ( Edited 2022-08-29 19:13)