03-14-2008, 05:50 AM | #1 |
eWriter
Posts: 267
Karma: 175607
Join Date: May 2007
Location: Frankfurt, FRG
Device: PB-IQ / Sony PRS-500
|
Need some help from a professional...
Hi!
I want to do a game of my own using obelix' "Sudoku" as starting point. Can someone please tell me what programming language (apart from Javascript) was used in his code? I could not find in my JS documentation, e.g.: - stream.bytesAvailable - container.getDevice().doneResume(); - FileSystem.getFileInfo(...) and others. Is my docu just too old/bad? Or are these expressions from other languages I have definitely NO IDEA about? (like: php, cgi, perl ...) I thought the SONY just uses Javascript!?! Thank you VERY much for any hint to a (not totally) blind amateur! |
03-14-2008, 08:45 AM | #2 |
Wizzard
Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
It's JavaScript, but the functions you're asking about are functions/methods provided by the Reader-supplied/specific objects, not functions built into the language itself. The problem you'll have is that these aren't documented anywhere (other than, presumably, within Sony,) so it's been a matter of investigating the files/scripts already on the device in order to determine what functions they call in order to find what can be done.
|
Advert | |
|
03-14-2008, 12:49 PM | #3 | |
eWriter
Posts: 267
Karma: 175607
Join Date: May 2007
Location: Frankfurt, FRG
Device: PB-IQ / Sony PRS-500
|
Quote:
Now I know at least there is no other "exotic" language involved... When I googled these function names I mainly got links to "Flex"-related sites - and I never heard of that before... If anybody happens to have a link to some kind of "overview" page that would be fantastic, though. (I found a "resources505 Folder" here at MobileRead. I will start with that one...) |
|
03-20-2008, 09:19 AM | #4 |
eWriter
Posts: 267
Karma: 175607
Join Date: May 2007
Location: Frankfurt, FRG
Device: PB-IQ / Sony PRS-500
|
Special characters onto screen ?!?
Hi!
By now I'm on a good way with my game. But I want it to be playable in English as well as in my own language - German. So I have the difficulty to get "Umlaute" and special characters (ä,ö,ü / é,è...) onto the screen. My "autorun.js" froze immediately when I used "ä" - even in a /*comment*/ !!! I want to write "Have some fun!" AND: "Ich wünsche viel Spaß!" ... How can I get specials onto the screen? ("ü" or "& # 223;" won't do. anything with "^", "\" no better...) I would be glad for any hint!!! Thank you!!! |
03-20-2008, 07:59 PM | #5 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Make sure you save the .js and .xml files as UTF-8.
|
Advert | |
|
03-21-2008, 11:30 AM | #6 |
eWriter
Posts: 267
Karma: 175607
Join Date: May 2007
Location: Frankfurt, FRG
Device: PB-IQ / Sony PRS-500
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why do professional epubs look so different from each other? | ficbot | News | 30 | 12-22-2009 05:02 PM |
FontCreator Professional for 80% off today only | Bob Russell | Workshop | 2 | 11-02-2007 04:13 PM |