Search found 15 matches

by hotmustard
Fri Feb 05, 2021 8:39 pm
Forum: IceBlink Basic Engine+Toolset
Topic: IBbasic Feature Board
Replies: 6
Views: 2816

Re: IBbasic Feature Board

If non-user-facing features are to be included in this list, I recommend integration of a unit testing framework. I am using it for the AI development, and it pays dividends. Integrates nicely with VS. What I am using as my simple test harness: https://dotnetfiddle.net/u8tCJ3 I won't commit this so ...
by hotmustard
Fri Feb 05, 2021 5:54 pm
Forum: General IceBlink Project Discussions
Topic: Interested in contributing
Replies: 20
Views: 4997

Re: Interested in contributing

I propose two "capability areas" for AI. 1) "Team awareness" - each enemy will be aware of the actions of other enemies attacking the player's party 2) "Attacker memory" - each enemy will have access to the actions that they took in the last round - or possibly all roun...
by hotmustard
Fri Feb 05, 2021 4:32 pm
Forum: General IceBlink Project Discussions
Topic: Interested in contributing
Replies: 20
Views: 4997

Re: Interested in contributing

Also posted a pull request that incorporates the scriptable AI for the IBx engine: https://github.com/IceBlinkEngine/IBx/pull/1 The "log" function causes an error in this version, but that is probably a Jint/Xamarin thing. The logger will need to be swapped out eventually anyway, though. S...
by hotmustard
Fri Feb 05, 2021 2:01 pm
Forum: General IceBlink Project Discussions
Topic: Interested in contributing
Replies: 20
Views: 4997

Re: Interested in contributing

I STRONGLY recommend feature / bug tracking on GH for these reasons: - Standardized way of marking completeness and commenting on a bug/feature and watching its progress - Automated release notes - Code commits can be tied to a feature/fix so that code changes' purpose can be easily understood and r...
by hotmustard
Fri Feb 05, 2021 1:04 am
Forum: General IceBlink Project Discussions
Topic: Interested in contributing
Replies: 20
Views: 4997

Re: Interested in contributing

I can see that my idea of AI switching between melee and ranged attacks would have a rather large scope. As far as I can tell, there's a good bit of code structured around the idea of a creature being one or the other. There's only a single attack sound/sprite so it wouldn't make much sense for a ra...
by hotmustard
Thu Feb 04, 2021 2:41 am
Forum: General IceBlink Project Discussions
Topic: Interested in contributing
Replies: 20
Views: 4997

Re: Interested in contributing

The Toolset interface was relatively straightforward to tweak. Very little code to change: https://github.com/IceBlinkEngine/IB2Toolset/compare/master...grannypron:NewAI I have filed two pull requests for the two libraries. If you review and like where it is going, you can go ahead and merge them in...
by hotmustard
Thu Feb 04, 2021 1:55 am
Forum: General IceBlink Project Discussions
Topic: Interested in contributing
Replies: 20
Views: 4997

Re: Interested in contributing

You could also test the ScriptedAttaker without the UI change just by changing the cr_ai attribute to ScriptedAttacker in the creatures.json as well. The ai_script filename defaults to ai_script.js.
by hotmustard
Thu Feb 04, 2021 1:12 am
Forum: General IceBlink Project Discussions
Topic: Interested in contributing
Replies: 20
Views: 4997

Re: Interested in contributing

oh yeah & I started with the C64 copying those fortune teller or whatever programs line by line from inside of one of those magazines. Hooked ever since.
by hotmustard
Thu Feb 04, 2021 1:06 am
Forum: General IceBlink Project Discussions
Topic: Interested in contributing
Replies: 20
Views: 4997

Re: Interested in contributing

Sure just lmk if you have questions. A quick Google will give you info on the Factory Design pattern. It's shit simple. https://www.c-sharpcorner.com/article/factory-method-design-pattern-in-c-sharp/ Alright, so I got an implementation working with a simple script and here's what it would look like:...
by hotmustard
Wed Feb 03, 2021 11:06 pm
Forum: General IceBlink Project Discussions
Topic: Interested in contributing
Replies: 20
Views: 4997

Re: Interested in contributing

I started by refactoring a little to suit the different kind of AI models. Preserved all existing code for the BasicAttacker & GeneralCaster, but moved them into a Factory pattern and added a ScriptedAttacker type. Integrated Jint and put some wrapping around it in an new Scripting namespace. No...