Toby R's Recent Forum Activity

  • That is true. And the best UI's are the ones where tooltip tells you the shortcut for the button. Then you don't have to read the shortcuts manual trying to remember as many as you can. You simply learn it by using the button.

    I have seen this manual before but this F4 simply wasn't that important to me that time. From now on it's my favorite button! .

  • Normally you cannot grab data by AJAX from different domain than the one the request is triggered from. So if you are trying to fetch data across different domains you need to tell your webserver to allow it.

    If you use Apache then simply create .htaccess file and put the following line inside:

    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    </IfModule> [/code:3anofexg]
  • I didn't know that one, thanks shinkan! But still it would be nice to have a button as well .

  • Hi Ashley,

    Have you guys ever think about adding "Run from the first layout" button? That would make my (and many others I believe) life so much easier. I always have to start testing from the first layout cause of initial settings which are done there, and I usually forget to switch to the first layout before I run the preview. And it is pretty annoying that I must switch to the first layout every time I want do to a preview.

    Let me know what you think about it.

    Thanks.

  • You simply have to work on the common part of the biggest and smallest devices screen ratio. If you work in so-called "safeZone" then you don't need separate projects. Fronne covered that in this tutorial: https://www.scirra.com/tutorials/1126/multiple-screen-sizing-for-all-mobile-devices/page-1

  • On left key pressed -> Player simulate Platform pressing right? Just a guess.

    If this wont work then you have to disable default controls, and set it manually.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am not really sure what you want to achieve but in order to move only one instance you need to:

    • enable this behaviour only for one instance

    OR

    • set "Default controls" (8Direction property) to "No", and then simulate controls by picking the instance as you shown in your first post here
  • 8Direction behaviour is enabled for all your instances, that is why you move all objects at once. You should set it disabled by default and enable it only for the instance you want to move. You don't have to pick the instance by ID then.

  • haruhi4 it all sounds like a cannon for a fly. There are many (more simple) ways to make a button active or not. Let me point few from the top of my head:

    1. Create "isClickable" instance variable for the button. Switch value between 0/1 whenever you want to enable or disable buttons functionality (you can do the same for the whole family of buttons). Then your condition should be

    "onClick on button AND button.isClickable = 1" => do something.

    2. You can surely do the same with the layer visibility condition if you have whole popup on one layer, so it would be:

    "onClick on button AND popupLayer is visible" => do something.

    3. You might also want to create whole popup functionality within one group, then you can simply activate or deactivate the gorup which will enable or disable "onclick" functionality you put there.

  • There is "Drag&Drop" behaviour in C2: https://www.scirra.com/manual/137/drag-drop

    There is a lot of information (even videos) regarding this in Google and here on the forum. The first one I found https://www.scirra.com/forum/how-to-make-drag-and-drop-application_t65331.

  • This is saved in browser storage (not sure where). Try to clear cache and cookies for localhost. You should get the question back again.

  • Quick one from the top of my head.

    Create "collisionTime" variable. When objects collide start counter, and add 1 to "collisionTime" every second. If collision breaks then clear "collisionTime" if not then restart layout when counter = 3.

Toby R's avatar

Toby R

Member since 23 Mar, 2015

Twitter
Toby R has 18 followers

Connect with Toby R

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies