Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Potato

Pages: 1 [2]
16
TI Z80 / Re: Tetris on the calculator - Help?
« on: March 31, 2011, 07:51:48 pm »
to stack, try using pixel test.
spinning... how do you store the tetris piece in memory? a list? a variable?
anyway, welcome to omni!
have the peanuts

What do you mean store the tetris piece?
The picture or ones that have already landed or which piece?



cemetech's sourcecoder 2.0

Thanks :D



Edit by ZTrumpet: Doublepost merged.

17
TI Z80 / Re: Tetris on the calculator - Help?
« on: March 31, 2011, 07:50:44 pm »
Welcome to Omnimaga, Potato. :)

Basic Tetris would be a very hard game to program indeed.  There's a finished version in basic by Builderboy located here.  I still recommend seeing your program out to completion though, as it's a good exercise in coding.  I'm sure Builderboy won't mind if you look at his code for ideas.  Good luck! ;D

I plan to 1 up his.

And I lost my wire. :(

Can you view programs on the calc (the code)

18
TI Z80 / Tetris on the calculator - Help?
« on: March 31, 2011, 07:43:35 pm »
[This is my first post and I'm still a little confused so sorry if I post this in the wrong place]
[Yes I already know it's been made]
Hey, I'm a amateur coder using BASIC and my current project is Tetris.  So far I have my program to do these things (in this order)

1) Loop
2) Rand int (1,7)
3) Run a program based on the number randomed
4) The program than creates the tetris piece (right now it's a letter but I'm going to fix this later)
5) The tetris piece than falls at a constant rate with a imprint of the same piece under it  (This does not fall) (The tetris piece can be moved left and right; hard and soft drop to be added later)
6) Once the tetris piece lands the bottom of the screen (where the imprint is) is cleared
7) Loop again

Problems I have:
-[Solved, thanks guys] The tetris pieces don't stack.  Right now it isn't coded to but I can't think of a realistic way to do this
-I can't spin the tetris pieces.  Again can't think of a real way to do this (other than when the spin button is pressed it changes the piece all together to the spun all together)
-Can't make tetris pieces (realistically)

Things to be implemented
-Score and high scores (not sure if I want to add this)
-Ability to clear
-User interface
-Menu
-Hold
-Specials (perfect clear, t-spin, tetris etc etc etc)

If it's any help, each of the blocks that make up the tetris pieces will be 2x2 pixels (most likely) and each tetris piece is composed of 4 tetris blocks.  


Pages: 1 [2]