Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Jon on February 05, 2007, 08:53:00 am

Title: Tetris
Post by: Jon on February 05, 2007, 08:53:00 am
Check out  my beta of a Tetris Game I'm making.

user posted image
Title: Tetris
Post by: Krid on February 05, 2007, 09:14:00 am
Looking nice so far! Be sure to add an instant-drop key.
And perhaps maybe to make things more interesting you could add a mode where the screen is much wider?
Title: Tetris
Post by: Jon on February 05, 2007, 09:22:00 am
Nice idea, ty XDsmiley.gif


i dunno about a wider screen, i would have to rewrite the entire game, which currently depends on a set width.  But maybe a separate version  :thumbup:google.gif



EDIT:  I have added the instant drop.  Please keep making suggestions.  The more stuff I add to this, the less bored you will be in physics ;)wink.gif
Title: Tetris
Post by: Halifax on February 05, 2007, 09:49:00 am
wow o.oblink.gif nice is this tha PH1 project

EDIT: Suggestion

make it less cool ;)wink.gif j/k
Title: Tetris
Post by: Jon on February 05, 2007, 09:50:00 am
TY for the support, and no, this isn't PH1, it is just a project I worked on all yesterday.  I was able to keep the size under 1.5k XDsmiley.gif, which I'm pretty proud of.

EDIT: newest screen shot:

user posted image
Title: Tetris
Post by: trevmeister66 on February 05, 2007, 11:35:00 am
man, you suck at tetris (playing it i mean)

j/k j/k looks really good. hmm *thinks of suggestion*

Is there the ability to see what the next block will be? They have that as an option on the original tetris for gameboy (which was my first game for gameboy, and i still have it :)smile.gif)
Title: Tetris
Post by: rivereye on February 05, 2007, 12:09:00 pm
really cool. Jon, what language, and which calcs is this?

Btw, will have to see if non-staff can add programs to archives (might have to make decision with tifreak and tenniskid).
Title: Tetris
Post by: graywolf on February 05, 2007, 12:16:00 pm
I bet it's 83/84 and done in ASM. Maybe you can have a difficult mode where the bottom takes forever to disappear (or actually starts moving up)  :/confused.gif  I like the edges :)smile.gif
Title: Tetris
Post by: trevmeister66 on February 05, 2007, 12:36:00 pm
yeah, i'm like 99% sure it's 83+ z80 ASM. Just a hunch.
Title: Tetris
Post by: Halifax on February 05, 2007, 03:47:00 pm
wow is that scrolling smooth grayscale. Nice
Title: Tetris
Post by: Demon on February 05, 2007, 04:01:00 pm
I tried it on mine and Yoshy tried it on his.  I use Crunchy and he uses MirageOS.  For some reason on mine, some of the pieces would get deformed when you rotated them.  I don't remember if he said he had the same problem or not, but he wrote down some bugs he found, so I'll remind him to post that later.

Suggestions:
Drop-down goods and evils like bombs to clear away some of the blocks, a point increase, the one block that falls down and anything that touches it gets discentegrated, stuff like that.
*Demon
Title: Tetris
Post by: Jon on February 06, 2007, 05:01:00 am
I am officially ignoring all bugs found for non-mirage shells.  This is a mirage game.  If it does work on another shell then that's awesome! :thumbup:google.gif but if it doesn't I will not add any extra code to make it compatible.  I've added the pause feature, and now it only scrolls on the 83+ SE, and 84+  BE/SE.  I did this because those models have the 15 mhz available, whereas the BE does not.  Sorry.  And no, that's not grayscale, but it sure as hell looks like it at 15 mhz.
Below are some screenshots:
Please note that they go faster than that, it is just calccapture slowing them down.


83+ BE (Emulated with PTI):
user posted image

83+ SE (Emulated with Flash Debugger):
user posted image

And to answer your question, yes, it is in 83+ ASM.
Title: Tetris
Post by: rivereye on February 06, 2007, 05:27:00 am
cool. Looking really cool actually. I can't wait to see the finished product. A++
Title: Tetris
Post by: Halifax on February 06, 2007, 05:34:00 am
yea dude this has to be your best project yet by far i am blown out of the water

EDIT:

It makes me want to go and program some ASM right now
Title: Tetris
Post by: Spellshaper on February 06, 2007, 06:57:00 am
mmm tetris. looks decent and fluid so far. And I really like the moving bg. Cause it's distracting from the game. Make it so that not only will the blocks fall faster with each level, but also the bg gets more crazy! that would rock :Dbiggrin.gif

