Clone of Nintendo's famous Mario's Picross
Grab your mallet and chip your way through various picture-puzzles! The idea of the game comes from japanese crosswords, where you according to numbers displayed in rows and columns mark out different tiles in order to see a picture. The idea of this *nix-game was to resemble the Nintendo-version of the game, but with the difference that this version is free and distributable through the GNU/GPL.
License: free
Requirements: SDL, SDL-image, SDL-mixer
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | no | yes |
Submitted by anonymous on 2004-10-08.

diff -Naur ../picross_diff/src/Puzzle.cpp src/Puzzle.cpp
--- ../picross_diff/src/Puzzle.cpp 2004-05-23 16:59:18.000000000 +0200
+++ src/Puzzle.cpp 2004-11-11 14:28:08.668995696 +0100
@@ -101,6 +101,10 @@
// Rita ut alla block
// Räkna ut vilken level det är och rita sedan ut bakgrund och nät
+
+ if(level >= 1) level_size = 5;
+ if(level >= 5) level_size = 10;
+ if(level >= 10) level_size = 15;
if(level >= 10)
{
diff -Naur ../picross_diff/src/main.cpp src/main.cpp
--- ../picross_diff/src/main.cpp 2004-07-01 20:48:57.000000000 +0200
+++ src/main.cpp 2004-11-11 14:33:17.922981944 +0100
@@ -32,32 +32,35 @@
}
else newx = Mattoc_PositionX;
- if(VertBar_PositionX != Puzzle_PositionX+level_size*12-12) newvert_x = Mattoc_PositionX+12;
- else newvert_x = Mattoc_PositionX-1;
+ newvert_x=newx;
+// if(VertBar_PositionX != Puzzle_PositionX+level_size*12-12) newvert_x = Mattoc_PositionX+12;
+// else newvert_x = Mattoc_PositionX-1;
Mattoc_PositionX = newx;
VertBar_PositionX = newvert_x;
}
if(GB_GetKey(SDLK_UP) == 1) {
- if(Mattoc_PositionY != Puzzle_PositionY-12) {
+ if(Mattoc_PositionY != Puzzle_PositionY) {
newy = Mattoc_PositionY-12;
mapY = mapY--;
}
else newy = Mattoc_PositionY;
- if(HorBar_PositionY != Puzzle_PositionY) newhor_y = Mattoc_PositionY;
- else newhor_y = Mattoc_PositionY+12;
+ newhor_y = newy;
+// if(HorBar_PositionY != Puzzle_PositionY) newhor_y = Mattoc_PositionY;
+// else newhor_y = Mattoc_PositionY+12;
Mattoc_PositionY = newy;
HorBar_PositionY = newhor_y;
}
if(GB_GetKey(SDLK_DOWN) == 1) {
- if(Mattoc_PositionY != Puzzle_PositionY+level_size*12-28) {
+ if(Mattoc_PositionY != Puzzle_PositionY+level_size*12-12) {
newy = Mattoc_PositionY+12;
mapY = mapY++;
}
else newy = Mattoc_PositionY;
- if(HorBar_PositionY != Puzzle_PositionY+level_size-12) newhor_y = Mattoc_PositionY+12;
- else newhor_y = Mattoc_PositionY+12;
+ newhor_y=newy;
+// if(HorBar_PositionY != Puzzle_PositionY+level_size-12) newhor_y = Mattoc_PositionY+12;
+// else newhor_y = Mattoc_PositionY+12;
Mattoc_PositionY = newy;
HorBar_PositionY = newhor_y;
}
your right, if you say that Puzzle.cpp is not included in the makefile object list - i think, thats because its not easy to understand how to write makefiles :), but he includes it in main.cpp
the changes i've posted brought the game up working for me, maybe you should look at the diffs and include the changes manually, its less than 10 lines changes in both files together, exlcluding the outcommented sourcecode
i hope we will see more from this author in the future, the gfx looks really nice
1. Create controls more accessible (will make that game playable)
2. Include a README file so that we know more about the game, and what can and can't be done.
3. Adding a menu where we could select pre-made puzzles
4. A part where we could actually edit our own patterns and include them easily in the game.
I don't know if everything in those is planned (i am sure at least one is, duh, the controls), but this is a very good start and I'll be looking foward your game for sure. It is a very nice start. Keep up the good work !