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

#1
thanks if I use
DynamicSprite *Sprite;
function .....
it works.
I yused the system that the game is saved with the same slot as in the listbox and order the listbox on startup, so it is not a bug. and the RawDrawImage(0,0,Sprite.Graphic) was to debug
But i wonder about the bug, because the saveloadgui works a long time and i didn't modify anything I coud remember
#2
I include a year ago a function(like in the manual) with load the screenshot from a save game and bring it on a button on my save/load gui. I didn`t change the code but now I see that it didn`t work anymore. I can change the button.normalimage only whis a sprite from the manager and not whis the dynamic sprite from the savegame. if i try it, the button vanished. but the sprite from the game is loaded, because i can bring it on the screen whis RawDrawImage(0,0,Sprite.Graphic)
what is the problem ????
please help me, here is my function:
function update_Slot () {
  DynamicSprite *Sprite = DynamicSprite.CreateFromSaveGame(lstSave.SelectedIndex, 80, 60);
   if (Sprite != null)
   {
     btnScrnshot.ClipImage = true;
     btnScrnshot.Clickable = false;
     btnScrnshot.NormalGraphic = Sprite.Graphic;
     Display("%d: %d*%d", lstSave.SelectedIndex, Sprite.Width, Sprite.Height);
     RawDrawImage(0,0,Sprite.Graphic);
   }
   else
      btnScrnshot.NormalGraphic = 189;
   txtSavegameSlot.Text = lstSave.Items[lstSave.SelectedIndex].Copy();
   SetGlobalInt(7, lstSave.SelectedIndex);   
}
#3
when i want to test my game with the beta i got this message
---------------------------
Adventure Game Studio
---------------------------
The error was within an automatically generated script file, so you cannot edit the script. The most likely cause of errors here is that two things in your game have the same name. For example, two characters or two fonts with the same script name could cause this error. Please consult the error message for more clues.
---------------------------
OK   
---------------------------
and in the window _AutoGenerated.ash(17): Error (line 17): unexpected 'eModePickup'

whis 2.72 works it without errors
#4
I want to try the beta but got this error

---------------------------
AGSEditor.exe - Fehler in Anwendung
---------------------------
Die Anwendung konnte nicht richtig initialisiert werden (0xc0000135). Klicken Sie auf "OK", um die Anwendung zu beenden.
---------------------------
OK   
---------------------------
#5
Well, while I was working on my Project I see that there is no possebility to turn walkable Areas on/off in general(in the Scripts). I woud find it it usefull, because I want the player not to be able to enter a speciall area in the fist part of the game. I have solved the problem using regions, but I think a walkable-Area-switch woud make it less complicated
SMF spam blocked by CleanTalk