The npc tag has no wiki summary.
0
votes
1answer
71 views
Collision detection with entities/AI
I'm making my first game in Java, a top down 2D RPG.
I've handled basic collision detection, rendering and have added an NPC, but I'm stuck on how to handle interaction between the player and the NPC. ...
0
votes
1answer
67 views
How to store NPC movement data?
In my 2D tile-based game, I have NPCs that move around on a fixed path. I am putting the information about the NPCs in a .plist file that is loaded on startup. The thing is, I'm not sure how to format ...
-1
votes
2answers
217 views
NPC AI articles for walking and fighting? [closed]
I'm looking to learn about NPC AI to solve a problem how an NPC should walk e.g. walking straight and then turn at a wall. Perhaps I can program it to walk along a line but then I still would not know ...
0
votes
1answer
305 views
Better way to do AI Behavior in AS3/Flixel
I'm making a game in Flixel and I need to program an NPC. It's rapidly turning more complex than I expected. I was wondering if there are any best practices, tutorials or examples that you can refer ...
4
votes
4answers
1k views
Should NPC dialog be stored in XML or in a script?
I'm developing an action RPG with some friends. I would like to know the differences and pros/cons of making NPC's dialogue using a file in XMLformat instead of using a script.
I see that script ...
49
votes
5answers
6k views
How does Dwarf Fortress keep track of so many entities without losing performance?
In Dwarf Fortress you can have hundreds of Dwarves, animals, goblins, etc in game at any one time, each with their own complex AI and pathfinding routines. My question is how does this not produce ...
2
votes
2answers
322 views
AI: Updating AI use a lot of CPU
Let's say I got 100 Orcs in my 3D world. They all have the goal to kill each other.
That means For 1 Orc I have to check collision with the 99 others. That will give me the number 99^2 which is about ...
22
votes
6answers
2k views
Who does the AI calculations in an MMO?
I am building an MMO and want to add NPCs. The thing is I don't know the basic design. What does the calculations, the clients or the server? I would understand the server calculating events and ...
0
votes
0answers
489 views
Where to start game development like Game Dev Story or Pocket Academy? [closed]
I love these old school type games that Kairosoft are doing which are a bit like Theme Park, all stat based stuff. I was wondering where I should start looking into developing something like the ...
15
votes
4answers
534 views
What behaviors should go into making a “non-perfect” AI combatant?
When making an npc combatant, it's easy obvious what to do to get a robot deathmachine by optimizing combat tactics, timing and attack types, but harder (and more interesting in a fight) to get an ...
6
votes
1answer
343 views
What should “own” the battle state in combat between the player and NPCs?
I have a Map, a Tile, NPCs and the Player. When a player enters a tile in the map, a moveTo event is fired, which calls for any NPCs associated with that tile to be "activated". Those NPCs may be ...
40
votes
11answers
4k views
How can I implement dialog trees into my game?
What is the best way to implement a dialog tree system in my game? I want an NPC to give the player different sets of responses, some which may only appear when the Player has an item or a previous ...