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

Messages - Proskrito

#21
and it can be even easier: just
QuoteCreate a GUI, make it transparent and put a text label on it. Set it to mode 'NORMAL' and not clickable.
and then set the label text to @OVERHOTSPOT@ , and you are done : )
#22
that function will tell you if you are using a translation file or not, but if several translations are available you'll have to use GetTranslationName to find which one is currently being used
#23
try putting the last 2 commands in the 'player enters screen after fadein' in room 1. I think that they are not being run because you change to another room before.
#24
thats the way to store the characters name so you can use it whenever you want.
#25
this might be the same problem as the one in this thread:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=16356.0
#26
If you want some advice about tablets, here is mine:

do NOT smoke drugs near your tablet

as you can see, drugs are bad.
#27
I second Gilbots suggestion aswell, and extend it to gui buttons also. It would be great to have gui[n].button[n] or something similar.

Also, not sure if its related to this beta or even if its my fault, but i have 4 guis i want to resize at the same time. 3 of them i have no problem with, but there is one that does not resize properly, unless i write the resizing function twice.
this does not work:
gFri.SetSize(HRES - xright,FHEIGHT);
but this works:
gFri.SetSize(HRES - xright,FHEIGHT);
gFri.SetSize(HRES - xright,FHEIGHT);
seemed strange to me, so i thought i'd say it just in case.
thanks for all the hard work chris : )
#28
In the manual it says that FaceCharacter is non-blocking, but it seems to be blocking, it pauses the game as it had a Wait(1), and the compiler doesnt allow you to write it in the rep_ex_always.
Is this the way its supposed to be?
If so, the manual could be updated to clarify this.
I, for one, would find a nonblocking FaceCharacter function useful, but since it can be done with a custom function, no problem : )
#29
The thing is that people rarely reach the limits, and, if you really need to surpass the limits and 'prove' it, CJ is kind enough to raise the limit for you : )
#30
mm in that case you could also put two buttons together, like:
b.1  b.2
 _________________
|text|            |
|____|____________|

and, in interface_click, instead i.e
if (button==1)
you would write
if (button==1 || button==2)

EDIT: Or maybe better:  you could make a transparent button over the label, that way you can change the label text, color... and keep registering clicks with the button.
I think its quicker and cleaner that manually check for clicks in the label.
#31
why not use buttons?
#32
General Discussion / Re: microphone help?
Sun 12/12/2004 14:26:02
Quote from: netmonkey on Sun 12/12/2004 04:44:46
Quote from: Ishmael on Sat 11/12/2004 18:54:46
You have your mic plugged into the line in plug there it seems ¬_¬

Yeah, that's probably it :P
then, its better to plug the mic in the mic in, because mics dont provide line  -level signal i think
#33
General Discussion / Re: Omg my pen!
Thu 09/12/2004 21:36:03
To discard the pen as the problem, try using the mouse. If it trembles (¿?) aswell, before trashing it or getting a new one, try it on another computer.
I discovered my problem had to do with the monitor this way: i drew slowly a line with the monitor on. It was NOT a line as you can see ; ). Then, i switched off the monitor and drew (blindly : P) another one, and it was fine. Maybe the cause of your problem could be another thing, so try switching off or unplugging things that could be making interferences with the tablet. I hope you can solve this : )
#34
General Discussion / Re: Omg my pen!
Wed 08/12/2004 20:32:53
heh, the same thing happened to me. I was so afraid it was broken, but it seemed that my monitor (i believe) was causing interferences (sp?) with it. I just moved it further from the monitor and it worked fine again. Once i got it working properly, i placed the tablet back where it was and it kept working ok (dont ask me why), and thats never happened again. : )
#35
Quote from: Radiant on Wed 08/12/2004 19:56:51
You could use a truetype font.
but thats only in translations. If you are making your game in english and spanish, you could make it in english, and later translate it to spanish using a ttf font. that way you'll be able to use any spanish characters.
If thats not the case, then you'll have to use special characters like #, im afraid : /
#36
i dont think you can change this behaviour, thats how it is.
If the problem is that when importing multiple sprites, you cant see the edges well, you can organize the sprites as ashen did (and you said you do), or import them one by one. That way you wont need to see the edges.
#37
well, not sure it this is gonna be a little bit off-topic (sorry if this is the case), but has anyone tried KX driver with live / audigy sound cards? i think its a huge improvement from creative's drivers. At least for poor ultra-amateur musicians like me, with a sb live value, i get asio support, 5 ms latency, a fully configurable dsp, and the ability to route sound paths as i want.
here is the url: www.kxproject.com
This saved me from having to buy a sound card for crappy home recording and such.
#38
1- what's the difference between DOTT, FOA and MI2 lucasarts games?
i tried to copy these games.
just in case, remember that a template is not a gui.
2- without bugs? i dont think so. But if you find a bug, post it here and i'll try to correct it.
#39
well, its your game after all, but 'character' is an array, not a string, and its called with an index (like character[INDEX].room). I know nothing about scripting but seems like a wrong thing to do.
You call SetCharacterView once, and it changes the views of many characters? seems so strange. And StringToInt is for translating a string of numbers into a int, so all that does not make any sense.
i think something that would do the same that you want would be:

int i=0;
while (i < MAX_CHARS){
SetCharacterView(i,4);
i++;
}
and it would change the views for every character from #1 to #MAX_CHARS (change it to the last character # whose view must be changed)

but, well, its your game after all, and you always can do whatever you want.
#40
im happy the templates helped you : )
If you dont like the small scale method, then the only way to do it is what scummbuddy said, im afraid.
That thing you did doesnt seem to make much sense, and it could lead to problems. StringToInt needs a string as parameter, and 'character' is one of the most used ags arrays, so if you declared a string called 'character', you could have problems later with that array, and if you didnt, you are passing an array to that function, not a string (i hope i made sense). So i think you'd rather remove that thing and follow scummbuddy advice. (who, btw, im sure wrote setcharview to abbreviate).
If you have to change several views in different places, you could make a custom function to avoid repeating code and wasting time.
SMF spam blocked by CleanTalk