ranma's Forum Posts

  • http://www.ohds.co.uk/c2/offlinecheck/

    doesnt work in firefox nor in chrome for me :(

  • :D

    [begin tutorial]

    floor(random(x))

    [end tutorial]

  • great, thanks

  • cocoonjs seems to support XMLHttpRequest but ajax object fails to work, is there an option to make it work or are you planning to make it work? Is this your or ludei's part? :)

  • ahh, ok then, I will turn to them then. thanks.

  • shameless self bump :(

  • nope, I chose export to appmobi and selected the direct canvas export. as for eclipse, appmobi and direct canvas are open sourced and can be built with eclipse - it's the only way as I know, to use own signing key required to update apps later if is switch builder. every appmobi app build through their builder is signed with their key, which I don't want to happen. there's this for appmobi eclipse code:

    github.com/appMobi/android

    and this for appmobi opensource direct canvas:

    appmobi.com/documentation/index.php

    the two of them combined will work - direct canvas will render on andorid, but when I replace the bundle.zip with game exported from C2 it gives me errors described above.

    hope that helps.

  • I was very excited today as I finally sat down for a couple of long minutes and got direct canvas to work on android through eclipse ide. The problem is I only got the appmobi sample working, when I compiled it with a C2 exported game, I got the "Cannot call method load of undefined at index.html:61" and "Cannot call method execute of undefined at index.html:52" error.

    Both of these are in exported index.html and I believe should be defined in some appmobi's javascript file which I don't have or did not include.

    Any ideas would be greatly appreciated as always.

  • well you could develop a location based games :)

    also, do it yourself Joannesalfa, its very simple javascript with calljs plugin, or in phonegap / appmobi.

  • F4

  • floor(3.9) for chrissakes

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • browser asks for game

    server sends game and a crumb which can be seen by hacker, so hacker writes it down

    browser saves crumb

    browser wants to write some data back to the server

    hacker sends his malicious data with his crum

    browser sends crumb along with request. - hacker block this request

    server validates the crumb and accepts the request

    bad logic im afraid.

    i still recommend ssl :)

  • short answer: mobile first.

    that's it :) just create a game in 800x480 and think mainly about mobile, but have in mind desktop all the times. remember that on mobile you don't have to "mouse is over object" and all that stuff.

    also there's no general great answer to that kind of question, it all depends on what kind of game you're making.

    have fun!

  • hello,

    I got some c2 games exported to play store, here are links to two of them that you can test, they can be hoggy:

    play.google.com/store/apps/details

    play.google.com/store/apps/details

    I noticed that since galaxy S+ phones the android performance seems to be quite good, I tested lately a game that on my nexus one runs at around 10 fps, on S+ I was surprised it was running at around 25fps which is more I could wish for actually.

    Would be grat to hear from you about your performance tests. If you could include "@ranma" in your replies as I don't think there's a "watch topic" option here :( and including ranma will send me a notification about your answers.

    If you'd like, I can test your games on a nexus one device which is quite slow, so it can give you an insight how an app will run on slower devices :)

    cheers

  • first of all set textbox type to "text" NOT "textarea". text is single line, textarea is multiline - that's why you see these arrows.

    if you do this and arrows don't disappear you have to add css style overflow:hidden or overflow:auto

    as for the limit you can to id with events with compare two values system condition:

    len(TextBox.Text) > 2
    [ul]
    	[li]> TextBox set text to left(TextBox.Text,2)[/li]
    [/ul]