Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: AngelFish on December 03, 2010, 12:10:56 am

Title: Powder Game
Post by: AngelFish on December 03, 2010, 12:10:56 am
This thread will be for the development of my port of Powder Game to the 83+ series. For those who are not familiar with it, the original game can be found here (http://dan-ball.jp/en/javagame/dust/).

Here is the GUI and the basic method of drawing Blocks.

(http://img.removedfromgame.com/imgs/Powder.gif)

This is how fast the interface is without being in Full mode.

Title: Re: Powder Game
Post by: Michael_Lee on December 03, 2010, 12:18:07 am
Nice, but what do the letters on the right stand for?
Title: Re: Powder Game
Post by: calcdude84se on December 03, 2010, 12:18:35 am
Looks cool! Good luck implementing it; there's a lot to do. :)
Michael: probably just for testing
Title: Re: Powder Game
Post by: DJ Omnimaga on December 03, 2010, 12:18:42 am
Oh great! Is this in ASM using Doors CS routines? I notice the mouse cursor is similar. Can't wait to see the powder and other substances in action. :)
Title: Re: Powder Game
Post by: calcdude84se on December 03, 2010, 12:19:47 am
I always seem to assume Axe for new projects :P
However, the cursor does look similar. Which is it, Qwerty?
Title: Re: Powder Game
Post by: DJ Omnimaga on December 03, 2010, 12:21:09 am
Maybe Kerm updated Doors mouse routine to be usable externally in Axe programs?
Title: Re: Powder Game
Post by: AngelFish on December 03, 2010, 12:23:52 am
This is in Axe. The cursor routine was written independently (although I stole the sprite itself from Doors because it's better than anything I've managed to make  :P).

@Michael: The letters were for testing. The numbers describe outputs of the item selection routine. I've already replaced them with legible contractions in the development version. This wasn't taken with the most recent copy.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 03, 2010, 12:42:22 am
Ah, I see then :D
Title: Re: Powder Game
Post by: shmibs on December 03, 2010, 01:11:49 am
Quote from: qwerty
For those who are not familiar with it, the original game can be found here.
i prefer this one http://powdertoy.co.uk/ (http://powdertoy.co.uk/)

looking good so far. have fun implementing physics!
Title: Re: Powder Game
Post by: DJ Omnimaga on December 03, 2010, 01:48:59 am
Quote from: qwerty
For those who are not familiar with it, the original game can be found here.
i prefer this one http://powdertoy.co.uk/ (http://powdertoy.co.uk/)

looking good so far. have fun implementing physics!
Wow that one is even cooler than the Java one, thanks for the link! O.O
Title: Re: Powder Game
Post by: Darl181 on December 03, 2010, 02:00:23 am
/me :love: s it

If and when this is done, I can spread powder toy around my Algebra II class as well as my programming class!

About the desktop one.  Anybody try any of the online thingys yet?
Title: Re: Powder Game
Post by: AngelFish on December 03, 2010, 02:26:51 am
Eureka!  ;D

Also, I lost The Game because of  :hyper:. Thank you DJ.

EDIT: :banghead: Sand physics

It's working, but only on startup.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 03, 2010, 09:42:11 am
Sorry to hear D:, I hope you can get it fixed soon. What type of powder/gas/liquid/solid will there be?
Title: Re: Powder Game
Post by: Yeong on December 03, 2010, 10:29:21 am
please include nitro in there..
I wanna see some stuffs blowing up. ;D
Title: Re: Powder Game
Post by: AngelFish on December 03, 2010, 01:34:19 pm
Nitro is uncertain at this point. I think I have a way to do it, but it would take a lot of memory and I'm not sure that I'll have enough allocated space without making another large Appvar for it.

@DJ: The menu currently includes Water, Sand, Metal, Spark, Oil, and Fire. At least I think it does. I'm having trouble reading it because of a rather odd/completely unexpected glitch in the water routine. It what's preventing me from posting a screenshot today.
Title: Re: Powder Game
Post by: Munchor on December 03, 2010, 02:16:00 pm
Oh my god! The original java game is epic! Love it, it's surprisingly awesome!

Good Luck of making a calculator version of it.

I would expect this to be an Asm game but it seems like it is Axe :)
Title: Re: Powder Game
Post by: AngelFish on December 03, 2010, 02:35:42 pm
The program is rather beyond my skill level in ASM. Parts of it will be written in Assembly though.
Title: Re: Powder Game
Post by: Munchor on December 03, 2010, 02:37:12 pm
The program is rather beyond my skill level in ASM. Parts of it will be written in Assembly though.

:O A multiple file program, nice! I'm still playing the java version :P
Title: Re: Powder Game
Post by: AngelFish on December 03, 2010, 02:38:55 pm
There will be an actual program with a few elements and if I still feel like writing it, I will convert it to an app with more elements. Each program will be fully functional though.
Title: Re: Powder Game
Post by: ztrumpet on December 03, 2010, 06:43:45 pm
This looks great!  Nice job so far, and good luck. ;D
Title: Re: Powder Game
Post by: meishe91 on December 03, 2010, 07:32:28 pm
Wow that looks awesome. Didn't Builder talk about making something like this (with his Zedd Physics engine?)? Or am I remembering wrong?

Anywho, looks great :) Can't wait to see how this turns out.
Title: Re: Powder Game
Post by: AngelFish on December 03, 2010, 07:50:48 pm
Builder did talk about making a sandbox program with Zedd. The difference is that Zedd can only accommodate 48 objects. I've allocated space for 265 as of now.
Title: Re: Powder Game
Post by: Builderboy on December 03, 2010, 08:01:55 pm
And when i said sandbox, i didn't mean with sand :P I just meant an open world where you were free to use Zedd's physics as you wanted, with a handy interface
Title: Re: Powder Game
Post by: AngelFish on December 03, 2010, 08:04:02 pm
I know. A physics simulation game. How's it coming along, anyways?
Title: Re: Powder Game
Post by: meishe91 on December 03, 2010, 08:46:32 pm
Oh ok, then I just misremembered then. My bad :P
Title: Re: Powder Game
Post by: DJ Omnimaga on December 03, 2010, 11:17:59 pm
Nitro is uncertain at this point. I think I have a way to do it, but it would take a lot of memory and I'm not sure that I'll have enough allocated space without making another large Appvar for it.

