Tetris

A forum where you can announce your awesome project(s).

Moderator: MaxCoderz Staff

snowman_hater
New Member
Posts: 19
Joined: Mon 01 Jan, 2007 12:17 pm
Location: Ticalc, Obsessing over Stats

Tetris

Post by snowman_hater »

Hey, I made a tetris game, check it out.
Image
Last edited by snowman_hater on Wed 07 Feb, 2007 3:30 am, edited 1 time in total.
User avatar
Madskillz
Calc Wizard
Posts: 745
Joined: Fri 17 Dec, 2004 10:22 pm
Location: Wandering around in the Jungle...
Contact:

Post by Madskillz »

Not bad, I assume assembly. You got a download?
The Revolution is here...
snowman_hater
New Member
Posts: 19
Joined: Mon 01 Jan, 2007 12:17 pm
Location: Ticalc, Obsessing over Stats

Post by snowman_hater »

Note: refresh if you don't see the pic in my first post. :|

I would have put this in the graphics section, because it is technically graphics, but I decided not to, because it is coding, not sprites.

So here's what I need. I need 22 different routines that will animate the tetris background. The 2 areas that need animation are the far left column, which is Plotsscreen, and each byte below it (pixel columns 0-7), and the other, larger column, Plotsscreen +7, and Plotsscreen +8, and the bytes below it, (pixel columns 56-71), the only requirements are that the routine be under 5000 t-states, and not use any RAM other than plotsscreen (that means no adding sprites, you have to make it mess with what's already there [look at the screenshot in the other thread]). You should post your entries here with the code, followed by how you want your name in the credits, and a screenshot of it in action. This is not a competition, since I don't expect I will get more than 23 entries, it is just a way for you to get easy credits :) . All it takes is a pad of paper and 5 minutes.

Here's a sample, the code that makes it spiral:

Code: Select all

bg_0:
ld hl,plotsscreen
ld de,12
ld b,64
bg_loop_1:
rlc (hl)
add hl,de
djnz bg_loop_1
ld hl,plotsscreen+7
ld de,11
ld b,64
bg_loop_2:
rrc (hl)
inc hl
rrc (hl)
add hl,de
djnz bg_loop_2
ret
User avatar
crzyrbl
Calc Wizard
Posts: 518
Joined: Wed 06 Jul, 2005 4:56 pm
Location: 3rd rock....

Post by crzyrbl »

interesting. too bad I dont know asm...yet...
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.

Image
User avatar
cartj
New Member
Posts: 51
Joined: Tue 17 Oct, 2006 10:49 pm
Location: North West U.S.

Post by cartj »

So you're going to replace these animations with the current one? The current animation, although pretty cool, is very distracting. (at least, it is to me) :)
snowman_hater
New Member
Posts: 19
Joined: Mon 01 Jan, 2007 12:17 pm
Location: Ticalc, Obsessing over Stats

Post by snowman_hater »

Ok, here's a DL link, I hope you guys like it

Image

Download Tetris
User avatar
anykey
Extreme Poster
Posts: 420
Joined: Mon 31 Jan, 2005 3:36 am
Location: In the matrix
Contact:

Post by anykey »

Very nice! I love the cool backgrounds!
The text on the right runs into the black background...for some reason that's bugging me. Try leaving a pixel of space between the text and the background, or maybe just a black line.
Goddamn I'm OCD...
I think, therefore iMac
Image
snowman_hater
New Member
Posts: 19
Joined: Mon 01 Jan, 2007 12:17 pm
Location: Ticalc, Obsessing over Stats

Post by snowman_hater »

Erm, I guess I'll add that to 1.2.
I als just realized how screwy/buggy the highscores system is in this version, that will be fixed too. :/

Note: Still looking for background code.
User avatar
CDI
Maxcoderz Staff
Posts: 321
Joined: Tue 24 May, 2005 7:25 pm
Location: If I find out, you'll be first to know.
Contact:

Post by CDI »

Argh, you need to be on IRC more often, I hate reporting bugs on forums for some reason.

Yeah, the high scores are waay buggy, and the T piece, when rotated clockwise [ so it's a T on it's right side ] there are added pieces to the lower left side of the piece... like so

Code: Select all

  O
 OO
O O
OO
and it being Tetris, it should score like Tetris. Being you can score for more than just line clears. At least, that's how I didtinctly recall the NES version of Tetris working [ the one liscensed by Nintendo. It's been too long since I played the TenGen version ]
ImageImage
User avatar
Halifax
Sir Posts-A-Lot
Posts: 225
Joined: Mon 01 Jan, 2007 10:39 am
Location: Pennsylvania, US

Post by Halifax »

I thought Jon left the community. He said he was only going to be around for 2 or 3 weeks
snowman_hater
New Member
Posts: 19
Joined: Mon 01 Jan, 2007 12:17 pm
Location: Ticalc, Obsessing over Stats

Post by snowman_hater »

ok, I really wanna be done with this project so i can get on with my life, so tell me any and every thing I should put into this (aside from link play) so I never have to deal with this program again.
User avatar
DigiTan
Calc Master
Posts: 1069
Joined: Fri 04 Mar, 2005 12:52 am
Location: NW Wisconsin
Contact:

Post by DigiTan »

I'm interested to know how Tetris coding would work. Is the playfield it like a tileset?
My diet consists of nails, code-stealers, and HP fans.
Projects:

Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

Add music. :cool:
Image
User avatar
Halifax
Sir Posts-A-Lot
Posts: 225
Joined: Mon 01 Jan, 2007 10:39 am
Location: Pennsylvania, US

Post by Halifax »

DigiTan he released the source. Go check it out on ticalc.org
Floodkiller
Sir Posts-A-Lot
Posts: 245
Joined: Mon 14 Nov, 2005 9:47 pm
Location: Getting overwhelmed by everything
Contact:

Post by Floodkiller »

Only thing that really bugged me was that the slow drop speed (not insta drop) was so extremly fast I couldn't control it. Maybe a little slowdown would be nice. Otherwise, its awesome :).
Main Projects:
Zombie Attack: 20%

Side Projects:
???-25%

Image

Staff member of Hikaru Rakuen Programming.
Post Reply