Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: tloz128 on December 11, 2010, 09:46:13 pm

Title: Axe Tetris
Post by: tloz128 on December 11, 2010, 09:46:13 pm
Wait, before you start reading play this in the background.
http://www.youtube.com/watch?v=GmYx2p5WqUY (http://www.youtube.com/watch?v=GmYx2p5WqUY)


I noticed that Tetris hasn't yet been made in Axe (as far as I know- correct me if I'm wrong), so I decided to make it. The game really is pretty much done, but I'm considering adding in a high-score feature. I can share the source code if anybody wants it, but it really isn't that great. Oh, and it runs in 6mhz mode.


Comments? Things I can change/improve on in it?
Title: Re: Axe Tetris
Post by: apcalc on December 11, 2010, 09:49:21 pm
Wow!  That looks great! :)
Title: Re: Axe Tetris
Post by: tloz128 on December 11, 2010, 09:57:38 pm
^^thanks!
Title: Re: Axe Tetris
Post by: SirCmpwn on December 11, 2010, 10:01:47 pm
Nice!  I may actually want the source code, and may give it back to you with a nice surprise ;) I have a version of Tetris in progress on my calc, and I have an idea for this one...
Title: Re: Axe Tetris
Post by: nemo on December 11, 2010, 10:02:07 pm
whoa, this is nice. how are you implementing your score system when you clear a line of blocks? you may want to look at this (http://tetris.wikia.com/wiki/Scoring)
Title: Re: Axe Tetris
Post by: guy6020665 on December 11, 2010, 10:15:07 pm
Looks pretty cool, but i think the score goes up too fast. Is the score only 2-bytes? because that would be a problem, on ztris i got a score of 40k, so on yours that would loop multiple times.
Title: Re: Axe Tetris
Post by: SirCmpwn on December 11, 2010, 10:29:00 pm
I prefer this theme, btw:
Title: Re: Axe Tetris
Post by: tloz128 on December 11, 2010, 10:52:22 pm
Nice!  I may actually want the source code, and may give it back to you with a nice surprise ;) I have a version of Tetris in progress on my calc, and I have an idea for this one...
Source code is below. I can elaborate on it if it's a bit confusing.

Looks pretty cool, but i think the score goes up too fast. Is the score only 2-bytes? because that would be a problem, on ztris i got a score of 40k, so on yours that would loop multiple times.
Yes, the score is a 16-bit variable. I was a bit surprised though by the fact that you said the score went up too fast, though. It goes up way slower than in the original Tetris. To safeguard against the score from resetting for the time being, however, I made it stop increasing the score after it got bigger than 64000 and just made it say "Max".

whoa, this is nice. how are you implementing your score system when you clear a line of blocks? you may want to look at this (http://tetris.wikia.com/wiki/Scoring)
The scoring is different from in the original Tetris, I can guarantee that. I did this, as previously mentioned, to prevent the score from increasing as rapidly as in the original. I would've used Calc84maniac's 32 bit addition/subtraction routine, but I don't know how I would display 32 bit numbers with the existing text routines.
Title: Re: Axe Tetris
Post by: ztrumpet on December 11, 2010, 11:05:32 pm
This is a great version of Tetris.  Excellent job! ;D

I think these need to be added:
[Mode] - Pause/Unpause the game
[Up] - Same as [2nd]
[Alpha] - Quick Drop (Like down was held)
Title: Re: Axe Tetris
Post by: Quigibo on December 11, 2010, 11:20:26 pm
Maybe add music?  That way you don't have to listen to it from youtube, you can just plug in headphones.  Nice game by the way :)
Title: Re: Axe Tetris
Post by: SirCmpwn on December 11, 2010, 11:42:22 pm
Done.  Both files must be on your calculator.
Title: Re: Axe Tetris
Post by: tloz128 on December 11, 2010, 11:46:50 pm
Done.  Both files must be on your calculator.
That's awesome!
Just wondering- did you put it into full mode for the music?
Title: Re: Axe Tetris
Post by: SirCmpwn on December 11, 2010, 11:47:07 pm
No.  Still runs at 6 MHz.
Title: Re: Axe Tetris
Post by: tloz128 on December 11, 2010, 11:51:05 pm
So there would be essentially no slowdown at all if it were in 15Mhz mode! I'm just wondering though, could you post the source for the mod? I'll give you credit for this if I upload it to ticalc.
Title: Re: Axe Tetris
Post by: guy6020665 on December 11, 2010, 11:52:18 pm
Done.  Both files must be on your calculator.

Wow you added sound in like 20 minutes. I tip my hat too you.
Title: Re: Axe Tetris
Post by: SirCmpwn on December 11, 2010, 11:52:25 pm
In 15 MHz mode, the music will play 3 times as fast, though :P
I'll grab the source, a lot of it is Quigibo's.
EDIT: Source is attached.  I only attached the relevant files.
Title: Re: Axe Tetris
Post by: DJ Omnimaga on December 13, 2010, 12:35:09 am
Wow awesome tloz128! Also nice sound addition Sir :)

