Kyatric's Recent Forum Activity

  • 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).

  • Plugins from the Plugins for Construct 2 forum.

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • There's not enough informations here to tell much.

    It would be better if you could post the capx, and tell exactly what you mean by "events don't work".

    What are you expecting, what is actually happening ?

    One thing you could do anyway would be to use a single "On start of layout" top event, and put the test about the value of "Chips" as sub-events.

    It's always nicer to have one and only on "on start of layout" condition in your event sheet.

    Make also sure your sprites (3 to 6) are invisible by default.

  • There is this facebook group in Spanish which is pretty active.

  • You should post the very capx you do, it's likely there is a slight mistake in it that makes it so that the game is not behaving as expected.

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,405 followers

Connect with Kyatric

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x15
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x27
    Coach One of your tutorials has over 1,000 readers
  • x11
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

23/44
How to earn trophies

Blogs