GameMaker: Studio

GameMaker: Studio

Προβολή στατιστικών:
Is it possible to use C#.NET dll through external_call(external_define(...)) ?
Hello people, I compiled a dll from project in C#. (Framework Version is 4)
Tools Platforms are v140.

So, is it possible to load simply my dll in GameMaker: Studio ?

It seems not.. You think it's just a waste of time to try ?

EDIT: better title for my topic.
Τελευταία επεξεργασία από ._.Stashed Girl._.; 17 Σεπ 2016, 3:12
< >
Εμφάνιση 1-8 από 8 σχόλια
Guessing you want to wrap C# into the game maker ide. Search google for the game maker compatible wrappers for lua and experiment. Assume we can since parakeet 2 ide exists using C# .net.
Yeah, all I want is load a DLL (made using Visual Studio 2015 C# Community) in GameMaker through
external_call(external_define('dllname.dll', 'methodORfunctionNAME', callTYPE, return, argsNumbers, list_of_args))

As explained in doc.
So, I have a working DLL (I know that since I also created withing C# a small project to test it, and it works).
But then in GameMaker Studio (in a GML script), all I get is a "Error defining an external function."

This is no help for me to make what it's going wrong..

All I ask is .. Is it possible?

Sure, I looked Google before asking, and all I find is a ".NET" DllExport UnmanagedExports.. But.. This seems not working with my DLL.

I can't revert back to v120 the platform tools since DLL is compiled using v140. (need v4 of .NET Framework)

Also.. Any others answers please ?
Highly recommend talking with experienced GM devs in the game maker community forum. That is where I get the best help.

Wrapping lua is the extent of my current experience in GM Pro.
Αναρτήθηκε αρχικά από foxtails:
Highly recommend talking with experienced GM devs in the game maker community forum. That is where I get the best help.

Wrapping lua is the extent of my current experience in GM Pro.

Which community you're talking about?
This one: https://forum.yoyogames.com/index.php
??

I didn't saw anything related to developping Extensions...
This why I ask here :/
I answer to myself.

I found a way to modify the calltype of my C# .dll file.

And now, I can use .NET in GameMaker: Studio (through my .dll this make some call to the .NET Framework).

-- Later I will provide how I do that, I will then upload the stuff on gitHub.
(both: DLL C# project, TUTORIAL (step by step), LOGIC EXPLANATIONS and even the GameMaker project.)

have fun.
Glad to hear you have it working!

Be great to see more tutorials and support on C#
Αναρτήθηκε αρχικά από foxtails:
Glad to hear you have it working!

Be great to see more tutorials and support on C#

I work on one, releasing on GitHub as soon as possible.

EDIT: fix misspelling.
Τελευταία επεξεργασία από ._.Stashed Girl._.; 19 Σεπ 2016, 10:00
The tutorial is wrote, let me translate now in English, (Game Maker project is also finished from now on!)

So, very soon I will be releasing it !!

Keep in touch :)
< >
Εμφάνιση 1-8 από 8 σχόλια
Ανά σελίδα: 1530 50

Ημ/νία ανάρτησης: 17 Σεπ 2016, 3:11
Αναρτήσεις: 8