Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

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

Pages: 1 2 [3] 4 5
31
Technical forum / Extremely slow WME tools
« on: March 19, 2006, 02:46:33 AM »
Hello!

I experience some problems with WME. Suddenly it started to work wery slow. It takes ages to open a project or a scene or a sprite, but two days ago everything was OK. There are no any errors in the log, but something is wrong. I tried to reinstall the program, but it didn't change anything. I thought, that the problem might be with my project only, but when I tried to open the demo project it was again taking about 20-30 seconds to open it.  :'(

It would be great if Mnemonic could help me.
Thanx!

EDITED: Just one more thing. When I try to run the game in project manager it also takes a lot of time to open the initial settings window. When I compiled the game (which was very quick  :o) and tried to run it the same thing - the settings wndow takes very long to appear. I have a previously compiled version of the game, and it starts without any slowness...  :( Something changed in the WME today, but I don't know what it was.  :'( :'( :'(

32
Technical forum / Re: Subtitles position
« on: March 18, 2006, 01:39:45 PM »
I tried to get rid of the SizeToFit, and the captions completely disappeared from the screen!  :o
Hmmm...

Any idea what to do?

33
Technical forum / Re: Subtitles position
« on: March 18, 2006, 12:57:02 PM »
Yes, I do. Here is the full code at the moment:
Code: [Select]
// handle the standard foating caption
  if(Game.Interactive && ActObj!=null)
  {
    if (Game.SelectedItem==null)
    {
      WinCaption.X = 400;
      WinCaption.Y = 550;
      WinCaption.TextAlign = TAL_CENTER;
      WinCaption.Text = ActObj.Caption;

      // keep the caption on screen
      WinCaption.SizeToFit();
      if(WinCaption.X + WinCaption.Width > Game.ScreenWidth) WinCaption.X = Game.ScreenWidth - WinCaption.Width;
      if(WinCaption.Y + WinCaption.Height > Game.ScreenHeight) WinCaption.Y = Game.ScreenHeight - WinCaption.Height;
  }

Why?  ???

34
Technical forum / Re: Subtitles position
« on: March 17, 2006, 11:35:51 PM »
Yes, it is actor.SubtitlesPosXCenter = true; Do you think that this is the reason?
How can I do the same with the caption?

And still, the caption is on the left, :'( since X=0, where 0 is the left border of the screen.
Here is this piece of code:
Code: [Select]
  // handle the standard foating caption
  if(Game.Interactive && ActObj!=null)
  {
    if (Game.SelectedItem==null)
    {
      WinCaption.X = 0;
      WinCaption.Y = 550;
      WinCaption.Width = Game.ScreenWidth;
      WinCaption.TextAlign = TAL_CENTER;
      WinCaption.Text = ActObj.Caption;

35
Technical forum / Re: Subtitles position
« on: March 17, 2006, 09:05:15 PM »
 :o  Now the caption is on the left (X=0).

What I meant in my question was: I've got X coordinate = 400 for both - subtitles and captions (game resolution 800X600), but when I run the game, the caption is in different position from subtitles. The subtitles are exactly in the middle of the screen, but the captions aren't, despite the fact that x coordinate is the same for both.  :( What I want is to understand what I did wrong with the caption parameters.

Thanx

36
Technical forum / Re: Subtitles position
« on: March 17, 2006, 04:19:26 PM »
I measured the position of both - the subtitles and the caption - and found out that it is actually the problem with the caption, since the subtitles are exactly in the middle. The caption is slightly moved to the right from screen centre.

Here is caption code:
Code: [Select]
  // handle the standard foating caption
  if(Game.Interactive && ActObj!=null)
  {
    if (Game.SelectedItem==null)
    {
      WinCaption.X = 400;
      WinCaption.Y = 550;
      WinCaption.TextAlign = TAL_CENTER;
      WinCaption.Text = ActObj.Caption;

      // keep the caption on screen
      WinCaption.SizeToFit();
      if(WinCaption.X + WinCaption.Width > Game.ScreenWidth) WinCaption.X = Game.ScreenWidth - WinCaption.Width;
      if(WinCaption.Y + WinCaption.Height > Game.ScreenHeight) WinCaption.Y = Game.ScreenHeight - WinCaption.Height;
  }

Any idea what it might be?

Thanx!

37
Technical forum / Re: Subtitles position
« on: March 16, 2006, 11:02:57 PM »
I think, I found what it is. "True" and "False" isn't it? However, my caption names and the subtitles are shown in slightly different X positions, although the X coordinates are the same.

38
Technical forum / Re: Subtitles position
« on: March 16, 2006, 10:51:23 PM »
Thank you!
I put this in game.script:
Code: [Select]
actor.SubtitlesPosX = 400;
actor.SubtitlesPosY = 550;
actor.SubtitlesPosXCenter = true;
But the subtitles are displayed to the right of screen center.  ???
Perhaps, I should use actor.SubtitlesPosRelative;, but what are the options for it?

Thanx!

39
Technical forum / Subtitles+Captions position
« on: March 16, 2006, 09:23:50 PM »
Hi all!

How can I make the speech subtitles to appear in the bottom of the screen rather than above the speakers' heads?

Thanx!

40
Technical forum / Re: Problem with sound package
« on: March 16, 2006, 05:04:45 PM »
Thank you, guys!  :) :) :)

41
Technical forum / Re: Problem with sound package
« on: March 15, 2006, 11:49:50 PM »
What about the packages? Should I create a folder "fonts" for this purpose in the "packages" folder?

42
Thank you! :) :) Works now.
And sorry for asking you so much!  ;) I really appreciate all your help!

Thanx!

43
OK, I did what you suggested.  ::) I added Game.LoadEntity(); in game.script.  Now I got a "corpse" hanging down from the ceiling in every scene  ;D ;D ;D because my preloaded "ghosts" entities are visible... It would be great, if I was making a horror game,  :D  but I'm not! How can I hide this "gost"?

44
Technical forum / Re: Problem with sound package
« on: March 15, 2006, 09:27:40 PM »
Yes, it was accessible by Windows... I think.

Although, does it mean, that the required font should be in the "windows\fonts" folder? Or in the "packages" folder as well?

45
Technical forum / Re: Problem with sound package
« on: March 15, 2006, 04:30:35 PM »
Thank you very much!  :D :D :D

Still dunno what happens with the font, because now the compiled game displays it correctly, although I didn't change anything.  :(

Anyway, thank you, gajdy! ::rock

Pages: 1 2 [3] 4 5

Page created in 0.04 seconds with 23 queries.