Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Xeda112358 on October 24, 2011, 08:19:09 am

Title: Wormy!
Post by: Xeda112358 on October 24, 2011, 08:19:09 am
So I was fooling around with Grammer when I made this little proggy ^-^

It is pretty much a little wormy that follows a set of rules. The head moves down if there is a way to move down. If there isn't, it then tries left and right (it selects the first direction to try, randomly). if that still doesn't work, it moves up.

And with that, you get a wormy!

I wonder if I can add this as a type of particle in Grammer...
Title: Re: Wormy!
Post by: Yeong on October 24, 2011, 09:12:31 am
If you do, we'll see : pipe game :D
Title: Re: Wormy!
Post by: Stefan Bauwens on October 24, 2011, 09:27:24 am
Cool! Life! :D
Title: Re: Wormy!
Post by: Deep Toaster on October 24, 2011, 09:32:06 am
If you do, we'll see : pipe game :D
Someone should do that! :D

And is that a lowercase program I see?
Title: Re: Wormy!
Post by: Xeda112358 on October 24, 2011, 05:00:35 pm
If you do, we'll see : pipe game :D
Exactly what I was thinking :D
And is that a lowercase program I see?
'Tis indeed! I realised yesterday that Grammer doesn't error out when a program has a weird name, so Grammer programs can use weird symbols! Also, for the interested, thepenguin77 tested zStart and zStart does the same thing!
Title: Re: Wormy!
Post by: ztrumpet on October 24, 2011, 05:51:37 pm
If you added this as a particle it would be really cool if you could specify which way if "down."  This way, the default direction could allow gravity to change or other cool actions to occur.
Title: Re: Wormy!
Post by: Xeda112358 on October 24, 2011, 05:58:56 pm
Hmm, maybe I should add the ability to just in general define the directions for all particles. Right now, particles move in an order of precedence. I could probably easily add a way to call up down and all that jazz... I will probably also rewrite the particle engine to allow for some other options.

I just remember the difference in speed the particle effects get when translated to assembly, so it would be cool to fill up the screen with worms :D
Title: Re: Wormy!
Post by: thepenguin77 on October 24, 2011, 06:13:47 pm
I saw the title wormy and I got scared. (BraondonW also released a program called wormy and it changes your TI-84+SE into a TI-84+BE)
Title: Re: Wormy!
Post by: Xeda112358 on October 24, 2011, 06:14:58 pm
Oh, wow XD That doesn't sound healthy for your calc O.O
Title: Re: Wormy!
Post by: Deep Toaster on October 24, 2011, 06:18:10 pm
I just remember the difference in speed the particle effects get when translated to assembly, so it would be cool to fill up the screen with worms :D
Ooh, a suggestion: multiple worms! :D Having them hit each other would get interesting.
I saw the title wormy and I got scared. (BraondonW also released a program called wormy and it changes your TI-84+SE into a TI-84+BE)
I hope Grammer can't do that O.O
Title: Re: Wormy!
Post by: Xeda112358 on October 24, 2011, 06:27:13 pm
I just remember the difference in speed the particle effects get when translated to assembly, so it would be cool to fill up the screen with worms :D
Ooh, a suggestion: multiple worms! :D Having them hit each other would get interesting.
>.>
<.<
You mean like these? I should call it Fighting Worms :D Look at them tumble over each other like that :D
Title: Re: Wormy!
Post by: Deep Toaster on October 24, 2011, 06:33:44 pm
Yay :D Must be fun to race them.
Title: Re: Wormy!
Post by: Michael_Lee on October 24, 2011, 08:56:06 pm
>.>
<.<

50+ wormies, please?  All of them, tumbling over and swirling around each other in a giant vat?
Title: Re: Wormy!
Post by: Xeda112358 on October 24, 2011, 08:58:09 pm
I plan to add them as particle forms, so once I add that to Grammer... Yes, a bucket o' worms :)
Title: Re: Wormy!
Post by: Stefan Bauwens on October 25, 2011, 04:13:59 am
Yeay. Awesome awesome.
Title: Re: Wormy!
Post by: Xeda112358 on October 25, 2011, 12:28:31 pm
Okay, so I am now one step closer to adding in the Worm Particle in Grammer (I tried earlier, unsuccessfully). Anywho, I was looking at the code for Wormy and I realised two things:
1) Assembly is much faster at shifting data than writing the code purely in Grammer
2) I added inline ASM support to Grammer not too long ago

So now we have the next version of Wormy! Now it can quickly handle very large worms, but the downside is that it can't handle too many all that quickly :/ For example, a worm of length 245 was handled faster than 9 worms of length 5. Still, enjoy!
Title: Re: Wormy!
Post by: Sorunome on October 25, 2011, 12:44:06 pm
I just noticed this topic.... well it looks cool! :)
Title: Re: Wormy!
Post by: Xeda112358 on October 25, 2011, 12:46:47 pm
Thanks ! I am now planning out a pipe game using this program >.>
Title: Re: Wormy!
Post by: Stefan Bauwens on October 25, 2011, 12:49:12 pm
Worms can be so cool sometimes...
Title: Re: Wormy!
Post by: Yeong on October 25, 2011, 03:20:20 pm
they ARE cool! :D
So Zeda, next is this?
(http://img.removedfromgame.com/imgs/worms.jpg)
Title: Re: Wormy!
Post by: LincolnB on October 25, 2011, 06:18:30 pm
Yes! Awesomesauce.
Title: Re: Wormy!
Post by: BalancedFury on October 25, 2011, 06:37:37 pm
I love that game...
I used to play it in Korea
Title: Re: Wormy!
Post by: Deep Toaster on October 25, 2011, 07:26:51 pm
That is fast! And yeong, if that were possible, O.O
Title: Re: Wormy!
Post by: BalancedFury on October 25, 2011, 09:09:32 pm
It would be awesome if that was possible on calc..
The person who make that in calc will receive some kind of Nobel Prize (Maybe Not, But Still) It would be amazing to see that on calc.
Title: Re: Wormy!
Post by: Stefan Bauwens on October 26, 2011, 04:43:44 am
That is fast! And yeong, if that were possible, O.O
That is a totally different game.
And: http://www.ticalc.org/archives/files/fileinfo/416/41611.html
It is possible ;)
Title: Re: Wormy!
Post by: BalancedFury on October 26, 2011, 09:02:47 pm
Awesome!
Thnx for telling me
+1 for u :P
Title: Re: Wormy!
Post by: DJ Omnimaga on December 31, 2011, 02:35:01 pm
That is fast! And yeong, if that were possible, O.O
That is a totally different game.
And: http://www.ticalc.org/archives/files/fileinfo/416/41611.html
It is possible ;)

I actually remember another worms game for calcs called Ti-Ny Worms or something. Not sure if it was still on ticalc.org but the original French site shutted down.

Anyway this looks nice Xeda.