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

#61
I want to animate the backgrounds not an image, but only for one cycle.
#62
I have four background images that I would like to animate just once.  It does it repeatedly.  How can I do this?
#63
Going forward, should I put the setting back to what it was or leave it as OpenGL.  I am thinking of when the game is complete and put on Steam, I would prefer the best possible performance and less people having to fiddle with settings.
#64
This time when I looked in the compiled folder the game file was not there.  So I redid the Build EXE and it created a new one.  Now the music works.  ???  So a little confused about that but I am happy it is working now.
Did you see my post above about the frozen mouse?
#65
For the Audio:
The command is "Build -> Build EXE", and there's also "Build -> rebuild all files". (saw these and did that)
Is your audio configured to be packaged inside "In Main Game Data" or "In Audio VOX"? This may be found when you select audio folders. (I can't find the setting for this)
Do you have audio.vox present in the Compiled/Windows ? (Yes, audio.vox and speech.vox)
#66
Hi, I added the change right before the repeatedly_execute and now the mouse for the female player is not working at all but using the default cursor.
Did I do this correctly?

Code: ags
 SetGlobalInt(360,0);
  SetGlobalInt(370,0);
  SetGlobalInt(380,0);
  SetGlobalInt(390,0);
  SetGlobalInt(400,0);
  SetGlobalInt(410,0);
}
#sectionend game_start  // DO NOT EDIT OR REMOVE THIS LINE

bool wasOverActiveArea;
void HandleCursor() {
  if (Mouse.Mode == eModeUseinv) return; // do nothing
  bool isOverActiveArea = GetLocationType(mouse.x, mouse.y) != eLocationNothing; // compare to enum!
  if (isOverActiveArea && !wasOverActiveArea) {
    // mouse just moved over active area
    Mouse.UseModeGraphic(eModePointer); // pointer for both
  }
  else if (!isOverActiveArea && wasOverActiveArea) {
    // mouse just left active area
    if (player == cWoman) Mouse.UseModeGraphic(eModeDapHandU);
    else Mouse.UseDefaultGraphic();
} }

#sectionstart repeatedly_execute  // DO NOT EDIT OR REMOVE THIS LINE
function repeatedly_execute() {
  // put anything you want to happen every game cycle here
  //if (GetLocationType(mouse.x,mouse.y) > 0) {
//     Mouse.UseModeGraphic(eModePointer); }
  //   if(Mouse.Mode!=eModeUseinv) mouse.UseModeGraphic(eModePointer);}
  //else  if (player == cWoman) {   
 //       mouse.UseModeGraphic(eModeDapHandU); }
  //else  if (player == cMan) {   
   //     Mouse.UseDefaultGraphic(); }
   
   HandleCursor();
     
  if (player == cWoman) {
     StrFormat(herscore,"  Puzzles:  %d",GetGlobalInt(10));   
     ScoreHer.SetText(herscore);
     ScoreHer.TextColor = cWoman.SpeechColor; }
   
  if (player == cMan) { 
     StrFormat(hisscore,"  Puzzles:  %d",GetGlobalInt(20));   
     ScoreHim.SetText(hisscore);
     ScoreHim.TextColor = cMan.SpeechColor; } 
#67
Some interesting observations.  If I change my large monitor in be the "main display" the issue does not happen.
I had originally changed to OpenGL in the winsetup.  Tonight I changed it in the editor's "default setup" pane.  Issue happened in both places.
I found it happens in the room where there is animation going on. It's the mouse that freezes. I was able to capture it for you in video. You can see the mouse in the middle of the screen shaking. It is froze.

https://youtu.be/xjffgv36iuM



I'll look at the audio stuff tomorrow.


#68
When I make the change it only affects the mouse on an interact area, not the default mouse. I would want it to change for both.  The eModeDapHandU is a mouse cursor I set up.

Here was the code in the global script:
Code: ags
function repeatedly_execute() {
  // put anything you want to happen every game cycle here
  if (GetLocationType(mouse.x,mouse.y) > 0) {
//    Mouse.UseModeGraphic(eModePointer); }
    if(Mouse.Mode!=eModeUseinv) mouse.UseModeGraphic(eModePointer);}
  else {
    Mouse.UseDefaultGraphic(); }

Here is what I changed it to:
Code: ags
function repeatedly_execute() {
  // put anything you want to happen every game cycle here
  if (GetLocationType(mouse.x,mouse.y) > 0) {
//    Mouse.UseModeGraphic(eModePointer); }
    if(Mouse.Mode!=eModeUseinv) mouse.UseModeGraphic(eModePointer);}
  else  if (player == cWoman) {  
        mouse.UseModeGraphic(eModeDapHandU); }
  else  if (player == cMan) {  
        Mouse.UseDefaultGraphic(); } 
#69
I have two characters. Right now, the mouse graphics default is the same for both.  Is there a better way to change the mouse graphics for the 2nd character without putting this in every room?
Code: ags
if (player == cWoman) {
         mouse.UseModeGraphic(eModeDapHandU); }
#70
That is exactly the problem. When I move it over to my large screen in window mode, all is ok. I change to fullscreen, all is ok. When I go back to windowed mode on my large screen, that's where I experience the mouse freeze.  I changed the setting to OpenGL but the problem still existed. "Fullscreen as borderless window" was already the default.

I also noticed that when I run the game through the AGS Editor I have sound/music but if I select the game exe I have no sound or music. Is there something I need to do.  I remember a "compile" function in the older versions which I don't see anymore.
#71
The Alt + Enter definitely works, but when I moved my game over to a very large screen, about 27 inches in length, it hosed up the game.  I couldn't move the cursor.  I had to kill it with task manager.  Is there something in the settings that needs adjusted?
#72
This is even better yet.  Thank you!!!
#73
Wow, nice, thank you.
#74
What I was looking for was an option to play in window mode through a settings panel. Since it's an older game with older graphics, playing in a windowed mode may be beneficial to some.
#75
If I set up a "settings" gui and add a button for setup, how can I link in the winsetup file to get accessed?
#76
Hi guys, thanks for the responses.  I'll have to come back to this at a later date.  I had a bunch of work that came in that I need to work on. :)
#77
Has anyone coded a Crossword Puzzle in their game? The player would be inputing letters on a crossword puzzle grid.
#78
Thanks, that worked.
#79
I figured out how to slow the scrolling.  I would like to have it start scrolling as soon as I enter the room as opposed to the space bar.  What would I need to change for this?
#80
The Credits Module is running great.  Thank you. Can you tell where I can slow it down some?
SMF spam blocked by CleanTalk