0 Members and 1 Guest are viewing this topic.
dude, why you guys know the game too xpOk then, it's nice to hear that speed isn't a problem here and i might change that levelup condition if it's not only you who thinks it goes to fast but if i change it, it will take loooong to finally reach level 20, but if you agree, i do too
So, here is the moment everyone waited on (i hope so xp): The beta edition of ColorTetris has been completed!some bugs are still in the game, eg. it's sometimes hard to place a block between two other blocks when coming from the side (as you can see in the screenshot with the yellow and the pink block), but they're not that significant (the one i told here is the most important).I'll put the .tns file online tomorrow, but now, you already have the screenshot oh and on the screenshot, the block sometimes doesnt fall that fluently, that's because i cut some parts to save space, i don't know why but i did. In the real game they fall 1 block down every timenow i'm trying to insert a hold function, and maybe the direct down button, but i'm afraid that won't succeed
the direct down button is what I was talking about . What do you mean by hold function?
Lol i got +1 for modifying a famous quote
function on.tabKey() if holdfull==false then hold = fallingblock hold[5]=5 hold[6]=1 holdfull=true on.newBlock() else nextblock = fallingblock fallingblock = hold holdfull = false endendfunction on.newBlock() for i=1,10 do if blocks[1][i]==1 then done = true end end if done == false and pause == false then lastchoice = chooseblock repeat chooseblock = math.random(1,7) until chooseblock ~= lastchoice fallingblock = nextblock if chooseblock == 1 then nextblock = Tblock elseif chooseblock == 2 then nextblock = Lblock elseif chooseblock == 3 then nextblock = LLblock elseif chooseblock == 4 then nextblock = Iblock elseif chooseblock == 5 then nextblock = cublock elseif chooseblock == 6 then nextblock = Lstairblock elseif chooseblock == 7 then nextblock = Rstairblock end fallingblock[5] = 6-math.floor(fallingblock[8]/2) fallingblock[6] = 1 platform.window:invalidate() endend