lionz's Recent Forum Activity

  • The loopindex has no effect and would probably break the loop. Take that out first. Then if nothing is spawning you can debug with Browser object and 'log', you can see what value in the array it finds. You don't have any handling for if it can't find the parameter string. We also don't see how you call the function. Do some logging and work it out. If it's spawning at 0 it might not be able to find anything, you have a lot of conditions that if just one isn't true then nothing will happen, it's down to you to put some logging in and try and find the exact place it goes wrong then you can work out why.

  • You do not have permission to view this post

  • The wait is redundant and probably breaks it too, remove that and see if it's fixed

  • You can do just about anything, you can set animation from current frame or you can store the frame number in a variable and use it.

  • The two actions from the second event should just go in the first event, you are already picking the enemy for where it should set position. In fact you used spawn which means it is already at the correct position.

  • Do you need to destroy it? How does the game work? You may be able to hide it and make it appear again.

  • Is layout 2 using that event sheet? It might have none assigned, you can check on layout properties.

  • Fixed part of the problem, now I have is... every time the score goes up the sound is playing even with trigger once because the score is going much higher than the top score all the time.

    This is my code..

    There has to be another way around it.

    edit: Yeah to trigger once 'ever' you can use another variable looks like it's resolved anyway.

  • Yep system compare 2 values, score greater than top score, with a trigger once condition.

  • If "score" > "top score" : play sound, with a trigger once so it plays once.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No idea why it would freeze from that. You'll have to share the project file

  • Depends on the events, if done correctly I don't see why the mouse aim would affect the keyboard movement. Share a screenshot of the events

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies