123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|544|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> On Topic -> My attempt at coding a Tetris clone.

Wed, 13 Mar 2013, 20:49
steve_ancell
I actually managed to finish coding a game, it's bog standard Tetris, a bit shit I know but it's all my work except for the music.


(Linkage!) (Includes Source)
Thu, 14 Mar 2013, 00:51
Dabz
Works here, only thing is to do keypresses, I have to hold a key down for a second or two before it acknowledges it, which makes it very laggy if you get me.

I am running in a VM, but, just tested a BlitzMax build of Digestroids, and the input is instant as expected.

I love tetris me, nice job none the less!

Dabz



-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Thu, 14 Mar 2013, 02:17
Jayenkai
The arena is FAR too big. Makes the game a little lackluster, IMO.

It's a good engine, though. Seems to have the right sort of "feel" to it.
A few tweaks here and there, and all should be good.
..

Playing it DID make me think of doing something, though..
: Download

-=-=-
''Load, Next List!''
Thu, 14 Mar 2013, 06:48
steve_ancell
Thanx for the feedback peeps.

The keypress thing works OK here but I did have in mind what you said though Mike that there may be key lagging issues on other machines.

When you say the arena is too far big Jay, do you mean the gamefield area or do you mean that the gamefield it'self looks too small for the screen?. I basically divided the resoloution width over 100 squares and the height over 60 squares to hopefully make the gamefield cells look similar sizes across multiple computers, the screen resolution is auto-set to the maximum resolution of the graphics capabilities.
Thu, 14 Mar 2013, 06:50
steve_ancell
Liking the tunage you did further up there Jay.
Thu, 14 Mar 2013, 07:11
steve_ancell
The source is included in the zip file. Anyone on here is welcome to use it in their own projects if they wish to do so.

|edit| You may notice that the further you scroll down the source code, the comments start to become more diluted, that's coz I was running out of things to say. |edit|

|edit| It sure felt like writing the comments took longer than the coding it'self. |edit|
Thu, 14 Mar 2013, 07:51
Dabz
I think he means the game area, the original Tetris wad 10x22 if i recall.... So, basically, your confined to a small area, and when it starts filling up, and the game speed gets a little faster, it means more frantic gameplay sooner rather then later... Which is half the fun of Tetris as there's nothing better then it going 400 miles an hour and managing to clear out a large portion of the map when under the cosh!

Though, i wouldn't give up on a player playing area, you could start small, then, build the game size up and plonk blocks about to hinder the player a little.

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Thu, 14 Mar 2013, 09:58
rockford
Not bad. Not bad at all. A bit more colour, a smaller play-area and Bob's your parent's brother.

Jay's tune is cool - definitely one of the better remixes.
Thu, 14 Mar 2013, 12:12
steve_ancell
Mike, it does get slightly faster as the level number increases, it stops increasing when the timer reaches 50 a millisecond delay. That start small then gradually get bigger games size thing sounds like an interesting idea.

Thanks rockford.
Sat, 16 Mar 2013, 12:11
Hotshot
Enjoyable Teris Games but it isn't easy to make Teris games...

Well Done
Sat, 16 Mar 2013, 14:24
steve_ancell
Thanks.