www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Game development

reply "Ras" <Ras gmail.com> writes:
Hello,

I want to write the game engine in C++ and write all the game 
logic and ai etc in D. How would i do this?
Jan 08 2015
next sibling parent ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 08 Jan 2015 16:53:45 +0000
Ras via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 Hello,
=20
 I want to write the game engine in C++ and write all the game=20
 logic and ai etc in D. How would i do this?
first, you have to write your game engine in C++. just fire your favorite text editor and start coding. second, you have to write your game logic in D. just fire your favorite text editor and start coding. third: now you have to connect the first and the second, but don't be afraid: you will never come to this part, actually.
Jan 08 2015
prev sibling next sibling parent "Kiith-Sa" <kiithsacmp gmail.com> writes:
On Thursday, 8 January 2015 at 16:53:46 UTC, Ras wrote:
 Hello,

 I want to write the game engine in C++ and write all the game 
 logic and ai etc in D. How would i do this?
Manu Evans has pretty much this, he's active on this newsgroup, maybe he can help you: https://github.com/TurkeyMan/fuji . But "writing a game engine" is not something you can simply do quickly or that someone can do for you. It can take years depending on what the engine is supposed to do. Connecting C++ with D is a trivial detail compared to all the work involved.
Jan 08 2015
prev sibling next sibling parent reply "NVolcz" <niklas.volcz gmail.com> writes:
On Thursday, 8 January 2015 at 16:53:46 UTC, Ras wrote:
 Hello,

 I want to write the game engine in C++ and write all the game 
 logic and ai etc in D. How would i do this?
I would not recommend writing a game engine (make games not engines) and why do you want to write the engine in C++ and the logic in D? I suspect that it is easier to write everything in the same language. There are several D gamedev frameworks and engine out there, http://code.dlang.org/, there are projects that don't use dub (fuji for example). But some of them are certainly not up to date so you will have to check the commit logs for activity. Best regards, NVolcz
Jan 08 2015
parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 08 Jan 2015 17:31:49 +0000
NVolcz via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 engines) and why do you want to write the engine in C++ and the=20
 logic in D?
i bet he thinking that D is a fancy "scripting language with native performance".
Jan 08 2015
next sibling parent reply "Phil" <phil.j.ellison gmail.com> writes:
This isn't the best way to get more people involved in the D 
community...

On Thursday, 8 January 2015 at 18:03:48 UTC, ketmar via 
Digitalmars-d wrote:
 On Thu, 08 Jan 2015 17:31:49 +0000
 NVolcz via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 engines) and why do you want to write the engine in C++ and 
 the logic in D?
i bet he thinking that D is a fancy "scripting language with native performance".
Jan 08 2015
next sibling parent "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> writes:
On Thu, Jan 08, 2015 at 07:41:07PM +0000, Phil via Digitalmars-d wrote:
 On Thursday, 8 January 2015 at 18:03:48 UTC, ketmar via Digitalmars-d wrote:
On Thu, 08 Jan 2015 17:31:49 +0000
NVolcz via Digitalmars-d <digitalmars-d puremagic.com> wrote:

engines) and why do you want to write the engine in C++ and the
logic in D?
i bet he thinking that D is a fancy "scripting language with native performance".
This isn't the best way to get more people involved in the D community...
He does not speak for the rest of us. T -- Answer: Because it breaks the logical sequence of discussion. Question: Why is top posting bad?
Jan 08 2015
prev sibling next sibling parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 08 Jan 2015 19:41:07 +0000
Phil via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 This isn't the best way to get more people involved in the D=20
 community...
he doesn't come here for D, nor for doing something productive even for himself. i know this type by their first words. you can see me willingly helping people that come for something, even with simple/newb questions. but i can't see any reason to try to help someone who doesn't even know what he wants, and didn't take time to ask a proper question. been there, seen that. trying to refine such questions and/or answer to 'em is just a waste of time, he will make everyone who's trying to figure out what he *really* wants sick and then he will go away. so maybe it's better to ask me and/or try to figure out my behavioral patterns before telling me that i'm alienating newcomers? maybe i have a solid reasons for acting like this...
Jan 08 2015
parent reply "Tobias Pankrath" <tobias pankrath.net> writes:
On Thursday, 8 January 2015 at 20:15:50 UTC, ketmar via 
Digitalmars-d wrote:
 but i can't see any reason to try to help someone who doesn't 
 even know
 what he wants, and didn't take time to ask a proper question. 
 been
 there, seen that. trying to refine such questions and/or answer 
 to 'em
 is just a waste of time, he will make everyone who's trying to 
 figure
 out what he *really* wants sick and then he will go away.