@DJ: The menu currently includes Water, Sand, Metal, Spark, Oil, and Fire. At least I think it does. I'm having trouble reading it because of a rather odd/completely unexpected glitch in the water routine. It what's preventing me from posting a screenshot today.
I see, well good luck! I can't wait to see those in action. ;D
I know. A physics simulation game. How's it coming along, anyways?
I'M also wondering that, as well as for Portal and Serenity, since I haven't seen any new progress in ages. :(
Title: Re: Powder Game
Post by: AngelFish on December 04, 2010, 12:20:42 am
I see, well good luck! I can't wait to see those in action. ;D

It's kind of an odd bug. I could probably leave it as an element.

What happens is that the water doesn't fully rest on the block, so the water eats through all of the menus and cascades back down. Apparently I made Acid on accident :P
Title: Re: Powder Game
Post by: DJ Omnimaga on December 04, 2010, 12:34:26 am
Haha you should maybe leave it like that. ;D
Title: Re: Powder Game
Post by: shmibs on December 04, 2010, 01:13:31 am
/\definitely =D

just leave that in and then recode water with the bug fixed.
Title: Re: Powder Game
Post by: AngelFish on December 04, 2010, 01:31:56 am
Okay, I'll make it the "secret element," where you have to click on a certain part of the screen to select it.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 04, 2010, 01:40:14 am
Would it be like at the bottom of the list, but there would be nothing displayed there? (Kinda like how we selected 1000% zoom in Paint)
Title: Re: Powder Game
Post by: AngelFish on December 04, 2010, 02:09:59 am
I found a menu glitch during debugging where if the boundary conditions aren't properly set, clicking on a certain part of the screen won't draw the selection box but it will register a selection event. I fixed it, but if it's useful...  ;D

Title: Re: Powder Game
Post by: Munchor on December 04, 2010, 07:57:57 am
I found a menu glitch during debugging where if the boundary conditions aren't properly set, clicking on a certain part of the screen won't draw the selection box but it will register a selection event. I fixed it, but if it's useful...  ;D


What are the buttons on the left of the screen in your screenie?
Title: Re: Powder Game
Post by: DJ Omnimaga on December 04, 2010, 04:28:35 pm
I see, hopefully you can turn the bug into feature without too much issues. :P
Title: Re: Powder Game
Post by: Ashbad on December 04, 2010, 04:30:19 pm
Me too, it's cool you are trying to make the powder game, I love that game a lot!

good luck~!
Title: Re: Powder Game
Post by: qazz42 on December 04, 2010, 04:30:56 pm
Are you using DCS libs?
Title: Re: Powder Game
Post by: DJ Omnimaga on December 04, 2010, 04:31:39 pm
Axe
Title: Re: Powder Game
Post by: Ashbad on December 04, 2010, 04:31:46 pm
I think it's in axe actually, the cursor he stole just to make it look like it was similar to the comp version.

EDIT: ninja'd by a one word response, that's like, totally unfair girlfriend (valley girl accent is creepy)  ._.
Title: Re: Powder Game
Post by: Munchor on December 04, 2010, 04:56:11 pm
I think it's in axe actually, the cursor he stole just to make it look like it was similar to the comp version.

EDIT: ninja'd by a one word response, that's like, totally unfair girlfriend (valley girl accent is creepy)  ._.

Yes, DoorsCS sprite was used but it is Axe. By the way, it's a nice cursor.
Title: Re: Powder Game
Post by: Builderboy on December 04, 2010, 05:25:32 pm
How are you differentiating between all of the different elements with so few colors possible on the calc?
Title: Re: Powder Game
Post by: Ashbad on December 04, 2010, 05:26:49 pm
^ well, I guess he could use grayscale, but then, it's hard to show more than 3...
Title: Re: Powder Game
Post by: AngelFish on December 04, 2010, 05:47:33 pm
I'm planning 4 lvl greyscale and hoping that the users have some imagination  :P

The Prizm port should be better.

Also, I'm a fan of mouse cursors. They're so easy to use. But it'd suck if that's the one thing people like about the game.
Title: Re: Powder Game
Post by: Munchor on December 04, 2010, 05:48:22 pm
I'm planning 4 lvl greyscale and hoping that the users have some imagination  :P

The Prizm port should be better.

Also, I'm a fan of mouse cursors. They're so easy to use. But it'd suck if that's the one thing people like about the game.

Qwerty, do you mind if I use your cursor engine in a program I'm making?

I need to borrow all the cursor's code :S
Title: Re: Powder Game
Post by: AngelFish on December 04, 2010, 06:16:03 pm
Sure, you can have it. Here's the code for the monochrome version. If you're doing a greyscale program, you'll have to use Copy( in place of the StorePic and Recallpic commands.
Code: [Select]
:.This is the sprite
:[80C0A09088D0A818]→Pic1
:While 1
:.Store the screen to the back buffer
:StorePic
:.Display Sprite
:Pt-On(X,Y,Pic1
:DispGraph
:.Erase Sprite
:Pt-Change(X,Y,Pic1
:.Replace the part of the image erased by the Sprite
:RecallPic
:.I used conditionals because the boundary conditions are important
:.Replace with X+getKey(3)-getKey(2)→X if they aren't important.
:If getKey(3) and (X<92)
:X+1→X
:End
:If getKey(55) and (X<72)
:Pt-On(X,Y,Pic1+8
:End
:If getKey(2) and (X>2)
:X-1→X
:End
:If getKey(1) and (Y<60)
:Y+1→Y
:End
:If getKey(4) and (Y>2)
:Y-1→Y
:End
:End
Title: Re: Powder Game
Post by: Munchor on December 04, 2010, 06:16:54 pm
Sure, you can have it. Here's the monochrome code:

Code: [Select]
:.This is the sprite
:[80C0A09088D0A818]→Pic1
:While 1
:.Store the screen to the back buffer
:StorePic
:.Display Sprite
:Pt-On(X,Y,Pic1
:DispGraph
:.Erase Sprite
:Pt-Change(X,Y,Pic1
:.Replace the part of the image erased by the Sprite
:RecallPic
:.I used conditionals because the boundary conditions are important
:.Replace with X+getKey(3)-getKey(2)→X if they aren't important.
:If getKey(3) and (X<92)
:X+1→X
:End
:If getKey(55) and (X<72)
:Pt-On(X,Y,Pic1+8
:End
:If getKey(2) and (X>2)
:X-1→X
:End
:If getKey(1) and (Y<60)
:Y+1→Y
:End
:If getKey(4) and (Y>2)
:Y-1→Y
:End

Want me to credit you?
Title: Re: Powder Game
Post by: AngelFish on December 04, 2010, 06:19:18 pm
You can if you want. I don't really mind either way.
Title: Re: Powder Game
Post by: Munchor on December 04, 2010, 06:53:46 pm
You can if you want. I don't really mind either way.

Then, that will depend on how important that is for the game :S
Title: Re: Powder Game
Post by: AngelFish on December 04, 2010, 07:01:04 pm
What's the game?
Title: Re: Powder Game
Post by: Builderboy on December 04, 2010, 07:01:41 pm
He won't tell anybody :P
Title: Re: Powder Game
Post by: Munchor on December 04, 2010, 07:01:44 pm
What's the game?


Surprise stuff, it uses a mouse, though. I'll change the sprite since it is really not a hand :S
Title: Re: Powder Game
Post by: AngelFish on December 04, 2010, 07:05:06 pm
You could do what computer OSes do and attach a second sprite (the hand) that will replace the first one on some condition.
Title: Re: Powder Game
Post by: Builderboy on December 04, 2010, 07:07:46 pm
You could use a cursor of my own design which is small, minimalistic, but i think it looks very sleek ^^
Title: Re: Powder Game
Post by: Munchor on December 04, 2010, 07:11:49 pm
You could use a cursor of my own design which is small, minimalistic, but i think it looks very sleek ^^

I'm gonna do a cross with a center for precision. How do I change the point of the sprite that hits things?
Title: Re: Powder Game
Post by: Builderboy on December 04, 2010, 07:12:41 pm
What do you mean by the point of the sprite?
Title: Re: Powder Game
Post by: Munchor on December 04, 2010, 07:13:22 pm
What do you mean by the point of the sprite?

In Doors's sprite the point that selects things is the upper left one, in a cross, it would be the center :S
Title: Re: Powder Game
Post by: Builderboy on December 04, 2010, 07:15:41 pm
Ah i see, well the best way i would do that is just make it so that in your mouse sprite, the point of the mouse is at the center of the sprite.  That way when you switch to the cross, you don't have to mess with any offsets
Title: Re: Powder Game
Post by: Munchor on December 04, 2010, 07:16:27 pm
Ah i see, well the best way i would do that is just make it so that in your mouse sprite, the point of the mouse is at the center of the sprite.  That way when you switch to the cross, you don't have to mess with any offsets

I need to make a thread concerning Mouse stuff.
Title: Re: Powder Game
Post by: AngelFish on December 04, 2010, 10:41:55 pm
Nested statements

 :banghead:

I rewrote the entire water routine using Builderboy's fluid program and I can't figure out how these blocks...

EDIT: Got it.

EDIT: RAM clear.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 05, 2010, 02:09:12 am
What's the game?


Surprise stuff
Starcraft? ;D
Nested statements

 :banghead:

I rewrote the entire water routine using Builderboy's fluid program and I can't figure out how these blocks...

EDIT: Got it.

EDIT: RAM clear.
I hope you had a backup <_<
Title: Re: Powder Game
Post by: AngelFish on December 05, 2010, 02:31:54 am
I archive my code whenever I test a potentially dangerous routine ;)
Title: Re: Powder Game
Post by: DJ Omnimaga on December 05, 2010, 03:01:18 am
Good to hear. Backups on the computer are also good, in case you accidentally run a B_call that deals with archive or something.
Title: Re: Powder Game
Post by: Builderboy on December 05, 2010, 03:04:33 am
If you need any help give me a pm :) I know my way around fluid simulators ;D
Title: Re: Powder Game
Post by: AngelFish on December 05, 2010, 03:56:01 am
Of all the idiotic mistakes I could have made... :P
Title: Re: Powder Game
Post by: DJ Omnimaga on December 05, 2010, 04:33:26 am
Of all the idiotic mistakes I could have made... :P
What do you mean? ???
Title: Re: Powder Game
Post by: AngelFish on December 05, 2010, 04:47:12 am
I was throwing the calculator into a infinite loop and I couldn't figure out why. As it turns out, I had accidentally deleted an End statement from my cursor routine and placed  it at another location in the program. ::)
Title: Re: Powder Game
Post by: DJ Omnimaga on December 05, 2010, 04:58:11 am
Ouch, that happens I guess. In my case, most errors I do are inverted boolean symbols or variable conflicts.
Title: Re: Powder Game
Post by: Munchor on December 05, 2010, 02:46:55 pm
I was throwing the calculator into a infinite loop and I couldn't figure out why. As it turns out, I had accidentally deleted an End statement from my cursor routine and placed  it at another location in the program. ::)

The problem with that is that you lose files (84+ Keypad) :(
Title: Re: Powder Game
Post by: DJ Omnimaga on December 05, 2010, 08:10:01 pm
I was throwing the calculator into a infinite loop and I couldn't figure out why. As it turns out, I had accidentally deleted an End statement from my cursor routine and placed  it at another location in the program. ::)

The problem with that is that you lose files (84+ Keypad) :(
On the 84+ Nspire keypad you lose both archive and RAM when the calc locks up and the P button on the back of the calc fails to do a RAM clear.
Title: Re: Powder Game
Post by: AngelFish on December 05, 2010, 08:12:34 pm
Good thing I don't have an Nspire, then.
Title: Re: Powder Game
Post by: AngelFish on December 06, 2010, 11:41:15 am
This project has been set back slightly by the worst crash I've ever had. Basically, I managed to screw up the TI-OS internal fonts, re-write part of the TI-OS IDE, unarchive Powder, clear my RAM, mess up a few B_Calls, come up with a nice little Assembly virus, and overall destroy my calc. I'm honestly surprised I didn't lose the Certificate. But I got the particle physics to work  ;D

Anyway, I've fixed everything and I only lost about a day of progress.
Title: Re: Powder Game
Post by: Ashbad on December 06, 2010, 11:43:04 am
Interestin, that sounds horrible.  I'm guessing you just re-uploaded the OS?  Well, good luck, and make sure you don't mess with random data (under the address $8000 especially) anymore, and good luck indeed to you good sir! :D
Title: Re: Powder Game
Post by: AngelFish on December 06, 2010, 11:45:38 am
Actually, I was only using the first 400 bytes of L1  :P

I'm mystified as to what happened. The program shouldn't have been in the Archives in the first place.
Title: Re: Powder Game
Post by: Ashbad on December 06, 2010, 11:47:05 am
That is really strange O.O

Well, I really don't know what happened then.  Either way, keep up the good work, and try to stay more careful :)
Title: Re: Powder Game
Post by: DJ Omnimaga on December 06, 2010, 12:58:52 pm
This sounds scary. Axe doesn't have the ability to write to flash in the first place IIRC. ??? Maybe you accidentally ran a B_Call that did? If you have this happening again, I think this might be a good discussion to start in the Axe forum: how to avoid accidentally writing to Flash. I hope you can recover most lost progress. :S
Title: Re: Powder Game
Post by: Builderboy on December 06, 2010, 02:08:27 pm
Yikes that sounds horrid D: Well glad you got the physics to work anyway :P
Title: Re: Powder Game
Post by: AngelFish on December 06, 2010, 02:19:22 pm
The physics were the problem  :P

This sounds scary. Axe doesn't have the ability to write to flash in the first place IIRC. ??? Maybe you accidentally ran a B_Call that did? If you have this happening again, I think this might be a good discussion to start in the Axe forum: how to avoid accidentally writing to Flash. I hope you can recover most lost progress. :S

I'm not sure.
Title: Re: Powder Game
Post by: Munchor on December 07, 2010, 03:49:23 pm
I just had an idea of a game 'similar?' to this.

It's called ScribbleNauts, but it would be IMPOSSIBLE (I mean impossible) to be done on calculator.

You also have plenty of control in the game :)
Title: Re: Powder Game
Post by: DJ Omnimaga on December 08, 2010, 12:01:25 am
I'm not too sure I can find the similarity between Scribblenauts and that Powder game.  ???
Title: Re: Powder Game
Post by: AngelFish on December 09, 2010, 07:39:29 pm
I'm going to have to rewrite this project  :P

I lost all of the data and I can't seem to "unhide" it from my calc. At least I figured out a way to avoid handwriting the Assembly routine that I thought I would need.
Title: Re: Powder Game
Post by: squidgetx on December 09, 2010, 08:03:34 pm
If you can get Calcsys or any other hex editor to edit the VAT on your calc, you should be able to unhide it relatively easily (I think) Hiding occurs when a program name has invalid characters in it that aren't numbers or letters: Mirage/DCS hides programs by changing the hex value first character of the name by 32 (hex 20).

Unless something different/more serious is going on (which would be bad and weird)
Title: Re: Powder Game
Post by: AngelFish on December 09, 2010, 08:06:23 pm
Well given what happened with Doors yesterday and the fact that Kerm could not replicate the phenomenon, I'm inclined to think that I've messed something up in my calc.
Title: Re: Powder Game
Post by: willrandship on December 10, 2010, 10:47:56 pm
If your stuff is all backed up, there is one fool-proof (unless you corrupted the OS, or overwrote it :P) method to fixing it. Take out all the batteries, including the backup, for at least 6 hours. It really works.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 11, 2010, 01:11:45 am
This sucks. I hope you don't give up on the project. I wonder if you can fix your calc? Did you try an OS re-install + resetting all memory?
Title: Re: Powder Game
Post by: AngelFish on December 11, 2010, 01:17:24 am
I'm just putting it on hold till I feel like programming anything for my calc. This was the first game I ever tried to find on TI-calc and I was rather disappointed that no one had ever done it. So, unless another Powder comes out in the next week, I'm not giving up. In any case, I gave a large portion of my code to Scout for his mouse routine. That will save me quite some time.

On a side note, I think I just figured out how to implement the greyscale very efficiently.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 11, 2010, 01:20:09 am
Ah ok, well I hope you regain interest soon. :(
Title: Re: Powder Game
Post by: AngelFish on December 11, 2010, 01:22:17 am
My lack of interest is mostly due to being annoyingly sick and not wanting to think very much  :P
Title: Re: Powder Game
Post by: DJ Omnimaga on December 11, 2010, 01:23:27 am
Oh ok I thought it was due to repeated memory clears and stuff. X.x
Title: Re: Powder Game
Post by: AngelFish on December 11, 2010, 01:25:43 am
That was actually the only memory clear I've had in a long time.  When I start to mess with stuff that I don't fully understand (such as lists), I tend to get memory clears.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 11, 2010, 01:29:32 am
Ah, right. I would maybe recommend doing more backusp on a computer when messing with such stuff, because it sucks when you start having success, then suddently get hit by a memory clear where you're forced to clear your entire archive X.x. This is what killed Illusiat 2002 x.x
Title: Re: Powder Game
Post by: Masinini on December 11, 2010, 10:21:31 am
Sorry to hear that, looked good. One game you might want to look at is hell-of-falling sand. it's like the ones listed already, but minus wind, and stuff. Just gravity and etc.
Title: Re: Powder Game
Post by: AngelFish on December 12, 2010, 02:08:40 am
I'm aware of falling sand too, but I don't think it's as fun, personally.


On a side note, I found a corrupted BASIC program today that also happens to be my sprite editor. Looks like I'll have to do this by hand as I don't have a link cable available to replace it on my calc. Ah, ye good olde days of programming...  :P
Title: Re: Powder Game
Post by: aeTIos on December 12, 2010, 03:27:04 am
lol
Title: Re: Powder Game
Post by: AngelFish on December 12, 2010, 05:19:58 pm
Yay! Significant breakthrough that will save me a lot of time  :w00t:
Title: Re: Powder Game
Post by: Ashbad on December 12, 2010, 05:21:44 pm
cool, can I haz moar screeniez?
Title: Re: Powder Game
Post by: AngelFish on December 12, 2010, 05:23:14 pm
No, because this is in a test program, not Powder itself. I'm using it as a development platform while I get Powder back to the point at which I can test the higher level stuff.
Title: Re: Powder Game
Post by: Masinini on December 13, 2010, 01:45:13 am
So I have been playing the online powder and am wondering. Will you limit the amount of materials we can use? And are you going to attempt and little players?
Title: Re: Powder Game
Post by: AngelFish on December 13, 2010, 01:51:42 am
The program version will give you access to six or seven different materials. I may do an app version which will have many more elements, but only if I can figure out how to make make the code modular enough to allow downloadable updates.

However, one feature that I'm certain will not make it into any version is the player character. I've looked at that and it would take a lot of weird pseudo-physics to get the player to move properly. The processor in the calc can barely handle the physics engine for a lot of particles, so complicated physics are out of the question.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 13, 2010, 01:58:23 am
Yeah I think characters should be kept out. I don't know if they're really necessary anyway.
Title: Re: Powder Game
Post by: AngelFish on December 15, 2010, 12:46:46 am
I'm temporarily putting this on hold, for reasons that I may or may not remember when I resume it again.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 15, 2010, 03:57:51 am
I see, is it due to life issues/being busy?
/me hopes he's not quitting calc stuff slowly D:
Title: Re: Powder Game
Post by: aeTIos on December 15, 2010, 09:29:15 am
a bit offtopic maybe, but i have another really good powder game: you can download it here (http://www.powdertoy.co.uk)
Title: Re: Powder Game
Post by: DJ Omnimaga on December 15, 2010, 02:23:33 pm
Yeah I tried that one. It was kinda cool.
Title: Re: Powder Game
Post by: Munchor on December 23, 2010, 04:51:43 pm
So, how's this going? This topic is kind of going death :(
Title: Re: Powder Game
Post by: AngelFish on December 25, 2010, 06:00:28 pm
I should be resuming this project after I:

1) Stop hacking my Kindle long enough to get something productive done.
2) Get my website to a functional state.
3) Finish documenting the bitmap formatting for .g3p files.
4) Look through the documentation for the ISO/IEC 14496-12 standard.
5) Crack the .g3b format.
6) Buy a Prizm.
7) Buy textbooks.
8) Actually do my duties as a mentor.
9) Work.
...
N) Finish the routine testbed program.
Title: Re: Powder Game
Post by: Munchor on December 25, 2010, 06:02:37 pm
I should be resuming this project after I:

