3D Picross

Show off your games, demos and other (playable) creations.
User avatar
retrotails
Party member
Posts: 212
Joined: Wed Apr 18, 2012 12:37 am

3D Picross

Post by retrotails »

At the moment, it's only 2D. But it has working random puzzles. I know about the existence of NO, this plans to be more then that.

v1.0
- Use arrows to move, space to select and left control to mark
- Delete key clears
- Mouse can make straight and 45° lines
- New puzzle generated when solved
- Edit main.lua to change board size to literally anything. 100x100, 1x1 etc.
- Edit conf.lua to set any resolution
- Tile size automatic and always a power of 2
- Stolen Mario Super Picross sprites
- Uses a canvas to greatly speed up rendering, but is not required

v2.0
- Adds support for multiple puzzles to make multi-colored images
- Adds backgrounds
- Adds a test puzzle that has 2 parts (4 shades)
- Switch between boards with top row of numbers
- Better multi-resolution support
- Slightly better performance
- Canvases now required - my i7/HD5770 only gets 60 FPS with no canvases and 600 FPS with them, so netbooks without canvas support can't play it anyway.

v2.1
- "fakecanvas" for better support
Last edited by retrotails on Fri Apr 12, 2013 2:29 pm, edited 3 times in total.
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: 3D Picross

Post by MarekkPie »

I love picross (or nonograms as they are originally called). Looks good.
User avatar
mickeyjm
Party member
Posts: 237
Joined: Thu Dec 29, 2011 11:41 am

Re: 3D Picross

Post by mickeyjm »

I think I found a bug, If you click on all the tiles it resets the game.
Your screen is very zoomed in...
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: 3D Picross

Post by micha »

Nicely done.
You could improve the game by adding a short "You won!" or "You solved the puzzle" message. The transition between the solved puzzle and the new one is a bit abrupt.

I am curious: How do you check if the solution is unique?
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: 3D Picross

Post by MarekkPie »

micha wrote:Nicely done.
You could improve the game by adding a short "You won!" or "You solved the puzzle" message. The transition between the solved puzzle and the new one is a bit abrupt.

I am curious: How do you check if the solution is unique?
It looks like he builds the solution, then reads the clues from the solution, rather than the other way around.
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: 3D Picross

Post by micha »

MarekkPie wrote:
micha wrote:I am curious: How do you check if the solution is unique?
It looks like he builds the solution, then reads the clues from the solution, rather than the other way around.
I would do it the same way. But that only guarantees that there is at least one solution. It does not guarantee that there is exactly one solution.
Here is an example puzzle with two solutions.

Code: Select all

 |1 1   |1 1
-+---  -+---
1|x 0  1|0 x
1|0 x  1|x 0
User avatar
retrotails
Party member
Posts: 212
Joined: Wed Apr 18, 2012 12:37 am

Re: 3D Picross

Post by retrotails »

micha wrote:
MarekkPie wrote:
micha wrote:I am curious: How do you check if the solution is unique?
It looks like he builds the solution, then reads the clues from the solution, rather than the other way around.
I would do it the same way. But that only guarantees that there is at least one solution. It does not guarantee that there is exactly one solution.
Here is an example puzzle with two solutions.

Code: Select all

 |1 1   |1 1
-+---  -+---
1|x 0  1|0 x
1|0 x  1|x 0
The code that checks to see if you've won is far from finished, it will probably allow multiple solutions in the future by checking to see if your answers match clues but I don't think random puzzles will be in the game at all so I might not bother. If I were to randomly generate puzzles with exactly one solution that might take quite a long time to compute and code.
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: 3D Picross

Post by micha »

retrotails wrote:The code that checks to see if you've won is far from finished, it will probably allow multiple solutions in the future by checking to see if your answers match clues but I don't think random puzzles will be in the game at all so I might not bother. If I were to randomly generate puzzles with exactly one solution that might take quite a long time to compute and code.
Ah ok. Predefined levels have the additional advantage, that you can regulate the difficulty and you can draw actual pictures.

By the way, in this collection there is a nonogram-game, called "patterns" which randomly generates puzzles. They are checked for uniqueness, I think. And the games are open-source. So in case you are interested, maybe that can help you..
User avatar
retrotails
Party member
Posts: 212
Joined: Wed Apr 18, 2012 12:37 am

Re: 3D Picross

Post by retrotails »

'aight, v2.0 released.
See if you can solve it without cheating.
It won't tell you if you've got it right.
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: 3D Picross

Post by micha »

I think you packed the .love incorrectly. Love cannot find the main.lua and returns an error.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests