you are absolutely correct, i was getting carried away with distractions and definitely not being helpful as a 'tutorial'BasicCoder2 wrote:Really I think a simple code example of GOAP in action would have more tutorial value if it isn't clogged up with fancy graphics and the need for a dll to be included so that the code concentrates more on the mechanics behind the simulation.
I don't know about needing an FB translation, I think what I have in the first post has all the GOAP elements needed... only require the Execution part...It can still have a simple graphics display as was done in this simple example for which maybe a FreeBASIC translation could be written?
https://medium.com/@vedantchaudhari/goa ... 035ed40d0b
even though I have been distracted from hooking up GOAP to the display, there is some practicality in what I have been playing with regarding animations and sounds - I needed to understand where these things would be accomplished because they are 'multi' loop procedures (like the agent moving from one cell to an adjacent one) which requires the agent to 'be in' an Action over a period of several game loops - and I needed to understand how this would work nicely...When I get time to get back to the project I will use this simple display. The characters can be animated later in the meantime drawing a still image of them holding logs or an axe doing a chopping motions and so on shouldn't be hard rather than a descriptive text. As you know adding a more complex display can be done without changing the mechanics of the code.
also, if I am to have any sort of submission into the game competition, I need to be able to use sound, etc...
I like your simple map and graphics though - keeps me from being 'distracted' from the goal here (perhaps my own mind needs a GOAP planner to keep me on track....)