I'd prefer if you would respond to such people by staying quiet. This has several advantages: • No one accuses you of scaring newbros away • It does not take any of your time • You won't get sick • Only people that spend to much time here in the first place will invest in answering the question* Disadvantages: None.
Jan 08 2015
parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 08 Jan 2015 20:56:40 +0000
Tobias Pankrath via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Thursday, 8 January 2015 at 20:15:50 UTC, ketmar via=20
 Digitalmars-d wrote:
 but i can't see any reason to try to help someone who doesn't=20
 even know
 what he wants, and didn't take time to ask a proper question.=20
 been
 there, seen that. trying to refine such questions and/or answer=20
 to 'em
 is just a waste of time, he will make everyone who's trying to=20
 figure
 out what he *really* wants sick and then he will go away.
=20 I'd prefer if you would respond to such people by staying quiet.=20 This has several advantages: =20 =E2=80=A2 No one accuses you of scaring newbros away =E2=80=A2 It does not take any of your time =E2=80=A2 You won't get sick =E2=80=A2 Only people that spend to much time here in the first plac=
e=20
 will invest in answering the question*
=20
 Disadvantages: None.
i read your opinion. and happily ignored it.
Jan 08 2015
parent reply "market" <dont spam.me> writes:
On Thursday, 8 January 2015 at 21:03:09 UTC, ketmar via
Digitalmars-d wrote:
 On Thu, 08 Jan 2015 20:56:40 +0000
 Tobias Pankrath via Digitalmars-d <digitalmars-d puremagic.com> 
 wrote:

 On Thursday, 8 January 2015 at 20:15:50 UTC, ketmar via 
 Digitalmars-d wrote:
 but i can't see any reason to try to help someone who 
 doesn't even know
 what he wants, and didn't take time to ask a proper 
 question. been
 there, seen that. trying to refine such questions and/or 
 answer to 'em
 is just a waste of time, he will make everyone who's trying 
 to figure
 out what he *really* wants sick and then he will go away.
I'd prefer if you would respond to such people by staying quiet. This has several advantages: • No one accuses you of scaring newbros away • It does not take any of your time • You won't get sick • Only people that spend to much time here in the first place will invest in answering the question* Disadvantages: None.
i read your opinion. and happily ignored it.
just gtfo ketmar... just do it.
Jan 08 2015
next sibling parent ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 08 Jan 2015 21:11:47 +0000
market via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Thursday, 8 January 2015 at 21:03:09 UTC, ketmar via
 Digitalmars-d wrote:
 On Thu, 08 Jan 2015 20:56:40 +0000
 Tobias Pankrath via Digitalmars-d <digitalmars-d puremagic.com>=20
 wrote:

 On Thursday, 8 January 2015 at 20:15:50 UTC, ketmar via=20
 Digitalmars-d wrote:
 but i can't see any reason to try to help someone who=20
 doesn't even know
 what he wants, and didn't take time to ask a proper=20
 question. been
 there, seen that. trying to refine such questions and/or=20
 answer to 'em
 is just a waste of time, he will make everyone who's trying=20
 to figure
 out what he *really* wants sick and then he will go away.
=20 I'd prefer if you would respond to such people by staying=20 quiet. This has several advantages: =20 =E2=80=A2 No one accuses you of scaring newbros away =E2=80=A2 It does not take any of your time =E2=80=A2 You won't get sick =E2=80=A2 Only people that spend to much time here in the first=20 place will invest in answering the question* =20 Disadvantages: None.
i read your opinion. and happily ignored it.
=20 just gtfo ketmar... just do it.
hello, honey! i really miss you! i hope you're ok. please, don't leave me for such a long time...
Jan 08 2015
prev sibling parent Joseph Rushton Wakeling via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 08/01/15 22:11, market via Digitalmars-d wrote:
 just gtfo ketmar... just do it.
