Last edited by Ñuño Martínez; 26-01-2012 at 01:26 PM.
No signature provided yet.
It also says "Scripts can be executed from Delphi applications [...] or compiled into JavaScript that can be run client-side in a browser or any Javascript-capable engine"
So yes, it takes Object Pascal source, and spits out JavaScript.
The JavaScript runs as long as you have a compatible web browser, anything not too ancient should be okay. For game stuff you need at least Canvas support, and the game is primarily tested/profiled for WebKit-based browser, ie. iOS, Android, Chrome & Safari.Does it work on Linux? Does it work on WineHQ?
FireFox, IE9 & Opera are okay except for some graphical glitches on the menu buttons (they aren't done in Canvas, but in HTML, and lack some specific CSS).
As for the compiler, at the latest news, DWScript compiles under FreePascal, but execution is problematic due to bugs in the FreePascal compiler/runtime wrt to Variants & Unicode Strings.
Sorry, I read it too fast... I'll try to use the compiler in WineHQ.
No signature provided yet.
Wow, I didn't even know that this was feasible to do. I'm very curious about some benchmarks, that show the quality of the compiler. It would be a shame if the pascal version would be significantly slower.
Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.
I thought this game was on the android market now, but I can't find it!
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
That depends on how it's packaged for distribution. I'm assuming that the tool developers will be leaving it open for maximum flexability for the individual developers to decide; strapped on JavaScript run-time engine, pages to be loaded on a web server and so on...
The end result would be 100% web compatible so I think that the end product's form will depend on those that use it to make HTML5 apps and games.
Not yet, I'm still adding stuff, and cleaning up the Java wrapper.
There is not much Java (less than 50 lines, including blanks & lines with only a squigly), but I've been tweaking the Android WebView option. PhoneGap doesn't really cut it for a game on Android, due to bugs in the Android 2.x browsers: things like scrolling & pinch-to-zoom can only be disabled on the Java side (for iOS, the viewport meta works perfectly AFAICT).
Performance is more complicated as there is a wild variety of devices, it runs at 30FPS on my HTC Desire, but I've add some issues on older phones and tablets (apparently some Android tablets don't have the hardware acceleration enabled). And need to find time to package the app (make the icon, marketplace graphics, etc.).
But it's coming
Bookmarks