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

#1
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);   
}
#2
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