Wow it's been a long time. I can't find my old AGS C# wrapper for writing plugins or any of the old tutorials I use to have on writing plugins. Does anyone know where any of that is? I did a search for the C# wrapper and the forums kept throwing blanks back at me.
And the tutorials, well, I'm not finding those either anymore. :( There use to be a nice one that taught you a hello world plugin in C# and now I can't find it anymore. :(
Is it this thread (http://www.adventuregamestudio.co.uk/forums/index.php?topic=41465.0)? You had at least replied to it.
I just went into your profile, clicked "Show Posts" and went straight to the last page to check your earlier posts.
Edit: I just entered "C#" into the forum search and it returned nothing. It's possible that the search term was too short (2 characters) or that the # character somehow doesn't work as search keyword.
Alright. I did a new search in google and found a section in the AGS documentation pages that covers C# plugins and it says that C# only works for the Editor, not the engine at this time. Still. Please tell me that I can use C# finally to write a plugin that says hello world with an ingame trigger...
Like the plugin can use a click on a rock as a trigger to say hello world ingame?
wolverine79936, did you check the link Iceboty gave to you in the post above? I ask because it looks a bit like you were typing your post at close time, and so could miss his answer.
To answer your question directly: yes, it is possible to write Engine plugins in C#, but you need a C++/CLR wrapper to transit function calls and data between C++ and C#. I think the code from the referenced topic does that, although, frankly, I never tried that out myself.
Hey, Crimson. Long time no see. I checked out the link that Ice gave me, but all the links to the wrapper are dead. And if they are not, then I was looking at the wrong links and wouldn't mind some suggestions here about where to get a C# wrapper. Thanks. :)