Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-22-2011, 12:18 PM   #211
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi everyone,

I have updated post #193 with the latest versions of all games. Most have had small changes made. Others, like Chess and FreeCell have had bigger changes. I changed the white pieces in Chess to make them stand out a little, and FreeCell now has a text-based help screen (thanks, Mark! It works well on my 600!)

Mark, if you want to do the same thing to MahJong (which actually has two graphic help pages, which I combined into the help text file), could you please work off the version in post 193? Thanks!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 03-22-2011, 02:14 PM   #212
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
@Ben.

I have just donwloaded your latest sources and updated my local version of the Sim.
So I will work off the versions in post #193 by now.

Thanks for the MahJong help.txt, but I didn't retyp the FreeCell one, as Abbyy is my friend
Regards
Mark

PS: BTW is the snapshot-indicator now shown?
Mark Nord is offline   Reply With Quote
Advert
Old 03-22-2011, 02:28 PM   #213
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Mark Nord View Post
PS: BTW is the snapshot-indicator now shown?
Hi Mark,
Unfortunately, no. I have no idea why!
BenChen is offline   Reply With Quote
Old 03-22-2011, 04:00 PM   #214
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by BenChen View Post
Hi Mark,
Unfortunately, no. I have no idea why!
Maybe we should try "this.SnapShotIndicator.changeLayout()" instead of "this.SnapShotIndicator.show()" !?

PS: Modification of MahJong is nearly done
Mark Nord is offline   Reply With Quote
Old 03-23-2011, 03:21 AM   #215
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Intended changelog

Hi Mark,

Quote:
Originally Posted by Mark Nord View Post
Maybe we should try "this.SnapShotIndicator.changeLayout()" instead of "this.SnapShotIndicator.show()" !?
I tried this, and I couldn't get it to work in the Sim! I will definitely take another look.

Actually, I have quite a few changes I still want to make on these games. Here's my intended changelog:

1. Chess - add the icon to the upper left corner (like you did in FreeCell); implement 10-depth undo (like I did in Draughts).
2. FreeCell - SnapShotIndicator for touch readers; replace the shuffle routine (the existing one is highly suspicious!)
3. Sudoku - add doRoot so that touch readers can quit by pressing the home button (like all the other games); add a line of black to the status bar (on my 600 I can see that items in the status bar are intruding into the white area. Does it do this on your 505?)
4. MahJong - add a line of black to the status bar (on my 600 I can see that items in the status bar are intruding into the background area).
5. Draughts - improve the AI!

I have to say that I am really enjoying this whole programming process, working together as a team! I am really appreciating your input and experience. And as I have said before, none of these games would be possible without your excellent Sim!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Advert
Old 03-23-2011, 11:15 AM   #216
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi everyone,

Three games updated in post #193:

Chess now has 10-level undo (only 5 moves really when playing against the reader) and an app icon in the upper left corner. Sudoku has been made like the other games so that pressing the Home button on Touch readers performs a Quit; also a graphic glitch has been fixed. FreeCell has a MUCH better shuffling algorithm and the SnapShotIndicator sprite now appears on Touch readers.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 03-23-2011, 12:10 PM   #217
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Hello Ben,

I agree with all of your suggestions for improvements, an see your are just started with. I will update to your new sources and check against my PRS-505.

I too, enjoy working on this project.

Regarding Sudoku: Hellen0125 at the-ebook.org notice a "tiling-effect" with Sudoku at her 950. The topline of the grid is repeated just above the status-line.
Instead of reducing the size of the template, I will try to enlagre the "Info" section, to avoid the tiling.

Regards
Mark
Mark Nord is offline   Reply With Quote
Old 03-23-2011, 12:53 PM   #218
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi Mark,

I should note that I replaced the name of the icons in the PRS startup files for FreeCell and Chess. If you have added those icons to your png files, you can change them back: "CHESS" for Chess and "CARDS" for FreeCell.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 03-23-2011, 07:10 PM   #219
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by surquizu View Post
Draughts does not work on PRS-505 (not appers the game in the menu of games & utilities). Any ideas?

Thanks, Ben
The game of Droaughts works well in the PRS-505. Was necessary to add the line 130:
{ name: "Draughts", parent: "gamesAndUtils" },

in the file 505_config.js

Thanks!
Attached Thumbnails
Click image for larger version

