Jump to page: 1 25  
Page
Thread overview
Game development
Jan 08, 2015
Ras
Jan 08, 2015
ketmar
Jan 08, 2015
Kiith-Sa
Jan 08, 2015
NVolcz
Jan 08, 2015
ketmar
Jan 08, 2015
Phil
Jan 08, 2015
H. S. Teoh
Jan 08, 2015
ketmar
Jan 08, 2015
Tobias Pankrath
Jan 08, 2015
ketmar
Jan 08, 2015
market
Jan 08, 2015
ketmar
Jan 08, 2015
ketmar
Jan 08, 2015
Justin Whear
Jan 08, 2015
ixid
Jan 09, 2015
ketmar
Jan 09, 2015
ketmar
Jan 09, 2015
marwy
Jan 10, 2015
dajones
Jan 10, 2015
ketmar
Jan 10, 2015
dajones
Jan 10, 2015
ketmar
Jan 10, 2015
dajones
Jan 11, 2015
ketmar
Jan 11, 2015
dajones
Jan 11, 2015
ketmar
Jan 11, 2015
dajones
Jan 09, 2015
Ras
Jan 09, 2015
ketmar
Jan 09, 2015
Ras
Jan 09, 2015
Mike Parker
Jan 09, 2015
Ras
Jan 10, 2015
Mike Parker
Jan 09, 2015
Manu
January 08, 2015
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?
January 08, 2015
On Thu, 08 Jan 2015 16:53:45 +0000
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?
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.


January 08, 2015
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.
January 08, 2015
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
January 08, 2015
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".


January 08, 2015
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".

January 08, 2015
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?
January 08, 2015
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 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...


January 08, 2015
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?
January 08, 2015
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.
« First   ‹ Prev
1 2 3 4 5