Sorry, no. Not acceptable either.
Jan 08 2015
prev sibling next sibling parent Joseph Rushton Wakeling via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 08/01/15 21:15, ketmar via Digitalmars-d wrote:
 so maybe it's better to ask me and/or try to figure out my behavioral
 patterns before telling me that i'm alienating newcomers? maybe i have
 a solid reasons for acting like this...
Thing is, you weren't obliged to reply to him at all, and it's not like he was singling out as the target of his question. If you've decided you don't like him or his question, why not just leave it be, let others reply as they will, and not spend any of your time on it?
Jan 08 2015
prev sibling next sibling parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 08 Jan 2015 21:54:46 +0100
Joseph Rushton Wakeling via Digitalmars-d <digitalmars-d puremagic.com>
wrote:

 On 08/01/15 21:15, ketmar via Digitalmars-d wrote:
 so maybe it's better to ask me and/or try to figure out my behavioral
 patterns before telling me that i'm alienating newcomers? maybe i have
 a solid reasons for acting like this...
=20 Thing is, you weren't obliged to reply to him at all, and it's not like h=
e was=20
 singling out as the target of his question.
=20
 If you've decided you don't like him or his question, why not just leave =
it be,=20
 let others reply as they will, and not spend any of your time on it?
am i fobidding someone to reply? O_O but yes, i want to create an impression that timewasters are not welcome.
Jan 08 2015
parent reply Justin Whear <justin economicmodeling.com> writes:
On Thu, 08 Jan 2015 23:02:26 +0200, ketmar via Digitalmars-d wrote:

 but yes, i want to create an impression that timewasters are not
 welcome.
Ironically this is exactly why I'm putting you on my ignored authors list. --Justin
Jan 08 2015
next sibling parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 1/8/15 1:25 PM, Justin Whear wrote:
 On Thu, 08 Jan 2015 23:02:26 +0200, ketmar via Digitalmars-d wrote:

 but yes, i want to create an impression that timewasters are not
 welcome.
Ironically this is exactly why I'm putting you on my ignored authors list.
Ironically you're replying to the message you weren't supposed to see :o). All, especially market and ketmar and those who like to get into diatribes: please help maintain a civil atmosphere on this group. We've kept a really nice atmosphere for a long time now, and it's sad to see it's become quite a bit less so in recent times. If you can't suffer someone's posts, please use your newsreader's filtering features to not see their posts. I know it's not perfect, but by and large it does improve things. I'd like to attract your attention to a much more important AND urgent matter. The dpl-generated docs are now the default on dlang.org. Sadly the conversion is imperfect and there are still quite a few issues that stay unresolved, most of them trivially simple and embarrassingly parallelizable. Please join those of us who are chipping in to fix them. Thanks, Andrei
Jan 08 2015
next sibling parent reply Steven Schveighoffer <schveiguy yahoo.com> writes:
On 1/8/15 4:32 PM, Andrei Alexandrescu wrote:

 The dpl-generated docs are now the default on dlang.org.
I don't know what "dpl-generated" means. I'm not seeing any differences. -Steve
Jan 08 2015
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 1/8/15 1:46 PM, Steven Schveighoffer wrote:
 On 1/8/15 4:32 PM, Andrei Alexandrescu wrote:

 The dpl-generated docs are now the default on dlang.org.
I don't know what "dpl-generated" means. I'm not seeing any differences.
Oh, sorry. They aren't the default yet, but they'll be soon :o). -- Andrei
Jan 08 2015
prev sibling parent "ixid" <adamsibson hotmail.com> writes:
 If you can't suffer someone's posts, please use your 
 newsreader's filtering features to not see their posts. I know 
 it's not perfect, but by and large it does improve things.
Isn't it better for the community to politely reign in those who misbehave? Elitism is terribly damaging, we want D to be what people think of and talk about rather than 'oh, those guys are assholes'.
Jan 08 2015
prev sibling parent ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 8 Jan 2015 21:25:24 +0000 (UTC)
Justin Whear via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Thu, 08 Jan 2015 23:02:26 +0200, ketmar via Digitalmars-d wrote:
=20
 but yes, i want to create an impression that timewasters are not
 welcome.
