Beta Panmines


sebt3

homebrew player (P. & C.)
Joined
Sep 9, 2008
Messages
4,885
Age
44
Location
France
Website
sebt3.openpandora.org
Hi there,

This is my first homebrew ever ;)
It's a mineSweeper suited for pandora (aka that doesnt use right click as flag mecanism).

panmines.png


This is v0.8.0 as it is feature complete imho, but I'm not pleased with the look of it, suggestions are more than welcome !
If you have a feature you want me to add please share below ;)

[ Download ]
 
Thanks sebt3. I think there were one or two minesweeper-clones previously released for the Pandora (one in sgt-puzzles), but they did suffer from not being able to use the game buttons, and the finickiness of the Pandora's mouse buttons, since it's VERY easy to accidentally double-click when you meant to single-click, or press the wrong mousebutton, and in Minesweeper that's Game Over. Although if EvilDragon does succeed in implementing my suggestion for mousebuttons in HF6 (he did say he would try), then the other versions might become more playable.

For now, though, this is quite a useful version. And also a significant personal milestone for you. If I may ask, how did you go through the process of learning to make your first homebrew? What language did you use?
 
Wow I was playing this earlier just grabbed from pndstore and though it was good didnt realise it was a homebrew for pandora I assumed was a port can it be implemented that a long tap on the screen plants a flag? or holding down right trigger and tapping does the same,, congrats on your 1st
 
Esn said:
If I may ask, how did you go through the process of learning to make your first homebrew? What language did you use?
Language is c++ and it's using GLES to display (as the SGX have way more functions than SDL to draw ;P). And this planned to become opensource stuff.... Just not yet ;)
One of the target (beside being able to play a minesweeper) was to learn a bit of GLES. Because while I have ported some games to GLES it was a mecanical process where I'm not sure to understand 100% ) That should mean better ports in the end.

meandu229 said:
can it be implemented that a long tap on the screen plants a flag? or holding down right trigger and tapping does the same
Sure, nice idea, should be in 0.8.2 ;)
 
Last edited by a moderator:
Hey buddy, congrats to your first homebrew!
Very nice! If you want to change the look of it (tiles, menu, etc) If you send me the graphicsfiles I could try to make another skin fo5r that ;)

Cheers!

Edit: You specified the license as "no redistribute" ;) lol! Hope you won't be thrown out of the community for that...

Edit2: I ran it from the commandline with pnd_run and, when I quit it with esc, it won't end the application, hanging on "Starting the application" line.
 
mcobit said:
Hey buddy, congrats to your first homebrew!
Very nice!
thanks buddy :)

mcobit said:
If you want to change the look of it (tiles, menu, etc) If you send me the graphicsfiles I could try to make another skin fo5r that ;)
Yes I'm looking forward for good ideas about how it should look.
Yet if you open the PND all you'll find is 2 font-files : everything else is drawn by code.
Any mockup is welcome ;)


mcobit said:
Edit: You specified the license as "no redistribute" ;) lol! Hope you won't be thrown out of the community for that...
I'm tired of seing my PNDs ending on apps.o.o without my conscent. I dont care for those that are "production ready" but all theses useless tests I did ended on it and thast doesnt help the pandora comunity.
On this one I own 100% of the copyright, so I'm allowed to do so. I want to know if Craigx care about my copyright as much as he care his owns....

mcobit said:
Edit2: I ran it from the commandline with pnd_run and, when I quit it with esc, it won't end the application, hanging on "Starting the application" line.
hum, I've to try that
 
Last edited by a moderator:
Okay, so I tried this out, and there are a few things I'd like changed if possible:

1. Change the category to "PuzzleGame" (it shows up in "other" in xfce right now)
2. Remove the lag between pressing a direction and the cursor moving. It feels like Minimenu before that was removed, and it adds up over time to substantially slow down the game. EDIT: I see what's going on; a button press is registered when the d-pad direction is RELEASED, not when it's pressed.
3. Assign the Y button to the same function as B, and the X button to the same function as A.

The graphics aren't a problem... I mean, it's Minesweeper. It was never impressive to begin with.
 
Updated to 0.8.2, Changelog :
- Cursor automove if you keep the D-Pad pressed
- added X and Y button (as suggested by Esn)
- longtap for Flag (as suggested by meandu229)
- right-click for flag (I'm playing on PC too :D)


Esn said:
EDIT: I see what's going on; a button press is registered when the d-pad direction is RELEASED, not when it's pressed.
Yep I did that this way. fixed now ;)
 
Last edited by a moderator:
Thanks for the changes! Moving around is much better now. I have one more request: allow diagonals. Right now, when you press and hold a diagonal, it will move diagonally only the first step, and after that it will move either horizontally or vertically.

EDIT: also, one more idea: after you die, make it so that pressing any of the ABXY buttons will start a new game.

EDIT: also, I think Y & A should be switched... A should be the primary function and Y the secondary (so, flag)...
 
Hi, thanks for the change. I seem to have come across a certain bug - after a few minutes of play, it stopped working when I pressed and held a direction on the d-pad; it would allow me to move only by pressing directions one at a time, not pressing and holding. I don't know if it's related, but I used the left nub to move the mouse and change the difficulty setting (the mouse pointer was mostly invisible, but became visible when I moved it).

Here's the .out file, if it helps:

Code:
=======================================================================================
PND             : /media/mmcblk0p1/pandora/menu/panmines.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/mmcblk0p1/pandora/appdata/panmines
APPDD_FSTYPE    : vfat
PND_CPUSPEED    : <unset>
EXENAME         : scripts/panmines.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs "/dev/loop2" "/mnt/utmp/panmines"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/mmcblk0p1/pandora/appdata/panmines=rw+nolwh":"/mnt/pnd/panmines=rr" none "/mnt/utmp/panmines"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application (scripts/panmines.sh ) ----------
Found 1 available configs
./panmines v0.8.3
EGL Open display
EGL Get display
EGL Init
Config 0
EGL Bind
EGL Create Context
EGL Create window surface
EGL Make Current
EGL Done
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=4, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=0
KeyCode: UP=1, DOWN=0, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=2, LEFT=0, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=0, RIGHT=8
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
KeyCode: UP=0, DOWN=0, LEFT=4, RIGHT=0
EGL Closed
[SUCCESS]--- Starting the application (scripts/panmines.sh ) ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[SUCCESS]--- Waiting the Union to be available ----------
rmdir: failed to remove `/mnt/utmp/panmines': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[SUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 1
 
Esn said:
Hi, thanks for the change. I seem to have come across a certain bug - after a few minutes of play, it stopped working when I pressed and held a direction on the d-pad; it would allow me to move only by pressing directions one at a time, not pressing and holding. I don't know if it's related, but I used the left nub to move the mouse and change the difficulty setting (the mouse pointer was mostly invisible, but became visible when I moved it).
So you got it too. I found that bug yesterday moring in the bus.
Not fun, well it's fixed. I also added the use button to restart feature you requested ;)
 
Last edited by a moderator:
Uploaded 0.9.0 to the repo this morning.

ChangeLog from 0.8.4:
- Caanoo support
- L/R Toggle flag/dig switch
- Drawing improvements
- Pause (select button)
- a fews bugs fixed

This is probably the last update. I'll keep it this way for a month, and I get no more feature request/bugs report, it will be renamed 1.0 and GPLed.
 
Back
Top