HOME | DD

Published: 2012-03-08 14:57:01 +0000 UTC; Views: 3688; Favourites: 11; Downloads: 26
Redirect to original
Description
You can call this whatever you think this is.Use your cursor keys to navigate through the menu (up and down to select the game mode, right to actually start the game, left to go back). Once you are in game, left and right move the pieces, down drops the piece, up turns it. You need to click anywhere into the Flash first, before it'll be able to see any keys you press!
Anyhow!
I wanted to make a solid implementation of this kind of game a while ago, and this is what I ended up with. It has a no-frills game mode where you can just complete line after line until you reach the top, as well as several challenge modes that should, well, pose a challenge. These modes can actually be won, such as by completing a certain number of lines, or by removing all the star blocks in the field. Also, play the game during night time, and on new years, and see what happens.
Instead of letting this sit on my hard disk, I figured I share it for anyone who would like to try - and build up on it. Meaning, you can obtain the source code (Flash CS3) from my scrapbook, and either make your own derivative game, or learn from it: [link] . I tried to keep it somewhat documented, at least. ^^
Now: In case you make your own game and reuse code, or graphics from this game: That is all fine, however please credit me, with a link back. If you consider taking part of the code, I probably saved you a ton of work and time, so it's only fair.
To colour the different pieces, I am using code from Mario Klingemann , which he published under the MIT License. Credits are in-game.
Everything else is copyright myself. Use permitted based on CC-NC-BY.
Sound is missing, since I listen to my music all the time anyway. If you want sound, however, you can add some.
Times and results are stored on your computer. I don't use a highscore list, because these things are extremely easy to bypass - especially if I am giving you the code.
In any case, enjoy!
Related content
Comments: 32
tobyf In reply to monterrang [2017-02-03 20:04:26 +0000 UTC]
Congratulations! That's quite some dedication there!
π: 0 β©: 1
tobyf In reply to monterrang [2016-05-21 19:37:55 +0000 UTC]
You must be up really late (or really early) to see that. XD
Usually it's only me seeing it!!
π: 0 β©: 1
monterrang In reply to tobyf [2016-05-22 09:16:29 +0000 UTC]
after 10pm that's it
also you can change the clock on your laptop, it works as well XD
π: 0 β©: 0
monterrang [2016-03-14 12:55:08 +0000 UTC]
my score
single lines :98
double lines :34
triple lines :7
quadruple lines :1
total 192 lines
π: 0 β©: 1
firebreather2536 [2012-06-05 13:15:13 +0000 UTC]
tobi you have addicted me to another game by you
~tetris rocks
π: 0 β©: 0
pearose [2012-03-12 07:47:12 +0000 UTC]
It is nice to see a new post from you! And it is also nice to see the new post being a new game. And it is (lastly) nice to see you allow comments on said game. Admittedly, I am awful at such games as this but it that won't stop me from trying nor will it stop me from commenting on how colorful this game. The background is very nice and pleasant to look at; the greenery and little streams of the blue water are quite the relaxing backdrops. The controls are basic and easy to learn (even for a poor player like myself) and it is a nice version of the original Tetris if I do say so myself. Great work!
P.S. If I can call it whatever I want...I'll call it the 'Why Do I Suck So Much At This Game' Game.
π: 0 β©: 1
tobyf In reply to pearose [2012-05-18 12:45:00 +0000 UTC]
Whoops - where did time go? Anyhow, glad to hear you like it! If it ever helps you pass some time, that's all I really hoped for.
I usually disable comments because I want them all in one place - not like some on FurAffinity, some on deviantArt, and some .. wherever else I could post it. When I had all comments on devArt, I was also concerned who "owns" them - for example, would I be able to just take them all and put them on my website, with the name of whoever posted it, or would that be a copyright issue, because I'm technically taking someone else's words, and post them somewhere they didn't post in the first place?
Plus, imagine someone got in my account and went on a deleting spree - or one of my submissions would get deleted for another reason (I wouldn't know why, but you never know - imagine the company that owns the trademark for a game very similar to this begins to complain - I think dA would likely just take down the submission to be safe) - in either of those cases, the comments would be completely inaccessible to me.
Because of that, I just disable comments here, and hope people go through the "trouble" of clicking a link, and writing their comment on my website - which many, many people do (and which is what people did before dA was so big - you just visited back the website of whoever posted, and put a reply in their guestbook or wherever).
There's yet another reason why I think that it's important to have your own website for building up your portfolio: On dA, FA, and wherever, you're putting all your eggs into someone else's basket - and you're at the whim of whoever owns that basket. If they make a change you're not comfortable with, you're stuck. I never said that I was happy with every change that dA made, and I'd be lying if I did. Comments couldn't be hidden for the longest time, someone spamming could "brand" your page forever. And I don't see what the big deal is, because on my own website I hit delete, and the comment is gone.
Since a few years, you can finally "Flag as Spam" (which cannot be undone) and "Hide" comments, but it'll still leave a notice on your page that a comment there is hidden - so basically your page will still be branded if someone decides to spam all over it. Even if it was no fault of yours, someone else visiting the page will be like "ugh .. something was going on there .. I wonder what that person did to get spammed". Again, I don't see what the big deal of removing hidden comments from sight completely - you can delete critiques by hitting the "Unfair" button in your message centre - and those are inarguably more work for the poster to write than a regular comments.
Also, if something doesn't work on my website, I can fix it (and if you don't know much about websites, and had someone else make it for you, you can arrange it to get fixed). If something doesn't work, or is cumbersome on dA, I have to "suck it up". For example, updating Flash deviations has been a pain for the longest time: Everytime I release an update, I have to find and upload the preview image again as well. They fixed it a while ago, but then it went back to what it was, no idea why. I posted about that in one of the "site updates", but I don't even think it was read. It's even more bugged now, because after I upload the preview image, it shows up as empty.
There's more, but I hope you get the idea. I don't disable comments to discourage critique - by all means, critique away on my website on any game or drawing of mine.
π: 0 β©: 1
pearose In reply to tobyf [2012-05-22 06:48:50 +0000 UTC]
I understand completely and I agree with you about the whole comment situation; I, personally, never understood why deviantART hasn't implemented a feature for removing comments completely. It'd probably relieve some of the trollness of this site if one could simply delete all the comments a troll posted without a trace.
As a writer, I had to sort of convince myself to open my own website, or blog, specifically. Artists typically have a bit more to work with in creating websites, and in my humble opinion, have more of a reason to make a site. With more tools such as galleries or folders in these sites, it is probably easier for artists to post work and organize it in their websites than a writer, and of course, people are most likely to visit an artist's portfolio than a writer's blog. Most online writers that I know of stay on dA or FA, or go to a site strictly for writers...very few have their own site. That said, I do agree with what you're saying on this subject, as anyone who wishes to share his/her work online, artist or writer, should have their own website or at the very least consider opening one.
Back to the game, it is a fun and colorful game, and I will probably play it again soon. I just need to learn how to play it.
P.S. I always enjoy how long your comments are, by the way.
π: 0 β©: 0
SylphiDusk [2012-03-09 14:59:21 +0000 UTC]
You're making me an addict D: *stops playing immediatedly* Though it's cool and addicting, like tetris always has been. Unfortunately I don't have time to play right now though- but nice to know where to look if I ever need something addictive to mess around with
π: 0 β©: 0
nishi [2012-03-09 03:35:23 +0000 UTC]
Hehe, nice and simple and fun! I had the music in my head while playing anyway. ;3
π: 0 β©: 1
tobyf In reply to nishi [2012-03-09 10:08:41 +0000 UTC]
You can hum it while playing! Just make sure no one's watching you, otherwise you'll get some very questioning looks.
π: 0 β©: 0
KitsonHeart [2012-03-09 01:05:11 +0000 UTC]
I like this version alot! XD Especially because of the background. Reminds me of Saliko. ^-^
π: 0 β©: 1
tobyf In reply to KitsonHeart [2012-05-18 12:03:07 +0000 UTC]
Yeah, I used the graphics from that. I wasn't too inspired about a custom background, and since I have all the stuff already, I just clicked it together on the map editor.
π: 0 β©: 1
KitsonHeart In reply to tobyf [2012-05-19 20:38:32 +0000 UTC]
Well, it works! ^-^ And i can see your reasoning with not taking the extra step to make completely new BGs for this game. Still, i like this because of the nostalgia. ^-^
π: 0 β©: 0
tobyf In reply to Timefixers [2012-03-09 10:10:23 +0000 UTC]
I wonder why! Seriously though, it was the easiest way to get a background, so I figured it'd do. X3 Especially since anyone can change back- and foreground by downloading the source code and swapping graphics, anyway.
π: 0 β©: 0
JonnyAMax [2012-03-08 15:25:08 +0000 UTC]
If I can call this whatever I like, I'm calling it... Gerbert :3
Nice piece of work BTW
π: 0 β©: 0