52 posts
Posted 21 October 2012 - 12:59 AM
I am looking for games programmed for CC1.45's Advanced Computers.
Some specific games I am looking for:
-A game like Line Runner
-Breakout
-Tetris
-Space Invaders
-Something like Notch's game Minicraft
-Pong
If a game has already been posted, don't post it unless your version is fundamentally different, please. No pong spammage.
Games not to include:
-A game consisting of a dot moving around. That's boring.
Also, try not to go for ASCII graphics. I want to see colors.
521 posts
Location
Stockholm, Sweden
Posted 21 October 2012 - 01:44 AM
So are you going to make a github projekt of this or something similar?
52 posts
Posted 21 October 2012 - 03:39 AM
Github? Not familiar with it. I just want a place where people can post games they have made, that's all.
536 posts
Posted 22 October 2012 - 10:10 PM
I started on tetris a while a go but gave up after rotation wasn't working as it should and it refused to check to see if there was a complete line properly.
107 posts
Posted 23 October 2012 - 04:45 PM
I started on tetris a while a go but gave up after rotation wasn't working as it should and it refused to check to see if there was a complete line properly.
Had the same problem with complete lines, but I just used different models (Pseudorotation) when pressing rotation key.
52 posts
Posted 24 October 2012 - 12:46 AM
I started on tetris a while a go but gave up after rotation wasn't working as it should and it refused to check to see if there was a complete line properly.
try assigning each tile of the field a number, and each number a value if its occupied. Then have a check if the numbers that correspond to one line are all occupied, and boom.
536 posts
Posted 24 October 2012 - 04:19 PM
I started on tetris a while a go but gave up after rotation wasn't working as it should and it refused to check to see if there was a complete line properly.
try assigning each tile of the field a number, and each number a value if its occupied. Then have a check if the numbers that correspond to one line are all occupied, and boom.
Or you get the width of the tetris field (which was customizable) then loop though each set tile currently in the game; have numbers for each y value and add to these values if the tile has that y.
Loop through all of the y values, if any of these values are equal to or greater then (just in case) the tetris field width then remove the line and move all tiles above that line down by one.
(as I said, the width and height of the tetris field was fully customizable for the player, it asks you for values when you start up)
231 posts
Posted 24 October 2012 - 04:48 PM
I've made Tetris. Its posted in
this thread.
536 posts
Posted 24 October 2012 - 04:49 PM
Yes, I saw that before.
It looks really good! much better than my attempt ^_^/>/>
231 posts
Posted 24 October 2012 - 04:57 PM
Thanks! What I did for the line detection was keep a table of rows, each row was a table of pixels. After a piece landed, it checks through all the pixels in each row. If every pixels exists, it removes the row. The other rows fall because of the way table.remove() adjusts indexes.