Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - bbalint85

#1
Hi! I'm familiar with AGS, but I just started working with dialogs, so I have a question, hope you can help:
I want to do a branching, for example:
What do you want?
    -apple
    -orange
    -pear
How much do you want?
    -one
    -two
    -three
Thank you, your stuff will be ready, etc.

I can play with the options to always show, what I want, my problem is getting to the same line after choosing different options (The "How much do you want?" line) I need some kind of goto function, but goto-dialog jumps to another dialog, I just want another option. So no matter what fruit the player chooses, the next line should be printed, the code should get there.. Any suggestions? I'm hoping this is a trivial question...:=
Thanks!
#2
A hungarian game, which we have been developing for a few years now, and we've just finished the demo (english translation included).

The game takes place in the 19th century somewhere in Europe. The main character, Thorndike is a young inventor, who wants to build a steam-powered plane to defeat gravity. He must find the necessary parts and gain the respect he deserves from the city. This is the story in a nutshell, check out the screenshots and the demo!







Demo:
www.repulazido.hu

- story 80%
- graphics 50%
- puzzles 70%
- scripting 60%
- music/sound 30%  - composer found!
Enjoy!

Bálint Bartók
Kristóf Huber



#3
Hi!
I'm scripting a custom dialog, the options are icons, and the goal is a dynamic scroll system. I mean, If you're on the left the first three options are visible, but as you move with the mouse to the right it scrolls the icons, and by the time you're at the rightmost the last three icons are there.

I'm done with the scrolling, it's smooth and looks nice, but I have some trouble, so I'm asking for suggestions.

-I used a tricky method to refresh the dialog ( mentioned in http://www.adventuregamestudio.co.uk/yabb/index.php?topic=39596.0 ), so I change the activeoptionID property between 0 and 1, and using another variable for storing the actual option selected. This way on every mouse movement the dialog gets refreshed.
The problem is, that AGS uses ActiveOptionID after a mouseclick, but I want to use there my own variable, which has the real value of the selected option.

There's no appropriate click handling either ( http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36058.0 ) so I'm a little lost here. Any suggestions for an alternative method for refreshing the dialog surface or mouse click handling or something completely different?



SMF spam blocked by CleanTalk