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

#1
If Ags were able to manage a direct connection with the webcam?


thanks
#2
I forgot to add in Script Header
import function on_mouse_click (MouseButton button);

I apologize...
#3
I have not on_mouse_click() function in room's script
#4
Hi,
I have one click automatic
room_a function () (
   / / Script for Room: Repeatedly execute



timer + +;
   if (timer> GetGameSpeed () * 5) (/ / 5 seconds
     timer = 0;
   on_mouse_click (eMouseLeft);
)

gives me the following error:
undefined token "on_mouse_click"
how I can solve?
thanks
#5
In fact my problem is to go to the second line, if it was possible, or if there is another function in Ags to have more lines to write?
the function of saving in .txt file I have to operate it with
if (IsKeyPressed (372) == 1)

I have to add as part of this code:
function TextBox_OnActivate() {
String contents=TextBox.Text;
TextBox.Text="";//clears the text box
File *output = File.Open("file.txt", eFileWrite);
output.WriteString(contents);
output.Close();
}

where else?
I use Ags 2.72

many thanks
Gius
#6
Beginners' Technical Questions / Gui Text Box
Sun 05/07/2009 20:05:12
Hi,
I have added Gui Text Box,
I can give "sending" and "carriage return" while I am writing?
I can save the contents Gui Text Box in  .txt file?



thanks
Gius
#7
Beginners' Technical Questions / Re: random
Fri 19/06/2009 16:36:56
Thanks Gilbet V7000a, it works!
#8
Beginners' Technical Questions / random
Fri 19/06/2009 16:16:51
Hello everyone,
I use 2.72 Ags.
In my game I have 10 executable files (1.exe, 2.exe, 3.exe, etc.)
From file a.exe I wish to make a random one the 10 executable files,
then
RunAGSGame ( Random.......... , 0, 51);
but I do not know how to activate the function Random.

thanks for your help
#9
thanks KhrisMUC
#10
hello Chris,
the file .exe AGS  not work with the click of the mouse with HeadMouse,
I wanted to create a click the left mouse button automatically
every 5 seconds, I use AGS 2.72.

thanks
#11
hi to everybody, 
I desire to have in my game 
a mouse that click with the left key every 5 seconds,
 
I use ags 2.72 and me I have begun this way: 

/ / room script file 
  int OverF; 
  int OverQ; 
  int LioScore;   
  int HioScore; 
  string FScore; 
  string QScore; 
 
function LioGoal () { 
QioScore++;   
StrFormat (QScore, "cycle% d",QioScore);   
SetTextOverlay(OverQ,100,61,300,0,0,QScore);   

function HioGoal () { 
FioScore++;   
StrFormat (FScore, "second:% d",FioScore);   
SetTextOverlay(OverF,100,21,300,0,0,FScore);   


/ / script for Room: Player enters room (after fadein) 
HideMouseCursor (); 
 
FioScore=0; 
QioScore=5;   
OverQ=CreateTextOverlay(100,21,300,0,0, "");   
OverF=CreateTextOverlay(100,21,300,0,0, "seconds: 0"); 


  / / script for Room: Repeatedly execute 
ShowMouseCursor (); 
LioGoal (); 
 
if (QioScore==39){QioScore=0;HioGoal ();} 
if (FioScore==5){FioScore=0;......................................????????} 

 
I don't know whether to end. 
Can you help me kindly? 
thanks
#12
unfortunately FreeTrack works only with: 
"This point model usually consists of infrared LEDs but can also be normal LEDs and even retroreflective material illuminated by a source of infrared light" 
 
thanks equally.

even if Ags totally is not compatible with Head Mouse 1.5 
(the click of the mouse doesn't work) 
 
I think that I should make an attempt to build an elementary "Paint" AGS 
for the pupils that use a Head Mouse. 
The first problem:   
to pass from the cursor that it doesn't draw to the cursor that draws, therefore: 
if the cursor interact remains for five seconds in the same points (x,y) 
turn him into cursor pointer; 
if the cursor pointer remains for five seconds in the same points (x,y) 
turn him into cursor interact. 
 
Can you help me kindly how I can resolve this problem? 
Thanks 
Gius
#13
hi, 
I have tried with cameramouse (http://www.cameramouse.org/
in this case the movement of the muose doesn't work
while function the click of the mouse. 

Do you know a " head  mause" compatible with AGS? 
 
thanks
#14
Hi, 
I have tried: it works very well on the desktop, it stirs the mouse and it works the click 
for folder, file .exe etc...
but if I try with a game built with Ags the clik it doesn't work
but continuous to work only the movement of the mouse. 
 
which be could the solution ? 
 
Thanks
#15
Advanced Technical Forum / Ags for HeadMouse
Wed 19/11/2008 15:25:26
Hi to everybody, 
I have tried to create a small didactic software 
to use with HeadMouse 1.5   
(http://nipg.inf.elte.hu/headmouse/headmouse.html)   
but I have seen 
what it stirs the cursor but the click of the mouse doesn't work. 
 
can you help me kindly? 
Thanks

Gius
#16
Hello everyone,

how can I use AreThingsOverlapping
between a character and the "camera"?


Thank you
Gius
#17
hi,   
I have added a cube with   
  int i = Ags3d.AddCube(0.0, 0.0, -5.0);       
  Ags3d.SetPrimScale(i, 1500.0, 1500.0, 0.0);     
  Ags3d.SetPrimColour(i, 0, 255, 0);               
  Ags3d.SetPrimFilter(i, Ags3d_Filter_All);     
   
is possible clicking this cube with the mouse
as interact object?   
thanks
Gius
#18
hi,
may be: function SetFirstPersonCollisionBox (floatHeight float, float radius, float height);?

is also used to interact with click the mouse?

thank you
#19
Hi, 
in my game I want with the mouse click interact on some objects or character,
but I have this problem with Ags 3d: for interact with click the mouse an object I have to be very near and with a particular angling
and it works only in the center of the figure. 
It's  possible interact with click the mouse an object to so much distance and in an any point of the figure? 
 
thanks
#20
Hi to everybody, 
 
It is possible (in Easy3D with AGS 2.72) to move the player with the directional keys 
or using KeyboardMovement (by Rui "Brisby" Pires & strazer)?

thanks
SMF spam blocked by CleanTalk