I also decided to make a Tetris, here it is.
http://love2d.org/forums/viewtopic.php?f=5&t=34029
Search found 183 matches
- Fri May 24, 2013 12:30 am
- Forum: General
- Topic: Tetris tutorial?
- Replies: 24
- Views: 13126
- Thu May 23, 2013 11:55 pm
- Forum: Games and Creations
- Topic: Tetris! (1 bug, also need help)
- Replies: 4
- Views: 2763
Tetris! (1 bug, also need help)
Hello! I'm very happy because I finally finished an actual game : a very-ugly-coded-version of Tetris. There is one bug in which some tetrominoes can ignore collision on certain parts of itself... it's odd, and I can't figure it out. However, in the code, you can add "I" to the shapes tabl...
- Thu May 23, 2013 1:54 pm
- Forum: General
- Topic: Why isn't there a proper (non tile based) 2d editor?
- Replies: 12
- Views: 6661
Re: Why isn't there a proper (non tile based) 2d editor?
It's easer than a tile based map...You just need a gameObject collection, each gameObject has a texture and a position...every update iteration, update it :)... i did it some years ago with xna and farseer... it's simpel to implemen, drag and drop with mouse... :D go ahead and do it!!! It's not alw...
- Thu May 23, 2013 1:53 pm
- Forum: General
- Topic: Where do you live? (Social Experiment)
- Replies: 36
- Views: 15412
Re: Where do you live? (Social Experiment)
Be proud of where you come from (or currently live). The burning river thing sucked, yes, but it's better and there are those people everywhere.jasonisop wrote:Cleveland Ohio home of the flaming river(3 times), a whole lot a serial killers, kidnapers and all other sorts of unsavory people.
- Tue May 21, 2013 9:31 pm
- Forum: General
- Topic: Where do you live? (Social Experiment)
- Replies: 36
- Views: 15412
Re: Where do you live? (Social Experiment)
I live on the iceberg that sunk the titanic. (iceland) But I thought Iceland was green and sunny? Greenland is the icy cold place. Yeah it actually is. Someone fucked up when naming these places. I've always heard it as "If someone comes to attack Greenland and it's a frozen wasteland, and thi...
- Tue May 21, 2013 9:29 pm
- Forum: General
- Topic: Tetris tutorial?
- Replies: 24
- Views: 13126
Re: Tetris tutorial?
You don't need a "platformer" thing, just use a matrix and check below each bottom block in each part that falls. Anyone feel free to correct me on this.
- Tue May 21, 2013 9:17 pm
- Forum: General
- Topic: Why isn't there a proper (non tile based) 2d editor?
- Replies: 12
- Views: 6661
Re: Why isn't there a proper (non tile based) 2d editor?
Well, I'm not sure if it's just me, but tile-based games aren't 'bad' at all, and they just give you a good... feeling. It may because the only games I played as a kid were all tile-based, and Pokemon was entirely tile-based (you were restricted to staying in the tiles) and those were pretty fun. I ...
- Tue May 21, 2013 12:03 pm
- Forum: General
- Topic: 90 days of love(2d)
- Replies: 6
- Views: 3709
Re: 90 days of love(2d)
Well, good luck! One thing that I saw you did multiple times is call Lua "LUA," which can for some reason piss a lot of developers off. It's like calling you "ColorTheory" - just wrong. It's not "Color", it "Colour". It's not "LUA", it's "Lua&q...
- Tue May 21, 2013 11:55 am
- Forum: General
- Topic: Another noob bites the dust...
- Replies: 10
- Views: 3268
Re: Another noob bites the dust...
Hi! Let me see if I can help. ...Since you're the second one to tell me that, I think I'll try to learn Lua directly within Love. I was just fearing that since Love has specific functions (love.load, etc...) that are in every document, it will confuse me and give me bad habits of programming (ie I c...
- Tue Apr 23, 2013 4:49 pm
- Forum: Support and Development
- Topic: Parameters Changing Types
- Replies: 2
- Views: 1472
Re: Parameters Changing Types
It does not switch to a boolean, you just never use it. Change:
to
because you use x1 and y1, not x and y. As for string->tables, I think you're just doing something very wrong.
Code: Select all
txtbox.x = x
txtbox.y = y
Code: Select all
txtbox.x = x1
txtbox.y = y1