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

#81
yes..it's happen to me too..but not only the search menu,it's happen when i log in to this forum site 2 days ago..but now it's back to normal and i can view,read & create a topic in the forum site.
#82
Beginners' Technical Questions / Re: Modulous
Thu 22/09/2011 18:51:16
Talking about Modules..i can't download a GK (Gabriel Knight) Modules that densming told on youtube channel using the link that he provide it,can anybody give me a new or mirror link?
#83
oh really?it's already been told in the AGS manual,huh?
or i miss something?which part?
#84
Yeah..thanks monkey's..now i understand this code more clearly although sometimes it is misleading/confusing to me..

I have been using the code you provided, and it works perfectly..

Code: ags

String text = "This is some text.";
int width = GetTextWidth(text, Game.NormalFont);
int height = GetTextHeight(text, Game.NormalFont, width);
int x = (System.ViewportWidth - width) / 2; 
int y = System.ViewportHeight - 5 - height; 
Overlay *textOverlay = Overlay.CreateTextual(x, y, width, Game.NormalFont, 15, text);
Wait(GetGameSpeed() * 3);
textOverlay.Remove();


But i facing some trouble when using & add a '[' symbol that LeKhris have been told me before to make a line break.But what the really i want,is to use the paragraph on the text display like this..

Code: ags

   This is the text

     Hello World

but not like this..

This is the text

Hello World


So i want the second text display at the center of second paragraph below the first text display and not the left side.
Nevertheless, i've force to add a 'space' on my text display plus using the '[' symbol.
but it is always difficult to using it or add it when placing on the center of X,Y position..

It's seems always move to left side of screen and the text sometimes becomes long length and sequence in a row..

sorry for making you feel confused by this problem, but I will posts the pictures & scripting codes later on my next posts.

p.s - Once again,sorry for my bad 'ENGLISH'

TY.
#85
Really? but i got an error when try to run my games that includes the .avi format,the screen becomes blank with black screen and then hangs up,why?

But i success when running .wmv file that i put on my games..currently i've a current K-Lite codec installed on my PC & Media Player Classic that can running DirectShow filters video/audio decoding,what's wrong?
#86
I've download a template from "http://americangirlscouts.org/agsresources/" and put the downloaded template that have .agt extension on AGS Editor Template folder,but when i open the AGS Editor and create a new game,i can't find the template that i put before,why?

I currently use a new version of AGS Editor v3.2.1..is it i cannot use the template because it's made from the old version of AGS Editor or what?is that AGS Editor v3.2.1 not support the template created by using the old version of AGS Editor?

But i didn't notice their tell that it's not support for AGS Editor v3.2.1,besides their tell it works for AGS Editor v2.72 and above..I've try to use the  Gabriel Knight Dialog.agt , GKT v0.4.agt , fight.agt ,  King's Quest 5.agt , Monkey Island 3.agt  with no lucks,why?Insteads,i can use the MegaVerb GUI.agt with success.

I really don't understand this..please help me..i'm the noobs one here.

p.s - once again,sorry for my bad English. :)
#87
So that's mean i can make a simple word games instead a complicated word games using AGS right??
Is it possible i can make a hidden object game style too?
#88
Yeah...i agree with you mate..AGS stand for adventure games right?but i'm sure the editor have a hidden tools to make it happen,although they need a dictionary to be included in the games too..

sorry for ask this,but i want to make a awesome games using AGS editor without having to use a different games engine..for me AGS Editor is a great great great games engine that I had never seen before..

p.s - sorry for my bad ENGLISH again.. :-)
#89
sorry for ask a noob question here..but i want to know if any way i can create a word games using ags editor like bookworms,scramble,word link or maybe wheel of fortune games?
#90
I've already know about using the different Say funtions in the manual,but actually what i means is the 'Overlay* textOverlay' functions that includes the 'showtextcenter' syntax.I want to change the text overlay display on other position (coordinates).Is it i just need to changes a ' X,Y ' positions for the top & bottom positions (coordinates) while a syntax still 'showtextcenter' names on it and just ignore the 'center' names of 'showtextcenter' syntax?

Overlay* textOverlay = Overlay.CreateTextual(50,80,+ y, Game.SpeechFont, 15,"This is a text overlay");
Wait(40);
textOverlay.Remove();

can i use the syntax like above to positoning (coordinating) my text display?
#91
I've follow the densming video ags tutorial,but i don't know how to make a string text other than center position,but i've done with the 'showtextcenter' function,but what about if i want the text display at the top or the bottom screen?plus i want to make a break line point of text or should i say paragraph (???...sorry if i'm wrong) for my long text.

Is it means i need a different string text or what??

