lionz's Recent Forum Activity

  • Sorted on discord ayee.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not making a capx for a single event just try it out lol

  • newt lol

  • I use something along the lines of every X seconds rotate clockwise/anti-clockwise. You can control the speed of the rotate with the X seconds. That's for a gradual rotate. For some kind of snap rotate 45 degrees you can just rotate clockwise/anti-clockwise 45 degrees.

  • The description is too vague and from the capx I can see that you're not using arrays. I imagine you will have to learn how to use arrays and make use of them for a grid inventory like this.

  • It's not complicated, just follow this tutorial. There's a capx. https://www.scirra.com/tutorials/1461/h ... age-plugin

  • edit: just re-read that actually, seems like you have general pathfinding sorted and that ideas seems fine. Probably just a bug somewhere..

  • >

    > Just realized I could do a random roller for several different instance variables.

    >

    Yep looks like you've got it now.

  • You can definitely do what you are trying to achieve, I'm just trying to get to the bottom of it lols. When you spawn the ship, of any type, you can set the shootspeed instance var to random(10,20) which would be a random value 10-20, and different for each ship. There are various ways to do this. You can do this with a family instance variable if it applies to every ship. If it's different speeds for different types you can say on Type A created, set instance var to random (10,20), Type B to random(60,80). This is how I would do it myself but there are many ways.

  • Instead of using every x seconds can you give each ship on created its own variable which is the shooting speed and use this? Does the shooting speed alter for each individual ship during the game? I can't tell if you're trying to mimic randomness with every X seconds or if there's a reason behind it.

  • This is really confusing, what do you mean by shot spawning and picking a random instance of that sprite? Are you talking about firing bullets at ships and picking a ship to fire at? What is the game?

  • Can you provide examples of your previous work?

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 72 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