1) Stop hacking my Kindle long enough to get something productive done.
2) Get my website to a functional state.
3) Finish documenting the bitmap formatting for .g3p files.
4) Look through the documentation for the ISO/IEC 14496-12 standard.
5) Crack the .g3b format.
6) Buy a Prizm.
7) Buy textbooks.
8) Actually do my duties as a mentor.
9) Work.
...
N) Finish the routine testbed program.

You're gonna hack Prizm and .3gp files/.bmp before buying one? Hum... Good Luck :P
Title: Re: Powder Game
Post by: AngelFish on December 25, 2010, 06:03:31 pm
You're gonna hack Prizm and .3gp files/.bmp before buying one? Hum... Good Luck :P

I've already cracked the .g3p format...
Title: Re: Powder Game
Post by: Munchor on December 25, 2010, 06:05:39 pm
You're gonna hack Prizm and .3gp files/.bmp before buying one? Hum... Good Luck :P

I've already cracked the .g3p format...

So, I suppose you'll put it in your website then? Or have you posted it already?
Title: Re: Powder Game
Post by: jnesselr on December 25, 2010, 06:06:47 pm
You're gonna hack Prizm and .3gp files/.bmp before buying one? Hum... Good Luck :P

I've already cracked the .g3p format...
Did you ever post that anywhere? The actual format, that is.
Title: Re: Powder Game
Post by: AngelFish on December 25, 2010, 06:11:50 pm
It's not available anywhere you can access at the moment (without a lot of hacking). That's the main reason I want to get my site up and running.
Title: Re: Powder Game
Post by: jnesselr on December 25, 2010, 06:18:40 pm
It's not available anywhere you can access at the moment (without a lot of hacking). That's the main reason I want to get my site up and running.
Okay, where is your site being hosted?
Title: Re: Powder Game
Post by: AngelFish on December 25, 2010, 06:20:32 pm
http://www.fishbot.co.cc/ (http://www.fishbot.co.cc/)

Very rough at the moment, as you can see.
Title: Re: Powder Game
Post by: jnesselr on December 25, 2010, 06:45:59 pm
http://www.fishbot.co.cc/ (http://www.fishbot.co.cc/)

Very rough at the moment, as you can see.
okay, if you need any help, send me a pm. ;-)
Title: Re: Powder Game
Post by: Munchor on December 25, 2010, 06:46:44 pm
http://www.fishbot.co.cc/ (http://www.fishbot.co.cc/)

Very rough at the moment, as you can see.

1. You should make a 'My Website' thread.
2. I love your icons, did you make them?
Title: Re: Powder Game
Post by: AngelFish on December 25, 2010, 06:53:10 pm
I'd like to claim that I have any skill whatsoever with photoshop, but I don't. Those are all from Google, with the exception of the Favicon.
Title: Re: Powder Game
Post by: Munchor on December 25, 2010, 06:55:20 pm
I'd like to claim that I have any skill whatsoever with photoshop, but I don't. Those are all from Google, with the exception of the Favicon.

Also, is that an 84+ S.E. in the Prizm icon?

hah! I know it's not finished, or even half, but it was fun :)
Title: Re: Powder Game
Post by: AngelFish on December 25, 2010, 06:56:49 pm
The TI-84+ SE is the best calculator ever released. Of course  ;D
Title: Re: Powder Game
Post by: Munchor on December 25, 2010, 06:58:19 pm
The TI-84+ SE is the best calculator ever released. Of course  ;D

