ooh stringy

in janesondergrond •  2 years ago  (edited)

There we go like "send us a key for a tic-80 and we'll see what it is"

turns out its free

https://tic80.com/

Screenshot from 2023-02-16 13-32-13.png

You think someone would have said something right, but like getting a csdb id without referrals , the scenoids are about as accessible as a linux forum on a hot day, or windows support ... (sadly)
A small amount of RTFM could be expected ofcourse but you know, saying "we need more people to join up" and "maybe we should explore different platforms" probably would work better with some interaction haha

but okay

RTFM is part of our hobbies so thats not So bad, ofcourse

someone could have said something somewhere

Screenshot from 2023-02-16 13-31-59.png

Screenshot from 2023-02-16 13-36-18.png

a bit o question marks like "is it the .tic file size , is it the code size, is it the code with or without sprites and sfx ... and all that)

for instance the 10 line basic game contest states "no machine programs" but it doesnt state wether that refers to poking a routine from basic or if you CAN use kernal SYS calls from c64 basic for instance since they are hardware-embedded

?

rules rules rules, for a wild skitzo collective thats usually too much

o=0
y=0
function TIC()
    cls(13)
    for ly=0,15 do
    for l=0,240 do
    pix (l,y+ly+o,ly)
    end;end
    o=o+1
    if o==135 then o=0 end
end
rtxcat@Tyrnannoght:/media/rtxcat/vatj32$ wc -c tic 128 tic rtxcat@Tyrnannoght:/media/rtxcat/vatj32$

not a compo winner (lol) but 128 bytes nonetheless and here "LUA" ... got 5 lines of lua down back with gameguru but thats about it - it looks cool enough and plenty of choice the question is what has the shortest syntax probably

from the looks of it lua probably wont be with the "end" after everything 3 bytes at a time + a newline (or semicolon) a byte is a byte

so

thats nothing optimized but nothing to prove either - and also the editor says 128 but wc -c calls that 129 (where we are used to checking ourselves with wc -c (for agk basic, php .... everything) so 128 is 127 in editor

what gives ???

(i know you people break on your little rules lol and its understandable to a certain point, i bet most like it but personally we think "10 lines of basic" would be enough there for one thing but HEY

its YOUR stuff so YOU rule the rocks

if we make rich on crypto

our stuff will be ours too (so when will that happen huh)

From the first look of it we can see why its popular (its FREE!)

it compiles to a standalone executable OR html (like AGK would)

https://res.cloudinary.com/ddxo40bkm/raw/upload/v1676553812/test

the linux executable (now YOU can have a rasterbar moving on your screen !)

ofcourse as with all things : the first (or fifth? forgot) rule of Janeclub : if you dont trust it, dont click it - ... it would ofcourse speak somewhat bad for us if we link virus infested applications with our names to it

but hey ... nothing to prove :) ... more stuff to push on the stack lol tho we probably dump lua for something that can be used otherwhere , maybe wasm , whatever has the smallest syntax i suppose b/c i doubt we be doing much games in it (wa have #stuff already you see) , it might ofcourse itch but

even if we probably wont release anyway

so what gives ?

interesting but OOh stringy ! and while we were doing other stuff, AND should get some other stuff done today like trying to fix-solder a pico-psu

...
yea theres more to explore, it wouldnt use y unless it was initialized (hate that strict stuff) and such - im sure we'll find out somewhere between now and worlds end

but HEY

its #free, check it out

now YOU can code without chatGPT !


o well QETBE

quod erat to be expected : 30 minutes later + unpacking groceries

Screenshot from 2023-02-16 14-57-44.png

Screenshot from 2023-02-16 14-56-27.png

javascript eats 8 bytes less but sadly theres no "default js" option to be seen anywhere (which doesnt mean its not there maybe we didnt see it) so the compiler directive takes up 12 bytes by itself

at 128b ... well its still 8 bytes left

// script:js
var o=y=0
function TIC(){cls(o)
for(c=0;c<15;c++){for(i=0;i<240;i++){pix(i,y+c+o,c)}}
o++
if(o==135){o=0}}
rtxcat@Tyrnannoght:/media/rtxcat/vatj32$ wc -c tic 120 tic rtxcat@Tyrnannoght:/media/rtxcat/vatj32$

so wc -c needs the final newline while the tic80 editor doesnt

going for 256b js will definitely be > lua

and thus , ooh stringy, the days gone , guess the solder is tomorrow :)

YAY !

feest

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!