Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 14 May 2013
Offline Last Active Dec 30 2014 06:01 AM

Topics I've Started

Hack 'n Slash AI

02 September 2013 - 09:40 AM

Hi All,


I'm am writing ( or trying to, at least ) a simple 2D hack 'n slash RPG in C++ / SDL. Something like Diablo ( or Flare ).


I've got most of the stuff down, but I'm quite perplexed about how the AI should behave. It seems that the monsters don't automatically attack you as soon as they spot you, or you would never be able to get the first hit in. They also don't seem to be attacking continuously like you are, and sometimes leave you an opening for a free attack.


I can't seem to figure out their patterns, and the random things they do sometimes. Could someone refer me to a related tutorial or explain to me how AI works in a hack 'n slash game. An example pseudocode function will be really helpful as well.


Thanks in advance.

Map Editor

14 May 2013 - 06:44 PM

Hello everyone,

This is my first post in the forums and I'm not quite sure which section I should post it in, but "Beginner" sounds like the most suitable one.


I am relatively new to game developement, altough I've done ( partially at least - I never really finished it) a very small turn-based strategy / RPG in Flash a few years ago, and a side-scrolling space shooter in C++ / SDL. I've thinkered a bit with OpenGL and 3D, mostly out of curiousity, but haven't really done anything in it.


In both my previous games I have used sprites from really old games for the backgrounds and characters, but now I'm thinking of doing something a little better looking, and with a bit more freedom of movement. Basically, I am aming for an environment like that of Wartune. Here are a few screenshots of it:





My question is:


Is there some (preferably free) software, something like a map editor, that I can use to create an environment like this - basically starting with a huge grassy field and adding trees / buildings / rivers / etc? ( I am literally envisioning the WarCraft III Map Editor right now, which was exactly what I need, but not game-specific, or including any scripts, just a map I can export as an image ).


I've come across a few tile map editors, but what I've seen in their screenshots is a lot more pixelated and console looking than what I am aiming for. If there is an option to change the camera angle when creating the battle arenas, like in the screenshot below, that would be great.




Thank you in advance.