Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Bindings - other languages
»
DotNet
»
C# Documents and Tutorials SFML?
Print
Pages: [
1
]
Author
Topic: C# Documents and Tutorials SFML? (Read 25719 times)
0 Members and 1 Guest are viewing this topic.
AF2013
Newbie
Posts: 4
C# Documents and Tutorials SFML?
«
on:
March 06, 2014, 11:27:35 pm »
Hello Everyone,
I just download Visual Studio 2012 then SFML and to my surprise, I dont have messed about putting include files and Lib files folder like VS 2010 !! I just create a Project and I saw SFML then It installed and everythings done for me!
I am very happy when I just click run button to see what it does and it render Window with background Colours!
Now I want to know where I can learn C# SFML Documents and tutorials to help me speed up my programming
cheers
P.S. I hope I put in the right post in here as I need know where the C# SFML Documents and tutorials is
«
Last Edit: March 07, 2014, 12:00:23 am by AF2013
»
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Re: C# Documents and Tutorials SFML?
«
Reply #1 on:
March 07, 2014, 10:51:28 am »
You can generate the documentation yourself (maybe it's also included in the SDK), and for tutorials I would consult the C++ version.
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
AF2013
Newbie
Posts: 4
Re: C# Documents and Tutorials SFML?
«
Reply #2 on:
March 07, 2014, 11:00:57 am »
That is shame because C# is easier than C++ as you can tell the different in coding wise!
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Re: C# Documents and Tutorials SFML?
«
Reply #3 on:
March 07, 2014, 11:14:09 am »
Where is the problem? The differences in the SFML tutorials will be small and mostly syntactical (apart from the missing modules in SFML.NET).
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
AF2013
Newbie
Posts: 4
Re: C# Documents and Tutorials SFML?
«
Reply #4 on:
March 07, 2014, 04:22:46 pm »
Can you please give me example of source example display image on screen for C# SMFL because for simple reason, I try to do in C# even thought there is lack of Documents for C# SMFL ! I dont want to learn C++ SMFL because I prefer C# better!
cheers
Logged
chilliboy999
Newbie
Posts: 16
Re: C# Documents and Tutorials SFML?
«
Reply #5 on:
March 07, 2014, 05:26:15 pm »
Here you go
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
SFML
;
using
SFML.Graphics
;
namespace
SFML
.
Net_Test
{
class
Program
{
static
void
Main
(
)
{
RenderWindow window
=
new
RenderWindow
(
new
Window
.
VideoMode
(
200
,
200
)
,
"test"
)
;
CircleShape cs
=
new
CircleShape
(
100
.
0f
)
;
cs
.
FillColor
=
Color
.
Green
;
window
.
SetActive
(
)
;
while
(
win
.
IsOpen
(
)
)
{
window
.
Clear
(
)
;
window
.
DispatchEvents
(
)
;
window
.
Draw
(
cs
)
;
window
.
Display
(
)
;
}
}
}
}
Logged
codicil793
Newbie
Posts: 13
Re: C# Documents and Tutorials SFML?
«
Reply #6 on:
April 06, 2014, 03:10:34 am »
If I may ask, how exactly did you get the C# bindings to work without crashing?
I downloaded the bindings for dotnet, used VS2013, and added the libraries, but it crashes if I make any call or reference to RenderWindow.
Logged
StormWingDelta
Sr. Member
Posts: 365
Re: C# Documents and Tutorials SFML?
«
Reply #7 on:
April 06, 2014, 03:19:16 am »
I had to add them directly to the project as normal files than changed the files' setting of Copy to Output Directory to Copy Always. If there is another way I'd love to hear it myself.
Logged
I have many ideas but need the help of others to find way to make use of them.
delio
Newbie
Posts: 49
Re: C# Documents and Tutorials SFML?
«
Reply #8 on:
April 06, 2014, 07:54:29 am »
try tutorial :
http://instilledbee.wordpress.com/2013/05/12/setting-up-sfml-net-2-0-to-work-with-visual-studio-2012-c-projects/
Logged
Print
Pages: [
1
]
SFML community forums
»
Bindings - other languages
»
DotNet
»
C# Documents and Tutorials SFML?