Click here to Skip to main content
15,887,304 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Does D correctly simulated by H terminate normally? Pin
jschell18-May-23 5:45
jschell18-May-23 5:45 
GeneralRe: Does D correctly simulated by H terminate normally? Pin
jschell19-May-23 7:43
jschell19-May-23 7:43 
QuestionCan D simulated by H terminate normally? Pin
polcott14-May-23 10:40
polcott14-May-23 10:40 
AnswerRe: Can D simulated by H terminate normally? Pin
jschell15-May-23 4:54
jschell15-May-23 4:54 
GeneralRe: Can D simulated by H terminate normally? Pin
jschell16-May-23 6:47
jschell16-May-23 6:47 
GeneralRe: Can D simulated by H terminate normally? Pin
jschell16-May-23 7:16
jschell16-May-23 7:16 
QuestionBase building in a RTS based on a queue of orders Pin
Calin Negru27-Apr-23 4:01
Calin Negru27-Apr-23 4:01 
AnswerRe: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz27-Apr-23 5:33
mveGerry Schmitz27-Apr-23 5:33 
I create objects with one or more "counters"; that count down or up (time remaining; time elapsed). I handle every object at least once during a "frame" (if it is "active"). Time remaining is when they are performing an action that must "expire" (e.g. change in formation) before going on to the next "order". Time elapsed is how long they've been at something (moving, double time, firing, fighting, etc.). So, no "events"; just changes in state or "levels of condition" (fatigue; loss; ammo) that are monitored.

The only "orders" I have needed so far are for "waypoints" on a given route. ("AI" Smile | :) and the user does the rest).


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

General[edited]Re: Base building in a RTS based on a queue of orders Pin
Calin Negru27-Apr-23 8:01
Calin Negru27-Apr-23 8:01 
GeneralRe: [edited]Re: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz29-Apr-23 3:48
mveGerry Schmitz29-Apr-23 3:48 
General[edit][edit]Re: Base building in a RTS based on a queue of orders Pin
Calin Negru30-Apr-23 5:23
Calin Negru30-Apr-23 5:23 
GeneralRe: [edit][edit]Re: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz30-Apr-23 6:14
mveGerry Schmitz30-Apr-23 6:14 
GeneralRe: [edit][edit]Re: Base building in a RTS based on a queue of orders Pin
Calin Negru30-Apr-23 22:12
Calin Negru30-Apr-23 22:12 
GeneralRe: [edit][edit]Re: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz1-May-23 0:08
mveGerry Schmitz1-May-23 0:08 
GeneralRe: [edited]Re: Base building in a RTS based on a queue of orders Pin
Calin Negru30-Apr-23 5:10
Calin Negru30-Apr-23 5:10 
GeneralRe: [edited]Re: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz30-Apr-23 6:29
mveGerry Schmitz30-Apr-23 6:29 
QuestionEfficiently finding position in sorted list Pin
Robert Ellis26-Mar-23 13:52
Robert Ellis26-Mar-23 13:52 
AnswerRe: Efficiently finding position in sorted list Pin
Mircea Neacsu26-Mar-23 14:42
Mircea Neacsu26-Mar-23 14:42 
QuestionDijkstra Pin
Calin Negru13-Dec-22 7:46
Calin Negru13-Dec-22 7:46 
AnswerRe: Dijkstra Pin
jschell13-Dec-22 10:39
jschell13-Dec-22 10:39 
GeneralRe: Dijkstra Pin
Calin Negru13-Dec-22 22:34
Calin Negru13-Dec-22 22:34 
GeneralRe: Dijkstra Pin
jschell20-Dec-22 13:21
jschell20-Dec-22 13:21 
GeneralRe: Dijkstra Pin
Calin Negru26-Dec-22 9:26
Calin Negru26-Dec-22 9:26 
GeneralRe: Dijkstra Pin
jschell29-Dec-22 11:20
jschell29-Dec-22 11:20 
GeneralRe: Dijkstra Pin
Calin Negru30-Dec-22 8:56
Calin Negru30-Dec-22 8:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.