RamPackWobble's Forum Posts

  • Are you only trying to highlight certain objects - something along the lines of "choose this one ?" but using light ? If so another option would be to just have the sprite with an animation you can play as required ?

  • I will have a look but it will probably be Monday as "She who must be Obeyed" has plans for this weekend ....

    You are typing on a phone - that would take me hours and be 50% spelling errors (I'm not that good on a full sized keyboard) , so your lack of paragraphs will be overlooked for now. (Me mock ? Never ! )

    You "don't get the 75% off bit" - perhaps you viewed them before the sale ?

    Which reminds me - the 75% off sale ends soon, get the tutorials while they are cheap ...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Glad you like it - but it was using a large sprite to hide the spotlight , no problem on a PC but might need a "few coats of thought" for mobile...

  • Jjanikowski - Have you tried putting the text "hotspot" to its centre ?

  • Altered to have the very basics of left and right working. As suggested by nimos100

  • First of all, thanks for the nice comments about the tutorials. (and now with 75% off* - please look in the tutorial section. )

    Easiest answer is, "Could you break your walls up into smaller sections - this would allow the distance (of the light beams) to be calculated with more precision ?"

    Fixed lights (ie room lights) could be faked with a pre-made light overlay ...

    This might have been better in the "How do I" forum ?

    Paragraphs are fun

    * The 75% off is for a limited time only

  • You only want the light on the chip and nothing else ?

    Here is a test of what I think you are after. Using large sprite. If you move the mouse/light to the far left of the screen the light is no longer hidden. Needs work...

  • If the angle is minus (ie above/anticlockwise) all you need to do is add it to 360 degrees and go from there.

    The only other slight problem is pointing to the right as you cant say is the angle between 315 and 45 degrees so you need to use an "OR"

    is the angle greater than 315 OR is the angle less than 45 then it is pointing right.

    Anyway it appears to work - althought there are other (better ?) ways to do this.

  • Find angle to mouse ( angle(player.x,player.y,mouse.x,mouse.y) ) and use that to decide the required animation ? (if angle is between....)

  • First thought (not tested)

    spawn a "target sprite" (invisible) on the imagepoint you want and pin it - then use this target sprite for the turrets to aim at ?

  • ...

    Perhaps you can have some sort of combos for multiple balloons hit at one time. Make it similar to a casino game where certain sequences (3 of one color, one of three colors) give bonus points. Since the king's pleasure is important, maybe a graphic of the king that progressively smiles as non-red balloons are hit and progressively frowns as red balloons are hit.

    ...

    I like the idea of combos and will definitely add it to the list. I also like the idea of the graphic representing the kings smile/frown - my (lack of) skill with graphics could be a bit of a problem here....

    Thanks for the comments.

  • and a very quick edit later I get.

    (note this uses "families" which is only available in the non-free versions of C2)

    This is probably a better method - and just taking this a few steps further it would be a good way to add joints....)

  • While waiting for "She who must be Obeyed " to get ready...

    Using idea 1 I get ...

  • One {untested} idea.

    Place an invisible box pinned to the player but covering the area the other boxes can stack up. Then every x seconds just count the boxes in this area.

    And as I was typing another (untested) idea fizzeled across my brain cells

    How about giving each dropped box an instance variable (ivStacked ?) And then every now and again you could step through each box an set this ivStacked if it is "overlapping at offset" (positive y) and then count up these ? In fact you could probably do this offset method without the need for the ivStacked....

    Bit busy today but I will try to test this out later and post the capx.

  • ...Only issue I ran into was that some balloons go so high even if you don't throw the blade the red balloons can still hit the blade and hurt your scorel.....

    Thanks for the comment. For now I will just limit the height of the balloons and add it to the "needs more thought" list.