I just felt like using one of the new sprites:   :crazy:

That's how I felt when I saw the 84+S.E. sprite :D
Title: Re: Powder Game
Post by: DJ Omnimaga on December 27, 2010, 12:51:09 am
I hope you eventually finish the Powder game. Also good luck on Prizm hacking. I hope you can find some more interesting stuff. Are you planning to announce some here too or will they mostly be available on your site only?
Title: Re: Powder Game
Post by: AngelFish on December 27, 2010, 12:53:31 am
The big stuff I'll announce here, but the small stuff will mostly be on my site.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 27, 2010, 01:21:31 am
Ah ok, I was just making sure since it would kinda suck if we started splitting the Casio Prizm community before there's even a large enough one x.x
Title: Re: Powder Game
Post by: AngelFish on December 27, 2010, 01:30:04 am
There are only like ten people in the whole community, DJ  :P
Title: Re: Powder Game
Post by: DJ Omnimaga on December 27, 2010, 04:20:58 pm
Oh I meant that the Prizm could attract more people, including TI ones, but if we started splitting it, the other board or site created would be less active due to larger ones already existing and the larger ones wouldn't get as much traffic due to the smaller site draining the traffic away. But I guess it's a good idea to keep things organized.
Title: Re: Powder Game
Post by: AngelFish on December 28, 2010, 01:09:03 am
True. I doubt there will be enough people in the community to sustain multiple dedicated forums for quite some time, if ever, though.
Title: Re: Powder Game
Post by: DJ Omnimaga on December 28, 2010, 01:16:40 am
Yeah this is why I think it would be best to stick to Casiocalc, CasioKingdom, Cemetech and Omni for now. Casiocalc, however, is now anti-calc-game, it seems, Casio Kingdom has one of the anti-game member from Casiocalc and had some obnoxious people, so now there's Cemetech and Omni, which both don't have a whole load of Casio users, but more people interested into development. Cemetech is still mostly interested in the 83+, though.

Also seeing as Casio delayed the release date of the Prizm in France, how it doesn't seem to be sold in Japan and how the calc cannot be found in many stores yet in USA and Canada, it will take a while before it gets an huge userbase.
Title: Re: Powder Game
Post by: AngelFish on January 04, 2011, 12:57:13 pm
This project is tentatively revived, as I had a major breakthrough last night. I didn't manage to recover the previous file, so everything will have to be written from scratch. Full greyscale is now implemented and the cursor is still moving faster than the Doors GUI mouse  ;D

(http://img.removedfromgame.com/imgs/powder1.gif)

Title: Re: Powder Game
Post by: holmes221b on January 04, 2011, 01:21:23 pm
I remember spending hours of my journalism class playing this game on the computer. I really can't wait to be able to play it on my calc whenever I want.
Title: Re: Powder Game
Post by: Ashbad on January 04, 2011, 01:33:27 pm
I'm just wondering the type of algorithm you are using to detect "powders" and make them act accordingly.  Because a good method can be extremely fast, but certain ones make it run at 1 FPS in Full. :)
Title: Re: Powder Game
Post by: AngelFish on January 04, 2011, 01:39:30 pm
I will be detecting them either based on their greyscale color or using a few extra bits inside of the array.
Title: Re: Powder Game
Post by: DJ Omnimaga on January 04, 2011, 04:53:40 pm
Nice to see this revived!
Title: Re: Powder Game
Post by: AngelFish on January 04, 2011, 07:42:49 pm
I only have like three subprograms demonstrating the routines  :P
I should probably finish and release them sometime. Perhaps as soon as I can get that lookup table to stop clearing my calc...
Title: Re: Powder Game
Post by: AngelFish on January 25, 2011, 02:39:50 am
After a long haitus for life and developing the routines in other programs, I think I'm ready to resume this, if only give me something to play during class.

And by god, this program deserves a Prizm port.
Title: Re: Powder Game
Post by: AngelFish on January 25, 2011, 01:45:20 pm
Here is the initial version using basic physics courtesy of Builderboy. I've already upgraded the mouse routine to full greyscale and I'm working on the physics engine, but neither of those are present in this screenshot.

(http://img.removedfromgame.com/imgs/1-Powder.gif)
Title: Re: Powder Game
Post by: squidgetx on January 25, 2011, 05:14:55 pm
Wow, that looks really good! The particles (at least, to me) at least interact with gravity very realistically :) Good job so far! I also like the inverted mouse. What other substances/features are you planning to add?
Title: Re: Powder Game
Post by: Happybobjr on January 25, 2011, 05:15:57 pm
will it or the physics engine be open source?
Title: Re: Powder Game
Post by: Munchor on January 25, 2011, 05:16:03 pm
Here is the initial version using basic physics courtesy of Builderboy. I've already upgraded the mouse routine to full greyscale and I'm working on the physics engine, but neither of those are present in this screenshot.

(http://img.removedfromgame.com/imgs/1-Powder.gif)

That looks SO AWESOME, BuilderBoy is a physics pro, the greyscale looks really cool, I like it so much Qwerty!
Title: Re: Powder Game
Post by: willrandship on January 25, 2011, 06:10:24 pm
Cool! And also, I would think an nspire port is deserving as well....:P
Title: Re: Powder Game
Post by: AngelFish on January 25, 2011, 06:21:12 pm
...the greyscale looks really cool...

That's monochrome :p

Thanks though.
Title: Re: Powder Game
Post by: DJ Omnimaga on January 28, 2011, 09:39:11 pm
Looks nice :D I'm glad you work on this again :D
Title: Re: Powder Game
Post by: jnesselr on January 28, 2011, 10:24:28 pm
Builderboy should write a tutorial on physics for calc games.
Title: Re: Powder Game
Post by: DJ Omnimaga on January 30, 2011, 08:18:40 pm
I thought he did already? ???
Title: Re: Powder Game
Post by: jnesselr on January 30, 2011, 09:17:41 pm
I thought he did already? ???
He might have, and I just missed it.
Title: Re: Powder Game
Post by: Builderboy on January 31, 2011, 01:22:56 am
I kinda did, but the physics for this sand wouldn't be covered in it, as it is just pseudo-physics, a simple algorithm that really has no basis in real fluid dynamics :P
Title: Re: Powder Game
Post by: jnesselr on January 31, 2011, 06:15:22 pm
I kinda did, but the physics for this sand wouldn't be covered in it, as it is just pseudo-physics, a simple algorithm that really has no basis in real fluid dynamics :P
Do you have a link to your physics tutorial? Would you be willing to write one for fluid dynamics?
Title: Re: Powder Game
Post by: AngelFish on January 31, 2011, 06:45:19 pm
I kinda did, but the physics for this sand wouldn't be covered in it, as it is just pseudo-physics, a simple algorithm that really has no basis in real fluid dynamics :P

I hate to correct you on this, but it has a lot more to do with actual fluid dynamics than you think. Of course, the random direction isn't exactly realistic, but the cellular automata model is a very suitable choice.
Title: Re: Powder Game
Post by: Builderboy on January 31, 2011, 08:08:46 pm
Here is the link: Note its not completely finished :P I really should start writing some more lessons

http://ourl.ca/4279/79303

As for the fluid dynamics, of course it isn't completely far away from realistic physics, it isn't exactly very realistic either.  Pressure is ignored completely, as is illustrated in the diagram below.  In real world physics, the water line would be even, but the physics I implemented would leave the water at levels similar to the diagram.  Then again, while it may not be realistic when it comes into the actual equations and things like viscosity and pressure, it does present a very nice and quick method for on calc simulation :) There might even be some other sets of rules that are equally simple and result in better fluid movement.

On the subject of physics, I just had an idea for physics for sand in your game.  Here would be the rules, with lower rule numbers being higher priority:
1) If block below is empty, move down
2) If block below is fluid, swap fluid and this block
3) If block to the right/left and down is empty, move to that position

