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 - kantor_98

#1
I still work on my "Wheel of fortune" game and I am in the following situation: I activate a GUI with consonants. Each consonant is a button. But I want that the consonants that was already used to be not active. So I will use something like a a string in which I store the fact that a latter was used or not and based on that, I will enable or not the button.
Example:
in the string consoane_folosite I store the following information: position B is corresponding to B, position 1 to C, etc. If B was used, then consoane_folosite[0] became a '*', so that in the gui I will use the sequence:

if (consoane_folosite.Chars[0]=='*') {
btn_B.Enabled = false; }

Until now I was able to use successfully the sequence in the script allocatted to the button. But that means that I HAVE TO PRESS FIRST the button, and after that it became "disabled".
I wish to run the sequence automatically, when GUI is activated, so that the corresponding buttons are already deactivated, if the case. In my example, if B was used already, I want the button B  (btn_B) to be disabled before clicking on it.

How can I run my sequence automatically when activating the GUI ?

Thank you !
#2
I need to use some more "deep" function concerning the string isues (my child like a lot the wheel of fortune game, so I try to make one).
1. I want to have the possibility to search a  consonant  inside a string called SENTENCE. For that, I have imagined that I can use the function "substring"
if (list.Substring (i, 1) == "S")
than do somenthing or something, inside a cycle (while i< 10.....i++).
But I obtain error, when I try to use that "indexed" use of i.
How can I solve this, inside a cycle ? I can do it the hard way, an "if" for each letter in the sentence, but I imagine there can be something less brutal
2. More, I like to have the letter to be searched stored in a string variable, like TO_BE_SEARCHED. Is that possible ?

If I can solve this 2 issues in some "indexed call" mode, the things will me more easy later.
Thank you !  

PS I am using the last version of AGS
#3
I search in the game section but i did not found a scooby doo game. is there anybody from here created something laike this ?
#4
Something very strange. For drawing pictures I am using gimp (linux / win). I have a common picture (xcf is the standard for gimp). Then i save it as bmp. then I open again the first picture and modify it, and save it as anither bmp. I have 2 files that shoul be practically identical from technical point of view. But when I want to use them a s backgroud for a room and for another supplementary image for animating backgrounds, i receive a message telling me that the background is 16 bit colour and the animating background frame opicture has only 8 bit !!!! How is possible that ???? Practically, the images are the same !!!!!!

Thank you
#5
I like to play a sound (mp3 or midi) while the main character is moving/walking.
I try to use in the repeatdeley execute rutine the code

if (cEgo.Moving) { 
PlayMP3File ("sound7.mp3");
}   

where sound 7 is the sound. But it start to play without stopping.
I a using an ancient AGS (2.71).

Help please !

Thank you.
#6
Do you know, has anybody make an adventure game based on lazy Town  series ?
#7
General Discussion / JPG-GIF converter
Thu 08/03/2007 18:14:03
I need a freeware (or shareware, but not limited in time, only in functions) program that can ensure me the conversion of JPG in GIF files. I try to use programs as abc, graphic-converter or imgconvert, but they make me from 200 k file jpg a 2 Mb file gif. The artgem program is limited for 30 days. Please help me !
Thank you all !
#8
It is legall to use music as:
1.Clasic musicians (Bach, Beethoven, etc ) ?
2. Actual bands (Nightwish, Beatles, Queen, etc )?
What if I convert their songs in midi format ?
#9
what must i do for running my game under linux ?
I try to find in forum but it was not very clear to me... consider this a beginner question please.
#10
I try to enter at "http://americangirlscouts.org/agsuploads/index.php" using-as is indictaed - the username and password from bigbluecup, but I am asked again and again for the usernaem and password. HELP !
#11
General Discussion / Profile picture
Mon 13/11/2006 10:06:53
How can I add a oicture (animated gif, for ex) to my Profile ?
#12
General Discussion / Legal stuff
Mon 13/11/2006 09:36:45
If somebody post here a game, for example, or a demo. Is there a protection considering the author copywrights ? How can he /she be sure that somebody else will not use his characters name or story or something else ?

PS : I make a mistake and I post is also in the beginners forum. Sorry for the mistake !
#13
Beginners' Technical Questions / Legal stuff
Mon 13/11/2006 09:21:19
If somebody post here a game, for example, or a demo. Is there a protection considering the author copywrights ? How can he /she be sure that somebody else will not use his characters name or story or something else ?
#14
Is there possible to display the dialogs (what the characters say) in a gui instead of the background screen ? Ot to display the dialog on a predefined "paper" color, not only with outlining ?
Thank you.
#15
Beginners' Technical Questions / Speech style
Mon 13/11/2006 08:52:20
I try to change the speech style from the general settings of the game, but nothing happend. Any sugestions ?
#16
I want that when I look (use look icon) on an inventory item, something to happen - a message displayed, a GUI activation, etc. To be honnest, I did not find something like this in the help file. I try also to use the "interact" option on on the inventory  item, I put there "run script", in the script I put display message, and after that activate GUI, but none of them work.
What should I do ?
#17
I think you already hit the next problem: I realise a dialod using the AGS. Of course, the last option is GOOD BYE. But after some time, I want to add some other oprions to the dialog. In this case, GOOD BYE will not be the last one ! If I delete or put something else there, then it seems that I must be very careful and change the whole script for the dialod, or even the general scrpt (if I have used some commands like "set dialog option"
Reading the help, I find only 2 solutions to that:
a) Use as first dialog oprion the good bye and set the "dialog option go upward on GUI". For me it is a little too late for that, I have a lot of dialogs. More, if I use this, some LATE options of dialog will appear in frot of the EARLY dialog options, so...I don't really like it.
b)Use a temporary godd bye option, and in the final, when I finish the dialog option for sure, I will add another good bye option and disable the first one.

Does anybody know a better solution for changing the order of dialod options ? Such an automatic change must also change the scripts automativcally, so I assume it is not possible....
Thank You
#18
1.Do anybody knows if there is possible to have user-defined general variables ?
2. if I use a local variable, where must I define her ? In HELPO I see that it is to be defined in a specific room. But then it comes the next problem - see question 3.
3. Local variable: if I give a value to the local variable in the game and I get out of the room, when I return to the room, will I find the value that I expect to my variable or must I use a Global Variable ? I mean, I I have define a variable in the strat of the room, when I re-enter the room the variable will be reset. Or not ? What if I initialise the varible  (int my_counter = 4).
4. The SAVE command save also the values for local variables ?
Thank you all
#19
In may game I use a coupleof global int's for marking different status of the objects: opne/closed, used/notused, and so on.
1. Is there a way to minimize the number of this variables ? can be used something different ?
2. I already use 40 globalint and there will be more. Is ther a limitation or bad impact on the program if there are so many GI used ?
Thank you.
#20
General Discussion / xml editors
Thu 19/10/2006 10:20:50
Can anybody indicate me a good xml editor ? I want it to use it for the xml files of the walk cycle generator that I have downloaded from this site...
SMF spam blocked by CleanTalk