deltlead's Recent Forum Activity

  • so they are basically on a rotating top-down platform? I think it would be awkward to change relative perspective unless you have a different view than that.

    It's not the camera angle that the issue is. What I'm struggling with this is getting the player sprite to maintain its position relative to the ship while still being able to move around it.

  • I’m building a space game where your player pilots a ship around a massive and largely empty area of space. The player boards their space ship, enters commands in a console, then the ship flies in the instructed direction. As long as the player is on board the ship, they move and rotate with the ship and the game window rotates to match the orientation of the ship. When the player moves, they move inside the ship but keep the relative speed of the ship as well. Does anyone know what behaviors/math is required to make this work?

  • I'm working on a mobile project that has a map screen where the player can move the map by touching and dragging/swiping the screen. What sort of event structure should I use to make this work, or is there already a plugin that I'm unaware of?

  • It's been written on extensively on the forums, manual, and tutorial how to go about publishing your construct 2/3 project to google play. But I haven't seen anything on updating an existing app. Can someone explain that process and best practices step by step?

  • Haha a cheap solution, but to the user there's be almost no difference. I like it, thank you.

  • Let's say the game only has one layout. If I used the event on layout closed would that suffice? Or would it still not detect if the game is unfocused?

  • Thank you! That answers my question perfectly!

  • Not just like this.

    As indicated in the manual - construct.net/en/make-games/manuals/construct-3/plugin-reference/json - there is need for keys names.

    Also arrays in Construct go under a specific format :

    {"c2array":true,"size":[10,1,1],"data":[[[0]],[[0]],[[0]],[[0]],[[0]],[[0]],[[0]],[[0]],[[0]],[[0]]]}

    This is a blank 10,0,0 array in Construct. It is an object named "c2array" with a "size" and "data" keys/parameters.

    Your provided string does not even contain a key name and put as is in the JSON object will just trigger an error on parsing.

    Okay. So how would an array look in that format if it were a 10,5,0 array instead of just a single dimension array?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you explain how the C3 array editor works?

  • Use the Physics behaviour and make them both solid objects. The physics plugin should already have all the parameters built into it that you laid out.

  • It's going to be a mobile app, and that's an excellent question. Honestly, I'm not sure yet. I think unfocused because a player might still have that app open but not be playing it, in which case the function still needs to run. But the function would have to work in both scenarios, unfocused and closed.

    How do I detect either of those?

  • Well it depends on how you measure how much line has been drawn. Is it the length of the line or the time that the player has been drawing the line. If it's the first, well I'm not sure. That's a tricky problem. If it's the second on the other hand, you can have an expression like this.

    Every Tick>

    Set *bar* size

    x = bar.x * ([Max Time Player can draw line]-[Time player has been drawing line])

    y = bar.y

deltlead's avatar

deltlead

Member since 17 Dec, 2018

None one is following deltlead yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies