dop2000's Forum Posts

  • Simply add multiple "MoveTo position" actions and select 'add waypoint' in each. The sprite will continue moving from one waypoint to another without stopping.

  • Yeah, you need to find the function 'adsComplete' in the parent html or in the lib you are using, and insert this code into it:

    c2_callFunction("OnAdsComplete", []);
    

    Then create "OnAdsComplete" function in the event sheet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • runtime.globalVars.myglobalvar - for global variables

    localVars.myvariable - for local

    You should check out the Scripting sub-forum, there are tons of examples.

  • although I would want the button to continue turning if the mouse/touch drifted off the button.

    Thanks for the tip! Its an easy change, should be fixed now.

  • I am not claiming to have massive knowledge in the mobile publisher arena but I highly doubt that is the case

    No, it is, unfortunately. Big publishers in hyper-casual genre are pushing 3D, because these games are generally more profitable. The game doesn't necessarily need to work in 3D space, but it at least have to look 3D.

    So the new plugin is a great addition.

  • I'd like the knob to turn clockwise if I drag to the up, and anti clockwise if I drag to the down

    You mean like this?

    dropbox.com/s/b4v6f5vy69y0s6y/RotatingKnobs2.c3p

  • You can change the size of spritesheets, but it's not possible to switch it off completely.

    If for some reason you need image files to be separate, you can add them to the Files folder and load into each object on start of your game. But this may be a lot of work.

  • When you add new instances of an object, Construct copies everything from the first instance of this object in the project. So if your first instance of tilemap has some map drawn on it, then all other instances will be created with this map.

    You can simply erase all tiles. Select a large area, then switch to eraser tool and clear the whole tilemap.

  • Make a reserve copy of this file, rename its extension to .zip

    Try to extract files from this zip, if the system tells you that the archive is corrupted, there's probably nothing you can do.

    If you are able to extract files, try opening the project again in C3, press F12 and check if there are any error messages in the console log.

  • Do you want to pick all instances, or all excluding the clicked one?

    You can use System Pick All condition inside this event. And if you need to exclude the clicked instance, you will have to save its UID in a local variable and add another condition - Pick By Evaluate Sprite.UID<>ClickedUID

    • Post link icon

    Hmm, where do you file a bug report.

    github.com/Scirra/Construct-3-bugs/issues

  • Ashley As I understand, the task is not to lock the game to a specific domain. Op wants to be able to disable the game remotely. One possible scenario is when the project is delivered to a client and they are refusing to pay.

    RBuster

    the cross-domain problem makes this possibility unfeasible since the game files will be on another server and not on mine.

    Are you sure that cross-domain request are disallowed on their server? This will make other solutions (like checking online time) unusable too.

  • Do you have any example of this solution?

    Are you using any arrays or dictionaries, do you have files imported to your project?

    If not, just think of something that is important in your game. For example, player position on start of the level. Or the number of enemies, or their LOS distance etc.

    Let's say your player position should be (200, 420). Create two variables PlayerStartX=9999 and PlayerStartY=9999. Set player position to (PlayerStartX, PlayerStartY) on start of layout.

    Put the correct values 200 and 420 into the file on your server. Request this file on start of the game, read values into PlayerStartX and PlayerStartY variables. If the file is genuine, your game will work correctly. If the file is not available, or if it contains wrong data, the player will spawn at (9999,9999) and your game will not work. It will look like a bug, and any potential hackers will have a hard time figuring out what's wrong.

  • Try Shift+Enter

    Also, you might need to change textbox type to Text Area.