Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Complicated Experimental Stealth RPG (assistance requested)

I've taken up the reigns of a puzzle-stealth RPG as a sort of experiment for a friend...And a little more professional input would be appreciated as, it seems no matter what I do, the program fights me...
The chief game mechanic revolves around incapacitating guards with rope, chain, whatevers handy, without alerting the other guards. With that aspect in mind, what do you think would work?
 

khmp

Sponsor

Do you mean to ask is it possible or tips for creation of such a system? It is possible but in my mind it would take a hell of a lot of work. You'll most definitely need some sort of distance algorithm between events. Like a radius attached to events that are "guards". When other guards are within the radius they are alerted if he falls. Distance formula for two points:

dist = sqrt( ((x2 - x1)^2 + (y2 - y1)^2) )

You can then use that information to determine the distance between two events compare radii and do work based on the outcome. Also if the number of events is quite large comparing distances between events might be time consuming. So you might want to look into some anti-lag scripting or come up with your own way of eliminating unnecessary work. Most likely though someone else has already done this.

Good luck with it doctorscraps! :thumb:
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top