lionz's Forum Posts

  • Yeah 2. Every layout has its own event sheet for stage-specific stuff. Anything to do with characters, inventory, menus, other general stuff can have their own event sheets and be 'included' at the top.

  • Do you mean an X that you have made yourself? If you mean closing a browser then I don't think there's a way to catch that, probs set up saves every so often.

  • Ah my first idea was right, collision is only over the head, not down over the beam. You'll have to stretch the collision box all the way down to where damage should be taken.

    https://www.dropbox.com/s/e456jlklao3io ... e.jpg?dl=0

  • It's system > compare Global/Local variable or object > compare Instance Variable depending on which it is. System compare TotalPizza = PlayerHP > do action.

  • Yeah, making a realistic roulette wheel with physics. I can't imagine anyone would spend time making that, but I could be wrong xD

  • Use the rotate clockwise/counter-clockwise events to rotate a number of degrees every tick, the more degrees the faster the rotation. In the bullet properties, set 'Set angle' to No, this keeps a consistent angle of motion.

  • It's "20px"

  • part12studios For white text the two fields are "color" "white".

  • Yes true that response wasn't massively detailed. In the events for textbox you can use Set CSS style to make use of common css properties. To adjust the size you set Property name: "font-size" and Value: "50px". That changes the font to size 50. You can also adjust the font type, colour etc. The link below his response is to some of the css property names you would use. Is the screenshot after attempting the transparency or not? Try his original response, go to actions Set CSS Style, then "background-color" "transparent". It leaves a border but makes the background transparent.

  • text input not text box. the text input object is the one you can type in. it has a permanent white background and no obvious way to turn that off. A text box (one that can't be typed into) does by default have a transparent background.

    I don't use C3 really but in C2 the textbox is the object with the white background, text is transparent. To make the textbox transparent, well you got your answer in that original topic? Set CSS style is in the textbox events. Answer is already there, not sure what other info you need.

  • The text object doesn't have a background does it? It's just a floating bit of text. The CSS style described in the C2 post is for a textbox, which is a different object. You can use that to set common CSS properties, such as size, colour etc. The text object though isn't too configurable outside of the default values, I think a lot of people make use of the SpriteFont plugin for intricate customization and special text.

  • Good to hear, no problem.

  • Ah I think I know what it is, or a logical guess, It's probably constantly restarting the fade, did you set trigger once for the variable? I'm guessing that's what it is because a keyboard press is a trigger (once, it works) and the variable condition by default is not.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The layout ends when you go to the next layout. The fade is not something you would trigger on end of layout, you would first trigger it then go to the next layout. Here the fade is happening before the end of layout. Variables should work though, like when Var=1 restart the fade. Double check in debug mode that your variable is set as expected.

  • Duplicate the animation, set one to loop and one not to loop. Pick one to play.