Page 1 of 1

Tutorial on how to remake the 1st-Person-View

Posted: Fri Sep 14, 2018 6:03 pm
by Hrothgaar
Hi all!

I am pretty sure I found a tutorial about how to code or set-up the 1st-Person-View and step-by-step movement of DM somewhere around these forums in the past.
Recently I was looking for it again but I can't seem to find it anymore, could anyone possibly point me in the right direction towards an explanation on how this is done? Hopefully someone remembers something like this.

Hroth

Re: Tutorial on how to remake the 1st-Person-View

Posted: Tue Sep 18, 2018 10:33 pm
by Sphenx
I have not found something like this through the forum -- I may have missed it -- but I'm not sure either about what you're wanting ?
Do you mean some customization over DM (CSBWin - RTC - DSB) engine or how to program a DM-clone ?

Re: Tutorial on how to remake the 1st-Person-View

Posted: Tue Sep 18, 2018 11:12 pm
by Hrothgaar
Yes I was looking for information on how to do such a clone in general but this knowledge is really scarce around the internet.

Re: Tutorial on how to remake the 1st-Person-View

Posted: Wed Sep 19, 2018 12:38 am
by Sophia
Both CSBwin and DSB have their full source code available. :mrgreen:

Re: Tutorial on how to remake the 1st-Person-View

Posted: Wed Sep 19, 2018 10:08 pm
by Sphenx
And you also have ReDMCSB and SKWin -- but that's not the for the same tutorial : "how to start a headache" :wink:

After a quick search I did not found something enough complete yet out there.

But I can point the Scratch project that was posted here:
https://scratch.mit.edu/projects/103134557/#player

I checked DMJava but I don't find source code; I don't remember if any version had the source provided along ?

You have this little tutorial for a 3D basic crawler (though it also have basic defaults of FOV) -- a 3D renderer within a simple maze
https://learn.heartbeast.co/blog/278464 ... on-crawler

If you want to start with something, I would say the first thing to achieve should be rendering an empty maze with basic controls to move around.
Then after, you'll need to add the core game engine itself (probably realtime) which would handle
- user interaction through interface (controls, input, feedback)
- managing a party -- several champions, stats, inventory
- having creatures / monsters move around and think about their actions
- the rules defining interaction between objects and environment -- including mechanisms (triggers, "actuators"), combat/damage dealing, teleporters, doors, etc ...
- defining a format for the "dungeon" and its contents
- probably writing an editor for building such dungeons
- module to read dungeons into the game engine

Well, there is plenty of stuff to do :)