Von Perkele's Recent Forum Activity

  • Yes, I think I might find it useful to also create them automatically when I create the sprites later.

    One option of course is to have one object of every type placed in the editor (as you should do anyway since it helps construct load the objects you need in the startup) and have the string data saved in that object, so all the objects that get created after that will use that object's variable data as default. After that you can put those objects in a family "DestroyAtStart" and destroy them in layout start, and it apparently won't affect the objects' default variable data when created later on.

  • But if you have to put the variable in the sprite variable as it's created isn't that the same amount of work as creating the normalmap individually when the sprite is created? You have to give each object its individual normalmap variable after all..

  • Thanks, yes that's pretty good. Works when I give the normalmap name to a string variable in an already existing object.

    But what if you create both objects one after the other? The original sprite would be spawned with no instance variable string data that it can use to spawn the normal map.

  • Hello,

    Suppose I have two families, one for normal sprites and one for normalmaps for the sprites. I'm trying to run a condition that runs for each of the sprite family object and creates a normalmap from the normal map family for each of them. However, the normal map is randomly chosen from the normalmap family. Is it possible to create a condition that picks the right normal map for the right sprite using families in the condition? Or do I have make a condition for every individual sprite to create the normal map for it?

  • Yes I guess that is the best way to go. I suppose I will have to move the text boxes away from the screen.

  • Hi,

    I think you misunderstood me. I don't want to disable the text input. All the methods above (as well as turning the text box invisible, btw) unable the player to type values in the text box. I don't want to do that.

    What I want to do is disable cursor selection of the text box text, or alternatively make the cursor highlighting effect invisible. You see, you can turn the text box text invisible, but after that you can still highlight it with the cursor, which then makes that text visible again.

    See how the text box numbers become visible when I highlighted them with the cursor? I just want to disable that feature. I also don't really want to make the whole text box invisible or move it away since I like those arrows that you can click to increase or decrease the value by one.

  • You can use commends like: set CSS style "border-style" to "none", but what is the command to disable text highlighting? Didn't really find anything useful while I tried to search it. I tried "selection-style" to "none", but that doesn't work...

    Moving the box off screen is one option, but kind of clunky..

  • I'm making the text box text be displayed by a spritefont and will probably make some nice background effects for it. I can set the text box background and text invisible. But I haven't found out how to remove the selection box selection highlighting, meaning the text box text can be highlighted with the cursor, making it become annoyingly visible. This is different from the highlighted borders of the text box that become visible when you select the text box, I know how to disable that effect.

    Is there a way to remove this feature from the text box or maybe make the effect invisible? Thanks in advance.

  • Maybe run the conditions combined with at the start of the level condition, so it gets triggered only once. Now you have set it up in a way that the conditions get run every tick.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would do it like this:

    Move all the items to a family and give a variable or maybe a boolean called "selected" to the family.

    Make an event that sets the boolean true if the item is selected.

    Make an event that moves the player to the next level when all the desired items have their selected boolean set true.

Von Perkele's avatar

Von Perkele

Member since 26 Mar, 2020

None one is following Von Perkele yet!

Trophy Case

  • 4-Year Club
  • Email Verified

Progress

5/44
How to earn trophies