lionz's Forum Posts

  • Just make use of random or choose, If you set angle to choose(0,90,180,270) every X seconds then it will fire in one of 4 random directions. You can do this with speed, setting it randomly as often as you like. If it's preset patterns you can do this with functions, randomly call a function which leads to firing a certain sequence of bullets. A spiral pattern would be something like every tick fire a bullet and set angle to angle+1.

  • It's because on one of the repeats the sprite count will be 7 and 8 at the same time, therefore being valid for both conditions in C2's top-down structure. Sprite count will be 7 and create a hex based on the first condition, then once this is created, sprite count will be 8 and be valid for the second condition, creating 2 hex in one loop. As for an actual solution, hmmm *working on it.

  • On the object you can use the spawn action to spawn a chunk of wood. You can give it physics behaviour so it falls or set it to a bullet at angle 90 so it move downwards. You then destroy the wood by whatever event you are using, hitting the floor or something. Then use the event trigger On chunk of wood destroyed > spawn chunk of wood on object.

  • Ooo how nice, and congrats!

    You could create a new layout (Layout 2 I suppose) for the announcement screen, then..

    Condition: System > Global Variable Score equal to 10

    Action: System > Go to layout (Layout 2)

    Add the text and images, whatever you want, to the game over Layout 2.

  • Yep, it's easy when you know how! Good luck.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have an event sheet for Character, with all the generic character events. Then on your event sheet for Stage 1, right-click, include event sheet, Character. This Stage 1 event sheet now acts as though the Character events are also in there.

  • 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.