=20 Ironically this is exactly why I'm putting you on my ignored authors list.
yet i see that you're still reading my posts and even answering. i have to inform you that your twitlist is not working. T_T
Jan 08 2015
prev sibling next sibling parent Joseph Rushton Wakeling via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 08/01/15 22:02, ketmar via Digitalmars-d wrote:
 am i fobidding someone to reply? O_O

 but yes, i want to create an impression that timewasters are not
 welcome.
Well, it's one thing if you make that decision about people who are in contact with you personally. It's a bit different if you are unilaterally deciding to make that decision as a member of a collective forum of people, because in that case it's a bit of an imposition on the rest of us. i.e. just because _you've_ decided that he's a timewaster, doesn't make it OK for you to try and make him feel unwelcome in a forum that belongs to a wider community. Also, I don't know if you've ever had any contact or experience of this person in some other online space, but if not, it seems a bit harsh to jump to such judgement straight away, even if you've previously had bad experiences with people asking questions in a similar style.
Jan 08 2015
prev sibling parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 08 Jan 2015 22:27:53 +0100
Joseph Rushton Wakeling via Digitalmars-d <digitalmars-d puremagic.com>
wrote:

 On 08/01/15 22:02, ketmar via Digitalmars-d wrote:
 am i fobidding someone to reply? O_O

 but yes, i want to create an impression that timewasters are not
 welcome.
=20 Well, it's one thing if you make that decision about people who are in co=
ntact=20
 with you personally.  It's a bit different if you are unilaterally decidi=
ng to=20
 make that decision as a member of a collective forum of people, because i=
n that=20
 case it's a bit of an imposition on the rest of us.
and if i'm not reacting, it's painting *me* wrong.
 i.e. just because _you've_ decided that he's a timewaster, doesn't make i=
t OK=20
 for you to try and make him feel unwelcome in a forum that belongs to a w=
ider=20
 community.
if he is intelligent enough, he will understand that nobody can talk for the whole community, so in the worst case he will ignore myself personally. if he is not intelligent enough... oh, well, as nobody else wants to be a judge, i will be one. i don't feel wrong calling someone "timewaster" if he *is* one. and i can smell 'em from a distance. this has nothing in common with "elitism", though. someone can't sing, someone can't program. both skills can be trained, but not by asking meaningless questions.
 Also, I don't know if you've ever had any contact or experience of this p=
erson=20
 in some other online space, but if not, it seems a bit harsh to jump to s=
uch=20
 judgement straight away, even if you've previously had bad experiences wi=
th=20
 people asking questions in a similar style.
it's like a doctor. often good doctor can see that something wrong with another man without taking him to the clinic first. i'm a "timewaster doctor" with a long practice. ;-) yet i'm still waiting for three bells ringing before making my verdict. now i have five bells ringing.
Jan 08 2015
next sibling parent "marwy" <progame gazeta.pl> writes:
On Friday, 9 January 2015 at 06:17:28 UTC, ketmar via 
Digitalmars-d wrote:
 On Thu, 08 Jan 2015 22:27:53 +0100
 Joseph Rushton Wakeling via Digitalmars-d 
 <digitalmars-d puremagic.com>
 wrote:

 On 08/01/15 22:02, ketmar via Digitalmars-d wrote:
 am i fobidding someone to reply? O_O

 but yes, i want to create an impression that timewasters are 
 not
 welcome.
Well, it's one thing if you make that decision about people who are in contact with you personally. It's a bit different if you are unilaterally deciding to make that decision as a member of a collective forum of people, because in that case it's a bit of an imposition on the rest of us.
and if i'm not reacting, it's painting *me* wrong.
 i.e. just because _you've_ decided that he's a timewaster, 
 doesn't make it OK for you to try and make him feel unwelcome 
 in a forum that belongs to a wider community.