ROCKuser posted imageON! ;)wink.gif
Title: Tetris
Post by: rivereye on February 06, 2007, 07:30:00 am
good idea spelli, a more distracting background would add to game play.
Title: Tetris
Post by: Halifax on February 06, 2007, 07:58:00 am
definetly
Title: Tetris
Post by: Floodkiller on February 06, 2007, 10:30:00 am
How about a mode that only counts tetrises (the best plural of tetris I can think of) for points, but still speeds the gameplay up if you clear lines, no matter how many at a time?
Title: Tetris
Post by: Liazon on February 06, 2007, 10:59:00 am
Pretty awesome man!  Like the moving background :)smile.gif

@spelli: very interesting photo
Title: Tetris
Post by: graywolf on February 06, 2007, 12:57:00 pm
Are you planning on adding any cheats?  :Ptongue.gif
Title: Tetris
Post by: Jon on February 06, 2007, 02:31:00 pm
Ok, I have the second BG done, now all I have to do is write 23 more, and fix a bunch of bugs I've found. :/confused.gif

EDIT: Yes, I will add cheat codes, but good luck figuring them out without a source code :)smile.gif
Title: Tetris
Post by: rivereye on February 06, 2007, 02:57:00 pm
I have my ways (just torture the developer until he says something).
Title: Tetris
Post by: tenniskid493 on February 06, 2007, 05:11:00 pm
For Futrue Reference: Staff requests should be done within a pm, not in a post.

It is not a problem this time.
Title: Tetris
Post by: Krid on February 07, 2007, 03:32:00 am
Wow, this is shaping up very nicely! Looking forward to trying this one out. How big is it so far?
Title: Tetris
Post by: Jon on February 11, 2007, 08:11:00 am
Just an update, I am also making a TI-86 version.  The video memory == alot more speed since i dont have to fastcopy.
Title: Tetris
Post by: rivereye on February 11, 2007, 08:55:00 am
cool. Btw, as you are staff now, you are entitled to a subforum if you want one for the project (like a lot of other ones have).
Title: Tetris
Post by: Jon on February 11, 2007, 03:11:00 pm
Update: The TI-86 has an additional 32 pixel columns of space on its screen.  I'm wondering what I should do with it.  Should It be and extension of the scrolling background, or should it be a cool looking 32X64 splash, or perhaps something else? Please post some suggestions.
Title: Tetris
Post by: Halifax on February 11, 2007, 03:13:00 pm
I like the screenshot that you have as your avatar for the 86 that looks amazing

EDIT: Maybe you could provide source to the 86 port when its released because I want to start programming 86!
Title: Tetris
Post by: trevmeister66 on February 11, 2007, 03:15:00 pm
yeah that looks really really good. Nice background too. Too bad i don't have an 86 though :(sad.gif
Title: Tetris
Post by: Halifax on February 11, 2007, 03:15:00 pm
Maybe you should go post this topic on axcoderzmay.orgay
Title: Tetris
Post by: trevmeister66 on February 11, 2007, 03:19:00 pm
QUOTE
Maybe you should go post this topic on axcoderzmay.orgay

lol are we not allowed to maxcoderz.org?

but i agree with Halifax, and you should post on UTI, RS, and TIFW too.
Title: Tetris
Post by: rivereye on February 11, 2007, 03:23:00 pm
well, the only issue with RS is that the only project disscuessed there at the moment is the site.
Title: Tetris
Post by: trevmeister66 on February 11, 2007, 03:27:00 pm
o, i didn't know that. I don't go there really ever. But you should still post it on the other sites. :)smile.gif
Title: Tetris
Post by: Jon on February 11, 2007, 03:30:00 pm
@Halifax & Trevmeister66:
Yeah, I will definitely post on all the other forums when I get around to it.  I'm kinda swamped with homework ATM.

@Halifax:
I will release the game as soon as it is ready. (probably before March), as far as the source goes, I will probably release that later, after the game's been circulating for a while.

@Rivereye:
I think I'll take you up on that offer for a staff forum.  Title: Jon's Projects. Topics (so far): Tetris, Tetris BG Code.

