Point and click adventure

BlitzMax Forums/BlitzMax Programming/Point and click adventure

Pete Carter(Posted 2010) [#1]
Ive been working on a point and click adventure framework. Ive got quite a long way and have everything work well apart from a dialog system, Im not sure where to start? Its all oo.

At the moment the interface is a lot like Beneath a steel sky, I want a way of writing the dialog into an editor or notepad and the game can load the lines in and know what options and responces are avalible after each question etc.

I dont want anyone to do any code for me, but if anyone has a idea on how to do this please help me out with some pseudo code or pointers.

Thanks Pete


xlsior(Posted 2010) [#2]
the most commonly used free engine to create point-and-click adventures is AGS -- http://www.adventuregamestudio.co.uk/

You may want to take a look at that and see how they implement dialogs?


Kryzon(Posted 2010) [#3]
Not only dialogs, but the whole way AGS develops games would be a great reference.


Pete Carter(Posted 2010) [#4]
I can learn a lot from AGS although im not sure how to go about constructing the code, I may make the method for talk to a in the base class? i don't know, I guess the only way is to do it and see if it works or needs changing.


Jesse(Posted 2010) [#5]
I don't know if this would be any help to you but you might want to check this out:
http://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fblitzetc.blitzmax.ru%2Findex.php%2F%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0&sl=ru&tl=en

ignore if I miss-understood the question.


Kryzon(Posted 2010) [#6]
Well, you could have an Interface object that has all the methods related to buttons, icons, windows, gadgets and dialog boxes.

It's really a matter of keeping things as clear and organised as possible, so as to make the addition of new content to your game a very easy step.


Pete Carter(Posted 2010) [#7]
Jesse: not sure what you think I should look at theres a lot of stuff on that page, is a useful site thought thanks.

kryzon: Yeah its with UDT to have the dialog system? I think i will prob put it with the gui code, seams like the best way to keep it clean oo.

Thanks guys


Jesse(Posted 2010) [#8]
sorry Pete. I guess it doesn't allow for direct link
it's under Magazine -> Articles -> "Scripts - Matvey Merkulov"


Pete Carter(Posted 2010) [#9]
ahh Thanks for that Jesse! I will give it a read very interesting.