Pirate Solitaire - Monkey Edition

Community Forums/Monkey Talk/Pirate Solitaire - Monkey Edition

therevills(Posted 2011) [#1]
Finally finished the Android version of PS

Coded in Monkey using Diddy

$1.50AUD for the full game:

https://market.android.com/details?id=com.therevillsgames.piratesolitaire



Also Pirate TriPeak Solitaire which is Free:

https://market.android.com/details?id=com.therevillsgames.piratesolitairetriPeaks

Next week the iOS version


EOF(Posted 2011) [#2]
Terrific. Nice music,graphics, and interface. Works pretty much perfectly!

Just testing the FREE version at the moment. Will purchase too

One note - when you remove the last card from the map (making coins appear), you can flick the card back onto the map, then remove it again to get more coins

BTW, it might be worth tweaking the game to allow installing to SDCard. At 10MB some folks might want to move the app

Last edited 2011


therevills(Posted 2011) [#3]
Thanks Jim :)

You've got the Galaxy S havent you? Does it play alright?

You remove the last card from the map (making coins appear), you can flick the card back onto the map, then remove it again to get more coins



Ah, I had that on my to-do list but I rubbed it out... must have broken it again...

installing to SDCard


Ill have a look... havent got a clue how to do that right now :) Actually I knew you can do it with some apps, but I dont know how to do it on my phone - any tips?

Last edited 2011


EOF(Posted 2011) [#4]
Yes, I have the Galaxy S. The game plays perfectly. Screen layout is fine, and audio is good

As for "Move to SD card" option. What I read up on is that you need to add the following to the 'root' of the manifest.
Note that this option is for Android 2.2 onwards, (but it's still ok with 2.1 and lower, which will simply ignore the option)

' force install to internal SD
android:installLocation=internalOnly  


' use external SD where possible, otherwise fall back to internal
android:installLocation=preferExternal 


' let system decide
android:installLocation=auto



therevills(Posted 2011) [#5]
Thanks for that Jim.

It looks like if you use the copy protection feature you can not use the external storage:

http://android-developers.blogspot.com/2010/07/apps-on-sd-card-details.html


ReKlaw(Posted 2011) [#6]
I've just downloaded the free version and I was really impressed with the graphics, sound and gameplay and then it crashed. Started another game and it crashed again. Both crashes occurred when the cards were spinning. I've got a Orange san francisco with android 2.2. I hope this can be fixed soon.


therevills(Posted 2011) [#7]
Hi ReKlaw,

Thanks for testing it.

Do you have the Android SDK installed? If so could you run the Dalvik Debug Monitor (ddms) with your phone plugged in and running PS, then paste the log file here?

Thanks!

Last edited 2011


MGE(Posted 2011) [#8]
How did you address the different resolutions or did you just hard code it to a fixed res? Looks great btw. ;)


therevills(Posted 2011) [#9]
Thanks MGE :)

The game is coded at a fixed 480x320 resolution (the middle ground of Android resolutions), I then use Monkey to detect the device's resolution and scale via a calculated ratio:

'Device width and height
Global DEVICE_WIDTH%
Global DEVICE_HEIGHT%

' Screen width and height
Global SCREEN_WIDTH# = 480
Global SCREEN_HEIGHT# = 320

' Used for Virtual Res
Global SCREENX_RATIO# = 1
Global SCREENY_RATIO# = 1

...

	Method OnCreate:Int()
		' Store the device width and height
		DEVICE_WIDTH = DeviceWidth()
		DEVICE_HEIGHT = DeviceHeight()

		SCREENX_RATIO = DEVICE_WIDTH/SCREEN_WIDTH
		SCREENY_RATIO = DEVICE_HEIGHT/SCREEN_HEIGHT

		...

	Method OnRender:Int()
		PushMatrix 
		Scale SCREENX_RATIO, SCREENY_RATIO
		' Draw stuff here
		PopMatrix


Last edited 2011


Hotshot2005(Posted 2011) [#10]
You got High work rate to code whatever you like and get things done!

Well Done :)


therevills(Posted 2011) [#11]
We are pleased to announce that the iOS verison of Pirates in now available on the App Store:

http://itunes.apple.com/au/app/pirate-solitaire/id442150512?mt=8

(Now to think if I want to do it all over again - such a PITA!)


EOF(Posted 2011) [#12]
How's sales going in the Android world?
Having purchased Pirate Solitaire some time back its nice to see a couple of updates come through via the market.

Have you had any complaints about compatibility with particular Android devices?
Also, may I ask who done the music for the game? It's really nice

Last edited 2011


therevills(Posted 2011) [#13]
How's sales going in the Android world?


Pretty slow... I really dont know how to market the bloody thing!

Android: 26 sales in 16 days...

iOS: 30 sales in 3 days...


Have you had any complaints about compatibility with particular Android devices?


I've had a couple, but really vague reports which I cant follow up on.

Also, may I ask who done the music for the game? It's really nice

Kevin MacLeod (from the clan MacLeod ;))

http://incompetech.com/m/c/royalty-free/


GfK(Posted 2011) [#14]
I use Kevin's stuff, too. IIRC, you have some music in PS that I used for Magicville.

Its all good stuff.


therevills(Posted 2011) [#15]
HD version is now out for the iPad:

http://itunes.apple.com/app/pirate-solitaire-hd/id445259115?mt=8#

:)


Chroma(Posted 2011) [#16]
Yep fun game. I had a go of it the other night on Monkeycoder. Great work!


therevills(Posted 2011) [#17]
Flash version just released today on BFG:

http://www.bigfishgames.com/online-games/14159/pirate-solitaire/index.html


Blitzplotter(Posted 2011) [#18]
I'm so trying this within the next week...


Xaron(Posted 2011) [#19]
Now >10.000 Downloads on Android. WOW! Keep it up. Is it comparable with the sales as well?

Last edited 2011


xlsior(Posted 2011) [#20]
Are you doing any cross-marketing?

e.g. in the PC version, have a splash screen or something advertising the existence of the Android / iOS versions?


Blitzplotter(Posted 2011) [#21]
went to trial this, mu phones full --- aaargh. Will try before the weekends out.