However, I can't compile the two last files. I get a pic missing error on TET
Title: Re: Axe Tetris
Post by: SirCmpwn on December 13, 2010, 12:37:14 am
Go back a few posts and download the pic.
Title: Re: Axe Tetris
Post by: DJ Omnimaga on December 13, 2010, 12:41:06 am
Ah thanks, I missed it because it wasn't in the first post.

EDIT: Nice, one thing though is that you should make the music loop.
Title: Re: Axe Tetris
Post by: SirCmpwn on March 02, 2011, 09:56:49 pm
So are you ever going to upload this to TI-Calc?
Title: Re: Axe Tetris
Post by: DJ Omnimaga on March 03, 2011, 11:35:42 pm
Yeah that would be a good idea (and maybe here). I wonder if he's still around, though, because he hardly posts anymore. :S
Title: Re: Axe Tetris
Post by: tloz128 on March 04, 2011, 12:17:37 am
Yeah, I'm still here. I've just been a bit busy for calculator things.
@SirCmpwn I will probably get around to uploading it to ticalc eventually, but I'm in no rush.
Title: Re: Axe Tetris
Post by: DJ Omnimaga on March 04, 2011, 12:28:13 am
Ah ok, glad to see you're still planning to upload this. :D
Title: Re: Axe Tetris
Post by: qazz42 on March 09, 2011, 04:52:47 pm
SirC, I tried the game with music on wabbit, I <3 it! Is it possible that you can add 2 things.

1. Make it so you do not need the variable (unfortunetly, I need my RAM free and do not like archiving and unarchving ><)
2. Eh, not as important, but is looping music possible?

thxs :D
Title: Re: Axe Tetris
Post by: Compynerd255 on March 10, 2011, 11:52:56 am
Ooh, a competitor.

I looked at your screenshot, and your game does look really cool. I guess that both of us have different priority as to which features are important. You have sound already, and I have multiplayer linking.
Title: Re: Axe Tetris
Post by: SirCmpwn on March 10, 2011, 04:40:10 pm
I could do both of those (sound related) things.
Title: Re: Axe Tetris
Post by: qazz42 on March 10, 2011, 04:48:33 pm
Oooh, nice :D it will replace ztetris asap if that happens :D
Title: Re: Axe Tetris
Post by: DJ Omnimaga on March 11, 2011, 12:56:44 am
To clarify, this game started way before Eitrix, but it went kinda dormant. I think initially it was mostly to showcase music in games.
Title: Re: Axe Tetris
Post by: SirCmpwn on March 11, 2011, 08:53:33 am
This game was originally a Tetris game by someone else :P I just saw it and asked for the source, then added music.
Title: Re: Axe Tetris
Post by: DJ Omnimaga on March 11, 2011, 11:35:03 pm
Oh, right, I forgot. X.x I totally forgot who made it, lol.
Title: Re: Axe Tetris
Post by: qazz42 on March 19, 2011, 12:05:54 pm
Here, I took a stab at making a Tetris MT3, it will require Quadplayer if you wanna listen on your computer and DCS-MT3 if you wanna listen on-calc

tell me what you think, I myself thought it came out good
Title: Re: Axe Tetris
Post by: SirCmpwn on March 19, 2011, 12:07:26 pm
I'll give this a listen as soon as I can.
I'm also working on the actual improvements to Tetris in my spare time.
Title: Re: Axe Tetris
Post by: qazz42 on March 19, 2011, 12:13:59 pm
ooh, nice to hear

and thanks, do tell me what you think