Name:	2007-5-28.jpg
Views:	197
Size:	39.4 KB
ID:	68883  
surquizu is offline   Reply With Quote
Old 03-24-2011, 02:42 AM   #220
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by Mark Nord View Post
Instead of reducing the size of the template, I will try to enlagre the "Info" section, to avoid the tiling.
Mark, tiling happens because background is "anchored" to both top and bottom of the screen. You can "anchor" it to top, and then set its height, instead of "anchoring" to bottom.

Last edited by kartu; 03-24-2011 at 02:45 AM.
kartu is offline   Reply With Quote
Old 03-24-2011, 04:04 AM   #221
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Kartu, but if the panel (holding the background-grafic) is anchord only at the top, and height is set to "800", wouldn't the "Status-Bar-Stripe" move up on 950th?
With height set to 1024, again tiling would occure, as the info-area is tiled and not stretched.
Or should a separate Status-Panel be introduced?

Another question regarding the 950:
In the moment most of the apps-layout is anchord at "top". So I assume that this leads to some glites when shown on the 950.
Especially BenChens "Onscreen Help/Button-Info" (and the FreeCell SnapShotIndicator), should show up right above the Status-Bar, so wouldn't it be wise to anchor this elements at "buttom"?
Mark Nord is offline   Reply With Quote
Old 03-24-2011, 04:08 AM   #222
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by BenChen View Post
Hi Mark,

I should note that I replaced the name of the icons in the PRS startup files for FreeCell and Chess. If you have added those icons to your png files, you can change them back: "CHESS" for Chess and "CARDS" for FreeCell.

Sincerely,
Ben.
Thanks for notification!
I will check for this, but have you noticed surquizus awesome new icons in the PRS+ thread?
If kartu is accepting them, I will update the Sim with these kBookIcons.png
Mark Nord is offline   Reply With Quote
Old 03-24-2011, 06:07 AM   #223
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by Mark Nord View Post
Kartu, but if the panel (holding the background-grafic) is anchord only at the top, and height is set to "800", wouldn't the "Status-Bar-Stripe" move up on 950th?
Yes it would. It's just it looks better than tiled. Having a bit more empty space down there on 950 is not a big deal really.

Quote:
With height set to 1024, again tiling would occure, as the info-area is tiled and not stretched.Or should a separate Status-Panel be introduced?
I'd prefer if apps didn't interfere with statusbar at all, simply ignoring that part of the screen.


Quote:
Another question regarding the 950:
In the moment most of the apps-layout is anchord at "top". So I assume that this leads to some glites when shown on the 950.
Especially BenChens "Onscreen Help/Button-Info" (and the FreeCell SnapShotIndicator), should show up right above the Status-Bar, so wouldn't it be wise to anchor this elements at "buttom"?
Mm, yes, maybe buttom anchored would be better.

PS
My long term goal for apps is to have some kind of "Widget API" (moving away from sandbox), having "canvas" that could be drawn on (horizontal/vertical lines, text, sprites), maybe a common set of sprites / sets of images combined into bigger one by a script, etc. This should also work in your FSK Test Environment.

PPS
Regarding icons, I'll have a look. Are all new icons actually used, "globe" in particular?
kartu is offline   Reply With Quote
Old 03-24-2011, 07:25 AM   #224
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by kartu View Post
PPS
Regarding icons, I'll have a look. Are all new icons actually used, "globe" in particular?
If I remember correctly it was foreseen for "localisation" on the 505.
Don't know if/which icon is used in the standard UI of the more recent models?
Mark Nord is offline   Reply With Quote
Old 03-24-2011, 09:20 AM   #225
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by Mark Nord View Post
Don't know if/which icon is used in the standard UI of the more recent models?
A book with uppercase A letter.
kartu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fsk error, code = -13 Brian Charles Sony Reader 4 04-23-2010 04:21 PM
Fsk error code= -43 shrktank Sony Reader 1 12-24-2009 09:32 AM
Just a silly tweak: AUTORUN.INF for Windows Rootman Kindle Developer's Corner 3 12-04-2009 10:17 AM
Request for test in Windows XP kovidgoyal Calibre 5 08-26-2009 01:14 PM
Windows Develpment Environment issue itimpi Calibre 20 01-17-2009 07:15 PM


All times are GMT -4. The time now is 12:55 PM.


MobileRead.com is a privately owned, operated and funded community.