dop2000's Forum Posts

  • I got a similar report from a user with Huawei phone. The game loads but instead of the first layout it shows green screen. Thought maybe it was related to ads, because another version without MobileAdvert plugin seems to work fine on the same phone.. Unfortunately, I don't have any more information on this.

  • Check out this demo:

    dropbox.com/s/7p6fgru06zrzvpj/Thumbstick8Direction2.capx

    It's for C2, but you can open it in C3.

    Here is another example with "floating" joystick (touch anywhere on the left part of the screen):

    dropbox.com/s/0l5amqlmxbpe17l/ThumbstickFloatingMultitouch.capx

  • You can vote for the suggestion to include swipe gestures:

    construct3.ideas.aha.io/ideas/C3-I-57

    But it has been added 2 years ago and there's still no status, so I'm not sure if voting will help...

  • While Debug mode shows the contents of the array correctly, it's in fact corrupted..

    You need to change your JSON file like this:

    {
     "c2array": true,
     "size": [ 3, 1, 1 ],
     "data": [
     [["qwert"]],
     [["asdf"]],
     [["yxcv"]]
     ]
    }
    
  • While Debug mode shows the contents of the array correctly, it's in fact corrupted..

    You need to change your JSON file like this:

    {
     "c2array": true,
     "size": [ 3, 1, 1 ],
     "data": [
     [["qwert"]],
     [["asdf"]],
     [["yxcv"]]
     ]
    }
    
  • As I understand, you are talking about this parameter. Instead of the drop-down list you need a text field to be able to use variables and expressions?

    Maybe you could find someone who would create a simple add-on that extends the standard Audio plugin with a slightly changed "Add Convolution effect" action.

  • Interesting project and the game is looking great! But is it really necessary to create a separate thread for each video part?

  • LesleyBeth Please refresh the page, I edited my post while you were reading it :)

  • Add an instance variable "id" to portal sprites, set different ids for each portal, you can use numbers or text (say, "park_west_entrance"). Add another instance variable "target_id", set correct target/exit ids for it too. For example the eastern portal in City3 will have target_id="park_west_entrance".

    When the character enters a portal, save Portal.target_id in a global variable Spawn_ID. On start of the new layout, spawn the character at the portal with id=Spawn_ID.

  • Make sure you don't have other objects with ScrollTo behavior, or events where you change scroll. Also, if the camera is close to layout edges, it will not shake, unless you set "Unbounded scrolling=yes" in layout properties.

  • I don't see any problems with the code. Try removing "str" expression, it's not needed here. If it still doesn't work, please post your capx.

  • It's not really a matter of performance, these events are different. "On key pressed" is triggered once. "Is key down" is triggered every tick, about 60 times per second, while the key is down.

    Therefore, "Is key down" may be worse for performance if you have lots of actions in this event.

  • Have you seen Audio Positioning template?

  • Just double-check everything, make sure it's exactly as on my screenshot. If you have Fade behavior on this text object, disable it. Also, make sure the size of Text object is enough to fit all text at maximum font size.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Origin image point (image point #0) always exists, and you can't rename it.

    If you want to check if another image point with a specific name exists, there is no straightforward way to do this.. If you are sure that the image point "Test" is not set at the same position as the origin, you can do this check:

    Sprite.ImagepointX("Test")<>Sprite.x or Sprite.ImagepointY("Test")<>Sprite.y

    If the result is true, this means the image point "Test" does exist.

    R0J0hound I tested just now and seems like if you try to access ImagepointX or ImagepointY for a non-existing image point, these expressions return coordinates of the origin point, not 0.