ShabbyCat's Recent Forum Activity

  • I also did this PoC in .Net

    It includes an example application that you can use to "frame" your Scirra games, there were also some initial speed tests taken:

    scirra.com/forum/c2-wrapper-exe-in-c_topic44584.html&sa=U&ei=NRRBT8qoGszImQWXsbzSBw&ved=0CAQQFjAA&client=internal-uds-cse&usg=AFQjCNGI-qs1ju6Vwdp-lragsHDOhyRV0g

    Remember it was just a PoC :)

  • I've been doing some more research on the topic I thought I'd share:

    Want a quick way to make you game to look like an app try renaming the html page created (by default index.html) to .hta (E.g. index.hta).

    XULRunner (https://developer.mozilla.org/en/XULRunner) might be a good alternative from Mozilla. It let's you define web apps E.g. html/javascript that will run on your desktop as an application.

    Titanium App Accelerator (http://www.appcelerator.com/) looks commercial but I believe it is based on Apache licence model. The community edition is free and might be just what we need but I haven't had a chance to test it.

    Pokki (http://www.pokki.com/) Is a nice of example of web apps being rendered on the desktop. Might be nice to convert Scirra Arcade into something similar.

  • Very nice so one method is to store the differing tile images as animations as use something like int(Random(0,Sprite.AnimationFrameCount)) to pick a random animation. That's cool. If you wanted to "tile" around something. E.g. bury a diamond in the dirt I guess you could overlap the diamond at a particular position on another layer then when you grab it you could destroy all the overlapping tiles so you have a hole where it was dug out?

  • Ok Thanks!

  • Hi Guys,

    I found refrenced to dt (delta time). But I can't work out how to use it.

    I'd like to calculate how much time has elapsed between a sprite being created and the left click of a mouse.

  • Many of you have probably seen games like terraria for example where the terrain seems to be made up of tiles that you can dig out.

    I was wondering what the theory behind the creation is?

    Are the tiles little sprites that you spread all over the screen?

    I'm gathering you wouldn't paint them by hand and that you would generate them some how? I guess this would involve setting an upper limit (so you have a horizon) and then getthing it to fill in the test with sprites and adding a random function somewhere to pick different types of sprites.

    Is that sounding like a sane path to take?

    Any options or examples welcome.

  • Nice guide, good work!

    I experimented with phonegap a while ago and I ran into a few gotcha's that I posted here:

    scirra.com/forum/experiment-running-a-game-on-an-android_topic43897.html

    4 hickups I had along the way:

    1. Android SDK didn't detect my Java SDK install, if that happends just click "back" and "next" again on the installer (known issue with java installer).

    2. The android SDK installed in c:\program files(x86)\android-sdk by default for me. When you are entering the path of your Android SDK in Eclipse you need to use C:\PROGRA~2\Android\android-sdk cause it didn't like the spaces.

    3. When I re-ran the app on the Android emulator I just got my original HelloWorld example again. Not sure what went wrong but I deleted the Virtual Device in the AVD Manager and created a new one.

    4. By the way the Android emulator can take ages to boot up 2-3mins, I thought it was broken the first time but it was just slow.

  • That's great thanks, it doesn't make 100% sense for the moment but I'm sure if I keep staring at it and look up some of those functions that it will,

    Thanks again.

  • Hi Guys,

    Time for another noob question, I want to be able to convert from decimal to hex and vice versa. Is there a math function in Construct 2 that can do it or should I just populate a large look up table?

  • I think the speed will vary from each implementation of webkit, the best would be to use c++, the python/GTK version plays Space Blaster with no lag but I couldn't get sound working.

    I used Sunspider to do some bench marking as it also does 3d tests.

                Comparison        Webkit C#(OpenWebkitSharp)    Chrome(13)

    3d:        2.45x as fast     102.8ms +/- 12.4%          42.0ms +/- 8.1%

    cube:       2.54x as fast      32.8ms +/- 34.4%          12.9ms +/- 22.8%     

    morph:      2.49x as fast      33.3ms +/- 40.3%          13.4ms +/- 8.4%    

    raytrace:   2.34x as fast      36.7ms +/- 39.2%          15.7ms +/- 7.4%     

    As you can see Chrome is consistently twice as fast.

    But as far as 3d acceleration goes, I'm doing this on a laptop running XP with a 3D card but not sure if it's being used. But for what I have read webkit does do 3D acceleration.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hard to say, Space blaster is laggy but a lot of other games I tried were fine. I think there's better versions of webkit I could be using as well, but early indications are promising.

  • I've put together a C# wrapper, details can be found at this post

ShabbyCat's avatar

ShabbyCat

Member since 7 Aug, 2011

None one is following ShabbyCat yet!

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies