ranma's Forum Posts

  • that is exactly why i wrote "if it's possible and not time consuming" :)

    right now mass conversion is the only way, but I think it shouldn't be hard to implement it and it would make things easier after exporting.

    thanks for input!

  • pretty please :)

    if it's possible and not time consuming, please add a stereo / mono option for import and 64, 32 qualities. in most cases 96kbps which is a minimum, is more than enough to keep the quality sound in most of samples :)

    thanks in advance

  • ok, on kongregate I got this console error:

    cr.plugins_.Kongregate.prototype.cnds is undefined

    sugames.eu/battleshops/c2runtime.js

    Line 29623

    and on that line in that file is this:

    cr.plugins_.Kongregate.prototype.cnds.OnLogin

    also when removing the on login and on is guest events, when the loader bar gets to the end i get this one:

    uncaught exception: [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://mydomain/c2runtime.js :: <TOP_LEVEL> :: line 1388"  data: no]

    the above happens when published to Kongregate and to html5 website.

    ah yes, the line 1388 is:

    gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, img);

    and this may be connected to another error i got in console just before the above one:

    Image corrupt or truncated: http://mydomain/images/loader-sheet0.png

    the loader is of course a sprite in the game. and now the weird part. if i export using png recompression it loads just fine... so... that was my part ;)

    cheers!

  • cannot read property 'OnLogin' of undefined (same with IsGuest)

    data.js line 6211

    happens in preview, no way to test it on kongregate, but the strange thing is, i have the two kongregate events (onlogin and is guest) in a group that is disabled.

    hope that helps.

  • nope, now I'm not able to do it, so everything works fine.

    what I actually meant I [was] able to edit the tutorial with under 3500 rep.

    anyway, i think the rep needed to edit every tutorial set to 5000 is a good move. im glad it was raised.

    cheers

  • well this feature was reported some time ago and as zsangerous said many times probably. it's just not clear and it looks like a bug and personally I think this should have been explained already.

    Sorry for editing the first tutorial on the list, I just thought it was a bug and wanted to bring your attention to this bug, which apparently worked like a charm :)

    I have under 3500 rep and am able to edit tutorials, so maybe it's worth looking into it.

    Again sorry for drastic action and thank you very much for clearing it out, no harm meant.

    Cheers.

  • i guess he's just testing. or c2 skyrim maybe? ;)

  • http://www.scirra.com/tutorials/37/beginners-guide-to-construct-2

    seriously? :)

    i hope this will be still considered as bug report not devastation, just wanted to make it visible as clearly noone gives a damn about this problem for a couple of months...

    cheers

  • http://dl.dropbox.com/u/59009902/go%20to%20layout%20on%20destroyed.capx

    after 2 seconds should go to layout 2 with five rotated black squares.

  • well this is a logic bug, if you have an event in your event sheet:

    someSprite -> on destroyed -> restartLayout

    and in the same event sheet you have:

    on someCondition -> go to OtherLayout

    when someCondition is met, layout is restarted, but the game should go OtherLayout. what happens is that the game tries to go to OtherLayout, destroys all objects including someSprite, which on destroyed makes game restart current layout, so the game just restarts current layout :)

  • good, great, got it.

    thanks

  • yea, i meant, C2 cant know that im gonna be creating 10 bullets every second, so the real question was does it make sense to create like 50 bullets at start of level and like described reuse them?

  • GC Concurrent freed something something % :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • a quick question Ashley as he's the main brain of this operation :)

    when running a phonegap C2 export through eclipse, in logcat i get garbage collector logs almost every second. we all know that gc uses quite a bunch of processor cycles. do you think it's woth my time to make something like sprite pooling in my C2 game? ie. don't destroy bullets, instead hide them / make them inactive and when needed don't create them, but set their position / active / visible again?

    thanks in advance :)

  • hard to explain, so look at the capx:

    http://dl.dropbox.com/u/59009902/sine_bug.capx

    for some reason sine size behavior doesnt take into account the frame aspect ratio, it takes the sprite aspect ratio.

    what should happen is that the circle should remain circle and rectangle should remain rectangle. if you remove the sine behavior, aspect ratios remain ok after frame change through events.

    hope my borked explanation helps :)

    cheers