Tetris Game v4.0.1

zardOz2 - Custom level - from Windows
PlayEdit122 players liked this.Log in to like this level.

U4.0.1 Fixed the problem with the blank levels getting skipped

Update 4.0:
*Level, Lines Completed and Score Display
*Fixed UI on small devices
*Level changes and fixes
*Moved Text Display code to main lua with my Whole number display function
* Fixed major bug where blocks at the top edge would respawn on a dropped board
*Highscore tracking feature is bugged and could not be added
* Added speed at level 18+ for experts

Here we go, a fully functional Tetris Game!

Credits to the creator of Tetris, Alexey Pajitnov, may fortune smile upon you.

Please report any errors, I didnt play test very far after changing a few of the levels.

Views: 52833 Downloads: 17557 Unique objects: 1 Total objects: 135

Top 10 Players

1. Dosmod
2. MarkB60
3. zardOz2
4. bw02250304
6. dymonddave
7. that guy2
8. Builder2000
9. cryogena
10. Demon666

Discuss this level

Log in to comment on this level.
  • Nub4444: Hi
  • TheBossMan: Ignore what I said I just found out a few weeks ago
  • TheBossMan: Good level. How do you show the top 10 players stats on this page,
  • TheBossMan: Good level. How do you show the top 10 players stats on this page,
  • KAL255: after 10 it got way to hard so i quit
  • HerokidsRS: @cswong235: already know that, and already have it.Thx for the note.Btw, rip Keith a.k.a zardOz
  • cswong235: @HerokidsRS: hes dead
  • HerokidsRS: @zardOz: zard, could u help me make a portal gun script/code/lua etc... cause I want to use it in my new level.Thx =)
  • Milky_dad: Супер
  • sjoerd19992: You are a legend
  • GlaDos: It has got some bugs
  • zardOz2: @abhay12345: thanks) welcome to principia!
  • abhay12345: AWESOME !!
  • abhay12345: AWESOME !!
  • abhay12345: AWESOME !!
  • abhay12345: AWESOME !!
  • PeterZ: @zardOz: Oh, good to know.
  • zardOz2: @PeterZ: The blue lines on the side show how many lines are left for that level, every third level is a "random" level
  • PeterZ: Seems that after a large clear they get cleared out or scatered randomly.
  • zardOz2: @electro: OK thx
  • electro: It hanged second time......
  • electro: http://puu.sh/hXC27/b7f35fa818.png
  • zardOz2: @Colossus: hmm, when lines are cleared everything above should shift down by the number of lines cleared... I'll look it over I have a few other bugs need fixing
  • Colossus: I found a bug: when several rows are cleared, some blocks don't disappear or float. Is the floating part intended?
  • zardOz2: @that guy: heh, well I made a bunch of new errors on my update, level 15 isn't loading correctly... still a bit too easy at high levels also
  • zardOz2: @that guy: unlikely, each row is read seperately... it might be something else tho, ill try to recreate
  • that guy2: @zardOz: I've never felt so good at this game in all my life... Also, I tried to clear 3 lines at once with one of those long red pieces, but they weren't continuous, so it only did the first one and stopped at the broken one even though there were other lines... I think... Could be wrong though. It happened pretty fast.
  • zardOz2: @MarkB60: sigh new bugs on the rotation collision, please ignore it heh
  • zardOz2: @MarkB60: thx! probably be one last update for swipe controls(eventually) if you have anything you want to added let me know
  • MarkB60: @zardOz: haha...thanks..again great job
  • zardOz2: @MarkB60: fixed it up, levels are changed a bit and more speed at high levels, scores got reset so this comment is to verify your current King of the Hill status:)
  • zardOz2: @MarkB60: cool, great score! Ill check it out see if I can recreate... I hhad an update ready but the get/set variable feature is still broken, was gonna track best score, #lines, level etc...
  • MarkB60: @zardOz: great build...one glitch I saw, is if you build all the way to the top, like on one of the sides, then that piece won't drop, no matter if you create lines..effectively creating a wall where you can't get to that side anymore..not a big deal, but thought I would let you know
  • electro: Who want to clear multiple lines on level 18? Lmao
  • zardOz2: @Demon666: oh and you can tell what level your on by hhow many points you get for a single
  • zardOz2: @Demon666: grr 1634 didnt register... lvl 18 made little effort to clear multiple lines
  • electro: @zardOz: @Demon666: @that guy: @BobMonkeypimp: just released a cool game, ready to compete for high score(acutely low score)?
  • Demon666: mines been crashing alot lately idky
  • zardOz2: @Suicidalkittens_: also I wouldnt be able to cheat like that since the scores reset if you change anything
  • zardOz2: @Suicidalkittens_: nope just playing... I fully expect someone to score over 5000 and give up when they get bored, I used to be able to get 1000 lines on gameboy tetris, that would be the equivilent of over 20000 points on this
  • Suicidalkittens_: @zardOz: Just a question, have you changed the scoring system or have you really got that many points?
  • zardOz2: @Demon666: heh my phone locks up if i play too long
  • Demon666: @zardOz: you should put an indicator of what level your on tho.
  • Demon666: that moment when you get a new high score and principiagame.com crashes -_-
  • zardOz2: @Demon666: 12 is the oone with a single row of block steps, speed jumps to 30 bits per step at lvl 13 and finally 24 bits per step at lvl 18
  • Demon666: @zardOz: lol. it did seem alittle more difficult this time around lol. what does level 13 look like tho? i never really paiedcattention to what level im on lol
  • electro: @that guy: welcome
  • zardOz2: @Demon666: the speed at level 13+ is 40% faster now
  • Demon666: @that guy: i got 1091 before but it got erased lol
  • that guy2: @zardOz: dunno. I was using pc.
  • zardOz2: @that guy: hows the lag for you?
  • that guy2: @Demon666: @electro: THERE we go. much better.
  • zardOz2: @BobMonkeypimp: thanks, bmp! im pretty happy with the results
  • electro: @Demon666: observe carefully
  • Demon666: @electro: no lol.
  • BobMonkeypimp: @zardOz: That is looking lovely & playing brilliantly.
  • electro: @Demon666: @zardOz: is there any relation between trophies and ranking? See top three players
  • Demon666: @zardOz: I was playing on Android this time
  • zardOz2: @electro: good thanks! Its important to me to do it correctly.
  • electro: @Demon666: @zardOz: controls are best here
  • zardOz2: @Demon666: hmm galaga... perhaps. I should really give tron another go. I thought you had no touch cotnrol on principia
  • Demon666: i would also suggest making a galactica game once your done with this lol...
  • Demon666: @zardOz: the controls are ok but there not my preferred controls for touchscreen lol.... it would be awesome if you could drag across the screen left or right in order to place the piece and if you tap on the screen the pieces rotates.... and if drag down the the piece moves faster towards the bottom and if you flick down the piece goes all the way to the buttom.thats how my fav touchscreen tetris app works and i know it sounds strange but it is actually very intuitive lol. also it would be good to rotate the screen to portrate mode since tetris is a portrate mode game.
  • zardOz2: @Demon666: well I think Ill stop updating it for awhile... other things to do. Are the controls working perfect for you now? Im surprised it doesnt lag more a full board has like 250 sprites... @that guy: any lag for you?
  • electro: @Demon666: so do you having pain in a**? (Source: too much lmao)
  • Demon666: shit... couldn't break 1k this time lmao... I kept making idiotic mistakes lmao
  • zardOz2: @PBHarper: im very good at tetris) I think I made it to level 14ish... Ignore trying to get mmultiple lines at one time unless you get an easy setup, the level bonus will give you big points for singles after awhile, level 13 will get you over 200 by itself
  • PBHarper: @zardOz: How did you get 1043!?!?!?
  • zardOz2: @that guy: lol sorry scores undone again, If i dont play it I wont notice what needs fixing
  • zardOz2: @that guy: no problemo... that was the easiest part)
  • that guy2: PAUSE BUTTON. ME GUSTA. MUY.
  • zardOz2: @Demon666: Big update incoming!!!
  • Demon666: @electro: lol yeah have a tetris app on my phone that i play in highest difficulty everyday on the train so im very good at tetris lol. i could have gotten higher too if objects rotated like im used to
  • Demon666: in the tetris game i play if you need space to rotate an object then the object itself it moved over to allow more space to rotate.
  • zardOz2: @Demon666: pretty sure youre correct, ug thats gonna be a pain in the ass to undo
  • electro: @Demon666: your score lmao
  • zardOz2: @Demon666: not a glitch, any attempt to rotate a peice beyond the edges is prevented... take some getting used to
  • Demon666: there is a glitch where you can't rotate certain objects if there against the wall... that keeps throwing me off lmao
  • electro: Well, going to pay again
  • electro: @zardOz: thanks
  • zardOz2: @electro: ok, ill add it later
  • electro: Oh I mean pause
  • electro: Need a stop button
  • JOELwindows7: @zardOz: ach man!
  • zardOz2: @electro: oh lol... all bricks are random
  • zardOz2: @electro:
    level 1,4,7,10... = blank
    level 2,5,8,11... = random
    level 3,6,9,12... = custom
  • electro: @zardOz: so that bricks are random or you know which is coming?
  • zardOz2: @JOELwindows7: big score for me! 1 more line from level14 finish
  • electro: @JOELwindows7: super!!!!!!
  • JOELwindows7: Long time play!
  • JOELwindows7: @zardOz: yeah
  • electro: @Ridget: going to set new high score
  • electro: @Ridget: going to set new high score
  • Ridget: Aww yea. I can do better but im tired xD awesome work man. A little nostalgic thingy
  • zardOz2: @TechZ: thanks man, trying to inspire you to get you back here;)
    @electro: good improvement!
  • electro: Well, I got perfection with 10 minutes of practise
  • electro: Wow! 45!
  • TechZ2124: Wow very cool !
  • zardOz2: @electro: ) Try again, it takes practice
  • zardOz2: @Demon666: fixed (i think) and upped speeds by 25%...may still need more tho
  • Demon666: it is to easy tho... I got 611 almost effortlessly lol
  • electro: Simple meaning please
  • zardOz2: @Demon666: ooh ty
  • Demon666: so I was playing and then this happened lmao http://i.imgur.com/VqRfMRQ.png
  • zardOz2: @electro: well sometimes you just dont get the ones you need...
  • electro: So my score is 5
  • Demon666: whats the specs of your computer anyways? lol
  • Demon666: @zardOz: lmao.... i dont think that its that laggy....unless you activate more than once at once lol...
  • zardOz2: @Demon666: i shall prepare my Cray Ultronic Quantum Supercomputer to handle the load;)
  • Demon666: @zardOz: lol im finally combining all my random effect codes into one monstrous effect generator lmao
  • zardOz2: @Demon666: i understand your mascochistic tendencies all too well)
  • Demon666: @zardOz: awesome... ill test it out once i finish the torturous level im working on lol
  • zardOz2: @Demon666: left right controls updated for you... didnt test on phone, might be too fast to tap once with slow fingers
  • zardOz2: @woodnut: thx man, did you see my Lava Pit Lua level I made for you to torture me with?
  • that guy2: @woodnut: HAH-HAH.
  • woodnut2: Love it, cheers!
  • zardOz2: @The Ohio One: thx, hopefully ill actually finish it before the feature expires)
  • The Ohio One: Congrats on the feature zard :D
  • zardOz2: @JOELwindows7: thanks,, will allow derivitves after I get a better version running...
    @alx37: tyt)
    @that guy: ok original arcade tetris had a random level at level 5, a custom design on level 6 and random blocks added mid game on level 7... never made it past level 8 heh

  • zardOz2: @rom1k: thx!
  • rom1k: Nice :)
  • alx37: Wow gg
  • JOELwindows7: Whoah Duper hard and Duper Awesome!!!
    Allow Derivatives maybe
  • zardOz2: @that guy: hehe, well youll really like the pattern torture levels i make then)
  • that guy2: @zardOz: i think they should be reserved for the later levels; they make it a lot harder. I think it goes without saying that I do not approve.
  • zardOz2: @Coolblocks749: thx! it was a tough one, as for most advanced id say 'spooky dungeon', 'principia paint', 'slots' and 'zardoz is happy' were much harder than this one... but I guess slots it the only complete game of those heh
  • zardOz2: @that guy: original tetris had some variety to the levels if I recall, so many versions... just trying to make it less predictable, will be changing that soon, random blocks on every third level or something and a custom level with patterns every third, with 10-15 lines required per level
  • that guy2: I feel better knowing it's my own failure :) but i must say i don't remember the random floating blocks...
  • Coolblocks749: One of the most inadvanced games ever, is considedered a high coding achevment in principia
  • zardOz2: @Tetsu: thanks Tetsu, always good to hear from you
  • zardOz2: @Demon666: well I used to be able to get to line 1000+ on gameboy so I think 230 lines is a good number to reach the max speed(same as drop speed)... also this format is just temporary so youll have something to play anyway
  • Demon666: the reset scoreboard is strange lol... also i think that the speed should increase faster to make it mire challenging... also can you make the buttons to move left and right press and hold instead of tap? cuz repidly taping the buttons it to slow lol.
  • Tetsu: Wow! Awesome!!!
  • zardOz2: wow those touch screen controls were bad, much better now...
  • zardOz2: @Demon666: oh, youre twice as special of course
  • zardOz2: @BobMonkeypimp: as I said, when the army mann came he said the only job I wasnt qualified for was the band! So if ayone want to make me some tetris music the would be awesome heh
  • Demon666: i find it funny that you tagged me twice lmao
  • BobMonkeypimp: @zardOz: Fantastic! What about the music?
  • zardOz2: @rom1k: got a highlight for ya;)
  • zardOz2: @woodnut: @principia fan: @Demon666: @that guy: @Demon666: @BobMonkeypimp: all ready to play, will improve the controls later sorry
  • zardOz2: @woodnut: almost ready to play...
  • woodnut2: Looks great, rotate will make it A++
  • principia fan: @zardOz:
  • principia fan: Freaking awesome ! I got to 4 @zardOz
  • Demon666: most I got is 4 lines lmao
  • zardOz2: @that guy: I got 8 lines!
  • that guy2: @zardOz: I know, It's just a LOT harder when you can't rotate them. A LOT. A LOT OF ALOT'S.
  • zardOz2: @that guy: hence the "preview", a guys gotta sleep annd work sometimes... should be playable later hopefully
  • that guy2: I can't rotate the pieces... YOU MONSTER.
  • Demon666: yeah i know how that is lol.... after i get the basic functionality i lose all motivation lmao
  • zardOz2: @Demon666: thanks! I tried a few months ago and failed too) I should really work on making it look pretty first since I quickly lose interest after the mecanics are solved, usually
  • Demon666: cant wait to see the final version
  • Demon666: good work so far lol
  • Demon666: i tried to do this a few months ago and failed lmao.....
  • zardOz2: @BobMonkeypimp: thanks, after some initial extreme failures, its coming along nicely now...
  • BobMonkeypimp: Looking awesome so far.

LEVEL ID: 15201