p.s: sorry for my bad English.
#92


I finish re-edit the script that you told me like picture a attach above,but is it the same way with you said before?

Is that means if only when i have for example the "Key" (iKey) in my inventory items menu,i can interact & use the "Key" only insteads of interact & use the other items/objects for the same actions,means that only use spesific items/object for different case & create a different function for every items/objects in inventory items?

Besides,i've detect a different actions when added { and } that you told me before..that only the items (Key (iKey)) set in for example:


function cArjunaz_UseInv()
{
  if (cEgo.ActiveInventory == iKey) {
  player.Walk(116, 167);
  Wait(80);
  cEgo.Say("Here's the key");
  Wait(40);
  cArjunaz.SpeechColor = 10;
  cArjunaz.Say("What do you want to know, bro?");
  dKey.Start();
  }
}


..will be trigger without conflict with the other items/objects.

And one more thing that i don't understand (because in AGS tutorial & densming video on YouTube explain that) why i need to put { and } mark on different syntax/code in the same function together?is it works for the other codes plus i've no experience in c++/c/c# language) why i need to put { and } inside the code that already have { and } mark?What is it the function use for?Is it use for the Objects/Items only?

last thing..why only the Walk command will trigger/executed?Besides i already put the code in the same function?

sorry..guys..i ask a very noob Q in this,but i like it because it becomes challenging to me..besides i very very very like AGS Games..

p.s - Once again,sorry for my Bad English.
#93
yeah..i facing the same problem too..is this because a transparent outline or what?
#94
Firstly..
i've problem to make a character walk off the screen from top of the screen & bottom of screen when making an intro/cutscene room.But i can make a character walk off by using x,y coordinate from both of left edge & right edge but difficult to make it using x,y coordinate from top,bottom screen.

I mean i want to make a character walk off the screen from top screen to bottom screen until left screen & from bottom screen to top screen until left the top screen,or should i said i want to make character walk within or straight follow the vertical lines but not horizontal line.

secondly..
i want to put a character in the middle of the screen without moving or animate it.how can i make it happen without the character walk/move or animate?

i appreciate if you can help me settling this problem.

TY.

p.s - sorry for my poor English.

sorry..i actually weak on making a script,plus using the c++ coding..
#95
Oh..so very confusing here..actually i don't know where to put that script on (whether on Global Script,Dialog Script File or Room Script) because i've done many of the dialog script using the Dialog Script File & Room Script only.
But..anyway thanks bro..
i've done to making that scripts but on different way (look so confusing to myself :-P) without use the..

run-script ##
return   

or   

dialog_request()


I don't make any changed on my Global Script editor,instead i make an editing on my room script plus with added the new dialog in Dialog script file menu (not in Global Script editor).

As shown on the picture 1,i just create a new dialog with "dTKey" name on it and then put the option text "YES" and "NO" while in the dialog script file i've added..

@1
  QuitGame(0);
return

and

@2
stop




Then,on the picture 2,i added "dTKey.Start(); at the end of "function Beach2_UseInv()" on room1 in room script file,then when i try running the game with the key in my inv. and try to throw that into the beach (Hotspot),the dialog on "dTKey" running and gosh..the script actually running properly by itself.



However,i think i take a wrong way to doing it,because it's look very confusing to myself and i think i make a very "noob" style by making the script like that. :-P

Anyway..thanks for your help buddy..i appreciated with your help,your knowledge is very usefull for me..thanks :) :) :)

Finally,please forgive me for my bad ENGLISH,i still learn it :) :) :)
#96
sorry...i'm new here...

how you import the character in .png format?because u need .chr & .cha format to make a character to be import?how to change it to .chr & .cha format?
#97
1st sorry for my bad 'English'..

I've multiple of question here,i been search using search forum menu but somehow it's appear 'database error' warning,meanwhile i search using the web (google & yahoo site) but still not find the answer..

1st - I want to know how to make character move/walk over or pass the screen when he walk of the end of cutscene & when need to change new room..(sorry, i  still rookie on scripting/c++ coding..)

2nd  - I want to make a dialog that includes the Dialog (for example - "Are you sure want to throw that key") and the Option 1 ("YES") and Option 2 ("NO") and when the player click "YES" the game will ended (using QuitGame(); code) well the "NO" Option do nothing (return character to the game) but i don't know to put that code because many times i put & insert the code in Dialog script,it's always appear error syntax,why?besides i don't know how to put/include that code using global script editor..please help me...i'm new here..

3rd - I want to know how to use the image insteads of text,when make a cutscene/intro,it is support for animate image?and is that anyway i can use the video/clip on cutscenes/intros?

TY.
SMF spam blocked by CleanTalk