EDIT: and ASM Tutorials, as well.
Title: Tetris
Post by: rivereye on February 11, 2007, 03:33:00 pm
Jon, will get it set up quickly. What should the forum description be?
Title: Tetris
Post by: Jon on February 11, 2007, 03:39:00 pm
rivereye check your PM's
Title: Tetris
Post by: rivereye on February 11, 2007, 03:44:00 pm
just did, and created, topics being moved now.
Title: Tetris
Post by: bfr on February 11, 2007, 03:50:00 pm
Cool screenshots.  I'm looking forward to playing this on my TI-84+ Silver Edition and Ti-86.  :)smile.gif
Title: Tetris
Post by: rivereye on February 11, 2007, 03:52:00 pm
as am I. this will pawn zTetris
Title: Tetris
Post by: Speler on February 11, 2007, 03:53:00 pm
If you add two player it would completely outdate it as well...
Title: Tetris
Post by: trevmeister66 on February 11, 2007, 03:56:00 pm
Heck yeah it will. I don't if zTetris had this or not (i think it did, but i could never get it to work), but are you going to have a multi-calc option?

EDIT: man i started writing this when you did, then got distracted and posted it after you x.x
Title: Tetris
Post by: rivereye on February 11, 2007, 03:56:00 pm
actually, zTetris has two player, but it isn't all that great really (and it works better with two 84+(SE) through the I/O port better then anything else really).
Title: Tetris
Post by: Jon on February 11, 2007, 04:07:00 pm
Yeah, 2 player is definitely on my to-do list.  I'll have to take a look at bell on maxcoderz, that looks promising.

UPDATE:
I optimized each version, here they are in full glory :-)

83+: (I blame the choppyness/inaccurate speed on flash debugger)
user posted image

86:
user posted image
PS: they actually run smoothly, it's just calccapture bein' a hater
Title: Tetris
Post by: graywolf on February 11, 2007, 05:59:00 pm
It just keeps getting better and better  :thumbup:google.gif
Title: Tetris
Post by: rivereye on February 12, 2007, 10:28:00 am
yeah it does. Can't wait for a preview (with them nice admin only cheats, lol).
Title: Tetris
Post by: Halifax on February 12, 2007, 10:31:00 am
Yeah seriously I think this program has already pwn'd zTetris by far. Hey whats the size in bytes so I can keep a dedicated spot of ROM for this program when its released :)smile.gif
Title: Tetris
Post by: trevmeister66 on February 12, 2007, 10:53:00 am
yeah, looks even better now. I don't mean to be a problem, but couldn't you do something with the 85 (or 86, whichever), and make it take the whole screen or have added features or something?
Title: Tetris
Post by: Halifax on February 12, 2007, 10:57:00 am
trevmeister66 it is more than it sounds like that is why most games made for 89 that are on 92+, and V200 thats are direct ports don't take up the entire screen they only take up an 89 sized screen. Either way I think its just an advantage to 86 gamers to have this great game on their calculator

but maybe he will do something never know
EDIT: One example is Nibbles 68K
Title: Tetris
Post by: trevmeister66 on February 12, 2007, 11:00:00 am
yeah, it's awsome that it will be on another calc (too bad i don't have an 86 :(sad.gif, although i'll have my 84+ SE :)smile.gif ) I was just wondering if he was going to add some bonus stuff for the 86.
Title: Tetris
Post by: Jon on February 12, 2007, 06:28:00 pm
HMM, perhaps a poll is in order to see what I should do?
Title: Tetris
Post by: graywolf on February 13, 2007, 12:53:00 pm
Something I noticed in your avatar screenshot is that not all the blocks have distinct borders, especially when they are falling from the top. Maybe that is just a moving tile problem or something, I don't know.
Title: Tetris
Post by: CureDesu on February 13, 2007, 01:00:00 pm
In the screenshot avatar, one of the columns on the right is skinnier than the others.
Title: Tetris
Post by: Jon on February 13, 2007, 02:13:00 pm
Meh, stupid resizer.  That is actually a crappy shot.  If you look near the bottom of page 3 of the thread you will see the full-size version of the pic, and you will also see that when it was resized for my avatar it got distorted.
Title: Tetris
Post by: Jon on February 24, 2007, 06:44:00 pm
Whoo, I've finally finished XDsmiley.gif check it out!!!

user posted image
Title: Tetris
Post by: graywolf on February 24, 2007, 07:08:00 pm
Amazing work!  :king:king2.gif
Title: Tetris
Post by: Spellshaper on February 25, 2007, 12:47:00 am
Jeez... that looks messed up!
-> I like it ^_^
Title: Tetris
Post by: bfr on February 25, 2007, 04:57:00 am
Niiiiiiiccccccceeeeeee!   :king:king2.gif
Title: Tetris
Post by: rivereye on February 25, 2007, 05:40:00 am
linky for download?
Title: Tetris
Post by: Jon on February 25, 2007, 10:59:00 am
Eh, ticalc will take too long, any good filehosting sites?
Title: Tetris
Post by: rivereye on February 25, 2007, 11:11:00 am
whatever you think will work. Check with tifreak8x on what it takes to upload files to our archives.
Title: Tetris
Post by: Jon on March 02, 2007, 05:31:00 pm
Ok, I've released Tetris 1.1, with a bunch of bug-fixes and optimizations.

Title: Tetris
Post by: necro on March 02, 2007, 06:12:00 pm
woot!
Title: Tetris
Post by: trevmeister66 on March 02, 2007, 06:38:00 pm
yeah, the one at ticalc.org was sooooo slow because u added a 2.5 MB picture...
Title: Tetris
Post by: DJ Omnimaga on March 10, 2007, 08:53:00 am
HOLY crap! Awesome! This is for the 83+ or 86? I didnt read the topic yet but this looked like a 86 screenies, which is why i was wondering :)smile.gif

