Kyatric's Recent Forum Activity

  • Does this topic helps ?

  • What you display is the layout properties.

    What you are looking for is in the project properties, when you click the project bar.

  • Check for errors in your browser.

    Be aware FF is stricter than other browsers (in JS execution).

    Also maybe the part about not secured server is causing the issue.

  • I'm afraid the server side programming is out of the scope of these forums.

    If the two clients don't sync, there might be an issue in the code of your server that handles this part, or in the code of the client.

    As far as client (C2) goes, it's impossible to tell as you haven't posted the source (capx) for us to check out.

    You might want to seek help on the official website of your server (node.js I presume) too (especially if the issue is server side).

  • Agreed with tanoshimi.

    By the sound of it, your server should produce the replay, and the players will have a C2 replay viewer (that allow them as well some "programming" of the battles through the interface you'll have determined).

    The server will serve the replay either in Json (for arrays or dictionary) or even in XML.

    This way you ensure both clients will replay the very same sequence, having had the randomness calculated on the server side to ensure the same result for both players.

    Server side isn't managed with construct2, it needs to be handled in regular coding language (java is a possibility, javascript is another on a node.js server for example).

    The fact is the clients should merely be replay viewers with an interface to allow each player to determine their next moves (sends the infos to the server).

  • Joannesalfa: what about them ?

    I'm really sure it's a matter of organisation.

    If you don't want the buttons to be pressed when they are invisible, just add a condition to check they are visible when clicked...

  • Don't forget to put the animation speed to 0.

  • Joannesalfa: It's not a bad practice if you're organised.

  • IE will download all the audio files (even if it doesn't read .ogg format), other browsers will (should ?) only download the set of audio files they need.

    Your end user will have less download if he uses FF or Chrome.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You may also want to make a layer that you make invisible on start of layout and only display (make visible) when the player completes the level.

  • Link to .capx file (required!):

    Link to Capx

    Steps to reproduce:

    1. Open the project

    2. Execute

    3. Click the button "Show "List" layer"

    Observed result:

    The arrow sprite appears, the List object does not.

    Expected result:

    The List object should appear.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: not tested

    Operating system & service pack:

    Win 7 Pro Sp1

    Construct 2 version:

    R121

    Observations:

    If you modify the layer "List" parallax to 100,100, the List will appear as soon as you move the mouse after having clicked the button.

    Also you can notify that on parallax 100,100, moving the screen away from the list (to the right) will make the selected text of the List "follow" instead of staying in its place like for a Text object.

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