gumshoe2029's Forum Posts

  • There are none. You have to custom build the server to match with your client via whatever API you choose.

    And besides, the official Multiplayer plugin will not work with a dedicated server, since it is designed as a peer-to-peer platform.

  • You have to use Arrays or Hashmaps (like rexrainbow 's Hash plugin) to track an indeterminate number of instances of object UIDs.

    Then you can loop through those to run checks on every possible object. (For loops)

  • You would need to find a JavaScript library that does that and create your own custom plugin.

  • You need to have an external data source (like a JSON or XML file) that contains item details and item IDs. Then you can store the item IDs in the x & y indices of a single Array object.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What does "flopping around" mean?

  • rexrainbow 's SquareTx and Board plugins.

  • I am sure that there is. Did you try using a colored gradient sprite for your 'light'? The example that you are mentioning uses a white gradient sprite.

  • We use a modified solution here: https://www.scirra.com/tutorials/415/dr ... -and-touch

  • You can use Windows Command Prompt to get your IP address.

    The command is "ipconfig".

    The two LAN subnets are 192.168.*.* and 10.0.*.* and most routers that I have ever used make use of the 192.168.*.* subnet.

  • You cannot open an Excel file directly in C2. The best way that you can display tabular information is to have it displayed as an HTML file and import the HTML file via Pode's iFrame.

  • You can include PHP scripts:

    http://stackoverflow.com/questions/1469 ... r-php-file

    http://stackoverflow.com/questions/2010 ... -html-file

    You have to include them into the index.html file, although I am not altogether sure how to use them in C2, since I don't use PHP.

  • Good luck, and let me know if you have any other questions.

  • Yea, you have to be super careful with the security of iFrames, and browsers will generally block any iFrame request that does not link back to your own domain.

    For example, I had to proxy our developer's blog through my domain, because Chrome blocks all non-SAME ORIGIN iFrame requests.

  • Thanks but the instance variables on the weapons which I think your talking about wont work because of two reasons, instance variables reset when their object is deleted and the stats will change throughout the game.

    Yea, that is why I am saying keep all of your weapon stats in JSON and stored in memory in a Hash object, then you can use:

    On Created "weapon1" > Set instance var1 = Hash.At("weapon1.stat1"); Set instance var2 = Hash.At("weapon1.stat2"); ...

    It looks like you got it though.

  • Hey, sorry for the late reply. I overloaded my feed and missed a bunch of replies.

    You can either track by UID or by an instance variable that ties the text and sprite objects together. I think the instance variable would be easier for you.

    You want to add an instance variable named "id" (or whatever) to both the Text and Sprite objects that you are using and add a number for each of them that correspond together, e.g. your 'C' Text would have an id=3 and your red box Sprite would have an id=3, while 'B' would be id=2 and your green box Sprite would be id=2, and your 'A' would be id=1 and your blue box Sprite would be id=1.

    Then when the user clicks on the red box, you can check the id of the box that was clicked on versus the id of each text box and delete the corresponding text and then move the remaining sprites/text up.