randomly's Recent Forum Activity

  • Some remote troubleshooting tips that might or might not help until you send a .capx:

    • Just for testing purposes, try to set all the speed/vector/movements to 0 when disabling the Platform behavior
    • Again, for testing only, try to disable every behavior that the player has, when entering the spaceship and see whether that fixes the issue. If it does, only disable one and go behavior by behavior to see which behavior causes the problem.
  • In your project bar (with all your objects inside) there is a directory called Files. Open it, there will be another directory, called Icons. Modify those.

  • I don't really know anymore.

    One last idea would be to compress the string before sending it.

    Try this plugin.

    • Compress the DATA URL
    • Send the compressed string
    • When receiving, decompress
    • Apply to Sprite
  • To be honest, I don't think, it's possible since you can't set collisions after exporting/while previewing.

    Collision polygons are set in a XML file after exporting and since you can't modify this, you can't change collision masks, sorry..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I created a barebone prototype for four-directional Reversi.

    You can download the .capx here.

    Please note:

    This is a prototype, this means that it will help you find a solution for your own problem, but it isn't a complete game.

    But obviously, you want to do that yourself anyways, right? Don't want to take all the fun from you ;)

  • At which point does the host leave?

    When you choose the image from the File Chooser or when you send the Data URL?

  • Use the Browser plugin and its Close action.

  • A simple workaround would be to use a very tiny Sprite that gets pinned to the Image Point (download link for behavior: here) and then check the line of sight to that Sprite.

  • Right, we will definitely need more details to help you.

    At least consider writing a whole sentence explaining

    • What you have
    • What you want
    • Where you struggle

    Do you have a country code and want the appropriate country string?

    Or do you need to get the country code of the person that runs your Construct 2 build?

  • Right, so here are several reasons why this doesn't work:

    • To use Sprite.SpriteExt.imageUrl (i.e. to make it return something), the Sprite actually has to contain something, meaning, you have to wait for On image URL loaded. After that, you can use it.
    • You can only load data URLs (the SpriteExt expression) to load Sprites from URL, not for Textboxes
  • I answered to the original thread.

    Btw, for the future: no need to create a new thread for the same question.

    This doesn't incease the likelihood of an answer.

    • Import your image I assume you import the image with a file chooser object. If so, after importing, you will have the File URL available under the FileChooser.FileURLAt(index) expression. Use this in the Sprite action Load from Image URL to load the selected image to the Sprite.
    • Share the image The Sprite that you loaded the image to should have the behavior SpriteExt by

      rexrainbow or anything similar to access the Base64 DataURL of the image.

    With the Sprite expression Sprite.SpriteExt.imageUrl, you can now access the actual image.

    You can now send what this expression returns to your chatroom and anyone who receives it, can use the Sprite action Load from Image URL with the Base64 Data URL to load the Sprite with that image.

randomly's avatar

randomly

Member since 26 Sep, 2016

Twitter
randomly has 1 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies