Kyatric's Forum Posts

  • Use dropbox to upload and display either your capx or images.

    Are you sure you are using a mouse object in your project ?

  • gumustdo: have you setted your project's property to fullscreen ?

    If not, have a look at this tutorial and this manual entry.

  • I'd avoid a single sprite (especially in 1920) it would take a lot of memory and a long time to download, and I guess you wouldn't have only one of those.

    Smaller sprites you can "bank" in a single animation and display only a single frame out would be a good solution.

    You could also add a "pattern" in a TiledBackground. (That's part of the solution I used in this shoot-'em-up tutorial)

    I hope this helps.

  • Could we build features or UI using Construct 2 ?

  • You might want to try marketJS.

  • Fixed capx (made in r113)

    I've had to set the "run" animation to loop, add a boolean instance variable to the "run" object..

  • In your last link, try to provide more space to "c2canvasdiv".

    A width of 660 and removing the <br/> in between the two closing </div> should help.

    Modifying only the width value in FF worked for me, the square was already well positioned under the mouse, it was only an aesthetic matter of correctly "framing" the div.

    You already did most the work, you might still want to check this tutorial to learn more about editing the index.html file.

  • Dropbox gives a 404 error.

    Maybe you also want to use the system action "Reset global variables" to reset the game as it was when it first executed.

  • The 2D example does not work in Firefox at the moment, that's sad.

    The quake viewer in the html5rocks article does work in FF though.

    And it indeed locks the mouse's cursor out of the boundaries in full screen which is what I'd want

    Not in "not-fullscreen" though. (EDIT: after test, it's only in FF for now that the cursor is not locked in "not-fullscreen")

    It could be indeed an interesting behavior or addition to the mouse plugin once the API is a bit more stabilized and Ashley has more time on his hands.

    EDIT: With parallax I can see some 2D FPS and TPS that would still be nice looking and interesting to play.

    You'd mostly move in a lateral way, hardly in depth even though it would be theoretically possible (cf CubeMaze by ).

    Thanks Joannesalfa

  • In the capx you downloaded, the "Movement" behavior is a Bullet behavior renamed to "Movement".

    (You can see it in the object's behavior dialog, it has the same icon as the Bullet one)

    I'd prefer "Bullet" as it's smaller so it's less characters to write when coding actions <img src="smileys/smiley1.gif" border="0" align="middle">

  • rnd is not an existing system expression.

    The expression should be random(360) in your code.

    If you created a global variable rnd, I suspect the value would be 0 in your second example, and the result would end up being 0.

    See this example I just made in r113, all "Sprite2" instances have a random angle of motion meaning they got picked as expected.

  • I'm kind of disappointed in what the API turned to be.

    I'm still waiting for a mouse pointer lock that would allow you to limit your mouse cursor to the canvas and even allow you to set the position of the cursor where/when you want.

    I don't really see the need for the API discussed with what it's proposing.

    Has anyone any practical example of use to make me change my mind ?

  • The method Space Ape gave is correct and has to be done, as you thought in a PHP script you would call via AJAX on login of your player.

    To learn PHP a google search might give some good results (the sites I used to learn it 10 years ago were in French, so I guess wouldn't be of use for you or even still up to date).

    And for development questions there's always the nice stackoverflow.com, PHP itself being already largely discussed over the net as well as out of the scope of this forums (just saying for anyone else looking for infos about PHP here).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Plugins from the Plugins for Construct 2 forum.

    Don't forget about posting your capx otherwise this thread will get closed.

  • Please see how to report and provide a capx with the exact steps to reproduce.

    What you call "game tester" should be a browser and you should indicate which one it is.

    This error is strange though. Do you use any third-part plugin in your project ? If so, you should rather post in the topic of the plugin rather than in this forum.