Nice to see you in the team btw :)smile.gif
Title: Tetris
Post by: rivereye on March 10, 2007, 09:41:00 am
actually, it is both (a version for each).
Title: Tetris
Post by: Jon on March 10, 2007, 09:52:00 am
I've kinda been slacking on the 86 version :zzz:sommeil.gif , and it hasn't been released yet. That's the 83+ vers. that I've released, I just have an avatar of the 86 version.  I'm really busy ATM, got schoolwork.  Maybe I'll work on tetris over the summer.
Title: Tetris
Post by: bfr on March 10, 2007, 11:53:00 am
It's kind of nice that there is another TI-86 programmer here besides me.  

*bfr
Title: Tetris
Post by: Jon on March 10, 2007, 06:07:00 pm
ok, I lied about the birthday. And besides, she doesn't have an 86.
Title: Tetris
Post by: graywolf on March 11, 2007, 09:28:00 am
Lazy on the 86 version... GOSH!  :flame:tresfache.gif  j/k

What birthday? Mine was yesterday, but I was taking the SAT and filming videos so I didn't realize until my parents reminded me.  :Ptongue.gif
Title: Tetris
Post by: Jon on April 22, 2007, 12:36:00 pm
Thanks to the blessing of boredom, I've revived tetris.  I've added a hold feature that keeps a piece stored away and you can exchange it with your current one at any time.  The problem is there's nowhere on the screen to display it.  Any suggestions?
Title: Tetris
Post by: trevmeister66 on April 22, 2007, 02:00:00 pm
make the player just have to remember it
Title: Tetris
Post by: graywolf on April 22, 2007, 02:16:00 pm
Or have the player press a key that will pause the game and show the piece.
Title: Tetris
Post by: Jon on April 23, 2007, 04:07:00 pm
Ok, after 2 months of on-and-off work, I've finally completed NGTetris 1.2  it comes in 2 forms, one of which includes the scrolling backgrounds, and one that does not, but is 500 bytes less in size.  Check it out!!

Title: Tetris
Post by: dinhotheone on May 10, 2007, 10:19:00 am
bug report: i thought i posted this before, guess not, you can make pieces disapear sometimes on the left wall, btw this is 1.2 on dcs and i havent been able to do this on the right wall.
Title: Tetris
Post by: Speler on May 10, 2007, 10:20:00 am
Yeah, I meant to post that also.  As well, on my 84+ with Crunchy the fourth (and all those after it) background looks weird and buggy.
Title: Tetris
Post by: Halifax on May 10, 2007, 01:03:00 pm
Yes this has also happened to me with MOS 1.2. It usually only happens when I start the game.
Title: Tetris
Post by: DJ Omnimaga on July 18, 2007, 04:53:00 am
adding this to archive soon
Title: Tetris
Post by: dinhotheone on September 19, 2007, 01:48:00 pm
john could you cheack the bug report on the forum page before this? now that your back. i never recieved an answer about this.
Title: Tetris
Post by: Jon on September 19, 2007, 01:50:00 pm
yeah that....eh, i'm not into that. the source is included, so if you wish to do that, be my guest.
Title: Tetris
Post by: DJ Omnimaga on September 19, 2007, 05:55:00 pm
well usually it's the original author who fix bugs IIRC x.x, well at least from experience, unless you really say you aren't gonna maintain this game anymore