Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Pages: 1 [2] 3 4 ... 10
 11 
 on: November 18, 2017, 03:42:01 PM 
Started by Indra Anagram - Last post by anarchist
I haven't used scrolling in my scenes so I will try to help you a bit blindly.

From the documentation I can see that:

Quote
Scene.Autoscroll: Specifies whether scene automatically scrolls to the Game.MainObject

By default, in game.script you will find the following line:

Code: WME Script
  1. Game.MainObject = actor;
  2.  

So it makes sense that, when you set Game.Autoscroll = true the scene scrolls toward the main actor. Also from the documentation:

Quote
MainObject: The object which is used for the scene's auto scrolling, can be (set to) null

So it can be set to null. Perhaps this would work?

Code: WME Script
  1. Scene.ScrollTo(husband);
  2.  

After you have done the scrolling and dialogue etc. I think you will want to:

Code: WME Script
  1. Scene.AutoScroll = false;
  2. Game.MainObject = actor;
  3.  

As I said above, I am working blindly, but from what I read in the documentation, the behaviour you observe does make sense, so I think this will work.

 12 
 on: November 17, 2017, 09:56:34 PM 
Started by Indra Anagram - Last post by Indra Anagram
NAItReIN, if not for you and anarchist, I wouldn't get through this at all!  ::thumbup

So cool to see ideas becoming something real with WME!

 13 
 on: November 17, 2017, 09:50:22 PM 
Started by Indra Anagram - Last post by NAItReIN
How nice to see that I could help you  :)

 14 
 on: November 17, 2017, 09:48:30 PM 
Started by Indra Anagram - Last post by Indra Anagram
NAItReIN, it looks like it really does!  :D

You rock!

 15 
 on: November 17, 2017, 09:42:11 PM 
Started by Indra Anagram - Last post by NAItReIN
So now it works like your want?

 16 
 on: November 17, 2017, 09:24:46 PM 
Started by Indra Anagram - Last post by Indra Anagram
You're welcome  :) It is really great to see new active WME user  :)

NAItReIN, I got it! It was not only enough to replace InventoryWinDark with WinInventoryWinDark in game_loop.script. It was also necessary to do same in game.script:

Code: WME Script
  1.     // we need to store reference to window in global variable because we will use it in other script
  2.     // inventory dark window does exist, but it is not visible
  3.     global WinInventoryWinDark = Game.CreateWindow();
  4.     WinInventoryWinDark.SetImage("interface\inventory.png");
  5.     WinInventoryWinDark.X = 0;
  6.     WinInventoryWinDark.Y = 510;

This code worked finally! HUGE THANKS for your help again and again!

 17 
 on: November 17, 2017, 09:15:50 PM 
Started by Indra Anagram - Last post by NAItReIN
You're welcome  :) It is really great to see new active WME user  :)

 18 
 on: November 17, 2017, 09:08:23 PM 
Started by Indra Anagram - Last post by Indra Anagram
Hello,
I am away by my notebook where I have demo prepared for you. I am going to upload it on Dropbox tomorrow and share it with you  :)

NAItReIN, that will be really cool! Because you certainly updated it with more code.

Something is wrong on my side, so I'll look for mistakes to correct.

THANKS, NAItReIN! You helped me to advance significantly today.

 19 
 on: November 17, 2017, 09:03:52 PM 
Started by Indra Anagram - Last post by NAItReIN
Hello,
I am away by my notebook where I have demo prepared for you. I am going to upload it on Dropbox tomorrow and share it with you  :)

 20 
 on: November 17, 2017, 08:57:41 PM 
Started by Indra Anagram - Last post by Indra Anagram
Hello,
I am sorry I made a mistake. I tested my game and it worked well. Inventory window is always visible but when game is set to Game.Interactive = false; inventory window is covered with inventory dark. When I try to talk with oldguy in WME demo inventory window is invisible and I can see only responses window. When responses window is no visible I see inventory dark window. When dialog is gone inventory normal window is visible.
I am so sorry for my bed English  ::)

Hey NAItReIN!

It's me who should apologize for being so importunate. You've showed great support to me and anyone who might encounter similar problems with the inventory and responses window customization. THANK YOU for your patience!

Can you paste the contents of inventory_dark.sprite?

This would help to identify why responses are covered with the inventory background in my game.

Pages: 1 [2] 3 4 ... 10

Page created in 0.235 seconds with 14 queries.