if he is intelligent enough, he will understand that nobody can talk for the whole community, so in the worst case he will ignore myself personally. if he is not intelligent enough... oh, well, as nobody else wants to be a judge, i will be one. i don't feel wrong calling someone "timewaster" if he *is* one. and i can smell 'em from a distance.
It's not about intelligence, and I'm surprised that an intelligent man like you would think otherwise. It's not reasonable to generalize community based upon only one member of said community, but it still happens. Everywhere, to everyone, because humans are like that. Instead of admitting of being unwelcoming, you swing the other way and accuse people of being not intelligent enough. That's absolutely ridiculous behavior that should not be acceptable in any friendly community. </rant>
Jan 09 2015
prev sibling parent reply "dajones" <dajones dajones.com> writes:
On Friday, 9 January 2015 at 06:17:28 UTC, ketmar via
Digitalmars-d wrote:
 On Thu, 08 Jan 2015 22:27:53 +0100
 Joseph Rushton Wakeling via Digitalmars-d
 if he is intelligent enough, he will understand that nobody can 
 talk
 for the whole community, so in the worst case he will ignore 
 myself
 personally. if he is not intelligent enough... oh, well, as 
 nobody else
 wants to be a judge, i will be one. i don't feel wrong calling 
 someone
 "timewaster" if he *is* one. and i can smell 'em from a 
 distance.
Ketmar the teenage albino freak wasting time replying to time wasters.
Jan 10 2015
parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Sat, 10 Jan 2015 15:17:17 +0000
dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Friday, 9 January 2015 at 06:17:28 UTC, ketmar via
 Digitalmars-d wrote:
 On Thu, 08 Jan 2015 22:27:53 +0100
 Joseph Rushton Wakeling via Digitalmars-d
=20
 if he is intelligent enough, he will understand that nobody can=20
 talk
 for the whole community, so in the worst case he will ignore=20
 myself
 personally. if he is not intelligent enough... oh, well, as=20
 nobody else
 wants to be a judge, i will be one. i don't feel wrong calling=20
 someone
 "timewaster" if he *is* one. and i can smell 'em from a=20
 distance.
=20 Ketmar the teenage albino freak wasting time replying to time wasters.
i'm proud of having my own fanclub.
Jan 10 2015
next sibling parent reply "dajones" <dajones dajones.com> writes:
On Saturday, 10 January 2015 at 15:44:32 UTC, ketmar via 
Digitalmars-d wrote:
 On Sat, 10 Jan 2015 15:17:17 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Friday, 9 January 2015 at 06:17:28 UTC, ketmar via
 Digitalmars-d wrote:
 On Thu, 08 Jan 2015 22:27:53 +0100
 Joseph Rushton Wakeling via Digitalmars-d
 if he is intelligent enough, he will understand that nobody 
 can talk
 for the whole community, so in the worst case he will ignore 
 myself
 personally. if he is not intelligent enough... oh, well, as 
 nobody else
 wants to be a judge, i will be one. i don't feel wrong 
 calling someone
 "timewaster" if he *is* one. and i can smell 'em from a 
 distance.
Ketmar the teenage albino freak wasting time replying to time wasters.
i'm proud of having my own fanclub.
You are **proud** to draw the attention of nerdy middle aged men... jeez I though I had problems.
Jan 10 2015
parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Sat, 10 Jan 2015 16:03:22 +0000
dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Saturday, 10 January 2015 at 15:44:32 UTC, ketmar via=20
 Digitalmars-d wrote:
 On Sat, 10 Jan 2015 15:17:17 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Friday, 9 January 2015 at 06:17:28 UTC, ketmar via
 Digitalmars-d wrote:
 On Thu, 08 Jan 2015 22:27:53 +0100
 Joseph Rushton Wakeling via Digitalmars-d
=20
 if he is intelligent enough, he will understand that nobody=20
 can talk
 for the whole community, so in the worst case he will ignore=20
 myself
 personally. if he is not intelligent enough... oh, well, as=20
 nobody else
 wants to be a judge, i will be one. i don't feel wrong=20
 calling someone
 "timewaster" if he *is* one. and i can smell 'em from a=20
 distance.