Maybe instead of a fluid dynamics, I could write about the power of pixel based physics for simulating large physical elements :D
Title: Re: Powder Game
Post by: DJ Omnimaga on February 01, 2011, 11:16:21 pm
It would be cool if new tutorials were added into that one. :D
Title: Re: Powder Game
Post by: Builderboy on February 02, 2011, 12:59:41 am
Some just were :)
Title: Re: Powder Game
Post by: DJ Omnimaga on February 02, 2011, 06:24:51 pm
Really? I didn't see new ones today. ???

http://ourl.ca/4279 (No last edit date)
Title: Re: Powder Game
Post by: AngelFish on February 16, 2011, 10:01:13 pm
Lost the entire physics engine to some sort of data corruption. It was in need of a complete overhaul anyway.
Title: Re: Powder Game
Post by: SirCmpwn on February 16, 2011, 10:01:37 pm
You posted the source code, you know...
Title: Re: Powder Game
Post by: AngelFish on February 16, 2011, 10:02:00 pm
To the physics engine? I'm pretty sure I didn't.
Title: Re: Powder Game
Post by: SirCmpwn on February 16, 2011, 10:03:49 pm
I don't know, but I put the source on-calc, not the binary, and compiled it with Axe, and it works fine.
Title: Re: Powder Game
Post by: AngelFish on February 16, 2011, 10:05:09 pm
That's really strange, because I can't recall ever posting it.  ???
Title: Re: Powder Game
Post by: Builderboy on February 16, 2011, 10:06:49 pm
Yeah, there are only two attatchements in this topic and they are both images O.O Sir do you still have the source?
Title: Re: Powder Game
Post by: SirCmpwn on February 16, 2011, 10:08:29 pm
Why, yes I do!
Title: Re: Powder Game
Post by: AngelFish on February 16, 2011, 10:09:58 pm
Nope, that's Shmib's game. Powder is a completely different program, although I can see how you might get confused.
Title: Re: Powder Game
Post by: SirCmpwn on February 16, 2011, 10:10:15 pm
Oh, whoops :P
Title: Re: Powder Game
Post by: Builderboy on February 16, 2011, 10:13:48 pm
:( aww well sorry you lost your source Qwert :( hope you can get everything back!
Title: Re: Powder Game
Post by: AngelFish on February 16, 2011, 10:14:45 pm
The only thing I lost was the physics engine. I have all of the graphics source memorized by now.
Title: Re: Powder Game
Post by: Builderboy on February 16, 2011, 10:15:53 pm
oh well thats good at least :)
Title: Re: Powder Game
Post by: DJ Omnimaga on February 18, 2011, 10:21:26 pm
This still sucks, though. I hope it won't be too much of an hassle to rewrite. Just do more backups on the computer in case. X.x
Title: Re: Powder Game
Post by: AngelFish on March 22, 2011, 07:27:37 am
I really need to get back to work on this, both on the Prizm port and the 8x port. Also, on a side note, this is officially the scariest program I have ever made. It's done more damage to my calculator than an entire year of having OS v2.53/2.55!
Title: Re: Powder Game
Post by: aeTIos on March 22, 2011, 10:22:50 am
O.O wow
Title: Re: Powder Game
Post by: Freyaday on March 22, 2011, 10:59:04 am
/me Candace giggles.
Title: Re: Powder Game
Post by: z80man on March 22, 2011, 11:37:44 am
Prizm port. Sounds like fun. I practically spend  at least 2 hours a day playing addicting physics games when I should be doing programming. Err I mean schoolwork.  :P
Title: Re: Powder Game
Post by: Builderboy on March 22, 2011, 11:40:42 am
I practically spend  at least 2 hours a day playing addicting physics games when I should be doing programming.

Stop playing addicting games and get back to work making addicting games! :P

I hope progress on this continues :)
Title: Re: Powder Game
Post by: AngelFish on March 22, 2011, 12:12:32 pm
It'll continue after my life stops being hectic [and I resume working on the other billion projects I have at the moment...].

I need to stop starting so many projects :P
Title: Re: Powder Game
Post by: aeTIos on March 22, 2011, 12:23:28 pm
Prizm port. Sounds like fun. I practically spend  at least 2 hours a day playing addicting physics games when I should be doing programming. Err I mean schoolwork.  :P
lol
Title: Re: Powder Game
Post by: AngelFish on April 04, 2011, 11:19:18 pm
This project is officially dead. My life is so unbelievably f***ed up right now that I can't imagine a situation in which I'm able to get back to this before November. If anyone would like to pick it up, I'd be happy to share my algorithms and stuff since I really liked this program.
Title: Re: Powder Game
Post by: DJ Omnimaga on April 04, 2011, 11:20:51 pm
Sorry to hear. Care to share what happened? PM me if you don't want it to be said in public. Also I hope you're still planning to continue working on some stuff like Prizm hacking during your free time? I hope you don't leave or something. :/
Title: Re: Powder Game
Post by: Michael_Lee on April 05, 2011, 12:17:37 am
Wow, are you all right?

I hope things get better for you.
Title: Re: Powder Game
Post by: z80man on April 05, 2011, 01:48:44 am
I would pick it up, but I would have to wait till summer or at least next month after AP exams because that is the only time I have to seriously code. Even the rest of my projects that I'm working on now will only make slow progress until that time. Even still I'm not so sure I would be able to work on this because I'm starting to lose interest now in z80 and Axe coding in favor of Prizm based coding. Not that I've lost any interest in the 83+ series, but it is just that I spend less time coding there than I used too. If you would prefer, this could just become a project for the Prizm?

