
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
|
Hello everyone!
This is my obligatory Tetris clone. I figure its playable enough to release.
If anyone feels the need to improve the game, do it. I would enjoy hearing from
you and adding any code changes you might have. My internet address is:
umsmigi0@ccu.umanitoba.ca
This program can only be started from CLI and needs 2.0.
OPTIONS
PLAYERS - Number of players. Right now has a max of 3. You can have more
players by adding new raw key code strings to the ControlKeys array.
Also add a corrosponding KeyTask element to the Tasks array.
LEVEL - Level to start at.
DEPTH - Depth of bitmaps. Will probably crash if you set it higher than the
screen. It will default to 2, even if your screen is deeper.
XSIZE - Change the width of the Tetris pieces.
YSIZE - Change the height of the Tetris pieces.
BORDER - Size of ther border around the Tetris 10×20 playfield.
NOWAIT - Don't wait for other players. Normally you will not go to the next
level if other players have not finished the level as well.
LEVELS
To use the levels you need to assign Tetris: to the place where the levels
directory is. Use the TxtToBin command to make the levels. There are some
example levels in the supplied directories. The format for making a level is:
line 0: Decimal number which shows how this level is to end. You will usually
want to use 3, I'm not sure if anything else will work. Bit 1 means
you need to clear X number of rows. X is defined later on. Bit 2
says you only have Y seconds to finish. Y is defined later.
line 1: Number of rows to clear. (X from above)
line 2: Time to play. If the time runs out, game over. (Y from above)
line 3: How many seconds until a line pops up from the bottom.
line 4-24: 20 lines of hex numbers which describe the playfield. Only the last
10 bits are used by TxtToBin.
BUGS
The joystick stuff was a little buggy. I don't think the port is freed. Which
I don't understand, because I used the code Commodore supplied. If you want to
use the joystick, rearrange the ControlKeys and Tasks array so that JoyTask is
first.
The score, time and row count are not adjusted according to XSize and YSize.
Same goes for the next piece display.
Can't think of anymore. I think I've found and removed all the enforcer and
mungwall hits.
TODO
It would be nice to have a level editor.
Be able to change the colors of the pieces. Maybe use patterns as well.
Let the user change the keys to use.
High score table.
etc.
Trevor
umsmigi0@ccu.umanitoba.ca
|
Contents of game/think/TTetris.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwx--s--- 1947/108 0 0 ****** -lhd- 0000 Nov 18 1992 Tetris/
-rw------- 1947/108 957 3111 30.8% -lh5- 0877 Oct 29 1992 Tetris/GamePort.c
-rw------- 1947/108 1664 3692 45.1% -lh5- 68cf Nov 1 1992 Tetris/GamePort.o
-rw------- 1947/108 177 326 54.3% -lh5- 3e52 Oct 29 1992 Tetris/GamePort_protos.h
-rw------- 1947/108 144 198 72.7% -lh5- 1f0f Nov 18 1992 Tetris/SCOPTIONS
-rw------- 1947/108 2354 6677 35.3% -lh5- f40d Nov 18 1992 Tetris/TestImages.c
-rw------- 1947/108 15412 27780 55.5% -lh5- 7ae0 Nov 18 1992 Tetris/Tetris
-rw------- 1947/108 3702 15320 24.2% -lh5- 6d24 Nov 18 1992 Tetris/Tetris.c
-rw------- 1947/108 976 2022 48.3% -lh5- 2424 Nov 18 1992 Tetris/Tetris.h
-rw------- 1947/108 1351 2675 50.5% -lh5- 5f96 Nov 18 1992 Tetris/Tetris.readme
-rw------- 1947/108 2189 7000 31.3% -lh5- f557 Nov 18 1992 Tetris/TetrisImages.c
-rw------- 1947/108 556 1090 51.0% -lh5- 940e Nov 18 1992 Tetris/TetrisImages_protos.h
-rw------- 1947/108 563 1159 48.6% -lh5- 3135 Nov 18 1992 Tetris/Tetris_protos.h
-rw------- 1947/108 2349 3540 66.4% -lh5- 830e Nov 18 1992 Tetris/TxtToBin
-rw------- 1947/108 841 1792 46.9% -lh5- 7a00 Nov 18 1992 Tetris/TxtToBin.c
-rw------- 1947/108 694 1296 53.5% -lh5- 9c69 Nov 18 1992 Tetris/con_input.h
-rw------- 1947/108 1650 4562 36.2% -lh5- 82c1 Nov 18 1992 Tetris/joy_input.c
-rw------- 1947/108 2006 6182 32.4% -lh5- 7299 Nov 18 1992 Tetris/key_input.c
drwx--s--- 1947/108 0 0 ****** -lhd- 0000 Nov 18 1992 Tetris/levels/
-rw------- 1947/108 23 50 46.0% -lh5- 1ed4 Nov 18 1992 Tetris/levels/0
-rw------- 1947/108 35 50 70.0% -lh5- 338b Sep 16 1992 Tetris/levels/1
-rw------- 1947/108 28 50 56.0% -lh5- a5fc Sep 16 1992 Tetris/levels/2
-rw------- 1947/108 3952 12154 32.5% -lh5- 90d6 Nov 18 1992 Tetris/main.c
-rw------- 1947/108 490 879 55.7% -lh5- c6b0 Nov 18 1992 Tetris/main_protos.h
-rw------- 1947/108 262 735 35.6% -lh5- be9c Nov 17 1992 Tetris/smakefile
drwx--s--- 1947/108 0 0 ****** -lhd- 0000 Nov 18 1992 Tetris/txtlevels/
-rw------- 1947/108 18 50 36.0% -lh5- a5ff Sep 16 1992 Tetris/txtlevels/0
-rw------- 1947/108 32 59 54.2% -lh5- 871f Sep 16 1992 Tetris/txtlevels/1
-rw------- 1947/108 22 71 31.0% -lh5- 8f8d Sep 16 1992 Tetris/txtlevels/2
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 29 files 42447 102520 41.4% Nov 18 1992
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |