The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

Nyan cat [pico-8]

Started by Ivoah, August 28, 2015, 04:02:28 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ivoah

While on vacation last week, I came to the realization that there was no nyan cat cart for PICO-8. I set out to make a nyan cat program, and here's the end result:
http://www.lexaloffle.com/bbs/?tid=2290

DJ Omnimaga

I am surprised this wasn't done already lol. This looks nice Ivoah. I am curious if someone could fit in some music in it...

Ivoah

Quote from: DJ Omnimaga on August 28, 2015, 04:07:19 am
I am surprised this wasn't done already lol. This looks nice Ivoah. I am curious if someone could fit in some music in it...


It's just a matter of making the music in the built-in music editor. I haven't because I'm terrible at music stuffs :(

DJ Omnimaga

Aah ok. Of course I didn't do music yet in Pico-8, though, but if the editor is like a sequencer or music score instead of tracker, then I might give it a try at some point.

Unicorn

Cool! That reminds me, I should take a look at PICO - 8



??? ??? ??? ??? ???

DJ Omnimaga

Indeed. I myself need to take a deeper look at it and of course learn its language more. I doubt I'll make large games in it, though.

Snektron

Looks nice ivoah :)
Makes me think if that time i put a 3D nyan cat lwp on the play store... yeah, watch out for copyright infringements :P
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DJ Omnimaga

Wait, is Nyan Cat copyrighted? I know a video was taken down from Youtube once but I don't remember if it was due to copyright issues. Also if you are gonna make a game for Google Play store it might be better to make something more worth it, or perhaps help juju improving Supersonic Ball for Android so it won't run at 10 FPS on a Nexus 5. :P

Streetwalrus

Nice !

Also DJ, pico-8 uses lua. It's a very simple language, I'm sure coming from basic you can pick it up easily.

DJ Omnimaga

I never bothered much with it because I don't really like coding for a locked-down platform like the TI-Nspire on which my Lua programs risk stopping working after every OS update, plus I heard the language had some weird quirks such as some lists starting at 1 instead of 0, but I never dived seriously into it.

Streetwalrus

Yeah in Lua the first element of a list is 1 (like in ti basic iirc). You can actually have 0 or even negative numbers as your list indexes but the whole thing is built on counting from 1. Stupid for a seasoned programmer, friendly for newbies, and at the same time bad for them because they get used to something that doesn't work the same way in any other language.

DJ Omnimaga

Yeah i hate how stuff starts at 1 in basic. I always get confused when I get domain errors.

Strontium

September 07, 2015, 09:37:53 pm #12 Last Edit: September 07, 2015, 09:40:01 pm by Strontium
I've always liked when lists/sets/tables/whatever started at 1. It's makes way more sense to me.

DJ Omnimaga

My issue is that most libs and languages have them start at 0 and in the case of BASIC, there are things starting at 1 and others at 0. It's pretty inconsistent and confusing. I wouldn't mind getting used to lists starting at 1 in Lua if everything else in that language starts at 1, but otherwise it can get confusing fast.

Jim Bauwens

Quote from: Streetwalrus on September 07, 2015, 08:56:14 pmStupid for a seasoned programmer, friendly for newbies, and at the same time bad for them because they get used to something that doesn't work the same way in any other language.


I have no issue with it all and regularly switch between multiple languages. In the end it's just a small detail that you need to take into account. In any case, Lua is just using more natural mathematical syntax (for example, they also use ~ for NOT, # for retrieving the length of lists, etc).

Powered by EzPortal