.Net Wrapper beta

Posted By: DarkPhantom

.Net Wrapper beta - 05/28/08 19:39

Hi,
hiermit gebe ich meinen .Net Wrapper zu offiziellen Betatest frei. Es sind ca 95% von A7 gewrappt. Der einzige mir zur Zeit bekannte Bug ist das die on_key und on_event Funktionen nicht funktionieren. Wünsche, Kritik, Verbesserungsvorschläge und vor allem natürlich Bugreports sind herzlich willkommen. Eine Doku gibt es noch nicht, aber hier ein kleiner Überblick über:

Klassen/Strukturen: AcknexMath, Bmap, Collision, Diag, Draw, Engine, Entity, file, Font, Game, key, Material, Matrix, Multimedia, Multiplayer, Panel, Particle, Pathfinding, ph, phcon, Port, Sound, Text, Vector, Angle, ColorRGB, ColorRGBA, Vertex, View

Link: http://files.filefront.com/Wrapperdll/;10408715;/fileinfo.html

Mfg
Dark Phantom
Posted By: DarkPhantom

Re: .Net Wrapper beta - 05/29/08 13:52

Ich sollte dazu vielleicht noch sagen das sich alles im Namespace "AcknexWrapper" befindet und das als Post-build Event "Pfad zum Gamesstudio Ordner\WED.exe" -p "AusgabeOrdner" gesetz werden muss.
z.B. "C:\GamesStudio\WED.exe" -p "C:\Test\bin\debug\Test.exe"
Posted By: DarkPhantom

Re: .Net Wrapper beta - 05/29/08 18:55

achja und der hosting process muss deaktiviert werden;)
Posted By: Christian__A

Re: .Net Wrapper beta - 05/30/08 07:33

Klasse dass du es hinbekommen hast. Aber leider funktioniert das ganze nicht mit VB - könnte an dem unsave Code liegen? Wenn du willst kann ich dir evtl. bei den Events, die nicht funktionieren, helfen. Teste das ganze jetzt mal ein bisschen smile
Posted By: DarkPhantom

Re: .Net Wrapper beta - 05/30/08 09:15

Dankeschön smile
Das Problem mit den Events hab ich inzwischen behoben, trotzdem danke für das Angebot. Es könnte sein, dass das nicht bei dir funktioniert, weil ich das versehentlich als x64 kompiliert hatte. Ich hab jetzt die neue als x86 kompilierte Version hochgeladen
Posted By: DarkPhantom

Re: .Net Wrapper beta - 06/03/08 13:38

Und hat schon jemand Bugs entdeckt?
Posted By: Christian__A

Re: .Net Wrapper beta - 06/05/08 12:28

Evtl. solltest du nochmal auf Englisch posten, dann sprichst ein paar mehr Leute an smile
Posted By: DarkPhantom

Re: .Net Wrapper beta - 06/05/08 12:36

wahrscheinlich hast du recht.
Hast du es denn eig inzwischen geschafft der Wrapper in VB zu laufen zu bekommen?
Posted By: DarkPhantom

Re: .Net Wrapper beta - 06/05/08 12:47

Ok now in english
As you can see in the title I offer a .Net Wrapper for acknex.dll. To use it you must disable the hosting process and set the postbuild event to "path to GameStudio folder\WED.exe" -p "Outputfile". For example "C:\GamesStudio\WED.exe" -p "C:\Test\bin\debug\Test.exe"

You find all Wrapped Classes, structs etc in namespace AcknexWrapper.
I would be nice if you could give me some feedback.
Posted By: bstudio

Re: .Net Wrapper beta - 06/05/08 14:31

From what I can see, it looks quite ok, but (given that you have commented your code in the style used for documentation) could you generate a documentation for the wrapper, or release the source code for that matter.

Edit:
From the object browser I can see you wrapped the structs, but it would be cooler if I you would wrap those into classes to have a more Object Orientated approach.
Posted By: DarkPhantom

Re: .Net Wrapper beta - 06/05/08 15:48

Well I thought about make classes out of some stucts, with some I have done this (for Example Entity). Vector, Angle,... need to be structs and structs which only contain static methods don´t need to be classes. So which one are you missung to be a class?
About documentation, I`m working on it, but its much work wink

Thank you very much for feedback smile
Posted By: Christian__A

Re: .Net Wrapper beta - 06/18/08 13:15

Hatte mal etwas Zeit zum Testen - und schon ein paar Probleme festgestellt smile So gibt z.B. phcon.add immer 0 zurück. Str_for_entname bringt einen Speicherzugriffsfehler und ent_next lässt sich nicht mit NULL oder 0 aufrufen.
Evtl. hast du ja Zeit dir das mal anzuschauen - du kannst mir auch den aktuellen Code zuschicken, dann kümmer ich mich selbst drumm.
Posted By: DarkPhantom

Re: .Net Wrapper beta - 09/13/09 19:31

Hello again (after a long time I was away ;))
After some time spending with other Game engines and XNA I found my way back to Gamestudio. The reason why I was away was that I love C# and there is no official support from conitec for it.
After I saw Stromausfall made a quite good Wrapper I thougth about realive (is that a word?^^) and update my own one.
Now I proudly present it to you. If want to test or use it you can download it at http://www.filefront.com/14525111/AcknexWrapper.zip

If you want to give some feedback, you are welcome wink

Special thanks to Stromausfall for some parts of his documentation and some inspiration!
© 2024 lite-C Forums