Advertisement Jump to content


This topic is now archived and is closed to further replies.


Where do I put my enemies ?

This topic is 6714 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m currently working on my side-scroller''s level editor+game engine and was wondering how should I put enemies into the levels. Should they be randomely positioned in the screen? (According to player''s level or something) - This is prefered but harder to make (This is a side-scroller!). Or should I just put them in with the level editor (Their information will be read from a file) - Boring, but easier to do. Any suggestions are welcomed Thanks in advance The road to success is always under construction

Share this post

Link to post
Share on other sites
Enemy placement should never be truly random. Encounters are far more enjoyable when there is some logic to opponent placement, some sign that there is a strategy at work (whether there really is or not, it''s appearance that matters).

Static placement provides the ability to create interesting encounters, but the downside is that once you''ve been through once, you know what''s going to be ther next time around. No, or low, replayability. Still, this is preferable to entirely random placement.

There are two other middle road methods to take though. The ideal (at least in my opinion) is a pseudo-random placement. The idea is you create a bunch of patterns or templates, and randomize enemy locations through those templates. This would obviously be very difficult to do, but I think it provides the best of both worlds.

The other method is provide areas of random placement and areas of static placement. Easier to implement, you specify what areas are randomly generated and what areas are populated by the map creator. The peon forces are randomly generated and perhaps seem a tad unorganized (which isn''t unrealistic for peons), with the occasional pre-organized opposition to add a taste of organization.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!