moymoymoy's Recent Forum Activity

  • Heya,

    Ive tried an distance check copying your methods on that capx file. See below:

    [attachment=0:11lr0rqc][/attachment:11lr0rqc]

    It gave interesting results. The distance check works perfectly so thank you so so much for that. However, the sprite that spawns (Sprite1) stays stationary and does not move with the enemy. Im thinking of just testing out the pin behaviour and pinning it to an imagepoint. I'll let you know how that goes.

    Thanks a lot for your continued assistance. If there was a way to thumbs up your profile or rate your help, i would give you 10/10

    Edit: Sprite1 in that screenshot is actually called "Sprite5" just to make things more confusing

  • Yeah kind of. Id like to spawn another sprite with animation (lets call Sprite1) on the multiple instances of an enemy (lets call this Sprite2).

    I checked the capx and i see the "create object" being used. Is there an option that will allow me to delete the created object if it is not within the collision circle? This would mean that the Sprite1 created would be destroyed but ONLY on an enemy NOT in the circle.

    I will continue to mess around and see if i figure it out but if you could help more, it would be greatly appreciated

  • Its not allowing me to open that capx because it is from version 167.2 and im on 163 which is the most recent version scirra is allowing me to download?

    I just wanted to clarify though:

    It is a seperate sprite+animation i want to add onto multiple instances of those enemies. Basically, it is an attack animation that will play over their current heads if they are within the circle.

    Appreciate the response, thank you

    Edit: i see it is the beta, i will grab it now

    Edit2: its not quite what im trying to achieve, i hope the clarification above explains myself better

  • Hey all,

    Im stuck, again

    Im trying to find a way to get a sprite+animation to run on multiple instances of the same enemy. I need the sprite and animation to become visible and run only when each individual enemy is in a collision circle pinned to the player, AND for each instance to have its own sprite+animation running instead of having have ALL enemies in the collision circle for it to work.

    This sounds confusing, so i will provide a screen shot:

    [attachment=0:216eu971][/attachment:216eu971]

    So when each enemy collides with that grey circle pinned to the player, they will each have their own sprite+animation run, but starting with only ONE instance of the sprite+animation which is currently off screen. I hope im making myself clear.

    I have tried using things like "For Each "enemy" with 2 sub events and spawning objects and stuff and i cant get it working >.<

    Thanks in advance for any tips/suggestions,

    If you have any questions, please ask

    moymoymoy

  • Yeah, no problem buddy.

    Either way, good luck and have fun! ^_^

  • Hahaha youre welcome. I know the feeling of head scratching and getting nowhere all to well so i get where youre coming from. Im just glad i could help!

    I think i could help with the lives feature but that would be a bit more lengthy and i got some stuff to do. If you have no success with it, i can try check it out later if i have some time

  • Good luck!

  • Okay so the events you need to look at are:

    • Event 38 and its sub event
    • Event 56

    Check them out and let me know if they make sense

    [attachment=0:2mnckebi][/attachment:2mnckebi]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I GOT IT, WILL UPLOAD CAPX NOW

  • Okay i'll have a look at it but ive not dealt with touch controls before so bare with me

    Update however: crash sound plays once when crashing.... so far

  • Update: got the sound working on W key pressed, just checking out the crash one ^_^

  • i'll check out the capx and try it out myself with my own sound clip, gimme a few mins

    edit: nvm, youre sounds are in there, i'll try with those then

moymoymoy's avatar

moymoymoy

Member since 18 Oct, 2013

None one is following moymoymoy yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies