ranma's Recent Forum Activity

  • Thanks!

  • ok, so the real bug is that every image above number 300 will not load. I had 302 images, and this idea came to my mind, I reduced some sprites animations, exported 298 images total, and BAM! it worked perfectly. can we do something about it? where is the limit? is this canvas / html5 / device specific problem?

    also maybe it's time to think about layout-based image loading?

  • In exported game, this just happened:

    Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1

    c2runtime.js: Line 6956 : Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1

    Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1 at c2runtime.js:6956

    did a quick research, it's when image is not fully loaded and you try to draw it into canvas. started appearing when I moved my project to r80.2 and added new sprite, and it seems to be the problem, as just as this error hangs the game, every other sprite is visible, just the new one is not. but after downgrading to 79.4 and exporting the project again, problem is still there :(

    and this is line 6956 of the c2runtime (first line = line 6956):

    ctx.drawImage(cur_image,
    myx,
    myy,
    this.width,
    this.height);
    }
    else
    {
    myx = this.x;
    myy = this.y;
    if (this.runtime.pixel_rounding)
    {
    myx = Math.round(myx);
    myy = Math.round(myy);
    }
    ctx.save();
    var widthfactor = this.width > 0 ? 1 : -1;
    var heightfactor = this.height > 0 ? 1 : -1;
    ctx.translate(myx, myy);
    ctx.scale(widthfactor, heightfactor);
    ctx.rotate(this.angle * widthfactor * heightfactor);
    ctx.drawImage(cur_image,
    0 - (this.hotspotX * Math.abs(this.width)),
    0 - (this.hotspotY * Math.abs(this.height)),
    Math.abs(this.width),
    Math.abs(this.height));
    ctx.restore();
    }
  • sound works, I used phonegap with low latency audio plugin (phonegap's not construct's)

  • Furries on Android Market

    Sling that Furrie as far as You can!

    You get to use a huge sling to shoot a cute little creature as far as possible. Gather money, gems and stars to unlock new features. Visit the shop and upgrade Your Furrie to make it fly higher, faster and farther.

    Have fun! :)

    <img src="http://dl.dropbox.com/u/59009902/furries/scr1.jpg" border="0"><img src="http://dl.dropbox.com/u/59009902/furries/scr2.jpg" border="0">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • it's phonegap export with eclipse build. how bad is it? can you try to turn your phone off and on again and run the app to see if it's running faster then? thanks for the feedback!

  • check it out, a proof that c2 can be used to make simple apps, not only games. have fun! :) available for free on android market.

  • I really should check these forums more often :D

    There seems to be a couple misconceptions about appMobi I'll try to clear up.

    I don't think the "current status of things that in future are going to be changed" can be defined by "misconception" :) don't get me wrong and no offence, but from the start I was talking about how phonegap differs from appmobi NOW, not in future.

    Our default permissions are implemented for beginner to mid-level developers as they are our main clients. We were running into many apps being denied because our users didn't understand which permissions to select. These aren't set in stone and we may change how we implement this in the future.

    well this would be a good idea as accessing contacts without any reason doesn't look good, it's currently loud about android's autocad wanting access to phonebook :)

  • It worked in 79.4 as I recall, so I wouldn't bet it on the browser. But if the apk I posted works, that's something strange going on :)

  • for those wondering why execute action doesn't work in any layout but the first one, you have to make calljs object global. just stumbled on it :)

    great plugin, cheers!

  • http://dl.dropbox.com/u/59009902/Accelerometer%20Bug.capx

    http://dl.dropbox.com/u/59009902/Newproject-debug.apk

    simple project with text that every second should be updated, returns 0 (zero) on my nexus one with phonegap export (phonegap build and through eclipse)

    btw, audio in phonegap on android works just fine, great job Ashley thanks for that!

ranma's avatar

ranma

Member since 20 Feb, 2008

None one is following ranma yet!

Connect with ranma

Trophy Case

  • 16-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

19/44
How to earn trophies