Ashley's Recent Forum Activity

  • Award for best unnecessary use of dynamic lighting!

  • You do not have permission to view this post

  • This is my desktop

  • Haha... well, I know it's really unusual for there to be more than a month between updates... but hopefully it'll be worth it when it comes!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Haha, I was actually the one that fixed this bug (sorry to steal Rich's thunder)

  • What's the problem with moving forward without all your art? If you use global objects, editing one object's image affects all of them in all layouts.

  • Crashes are ALWAYS bugs! I can't understand why so many people think a crash is a legitimate way of telling the user they did something wrong. A crash is always the fault of the program, not the user. Even if you did things completely wrong, you should get a useful message or graceful exit, not a complete failure of the software!

  • Right now, when you set the units to avoid eachother, they sort of smash into eachother and come to a standstill before moving again.

    I spent a while programming this. I couldn't figure out a better way. You could turn it off and try inventing your own system using invisible sprites as detectors.

    [quote:1czmj3iw]Also, I want the units to kind of spread out at their destination. I tried making them move to a random point around the mouse when the player clicks, but often their destinations still overlap and they sort of try to "fight" for a specific spot.

    That's the problem with giving them random positions to move to. You should try using a predictable algorithm which wont give overlapping destinations, like creating a regular grid of targets.

    [quote:1czmj3iw]It'd be nice if I could have them move to a position around the destination based on where they were standing when they started, since that would fix my first problem as well, but I have no idea how I would pull that off.

    When giving a move command, calculate the average position of all the selected units, then store each unit's offset to the average position in a private variable. Apply this offset to the clicked move spot and they'll keep their relative positions when moving. You'll probably need a few for each loops in a subevent to do that.

    [quote:1czmj3iw]Basically my question is, what's the best way to set up RTS movement for human units from a top down perspective?

    Fiddle with the RTS behavior parameters until they work for you. That's it really. RTS games are hard work to make. You picked probably the hardest first project you could've

  • You can just do it with events I guess. As you move along, create stuff just outside the screen in the direction the play is moving, and destroy the ones theyve gone past to save memory.

  • Python should be fixed up better in the next release.

    Unfortunately so are the loops in the event system.

    They work fine for me and I use them all the time. Have you submitted any bugs to the tracker?

  • You do not have permission to view this post

  • Ordinary applications can't crash the system like that. It's either the operating system or a driver, I think, but from the sound of it, your hardware is borked and is probably flipping random bits causing crashes.

    New computer/warranty time I think.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,441,290 followers

Connect with Ashley

Trophy Case

  • 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
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x109
    Coach One of your tutorials has over 1,000 readers
  • x63
    Educator One of your tutorials has over 10,000 readers
  • x3
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x36
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs