Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (SBGuy, Quad), 768 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 32 1 2 3 31 32
C# wrapper - RELEASE #277432
07/09/09 09:15
07/09/09 09:15
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
Hi !
I'm very proud to release Version 1.0 of the C# Wrapper for A7, it wraps 100% of the engine_sdk ! The wrapper allows the experienced A7 and C# user to create applications and games withouth the use of unsafe code !
On my site : acknexwrapper.matthias-auer.net
you find the wrapper, a manual that contains some tutorials and some info about the wrapper, plus a samples archive that contains the source and the compiled version of the projects explained in the "get Started" section of the manual.

Important : It is not advised to use the wrapper if you don't know object-oriented languages or C#, because C# uses a different programming paradigm than lite-c !

ATTENTION: a new version is on it's way, that may change naming conventions, so only use this version of the wrapper for a first glimpse at using a7 in C#

Post here questions, feedback or problems. If you know topics that should be covered in the manual and are not covered yet - send me an e-mail (mail@matthias-auer.net) or post in this thread!

Last edited by Stromausfall; 07/10/09 07:42.

get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper - RELEASE [Re: Stromausfall] #277433
07/09/09 09:16
07/09/09 09:16
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline
Serious User
VeT  Offline
Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
wow... i'll look there


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: C# wrapper - RELEASE [Re: VeT] #277448
07/09/09 10:30
07/09/09 10:30
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline
User
the_mehmaster  Offline
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
Awesome! i have been waiting ages for something like this!

Re: C# wrapper - RELEASE [Re: VeT] #277451
07/09/09 10:35
07/09/09 10:35
Joined: Feb 2007
Posts: 353
A
amy Offline
Senior Member
amy  Offline
Senior Member
A

Joined: Feb 2007
Posts: 353
Great job!

From the manual it looks like you have to write very verbose code though which always is about twice as long as the corresponding Lite-C code. Can't you hide away stuff like the var conversions like ventilator did for his python wrapper?

It would be nicer if Entity and Vector and so on could be used like real classes. e = new Entity() instead of ent_create(), vectors with overloaded operators,...

Would C# also make it possible to use generators and yield() for a scheduler?

Can the wrapper be used with other .NET languages?

Re: C# wrapper - RELEASE [Re: the_mehmaster] #277453
07/09/09 10:37
07/09/09 10:37
Joined: Jul 2007
Posts: 424
EUROPE
maslone1 Offline
Senior Member
maslone1  Offline
Senior Member

Joined: Jul 2007
Posts: 424
EUROPE
Stromausfall, is not a name for a person like you.....
You should call yourself "The great coding Hero",
or "Strom-Maker",......

Thanx for your realy great contribution!

Cheers Marcel


A8c, Blender, FlStudio, Unity3d
Re: C# wrapper - RELEASE [Re: maslone1] #277460
07/09/09 11:00
07/09/09 11:00
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
i can't hide the var conversions because else it wouldn't be possible to use a var with a pointer.
about the idea to create the entity in the engine with the constructor - that's a great idea, i'll implement that !
I will also look into operator overloading for vectors, but not sure about that yet ^^
about the scheduler, i once created a scheduler, but the performance was quite bad - so it's better to use EVENT_FRAME (as i have heard) for that or a list that contains all functions to call in the while loop which is traversed and thus the functions are called.

No the wrapper can only be used for C# - not for all .net languages

Last edited by Stromausfall; 07/09/09 11:31.

get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper - RELEASE [Re: maslone1] #277461
07/09/09 11:00
07/09/09 11:00
Joined: Mar 2009
Posts: 276
Cebu City, Philippines
boyax Offline
Member
boyax  Offline
Member

Joined: Mar 2009
Posts: 276
Cebu City, Philippines
cool! Thanks for this contribution! smile

Cheers,
boi

Re: C# wrapper - RELEASE [Re: boyax] #277466
07/09/09 11:10
07/09/09 11:10
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline
Member
seecah  Offline
Member

Joined: Apr 2009
Posts: 248
Philippines
Nice.. Very very cool.. I would appreciate much if anybody can show here a simple game using C# already.. :-)

I'll try this..



Can't is not an option™
Re: C# wrapper - RELEASE [Re: seecah] #277471
07/09/09 11:37
07/09/09 11:37
Joined: Feb 2007
Posts: 353
A
amy Offline
Senior Member
amy  Offline
Senior Member
A

Joined: Feb 2007
Posts: 353
Quote:
i can't hide the var conversions because else it wouldn't be possible to use a var with a pointer.
Why do you need to use var with a pointer?

Quote:
about the scheduler, i once created a scheduler, but the performance was quite bad - so it's better to use EVENT_FRAME (as i have heard) for that
How did your scheduler work?

Quote:
or a list that contains all functions to call in the while loop which is traversed and thus the functions are called.
Actually I thought that's exactly what a scheduler does?

The advantage of a scheduler that uses yield() would be that it could work exactly like using wait() in Lite-C. That's what we all are very used to so it would be nice to have.

Re: C# wrapper - RELEASE [Re: seecah] #277479
07/09/09 11:55
07/09/09 11:55
Joined: Jul 2009
Posts: 40
E
enrike Offline
Newbie
enrike  Offline
Newbie
E

Joined: Jul 2009
Posts: 40
i think i did all steps correct but i get this error... any ideas? i am using VStudio 2008 and GameStudio Pro 7.06

Error 1 The command "CD C:\
C:\Program Files\GStudio7\WED.exe -p D:\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe" exited with code 9009.

It does not create the acknex.dll in the debug folder. i did the whole process again and get the same problem. I double checked the paths and they seem fine as far as i can see.

just found this
http://my-tech-talk.blogspot.com/2008/11/error-9009-in-visual-studio-means.html
so edited the WED path to "C:\Program Files\GStudio7\WED.exe" -p D:\c_sharp_wrapper_A7\ConsoleApplication1\ConsoleApplication1\bin\Debug\FirstTestProgram.exe

now it runs it but crashes after opening the engine, cannot see amything. i can see A7 startup says "3 objects" then the white startup window quits and all crashes. i tried to compile some of the examples with same result.


Last edited by enrike; 07/09/09 12:30.
Page 1 of 32 1 2 3 31 32

Moderated by  TWO 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1