DAMAJIANG's Forum Posts

  • We can use this code to get the status of this layer.

    	 runtime.getLayout("Game").getLayer("BuildingLayer")?.isSelfAndParentsVisible
    

    So how do you switch the state of the layer through the code?

    like this ?

    	 runtime.getLayout("Game").getLayer("BuildingLayer")?.SetSelfAndParentsVisible=true
    

    Is there such a function?

    By the way, we also need to switch the state of behavior, such as switching on or off.

  • Hi there! Could you give us as much details as possible on your issue please?

    Thank you for your answer, my question is this, in the multiplayer component, there is a synchronization object function.

    But it cannot synchronize the child objects of the object and the children of the child object.

    It is hoped that the authorities can improve this function.

    The result I expect is :

    that the synchronization function can automatically synchronize objects and all associated sub-objects.

    The current performance is :

    that only the parent object can not be synchronized with the child object.

  • the synchronization object function cannot synchronize sub-objects

  • I would love something like this as well, so I posted a suggestion: https://construct23.ideas.aha.io/ideas/C23-I-361, feel free to vote

    I'll vote right away.

  • Sometimes the code is unusually messy and this feature makes it easy to sort out the various formats of the code. Just like the usual IDE.

  • dop2000 Thank you so much!!!It works great!

  • It looks like Use the 'Orbit' behavior and then changed the 'offset angle' property.(But in reality it is not, if the count of cards increases or decreases, their position will be strange). What should I do to make the card rotate and switch like this.And have a reasonable visual effect when dynamically changing the number of cards?

    twitter.com/AploveStudio/status/1649822042282237952

    Tagged:

  • Hi Haematite

    Recently, a number of apis for behavior and plug-ins have been added in construct3. Do you have time to add a new definition for the VSCODE plugin?

    Thank you so much!

    Also, are there plans to develop intellij version plug-ins?

    The plug-in is great!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi~qkn@Haematite

    Recently, a number of apis for behavior and plug-ins have been added in construct3. Do you have time to add a new definition for the VSCODE plugin?

    Thank you so much!

    Also, are there plans to develop intellij version plug-ins?

    The plug-in is great!!!

  • want to be able to synchronize hierarchies(Sub-objects) when synchronize objects

  • In my recent tests, I found that it only works in LAN mode.

    Although I turned on Internet mode, when other Internet connections came in: the user could be seen connecting, but immediately disconnected.

    But when host and peer are on the same network, everything is perfect.

    I used construct3's built-in multiplayer template for testing

  • I'm looking for an expression like Multiplayer.MyPeerIndex that returns a number that tells me Which peer in this room am I? when someone in front of me exits, the number follows.

    Do I have to ask Host to send a request messages to the Peer get the index? For example, I put all the peer in an array and send PeerIndex to Peer for storage. Will it cause a waste of performance?

    Tagged:

  • I have a doubt. Ashley

    construct.net/en/make-games/manuals/construct-3/system-reference/system-expressions

    CanvasToLayerX(layer, x, y)
    

    Why do we need 'Y coordinates' to convert 'Canvas X' To 'Layer X' Instead of just CanvasToLayerX(layer, x) ?

    Wouldn't that be simpler?

    CanvasToLayerX(layer, x)
    

    Every time I actually used it, I had to enter a lot of tedious extra work.

    CanvasToLayerX("HUD", LayerToCanvasX("World", Sprite.X, Sprite.Y), LayerToCanvasY("World", Sprite.X, Sprite.Y))
    
    CanvasToLayerY("HUD", LayerToCanvasX("World", Sprite.X, Sprite.Y), LayerToCanvasY("World", Sprite.X, Sprite.Y))
    

    Wouldn't that be simpler?

    CanvasToLayerX("HUD", LayerToCanvasX("World", Sprite.X))
    
    CanvasToLayerY("HUD", LayerToCanvasY("World", Sprite.Y))
    
  • Yes, it's very useful. So I have now completely used Tween(Value 0-1) instead of Timer.