Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

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.

Messages - Prote1n

Pages: 1 [2] 3
16
Technical forum / Re: Button Captions not on top
« on: August 18, 2010, 03:20:10 PM »
Just found the solution while using a Nested Window in the Option window instead of Loading a new one.

17
Technical forum / Re: Button Captions not on top
« on: August 18, 2010, 02:38:59 PM »
I'm actually facing the same problem

In my Option Window, I'm using some tooltip (caption) when the mouse remains for a while on a button. The caption is displayed properly unless I push the button or click on the Option Window. The Focused window becomes the Option Window and the caption is behind ( normal behaviour)

Then I try to:
Caption.MoveToTop(); and/or Caption.Focus() but the Caption remains behind the Option Window ( wich is an Exclusive one)


18
Technical forum / Theore / Entity / Subtitles
« on: August 17, 2010, 09:52:59 AM »
Hi,

First question: Why does the Game.PlayTheora() and entity.PlayTheora() does not have similar parameters ?

I'm using only entity.Playtheora() as it is the only way i've found the avoid the video skip by mouse click or key. The entity solution allows to control the skip and to display a window message properly

Unfortunately I'm not able to control the Subtitle file in a entity.PlayTheora() ... and I did not succeed to show/hide the subtitle according to the players' settings

19
Technical forum / Re: Entiry/Sprite over InventoryWindow
« on: August 17, 2010, 09:46:42 AM »
Thanks for the idea. Works perfectly

20
Technical forum / Entiry/Sprite over InventoryWindow
« on: August 05, 2010, 05:04:14 PM »
Is it possible to display a Scene Entity over the Inventory Window ?

The idea is to automatically open the Inventory and move the taken object to the Inventory Window for the user

21
Technical forum / Re: SizeToFit problem
« on: May 18, 2010, 10:31:11 AM »
var win=Game.LoadWindow("interface\system\info.window");
var info = win.GetControl("message");

info.Text = "abcdefghijklnmnopqrstuvwxyz";
info.SizeToFit();
Game.LOG (info.Height); // RETURNS 19

info.Text = "abcdefghijkl|nmnopqrstuvwxyz";
info.SizeToFit();
Game.LOG (info.Height); // RETURNS 38

info.Text = "abcdefghijkl~nnmnopqrstuvwxyz";
info.SizeToFit();
Game.LOG (info.Height); // RETURNS 38

22
Technical forum / Re: SizeToFit problem
« on: May 11, 2010, 03:31:40 PM »
Here is my script:

var win=Game.LoadWindow("interface\system\info.window");
var info = win.GetControl("message");

info.Text = "abcdefghijklnmnopqrstuvwxyz";
info.SizeToFit();
Game.LOG (info.Width); // RETURNS 236

info.Text = "abcdefghijkl|nmnopqrstuvwxyz";
info.SizeToFit();
Game.LOG (info.Width); // RETURNS 248

info.Text = "abcdefghijkl~nnmnopqrstuvwxyz";
info.SizeToFit();
Game.LOG (info.Width); // RETURNS 248


23
Technical forum / Re: Scaleable Response Box
« on: May 11, 2010, 03:15:43 PM »
Modifying the height is quiet easy:

var num = Game.GetNumResponses();
var resp= Game.GetResponsesWindow();

var height = num*20; // height of each line
resp.Height = height ;

But not so easy for the width

24
Technical forum / Question about Tiled Image
« on: April 26, 2010, 05:27:21 PM »
Is it possible to change a tiled image of a Window, Editor, Static or Button within a script ?

The SetImage function seems to accept only .sprite and not.image


25
Not a bug / Re: Bug in Game.Screenshot function
« on: April 23, 2010, 04:53:17 PM »
In fact it works well with the original wme_D39.exe, I've modified my version to get the FullScreen/Windowed mode within the game because I absolutely need this feature. This is my bug, not yours ... Forget it

26
Not a bug / Bug in Game.Screenshot function
« on: April 23, 2010, 08:05:29 AM »
This function works perfectly when I'm not using Direct3D-9 executable. But I'm using this one, the Screenshot function captures 95% of the Width and Height of the screen ... the final screenshot resolution file is fine and zoomed ....

27
Technical forum / Re: Need help with LeftRelease, please
« on: April 19, 2010, 10:48:18 AM »
I also use this method but even it's more reliable, it is not 100% secure. I also succeed sometimes to loose the 'LeftRealase" event even when it's managed in game.script .... let's say it works at 95%

28
Technical forum / Pixel Precise and rotation
« on: April 19, 2010, 09:11:06 AM »
I noticed that the "Pixel Precise" option works well when the entity/sprite rotation is null, but when i rotate it , the precision is just average .... did anybody else notice it ?

29
Use GoExclusive and not GoSystemExclusive that pauses the game

30
Technical forum / Re: Query about font TTF ?
« on: April 07, 2010, 11:30:11 AM »
My Goal is to use a TTF in a editor control ... and it's not possible to get the SelStart and SelEnd in real time ....

Pages: 1 [2] 3

Page created in 0.052 seconds with 23 queries.