chunchun's Recent Forum Activity

  • "save"

    "load"

    Fired when the savegame system saves or loads the state of the game. The saveData property of the event object is extra JSON data to save in the "save" event, and the corresponding last saved data in the "load" event. This allows custom data stored in scripts to be integrated with the savegame system. Note this is serialized to JSON so things like object references and complex types cannot be saved directly.

    This is the introduction of the document, but I still don't understand. Can you give me a detailed example?

  • You can't, use Aekiro's Game Object plugin instead :)

    Yes, I'm using the proui and GameObject plug-ins. There are still many problems. In the case of simple GameObject, when the parent object moves, the child object will float or even not follow or slow down.

  • I created a emy_sprite that can move in eight directions automatically. It serves as a container with blood bars and text in it. But when it moves, the blood bars and text in the container remain in place. I try to pin the objects in the container to the container. But new problems arise:

    When I create a new emy_sprite, the position of blood bar and text in the container will be fixed in the center of the container by default, rather than the first place.

    My question is: how to fix the position of the objects in the container so that each time a new container is created, the position of the objects in the container will not be in the center by default, but the position visited when the container is initially set.

  • Your Idea is very good and I would also like to ask Ashley to look at this Idea and I also recommend you to post this idea in Construct's Ideas and Suggestions platform.

    thx

  • > I use the progress bar. It's normal when I run this scenario alone. When I jump from another scene to this one, the progress bar disappears. This is a misreported document.

    > I don't know why I can't upload pictures.

    Contact me on Discord : discord.gg/r86m64

    Unable to join an invitation with expired prompts

    The last problem has been solved by using the stable version.

    when I use load to reload a saved scene, all the child nodes on a dialog disappear

  • When there are heavy events and many comparisons, the readability of code and text is very good. These functions built into the event table are like APIs that simplify a lot of work. If and this custom code format to write. I think it will be better

    You can use if else to judge that it is also as beneficial to use as event table. It's not programming, it's just representing the event table as text. Use if else to handle logic. And it coexists with the event table. Whether this will attract more people interested in coding.

  • Can we get the same function as the event table in the form of text(script).

    Using the basic logic of "if else" in programming to realize the logic

    on the start of layout {

    a.hp=100;

    b.behavior.sine.enble=true

    }

    a on collisison with b {

    system.createobject(c,"layer0",100,100)

    }

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Father son relationship

    If I build an enemy (enemy's spirit, enemy's character, enemy's blood bar)

    Generally speaking, I need to create a text and blood bar wizard to pin on the enemy, and select the corresponding text and blood bar through filtering.

    If you have a parent-child relationship, you can directly create children and blood bars under the enemy. And can easily correspond.

  • I use the progress bar. It's normal when I run this scenario alone. When I jump from another scene to this one, the progress bar disappears. This is a misreported document.

    I don't know why I can't upload pictures.

  • I bought this plug-in. But the official demonstration cases can not work normally. I tried to fix it myself, it didn't work.

  • How to quickly annotate a piece of code in the js script Editor. Make it invalid or effective. Is there a shortcut key for this operation?

  • How to wait a few seconds to execute a function or event in js

chunchun's avatar

chunchun

Member since 20 Jun, 2019

Twitter
chunchun has 1 followers

Trophy Case

  • 5-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies