Search found 15 matches
- Fri Feb 05, 2021 8:39 pm
- Forum: IceBlink Basic Engine+Toolset
- Topic: IBbasic Feature Board
- Replies: 6
- Views: 139926
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 ...
- Fri Feb 05, 2021 5:54 pm
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
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...
- Fri Feb 05, 2021 4:32 pm
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
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...
- Fri Feb 05, 2021 2:01 pm
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
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...
- Fri Feb 05, 2021 1:04 am
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
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...
- Thu Feb 04, 2021 2:41 am
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
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...
- Thu Feb 04, 2021 1:55 am
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
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.
- Thu Feb 04, 2021 1:12 am
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
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.
- Thu Feb 04, 2021 1:06 am
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
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:...
- Wed Feb 03, 2021 11:06 pm
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
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...
- Wed Feb 03, 2021 8:34 pm
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
Re: Interested in contributing
Yep I see them in there. Didn't know if people were using them, though. If there's a dropdown, I'm sure people are, though! Thanks! I will be sure not to disturb that logic.
- Wed Feb 03, 2021 6:40 pm
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
Re: Interested in contributing
So here are two things off the top of my head that I think I notice/see from the code that you maybe want to change a little (always leaving the option to use the default behavior alone, of course): - Creatures are either ranged or melee and can't switch between them, even when they suffer an attack...
- Wed Feb 03, 2021 3:20 am
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
Re: Interested in contributing
Alright, let me take a crack at some AI and integrating Jint and we shall see how it goes. I am looking into utility-based AIs but not finding any great frameworks to steal. I'll keep trying - I hate rolling my own. For GitHub, the last SO answer here is a very nice tldr along with a link for more d...
- Wed Feb 03, 2021 1:39 am
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
Re: Interested in contributing
Fantastic. AI sounds great. I'm no expert on it, though. I have worked with / am working with the DungeonCraft AI system (http://ua.reonis.com/) and from that work, I strongly recommend that you incorporate a scripting language to control AI. Since you are already into JSON, I will float Jint (https...
- Tue Feb 02, 2021 7:11 pm
- Forum: General IceBlink Project Discussions
- Topic: Interested in contributing
- Replies: 20
- Views: 105997
Interested in contributing
Hello, I'm interested in contributing to a thriving game engine community where I can add value. 10+ years of basic c# experience. Looking for opportunities to pitch in and help - do you have a bug/requested feature list somewhere? I'm having a little trouble with the IB2Engine GH build around Sharp...