@Qwerty, sorry to hear that things are going bad for you. I hope things get better soon.  :-[

Edit: As you can now see by my sig, I have a lot of projects to do. I have about 5 others, but I forgot to add them and they would've taken up too much room.

Edit2: I hope I don't end up alone in Prizm coding this summer  :P
Title: Re: Powder Game
Post by: AngelFish on April 05, 2011, 11:43:42 am
You won't be alone. I'm still working on a couple of projects.
Title: Re: Powder Game
Post by: JosJuice on April 05, 2011, 12:48:57 pm
I'll be coding for the Prizm, too! Well, at least I'll try... I'm still not sure if I'll be able to find one. :(
Title: Re: Powder Game
Post by: z80man on April 05, 2011, 02:23:20 pm
@Qwerty, what projects are you working on or will be working on. I think there are a few things we both have planned that I think we should share notes on. Most notably is the Axe compiler in which I'm starting to get some of the groundwork up.
Title: Re: Powder Game
Post by: Ashbad on April 05, 2011, 09:55:37 pm
I'm sorry to hear qwerty, best wishes with your issues in real life.  I hope they aren't too bad, and they get better quick :(
Title: Re: Powder Game
Post by: DJ Omnimaga on May 21, 2011, 02:17:38 am
/me wonders if somebody will eventually revive this for the Prizm or the CX... would Lua be fast enough for such game?
Title: Re: Powder Game
Post by: Munchor on May 21, 2011, 09:28:03 am
/me wonders if somebody will eventually revive this for the Prizm or the CX... would Lua be fast enough for such game?

Not sure of how easy Physics are in those languages.
Title: Re: Powder Game
Post by: DJ Omnimaga on May 21, 2011, 02:40:29 pm
I don't know. It would probably depend of the speed. On the Prizm it shouldn't be a big issue, though, if ASM/C was used.
Title: Re: Powder Game
Post by: aeTIos on May 21, 2011, 03:22:23 pm
Imagine what would happen if Prizm Basic was used O.O (>10hrs per frame xD)
Title: Re: Powder Game
Post by: Freyaday on May 22, 2011, 12:30:35 am
Imagine what would happen if Prizm Basic was used O.O (>9000hrs per frame xD)
Fixed.
Title: Re: Powder Game
Post by: Deep Toaster on May 22, 2011, 12:47:21 am
Sorry to hear Qwerty. Hope everything's all right :)
Title: Re: Powder Game
Post by: AngelFish on May 22, 2011, 02:07:30 am
/me wonders if somebody will eventually revive this for the Prizm or the CX... would Lua be fast enough for such game?

Not sure of how easy Physics are in those languages.

The physics are very simple. The truly difficult parts are keeping track of your arrays (almost every single problem with my port of Powder was in the particle array) and the speed. Lua is probably too slow for it. Axe, which compiles to pretty decent z80, couldn't handle anything above about 500 particles without serious slowdowns.
Title: Re: Powder Game
Post by: DJ Omnimaga on June 07, 2011, 02:43:18 am
I guess ASM/C?
Title: Re: Powder Game
Post by: z80man on June 07, 2011, 03:22:49 am
I guess ASM/C?
I'd say you be guessing right. On the Prizm there are so many more possibilities for a Powder Game port with the hi-res color screen, large memory, and fast proc. I can hardly wait
Title: Re: Powder Game
Post by: DJ Omnimaga on June 07, 2011, 03:26:57 am
Indeed. I also hope eventually there's Ndless for the CX. I wonder what can be done on both calcs, although I bet it would be pretty similar.
Title: Re: Powder Game
Post by: Magicflottant on August 13, 2011, 08:40:28 am
Wahou, very nice.
When a demo will be available ?
Title: Re: Powder Game
Post by: shmibs on August 13, 2011, 12:15:00 pm
firstly, that was a bit of a necropost, and secondly, if you had read through the thread, you would have seen that the project has been discontinued.
Title: Re: Powder Game
Post by: imo_inx on August 13, 2011, 12:31:13 pm
The powder game is one of my favorite games. When I'm done with CoReZ, I may start on this project.
Title: Re: Powder Game
Post by: Magicflottant on August 13, 2011, 02:03:35 pm
firstly, that was a bit of a necropost, and secondly, if you had read through the thread, you would have seen that the project has been discontinued.
6 days, necropost... mhm yes.
Sorry D:
Title: Re: Powder Game
Post by: DJ Omnimaga on August 13, 2011, 02:05:43 pm
Yeah sadly this was discontinued.
Title: Re: Powder Game
Post by: z80man on August 13, 2011, 02:10:44 pm
Qwerty is hoping to make a Prizm version though. No idea when that will be finished but for the time being no one has taken up the 83+ version
Title: Re: Powder Game
Post by: DJ Omnimaga on August 13, 2011, 02:29:45 pm
Oh that would be nice. We definitively need to get more games for the Prizm. Right now some people don't bother getting one, simply because there are barely any game for it. The only non-BASIC/ASCII one so far is Obliterate.
Title: Re: Powder Game
Post by: AngelFish on August 13, 2011, 03:21:29 pm
Haven't even started the Prizm one :P

Powder comes after my other major projects, so I'm waiting before I attempt it.
Title: Re: Powder Game
Post by: Eiyeron on August 13, 2011, 04:10:06 pm
I guess ASM/C?
I'd say you be guessing right. On the Prizm there are so many more possibilities for a Powder Game port with the hi-res color screen, large memory, and fast proc. I can hardly wait

EDITED: I want  to apologize for what i said.
Title: Re: Powder Game
Post by: AngelFish on August 13, 2011, 04:13:11 pm
Eiyeron, please don't troll. The Prizm, while not as fast as some of the other Casio calculators, is still faster than all of the 83 and 84+ series calculators from TI. Furthermore, the Prizm is more than fast enough to run some impressive projects, especially since it can be overclocked.
Title: Re: Powder Game
Post by: JosJuice on August 13, 2011, 04:32:43 pm
I guess ASM/C?
I'd say you be guessing right. On the Prizm there are so many more possibilities for a Powder Game port with the hi-res color screen, large memory, and fast proc. I can hardly wait

FAST PROC! Let me laugh! The Cowards form Casio do as crappy work as TI, specially slowing down the calculators! I'm sick of the priszm performances! :/ BUt In fx-9860, with or without cpuspeed... Wow
By this, do you mean the actual CPU speed, or the speed at which math commands and such execute? Both are dependent on the CPU, but the latter also depends on Casio's OS, which doesn't have much to do with what programs can be written. I do not believe that the clock speed has decreased, but the math may have gotten slower - I'm not sure since I don't have an fx-9860.
Eiyeron, please don't troll. The Prizm, while not as fast as some of the other Casio calculators, is still faster than all of the 83 and 84+ series calculators from TI. Furthermore, the Prizm is more than fast enough to run some impressive projects, especially since it can be overclocked.
The Prizm definitely has a better processor than TI's calculators (excluding the Nspire, which is slightly faster but doesn't allow machine code execution), and if it's possible to overclock them, we'll have even more possibilities. Considering what can be done with 15MHz or even 6MHz, it will definitely be possible to create many impressive programs and games for the Prizm, although the processor speed is quite a bit slower than modern devices that aren't calcs. However, I do not agree that Eiyeron's comment was trolling. Everyone has different opinions, and calling people/comments trolls/trolling is not the best way to be friendly.
Title: Re: Powder Game
Post by: Eiyeron on August 13, 2011, 04:42:04 pm
I dont want to troll, but revocate the casio's decisions! Okay, thre are calculators, but jow could they (both Casio and TI) ignoring a big part of market?
http://www.planet-casio.com/files/forums/VitesseFonctionsBasicCasio-9648.zip (http://www.planet-casio.com/files/forums/VitesseFonctionsBasicCasio-9648.zip) There is a benchmark sheet...
Title: Re: Powder Game
Post by: DJ Omnimaga on August 13, 2011, 11:27:37 pm
Eiyeron by the way in the past we banned a member who kept bashing TI and Casio calcs and we almost had to do with someone who was doing the same with the TI-83+ (he was a TI-89 fanboy). You may want to be careful about what you say about the Prizm.

Plus the Prizm problem is not that it's by itself slow, it's that Casio failed epically hard at creating the BASIC language included in the calculator, even more than TI. I'm sure anybody in the community could write a BASIC interpreter or semi-interpreter that would solve most of the display speed issues currently present on the calculator. Else, someone could port Axe Parser for example.

Just because the Prizm BASIC language sucks doesn't mean the entire calculator do. The language was just poorly programmed. Look at games like Obliterate written in C or the Insight add-in. They get about 20 frames per second, even if in one of the app there are 100 particles moving around at once.

Also I doubt Casio or TI would listen to us, because their philosophy is that calculators are for math, not gaming, and about only 1% of the students will use their calculator for gaming, meaning their market share for gamers is probably around 1%.

I'M pretty sure the Prizm could achieve Doom. It would probably just run slightly slower than the TI-Nspire counterpart.
Title: Re: Powder Game
Post by: fb39ca4 on August 13, 2011, 11:33:00 pm
Yes, DOOM is quite possible, and it will look a heck of a lot better on the prizm, compared to the nspire port. Remember, DOOM was written to run on 386 processors, which are around 33 mhz if I recall correctly.
Title: Re: Powder Game
Post by: Eiyeron on August 15, 2011, 05:06:21 am
So.. Powder Game? I like this game. Do you want to make this too in java? :p
(I want too to apologize me to make some stupid noise here)
Title: Re: Powder Game
Post by: DJ Omnimaga on August 17, 2011, 02:41:03 pm
It's ok. Just try to make sure to not say stuff that could start a calc war or something like that one HP guy that came here a while ago.

firstly, that was a bit of a necropost, and secondly, if you had read through the thread, you would have seen that the project has been discontinued.
6 days, necropost... mhm yes.
Sorry D:
Actually it was not 6 days, but rather 67 :P

On a side note would Nspire Lua be good enough for such Powder game?
Title: Re: Powder Game
Post by: fb39ca4 on August 17, 2011, 04:30:07 pm
IDK about Lua, due to the number of calculations and particles.
Title: Re: Powder Game
Post by: boot2490 on September 20, 2011, 11:47:33 am
The only thing that was fun in the originals was blowing stuff up and burning stuff.
I suggest you ty to make explosions as realistic as possible, conforming to real life not the games.
Title: Re: Powder Game
Post by: AngelFish on September 20, 2011, 12:15:19 pm
Sorry, but this project is dead (and explosions were never planned in the port anyway because they're too slow to compute for z80).
Title: Re: Powder Game
Post by: z80man on September 20, 2011, 12:25:55 pm
The only thing that was fun in the originals was blowing stuff up and burning stuff.
I suggest you ty to make explosions as realistic as possible, conforming to real life not the games.
I was earlier going over the possibilities of a Prizm port of powder game as Qwerty has already planned. Part of the problem is that realistic physics are doable processor wise if fixed floats are used but the ram is just too small. In order to have physics as realistic as the game powder toy which I believe is the most realistic powder game, 20 bytes of data is required for each particle. This would be a 1 byte identifier, 3 byte particle specific data field (required for longword alignment), 8 byte floating point velocity vector (x float and y float), 4 byte temperature float, and 4 byte pressure float. If the entire screen is used about 1.65 Mb of ram is required just for data while the Prizm's heap is only 128 kb. In additional ram there is the backup VRAM at 165kb, the g3a stack at 512 kb but not all is available, and the OS stack also at 512 kb but I'd be very careful with that space as OS routines have the ability to eat that area up.
Title: Re: Powder Game
Post by: AngelFish on September 20, 2011, 02:44:53 pm
You can compress that data significantly. Let's assume 1 byte for the identifier (you'd actually need fewer bits) with 1 byte particle data and a 256x256 screen (you need some portion for a menu). That means you're down to 1 byte each for the x and y variables (integers are more efficient representations of integers than floating points) and you can skip the temperature variable because it doesn't exist in the canonical version. What's left is the pressure, which can be placed in a 1 byte variable. Thus, you have 5 bytes, which should probably be rounded out to 6 bytes with an extra "data" byte after the ID. That's only 384 KB.
Title: Re: Powder Game
Post by: Freyaday on September 20, 2011, 06:51:32 pm
You can compress that data significantly. Let's assume 1 byte for the identifier (you'd actually need fewer bits) with 1 byte particle data and a 256x256 screen (you need some portion for a menu). That means you're down to 1 byte each for the x and y variables (integers are more efficient representations of integers than floating points) and you can skip the temperature variable because it doesn't exist in the canonical version. What's left is the pressure, which can be placed in a 1 byte variable. Thus, you have 5 bytes, which should probably be rounded out to 6 bytes with an extra "data" byte after the ID. That's only 384 KB.
That temperature variable is actually really useful. It's what allows stuff like fire! And convection! And Stuff!
Title: Re: Powder Game
Post by: AngelFish on September 20, 2011, 06:52:18 pm
Nope. All of that is handled through the particle ID and the pressure data.
Title: Re: Powder Game
Post by: Freyaday on September 20, 2011, 06:54:04 pm
Nope. All of that is handled through the particle ID and the pressure data.
Oh ok! :)
Title: Re: Powder Game
Post by: Spenceboy98 on March 31, 2012, 03:29:57 pm
I wish that someone would port a Powder Game for the Prizm. I love the original game.
Title: Re: Powder Game
Post by: Xeda112358 on March 31, 2012, 04:05:27 pm
Hmm, too bad the project is now deadish :[ I do have a few particle rules and I was rewriting the particle engine to Grammer, so if you ever pick this up again, feel free to bug me :P I am currently looking into a method I thought of that will use lots of RAM, but allow for fast interaction with particles (so you can quickly instantly detect if there oil under your water, for example). Unfortunately, the program could require >9000 bytes of free RAM, but it might be worth it...

EDIT: Of course, on a Prizm, this would not be a big deal and could allow for about 20 different particle types o.o
Title: Re: Powder Game
Post by: aeTIos on March 31, 2012, 04:38:22 pm
Woah, impressive xeda ^.^someone really should complete this :D
Title: Re: Powder Game
Post by: Xeda112358 on March 31, 2012, 04:48:16 pm
Basically, I am on this kick of using multiple buffers. For example, you have a buffer for water, a buffer for sand, and a buffer for immovable objects. The water moves and it checks above and below. If there is a space below on all buffers, move down. Otherwise, check left/right and do the same trick. If there is still no room, check up. If the sand buffer has a pixel on swap the pixel locations. You then have similar rules for other particles :)

