CodeWalrus

Development => PC, Mac & Vintage Computers => Topic started by: Ivoah on August 28, 2015, 04:02:28 AM

Title: Nyan cat [pico-8]
Post by: Ivoah on August 28, 2015, 04:02:28 AM
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
Title: Re: Nyan cat
Post by: Dream of 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...
Title: Re: Nyan cat
Post by: Ivoah on August 28, 2015, 04:09:50 AM
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 :(
Title: Re: Nyan cat
Post by: Dream of Omnimaga on August 28, 2015, 04:13:16 AM
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.
Title: Re: Nyan cat
Post by: Unicorn on September 06, 2015, 08:11:30 AM
Cool! That reminds me, I should take a look at PICO - 8
Title: Re: Nyan cat
Post by: Dream of Omnimaga on September 06, 2015, 04:07:42 PM
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.
Title: Re: Nyan cat [pico-8]
Post by: Snektron on September 06, 2015, 08:55:46 PM
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
Title: Re: Nyan cat
Post by: Dream of Omnimaga on September 07, 2015, 05:10:07 AM
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
Title: Re: Nyan cat
Post by: novenary on September 07, 2015, 06:32:31 PM
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.
Title: Re: Nyan cat
Post by: Dream of Omnimaga on September 07, 2015, 07:37:59 PM
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.
Title: Re: Nyan cat
Post by: novenary on September 07, 2015, 08:56:14 PM
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.
Title: Re: Nyan cat
Post by: Dream of Omnimaga on September 07, 2015, 09:32:51 PM
Yeah i hate how stuff starts at 1 in basic. I always get confused when I get domain errors.
Title: Re: Nyan cat [pico-8]
Post by: Strontium on September 07, 2015, 09:37:53 PM
I've always liked when lists/sets/tables/whatever started at 1. It's makes way more sense to me.
Title: Re: Nyan cat
Post by: Dream of Omnimaga on September 08, 2015, 06:18:54 AM
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.
Title: Re: Nyan cat
Post by: Jim Bauwens on September 08, 2015, 09:50:23 AM
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).
Title: Re: Nyan cat
Post by: Dream of Omnimaga on September 10, 2015, 06:12:00 AM
That said I guess it depends of people's ability to get used to small changes. People with asperger syndrome, for example, have troubles adapting to even small changes (eg the lack of a menu bar in Chrome can take them 6 years to adapt to it if they are old enough to have used standard Windows UI's for a long while). But I personally would be fine with it. It's just a matter of learning Lua myself. I never bothered because I am not interested in programming for the TI-Nspire (due to being hard to keep games compatible across every Ndlessable OS and because of TI's actions). But now that PICO-8 uses it, I guess if I have time and motivation, then why not?
Title: Re: Nyan cat
Post by: Yuki on September 27, 2015, 04:32:42 AM
I added music!
Title: Re: Nyan cat
Post by: Ivoah on September 27, 2015, 04:33:16 AM
Quote from: Juju on September 27, 2015, 04:32:42 AM
I added music!

Thanks Juju! It sounds great!
Title: Re: Nyan cat
Post by: Dream of Omnimaga on September 27, 2015, 04:39:53 AM
Ooh nice! I'll give it a try soon. :)

Also be sure to add the card to the first post :)


EDIT OMG that is awesome @Ivoah O.O,
Title: Re: Nyan cat
Post by: novenary on September 27, 2015, 11:23:40 AM
Quote from: Juju on September 27, 2015, 04:32:42 AM
I added music!
How am I supposed to play this ? I don't see anywhere on the site an option to upload a cartridge (unless I need to create an account), and I don't own the game.
Title: Re: Nyan cat
Post by: Yuki on September 27, 2015, 03:42:58 PM
Quote from: Streetwalrus on September 27, 2015, 11:23:40 AM
Quote from: Juju on September 27, 2015, 04:32:42 AM
I added music!
How am I supposed to play this ? I don't see anywhere on the site an option to upload a cartridge (unless I need to create an account), and I don't own the game.
Yeah, you probably need a copy of the game.
Title: Re: Nyan cat
Post by: novenary on September 27, 2015, 03:45:32 PM
Eh, too bad. I suppose you could upload it to the site like other people do ?
Title: Re: Nyan cat
Post by: Yuki on September 27, 2015, 03:46:23 PM
If I find how, yes.
Title: Re: Nyan cat
Post by: Dream of Omnimaga on September 27, 2015, 05:33:23 PM
Yeah you either need a copy of PICO-8 or the cart author to upload his game to Lexaloffle website.
Title: Re: Nyan cat
Post by: Ivoah on September 28, 2015, 07:30:45 PM
Quote from: Juju on September 27, 2015, 03:46:23 PM
If I find how, yes.

Want me to just append it to my initial post?
Title: Re: Nyan cat
Post by: Yuki on September 28, 2015, 07:36:15 PM
Eh, sure.
Title: Re: Nyan cat
Post by: Dream of Omnimaga on September 29, 2015, 03:59:54 PM
Does PICO-8's online player allows embedding it?