Omnimaga

Calculator Community => Casio Calculators => Topic started by: merthsoft on April 17, 2011, 06:38:29 pm

Title: Prizm Game of Life (PrizmLife)
Post by: merthsoft on April 17, 2011, 06:38:29 pm
I've made Conway's Game of Life for the prizm, you can download it at:
http://www.omnimaga.org/index.php?action=downloads;sa=downfile&id=654 (http://www.omnimaga.org/index.php?action=downloads;sa=downfile&id=654)
(Omni upload isn't working right for me right now--or more likely, my computer. I'll get one up here once it starts behaving. :\)
(http://merthsoft.com/gospers.bmp)
(http://merthsoft.com/settings.bmp)
Quote from: read me.txt
To come:
- Better graphics drawing (hopefully being able to use all the colors)
- Better key handling (specifically the arrow keys, and the MENU button)
- Alternative rule sets
- Control over ranom population density
- "Stamps" (pre-programmed patterns)
Title: Re: Prizm Game of Life (PrizmLife)
Post by: Michael_Lee on April 17, 2011, 06:39:44 pm
What does 'SelDead' and 'SelAlive' mean?
Title: Re: Prizm Game of Life (PrizmLife)
Post by: Ashbad on April 17, 2011, 06:42:08 pm
good to see this show up here as well ;)

Like I said elsewhere, this looks great!  However, I forgot to ask what the general FPS is -- any estimates?
Title: Re: Prizm Game of Life (PrizmLife)
Post by: merthsoft on April 17, 2011, 06:45:46 pm
SelDead and SelAlive are the colors of the current selected cell based on its state.

Ashbad: I have no idea, nor anyway to really tell. Fast enough. It's not flickery or anything.
Title: PrizmLife
Post by: merthsoft on April 17, 2011, 06:53:44 pm
PrizmLife



http://www.omnimaga.org/index.php?action=downloads;sa=view;down=654

Conway's Game of Life for the Casio Prizm.
(http://merthsoft.com/gospers.bmp)
(http://merthsoft.com/settings.bmp)
Title: Re: Prizm Game of Life (PrizmLife)
Post by: DJ Omnimaga on April 17, 2011, 06:55:54 pm
Wow this looks nice. I gotta try this on my calc.

I wish someone made an emu that allowed file transfers, so there could be animated screenshots.
Title: Re: Prizm Game of Life (PrizmLife)
Post by: merthsoft on April 17, 2011, 08:06:15 pm
*Youtube bump*
Title: Re: Prizm Game of Life (PrizmLife)
Post by: DJ Omnimaga on April 17, 2011, 08:28:05 pm
Awesome! I was gonna make a video but you beat me to it. It looks really good on-calc. :D

By the way does this update the LCD every pixel or does it store the content to RAM? I wonder if it's hard to do the latter, considering the size of the screen vs the low RAM?
Title: Re: Prizm Game of Life (PrizmLife)
Post by: merthsoft on April 17, 2011, 08:29:25 pm
My understanding is that it stores it in the VRAM, and then pushes it out at each update. A double-buffer type thing.
Title: Re: Prizm Game of Life (PrizmLife)
Post by: DJ Omnimaga on April 17, 2011, 08:38:39 pm
Ah ok. If it was every pixel it would be very slow, but I wasn't sure in your case.
Title: Re: Prizm Game of Life (PrizmLife)
Post by: turiqwalrus on April 17, 2011, 08:42:43 pm
it's very nice.
the toggle button could be a bit less responsive, though :P
Title: Re: Prizm Game of Life (PrizmLife)
Post by: merthsoft on April 17, 2011, 08:43:35 pm
Yeah, there are debouncing issues in general I need to solve with it. The arrow keys repeat a little too quickly.
Title: Re: Prizm Game of Life (PrizmLife)
Post by: DJ Omnimaga on April 17, 2011, 08:57:07 pm
Is it possible to allow multiple keypresses, by the way, or has no direct input routine been discovered yet?

Also it would be nice to be able to change colors by typing in the hex number or having an alternative to arrow keys to jump by greater numbers like 100, so it won't take 10 hours to go from 0000 to 9999, for example. :P
Title: Re: Prizm Game of Life (PrizmLife)
Post by: merthsoft on April 17, 2011, 09:20:53 pm
Typing would be nice, but you can change the colors faster using other keys:
Quote
In the settings menus:
Up/Down : Select option
Left/Right : Decrease/increase value by 0x0001
Plus/Minus : Decrease/increase value by 0x0010
Mult/Div   : Decrease/increase value by 0x0100
Del/AC     : Decrease/increase value by 0x1000
Title: Re: Prizm Game of Life (PrizmLife)
Post by: Darl181 on April 17, 2011, 09:25:08 pm
Don't have a prizm, so I can't really test any of these, but it looks cool ;D

Listening to the youtube vid it sounds a lot like powder toy or something with "different rule sets" and "stamps"
I think it has more GOL elements than any other category :P

Title: Re: Prizm Game of Life (PrizmLife)
Post by: DJ Omnimaga on April 17, 2011, 09:32:15 pm
Ah ok I didn't spot that. Thanks Merth.
Title: Re: Prizm Game of Life (PrizmLife)
Post by: merthsoft on April 19, 2011, 07:15:11 pm
I've added custom rule sets!
Download:
http://www.omnimaga.org/index.php?action=downloads;sa=downfile&id=654 (http://www.omnimaga.org/index.php?action=downloads;sa=downfile&id=654)
Youtube:
Title: Re: Prizm Game of Life (PrizmLife)
Post by: DJ Omnimaga on April 19, 2011, 07:25:08 pm
Great. It's getting better and better. :D

I think I'll edit the front page post to add this Youtube video as a showcase of one of the released Prizm C stuff.
About 3:30 ish, though... any risks of epillepsy with a Prizm? ;D
Title: Re: Prizm Game of Life (PrizmLife)
Post by: merthsoft on April 19, 2011, 07:34:24 pm
Hehe, my camera is pretty bad at the drastic color change. Stupid camera.

:) I'd be honored to have my video on the front page!
Title: Re: Prizm Game of Life (PrizmLife)
Post by: DJ Omnimaga on April 19, 2011, 07:37:01 pm
Well one thing for sure, your camera seems to produce a less blurry image, though. That said, maybe I just didn't look at my videos enough. I just thought mine seemed less clear in general, and also when the screen goes from dark to white, it takes a while before I can see anything with mine.
Title: Re: Prizm Game of Life (PrizmLife)
Post by: TIfanx1999 on April 20, 2011, 02:59:04 am
Very nice! I'm happy to see Prizm programming getting off the ground. I'll give this and your minesweeper a go once i get normal internet service back. :)