Kyatric's Forum Posts

  • Hey I've gone through the last entries and here is some review of the technical problems I've encountered on FireFox 7.0.1 with firebug active.

    Maxum

    "Astro Blaster"

    FireFox doesn't keep the focus on the canvas (arrows and space made the inner content of the window move).

    The ingame is immensely slow, 4 FPS - unplayable

    Ize

    "NEON"

    Huge FPS drop on the title screen. When "volutes" disappeared, it feels nicer.

    The game itself plays "normal"

    Dcrew

    "Space Cloggers"

    on the beginning of level

    firebug error - game freezes - unplayable

    Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMCanvasRenderingContext2D.drawImage]

    [Stopper sur une erreur] this.Fb;var b=this.V.frames[this.v],f=...ce-over")a.globalCompositeOperation=

    C2runtime.js line 112

    arandaschimpf

    "The Astronaut"

    On the 3rd application,

    firebug error - game freezes - unplayable in the level itself

    An attempt was made to use an object that is not, or is no longer, usable

    [Stopper sur une erreur] lastAudio.currentTime = 0;

    c2runtime.js line 4652

    Kastas

    "Trashoid Attack"

    On startup of the page firebug error/warning in js code:

    element.dispatchEvent is not a function

    line 5733 in prototype.js

    Forcing to execute works and the game loads and play.

    Ingame - pressing the down key make the content slide. (same "error" as Maxum's "Astro blaster"

    16 FPS

    Lightfox

    "Space Rescue"

    Slower play and scrolling in story mode than in arcade.

    Nevertheless, regular freezes and collisions miss.

    Also, the same "no focus canvas" bug as reported in earlier entries.

    I see a "scrolling gap" on screen, a black line on the "ground sprite" and freezes happen when this line appears, and in the middle of that ground object.

    Misuuu

    "Color Space"

    15-20 fps

    Fully playable.

    I see a "scrolling gap" on screen, a white line tinkering in the background and slowly going left.

  • C2 r64; Windows XP SP3; FireFox 7.0.1; ATI Radeon HD 4870

    Dual-core E5200 2.5 GhZ; 3,5 Go RAM

    • Hand behavior - Setting the cursor's option to more than one object (when mouse is over the object) appears to only affect the last object. (Layout Menu/MenuSheet -> Objects c2Cog and mRotaSprite, events 9, 10, 12, 13)
    • Draging an instance of an object with the sine behavior from the "project" tab to a layout makes the object with the correct number of sine behavior, but their properties are to default (not to the properties the object was set at first). (Try dragging an object menu/mLogo to a layout. Both sine behaviors are set to "horizontal" with the default "4" seconds period, etc...)
    • The capx ended bugging the preview regulary (since I had the R63 /n bug in array.) It seems that resizing the array (in LangageSheet event1) and adding new entries, saving the project, previewing ended often as C2 just quitting, or raising a windows error. Messing with the frames of object also "helped" raising the preview error. (still this is very random).
    • Sprite - Initial Frame: setting the frame to a number that doesn't exist (too high) ended C2 crashing (with a windows error too). Related: deleting a frame in an animation that has been set, or leading sprites to have a not existing frame number setted caused the same crash.
    • Exported project, custom HTML page. When testing the game, (and especially in the final level) pressing "space" sometime takes to the bottom of the page. I'm not sure if this is a C2 bug, or a firefox bug, but it feels like the canvas lose the keyboard focus, and that space is a shortcut that takes to the bottom of my page. SPOILER ALARM (if you haven't and intend to finish the game, don't read ^^) --- To reproduce, play the game here on the menu/splash screen press "D", it takes you to the "Debug layout". In here click "Goto level5". It happens especialy with the dialogue with Ashley at the very end of the game. I changed my "dialogue" code for this one (level5 Sheet, all hapens in a couple of groups "Trigger1" and "AshDial2") compared to the "Phase" system of Level1Sheet. EDIT: Since I separated in two html files, one for the instructions and one for the game itself. On my resolution (1920X1080) it "corrects" the bug, as everything stands on a full page, with no slider on the side. I encountered this "bug" in several other entries of the contest though. ---

    This is the capx of my entry (~840Ko) for the C2 contest (as it is with the whole project that the "Preview" bugs seem to appear).

    There is a fair share of comments, but this was done while coding, when I arrived around 99 events to make a "Free Edition commented" version.

    Nevertheless, I need to go through it again before making an "official" release (as I intend to), and a fair share of the code changed since.

    http://dl.dropbox.com/u/36472942/construct/game/C2Comp/1.outerSpace/SJ_1.0/buggycapx/SJ_64_1.0.capx

  • Game: Space Jinx

    URL: DA GAME

    Country: France

    Space Jinx is a physic/reflexion adventure game in which you guide a character to the POD area of each level by controling the rotation of the ship it is being in. You can also apply vertical impulsions on the character in a gravity 0 environement.

    The game was made for the first Construct2 Competition in about a week and a half.

    Thanks Yann (FrenchYann on IRC) for the starting code for the ship rotation.

  • I've just noticed something "similar" in firefox, with an exported project in local.

    Firefox ask me if I want to save datas for an offline use.

    As it is local (double clicked on the html file to execute it), I can't say yes. And when I try to go to the next layout, it freezes.

    Nevertheless, during previews everything worked fine happily, and it also works when the exported project is hosted online (dropbox).

    Maybe this is not related at all, but it felt like it though (file mode ?).

  • In the "How do I FAQ" lies your answer:

    li]Import frames from a tiles sheet/sprites sheet : LINK

    edited><editid>Kyatric</editid><editdate>2011-10-27 04:27:31</editdate></edited>

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It depends on what you mean by aligned.

    Also Object.X is its horizontal coordinate, whereas Object.Y is its vertical coordinate.

    What exactly do you want to achieve ?

  • Rainbow background on : 9-8 FPS

    When the ball is in the "bottom" : slight acceleration, the counter goes to 11-12 FPS, but it feels more fluid.

    Without rainbow background : 23-30 FPS

    When the balls in the "bottom" : slight acceleration still FPS goes up to 43.

    Without rainbow feels a lot better/fluider as soon as it is set.

    On both, the red rounded rectangle make a a slight lose of FPS (down to 19 instead of 23-30 without background) and there is an offset in the moving (the red rectangle is "a second behind" (not a full second)).

    FireFox 7.0.1

  • "Level 2's event sheet includes level 1's event sheet"

    Maybe that's why.

    You should have the "mechanics" events in an event sheet that you could include in every level's sheets.

    Then, for the ending and those kinds of "links" between layouts, handle them in each level's sheet.

  • How to create plugin - Article on the wiki

    Construct engineering forum

    I think those are the good points where to start.

  • Yes, it is slow ON FIREFOX.

    As said in the first page, try it on chrome, this should run more fluid.

  • I think the idea is the same as in this topic (depending on the arrow, display as specific animation) and might require a little test also on the angle of the current sprite (is angle between X and Y, then display frame A or B or C, etc...)

  • Also you can always settle for an event sheet not linked to any layout and containing nothing but comments.

    This way you have a mean to "communicate" with your "team" within the capx with the available tools.

  • gonzdevour : nice entries !

    Your team have produced a brilliant work.

    Some quirks though, on Firefox 7.0 on my configuration, planet defense lagged a lot (also no option to turn the sound off it seems, it's a shame, the canon shoot becomes quickly annoying and might be a cause of the FPS drops too).

    Same lags with Mantchet.

    But I really appreciated the art work and the representation/orientation of the games.

    Good pro work (big up to rexrainbow).

  • You can check out "Car behavior.capx" in the example folder in your "C2_Folder_install\examples".

    If you are a full beginner with C2, I'd advise you to check out the Beginner's guide to Construct2 to learn and get familliar with the basics of the software.

  • You can check this tutorial about AJAX and this related topic.

    The limitation to the domain comes from a security limitation from javascript itself.

    Anyway, mobile or desktop, as long as you're hosting your application on some domain and making AJAX's request to this domain, it should work.

    To get back datas in JSON, you have to set your server-side script to return in JSON.

    For the 'GET' question, I agree I'd like 'POST' requests too. They might be added in a future release.

    Be sure to check the How do I FAQ to check more topics about AJAX and other subjects.