The only issues you might have from there is that you don't easily get pressure or temp involved. For that, you would need to modify the algorithms for each pixel, slightly. Then you can create an array for each pixel on the screen for pressure. If I were doing this, I would do 1 nibble per pixels where each bit in the nibble corresponded to a direction. 1 means pressure in that direction and 0 means no pressure. This would help decide the primary directions for a particle to move and then secondary directions, and further.

EDIT: For the Prizm, if we work in a 128x128 region, it would require 2KB per layer and 64KB for the pressure buffer. The Prizm has 2MB, so that should be fine :) with 10 particle types, that would be 84KB of RAM used.
Title: Re: Powder Game
Post by: ZippyDee on March 31, 2012, 09:31:09 pm
Sounds like a somewhat space consuming solution :P Definitely more viable on the Prizm, in my opinion.
Title: Re: Powder Game
Post by: Xeda112358 on March 31, 2012, 11:09:43 pm
Yeah, it is definitely one of the most space consuming models, but the plus is that it will run much faster than other methods . Plus, you can have particles occupying the whole screen :D

Also, since the Prizm has a color screen, you could simplify the method to just having everything on the screen. Just use the colors to figure out which particles are which, then you can use the pressure buffer in combination. Then for a full screen, it would be 41472 bytes for the pressure buffer and whatever buffer the LCD is on :)