You can do this with image points only. On click, check distance to image point, for example:
Mouse on Enemy clicked If distance(Mouse.x, Mouse.y, Enemy.ImagePointX("LeftLimb"), Enemy.ImagePointY("LeftLimb"))<50 Destroy LeftLimb
"Bill's Yield: " & (round(tmpBill3 * 100) / 100)
You can try something like this:
Mouse On Click object Enemy System pick CoverSprite by evaluate CoverSprite.layerNumber >Enemy.layerNumber Mouse cursor is not over CoverSprite Enemy subtract 1 from health
Actually, this version is better:
dropbox.com/s/rrpxnmer3gwhl88/DoubleVirtualGamepad_v3.c3p
dropbox.com/s/xdzzq2fb2u8bjjz/DoubleVirtualGamepad2.c3p
Press F12 and open Console tab, see if there are any errors.
Mouse On Click object Enemy Mouse cursor is NOT over CoverSprite Enemy subtract 1 from health
You do not have permission to view this post
Form control objects have problems with scrolling/sczling/z-sorting and are really not suited for these kind of games. I recommend making your own text input box with a Text or SpriteFont object.
Tutorial:
construct.net/en/tutorials/your-own-textbox-459
For "n"=0 to 20 ...System create Brick at (100+loopindex*50, 200)
Where 100 is the offset from the left edge of the layout, 50 is the width of brick sprite.
If you don't need to apply different animations/behaviors/effects to each individual brick, then it's better to use one TileMap object instead of many sprites.
angle() expression returns an angle between two points. It requires 4 parameters: point1 x, point1 y, point2 x, point2 y.
For example, angle(character.x, character.y, enemy.x, enemy.y)
See examples from this post, not exactly what you want, but you can modify them to your situation:
construct.net/en/forum/construct-3/how-do-i-8/advanced-camera-139655
Change condition in event #5 in my example to this:
find(FruitsArray.CurValue, TextBox.text)>=0
I don't know how to change the list size to 10 items, maybe you can do this with CSS.
No, I meant to do this after the name is entered. Cancel fullscreen, wait 0, then request fullscreen. At the same time the keyboard will disappear from the screen, so maybe it will not be very noticeable.
If both objects have ID instance variables, you can do "For each Door, Dictionary compare variable ID=Door.ID"
Develop games in your browser. Powerful, performant & highly capable.