=20 Ketmar the teenage albino freak wasting time replying to time wasters.
i'm proud of having my own fanclub.
=20 You are **proud** to draw the attention of nerdy middle aged=20 men...
ah, sure. it's always funny to see some old jerk having nothing more to do than running around whining how old is he. i'm enjoying collecting perverts, you know.
Jan 10 2015
parent reply "dajones" <dajones sharklasers.com> writes:
On Saturday, 10 January 2015 at 20:59:20 UTC, ketmar via 
Digitalmars-d wrote:
 On Sat, 10 Jan 2015 16:03:22 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:
 
 You are **proud** to draw the attention of nerdy middle aged 
 men...
ah, sure. it's always funny to see some old jerk having nothing more to do than running around whining how old is he. i'm enjoying collecting perverts, you know.
So lets get this straight... 1. I reply to you for maybe the third time and you think I am your own personal fan club. 2. You are proud to draw the attention of old men because it's "fun" to listen to them moan. 3. You enjoy collecting perverts. I'm almost too embarrassed to troll someone who seems unable to shoot anything but his own foot. *almost* :-)
Jan 10 2015
parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Sat, 10 Jan 2015 23:13:28 +0000
dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Saturday, 10 January 2015 at 20:59:20 UTC, ketmar via=20
 Digitalmars-d wrote:
 On Sat, 10 Jan 2015 16:03:22 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:
=20
 You are **proud** to draw the attention of nerdy middle aged=20
 men...
ah, sure. it's always funny to see some old jerk having nothing=20 more to do than running around whining how old is he. i'm enjoying=20 collecting perverts, you know.
=20 So lets get this straight... =20 1. I reply to you for maybe the third time and you think I am=20 your own personal fan club. 2. You are proud to draw the attention of old men because it's=20 "fun" to listen to them moan. 3. You enjoy collecting perverts. =20 I'm almost too embarrassed to troll someone who seems unable to=20 shoot anything but his own foot. =20 *almost* :-)
ah, so that was trolling? i'm so sorry... i was thinking that you're just a lonely old man and have noone to talk with. or i just can't realise that shitting their own pants is what they call "trolling" this times... o tempora, o mores...
Jan 10 2015
parent reply "dajones" <dajones sharklasers.com> writes:
On Sunday, 11 January 2015 at 00:44:00 UTC, ketmar via 
Digitalmars-d wrote:
 On Sat, 10 Jan 2015 23:13:28 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Saturday, 10 January 2015 at 20:59:20 UTC, ketmar via 
 Digitalmars-d wrote:
 On Sat, 10 Jan 2015 16:03:22 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com> 
 wrote:
 
 You are **proud** to draw the attention of nerdy middle 
 aged men...
ah, sure. it's always funny to see some old jerk having nothing more to do than running around whining how old is he. i'm enjoying collecting perverts, you know.
So lets get this straight... 1. I reply to you for maybe the third time and you think I am your own personal fan club. 2. You are proud to draw the attention of old men because it's "fun" to listen to them moan. 3. You enjoy collecting perverts. I'm almost too embarrassed to troll someone who seems unable to shoot anything but his own foot. *almost* :-)
ah, so that was trolling?
You keep taking the bait.
 i'm so sorry... i was thinking that you're
 just a lonely old man and have noone to talk with.
When you have self professed fantasies about collecting dirty old men you will probably start imagining them everywhere you go.
 or i just can't
 realise that shitting their own pants is what they call 
 "trolling" this
 times... o tempora, o mores...
"shitting their own pants" Your wit knows no bounds.
Jan 10 2015
parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Sun, 11 Jan 2015 01:45:25 +0000
dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Sunday, 11 January 2015 at 00:44:00 UTC, ketmar via=20
 Digitalmars-d wrote:
 On Sat, 10 Jan 2015 23:13:28 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Saturday, 10 January 2015 at 20:59:20 UTC, ketmar via=20
 Digitalmars-d wrote:
 On Sat, 10 Jan 2015 16:03:22 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com>=20
 wrote:
=20
 You are **proud** to draw the attention of nerdy middle=20
 aged men...
ah, sure. it's always funny to see some old jerk having=20 nothing more to do than running around whining how old is he. i'm enjoying=20 collecting perverts, you know.
=20 So lets get this straight... =20 1. I reply to you for maybe the third time and you think I am=20 your own personal fan club. 2. You are proud to draw the attention of old men because it's=20 "fun" to listen to them moan. 3. You enjoy collecting perverts. =20 I'm almost too embarrassed to troll someone who seems unable=20 to shoot anything but his own foot. =20 *almost* :-)
ah, so that was trolling?
=20 You keep taking the bait.
sure. just be sure to keep it fun enough for me, so i don't get bored.
 i'm so sorry... i was thinking that you're
 just a lonely old man and have noone to talk with.
When you have self professed fantasies about collecting dirty old=20 men you will probably start imagining them everywhere you go.
no need to imagine something that i clearly see with my eyes. yet my imagination adding some... juice to the scene.
 or i just can't
 realise that shitting their own pants is what they call=20
 "trolling" this
 times... o tempora, o mores...
=20 "shitting their own pants" =20 Your wit knows no bounds.
that's 'cause i'm endlessly smart.
Jan 10 2015
parent "dajones" <dajones sharklasers.com> writes:
On Sunday, 11 January 2015 at 02:32:00 UTC, ketmar via 
Digitalmars-d wrote:
 On Sun, 11 Jan 2015 01:45:25 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 
 *almost* :-)
ah, so that was trolling?
You keep taking the bait.
sure. just be sure to keep it fun enough for me, so i don't get bored.
You think it's fun to lose what little credibility you had.
 i'm so sorry... i was thinking that you're
 just a lonely old man and have noone to talk with.
When you have self professed fantasies about collecting dirty old men you will probably start imagining them everywhere you go.
no need to imagine something that i clearly see with my eyes. yet my imagination adding some... juice to the scene.
Ok you win, you're more perverted and sick than I am. Congrats.
 or i just can't
 realise that shitting their own pants is what they call 
 "trolling" this
 times... o tempora, o mores...
"shitting their own pants" Your wit knows no bounds.
that's 'cause i'm endlessly smart.
I agree, a true genius.
Jan 11 2015
prev sibling parent "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= writes:
On Saturday, 10 January 2015 at 15:44:32 UTC, ketmar via 
Digitalmars-d wrote:
 On Sat, 10 Jan 2015 15:17:17 +0000
 dajones via Digitalmars-d <digitalmars-d puremagic.com> wrote:
 Ketmar the teenage albino freak wasting time replying to time
 wasters.
i'm proud of having my own fanclub.
When I was young and being on a network meant a BBS, the usual reply was "RTFM". I guess the modern age version of "RTFM" is to dump a URL: http://dlang.org/cpp_interface Unforunately, dlang.org lacks a proper C++ binding tutorial, so I guess this "RTFM" might turn into a "WTF! WTFM!".
Jan 10 2015
prev sibling parent reply "Ras" <Ras gmail.com> writes:
On Thursday, 8 January 2015 at 18:03:48 UTC, ketmar via 
Digitalmars-d wrote:
 On Thu, 08 Jan 2015 17:31:49 +0000
 NVolcz via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 engines) and why do you want to write the engine in C++ and 
 the logic in D?
i bet he thinking that D is a fancy "scripting language with native performance".
No i dont. I want to use D language for as much as possible. The reason I want to use C++ for the engine is that it always has full support for DirectX.
Jan 08 2015
next sibling parent reply ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Fri, 09 Jan 2015 05:35:04 +0000
Ras via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Thursday, 8 January 2015 at 18:03:48 UTC, ketmar via=20
 Digitalmars-d wrote:
 On Thu, 08 Jan 2015 17:31:49 +0000
 NVolcz via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 engines) and why do you want to write the engine in C++ and=20
 the logic in D?
i bet he thinking that D is a fancy "scripting language with=20 native performance".
=20 No i dont. I want to use D language for as much as possible. The=20 reason I want to use C++ for the engine is that it always has=20 full support for DirectX.
so i was wrong here. i'm sorry. yet you'd better explain your reasons right in the question next time, so other people can jump right to the answering, without guessing first what you *really* want to do and *why*. as you talking about "full support for DirectX", i'm supposing that your engine will support 3D environments? so you'd better start with writing the engine itself, and don't think about D here. just don't use things like multiple inheritance or excessive templating. when you'll get a solid working engine, it will be time to discuss how to build D interop with it, exploiting your engine's architecture as much as possible. or just start writing the engine in D. maybe you'll consider using OpenGL instead of DirectX, as we not only have bindings for OpenGL, but OpenGL is much more portable. so eventually your engine may be ported to MacOS X, for example, without rewriting the whole rendering part.
Jan 08 2015
parent "Ras" <Ras gmail.com> writes:
On Friday, 9 January 2015 at 06:26:19 UTC, ketmar via 
Digitalmars-d wrote:
 On Fri, 09 Jan 2015 05:35:04 +0000
 Ras via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 On Thursday, 8 January 2015 at 18:03:48 UTC, ketmar via 
 Digitalmars-d wrote:
 On Thu, 08 Jan 2015 17:31:49 +0000
 NVolcz via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 engines) and why do you want to write the engine in C++ and 
 the logic in D?
i bet he thinking that D is a fancy "scripting language with native performance".
No i dont. I want to use D language for as much as possible. The reason I want to use C++ for the engine is that it always has full support for DirectX.
so i was wrong here. i'm sorry. yet you'd better explain your reasons right in the question next time, so other people can jump right to the answering, without guessing first what you *really* want to do and *why*. as you talking about "full support for DirectX", i'm supposing that your engine will support 3D environments? so you'd better start with writing the engine itself, and don't think about D here. just don't use things like multiple inheritance or excessive templating. when you'll get a solid working engine, it will be time to discuss how to build D interop with it, exploiting your engine's architecture as much as possible. or just start writing the engine in D. maybe you'll consider using OpenGL instead of DirectX, as we not only have bindings for OpenGL, but OpenGL is much more portable. so eventually your engine may be ported to MacOS X, for example, without rewriting the whole rendering part.
Well i had to know if it was possible.
Jan 09 2015
prev sibling parent reply Mike Parker <aldacron gmail.com> writes:
On 1/9/2015 2:35 PM, Ras wrote:

 No i dont. I want to use D language for as much as possible. The reason
 I want to use C++ for the engine is that it always has full support for
 DirectX.
D has built-in support for COM and can interop with DX just fine.
Jan 09 2015
parent reply "Ras" <Ras gmail.com> writes:
On Friday, 9 January 2015 at 13:22:14 UTC, Mike Parker wrote:
 On 1/9/2015 2:35 PM, Ras wrote:

 No i dont. I want to use D language for as much as possible. 
 The reason
 I want to use C++ for the engine is that it always has full 
 support for
 DirectX.
D has built-in support for COM and can interop with DX just fine.
So how can I get started with Directx programming in D? Could you give me a link to maybe a binding or some projects on github?
Jan 09 2015
parent Mike Parker <aldacron gmail.com> writes:
On 1/10/2015 12:28 AM, Ras wrote:
 On Friday, 9 January 2015 at 13:22:14 UTC, Mike Parker wrote:
 On 1/9/2015 2:35 PM, Ras wrote:

 No i dont. I want to use D language for as much as possible. The reason
 I want to use C++ for the engine is that it always has full support for
 DirectX.
D has built-in support for COM and can interop with DX just fine.
So how can I get started with Directx programming in D? Could you give me a link to maybe a binding or some projects on github?
You can find bindings for DX 9 & 10 as part of the Win32 API bindings at [1]. Some work was done on a DX 11 binding for the Aurora graphics project [2], but I don't know how complete it is. If you need DX 11, though, it should serve as a good starting point. [1] https://github.com/CS-svnmirror/dsource-bindings-win32/tree/master/directx [2] https://github.com/auroragraphics/directx
Jan 10 2015
prev sibling parent Manu via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 9 January 2015 at 02:53, Ras via Digitalmars-d
<digitalmars-d puremagic.com> wrote:
 Hello,

 I want to write the game engine in C++ and write all the game logic and ai
 etc in D. How would i do this?
I do this extensively. You can check out how I do D bindings for my engine: https://github.com/TurkeyMan/fuji/tree/master/dist/include/d2/fuji And also a project that uses it: https://github.com/FeedBackDevs/feedback You're welcome to use my engine if you like. It's pretty comprehensive, portable, and it's always nice to have other user feedback. I can also provide some level of engine support.
Jan 08 2015