Please login or register.

Login with username, password and session length
Advanced search  

News:

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

Pages: [1] 2  All

Author Topic: SPEED UP the SCROLLING  (Read 13003 times)

0 Members and 1 Guest are viewing this topic.

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
SPEED UP the SCROLLING
« on: December 29, 2003, 05:36:34 PM »

Is there any way to speed up the Scene Scrolling. Thanks.
Logged

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:SPEED UP the SCROLLING
« Reply #1 on: December 29, 2003, 06:04:37 PM »

Is there any way to speed up the Scene Scrolling. Thanks.

Check the Scene object in the docs:

ScrollingSpeedX Horizontal scrolling speed (in milliseconds, default=10)
ScrollingSpeedY Vertical scrolling speed (in milliseconds, default=10)
ScrollingPixelsX Horizontal scrolling shift (in pixels, default=1)
ScrollingPixelsY Vertical scrolling shift (in pixels, default=1)
Logged
Mooh!

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re:SPEED UP the SCROLLING
« Reply #2 on: December 29, 2003, 08:53:14 PM »

Thanks Jerrot ;)
Logged

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re:SPEED UP the SCROLLING
« Reply #3 on: January 03, 2004, 01:55:37 PM »

It seems like it doesn't work correctly...

I want a "quick" Scene Scrolling, but for any values, the scrolling seems to have the same speed (more or less).
Logged

tnomad

  • Studio Trophis
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
    • View Profile
    • Studio Trophis
Re: SPEED UP the SCROLLING
« Reply #4 on: September 10, 2004, 08:36:32 PM »

Did you resolve this as I am running into problems with this?

I have added this code near the start of a scene_init.script:
Scene.OffsetX = 533;
Scene.ScrollingPixelsX = 5;

I was under the impression this would offset the scene to the right and make the scrolling much faster but it seems to have had no effect at all :(
Logged

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re: SPEED UP the SCROLLING
« Reply #5 on: September 11, 2004, 12:28:52 PM »

Quote
Did you resolve this as I am running into problems with this?

No, I didn't resolve it. I tried different things, but nothing worked.

Maybe a Bug???
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: SPEED UP the SCROLLING
« Reply #6 on: September 12, 2004, 09:46:41 AM »

Well, not exactly a bug, more the way the scrolling works.. It always tries to synchronize scene scrolling with the actor movement which causes problems here. I'll have to look at it to see what can I do about that..
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re: SPEED UP the SCROLLING
« Reply #7 on: September 12, 2004, 04:38:02 PM »

Okis Mighty Mnemonic ;)

I know there was a problem or something like that  :-X
Logged

tnomad

  • Studio Trophis
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
    • View Profile
    • Studio Trophis
Re: SPEED UP the SCROLLING
« Reply #8 on: September 12, 2004, 11:00:17 PM »

Thing is my game the actor moves much faster than the scrolling which isn't ideal, but the fact that I can't get a scene to start on the side where the character has entered is a bigger problem. It looks like of silly that the scene has to pan right until the character is shown every time you enter that room....
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: SPEED UP the SCROLLING
« Reply #9 on: September 13, 2004, 07:29:18 AM »

Thing is my game the actor moves much faster than the scrolling which isn't ideal, but the fact that I can't get a scene to start on the side where the character has entered is a bigger problem. It looks like of silly that the scene has to pan right until the character is shown every time you enter that room....

This can by achieved by Scene.SkipTo(actor);
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

tnomad

  • Studio Trophis
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
    • View Profile
    • Studio Trophis
Re: SPEED UP the SCROLLING
« Reply #10 on: September 14, 2004, 12:40:10 PM »

Thanks, that should sort out my main problem for now.

With regards to the scrolling, I can send you an example of my scene where the scrolling doesn't seem to synch with the character correctly if it will be of any help to you in testing?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: SPEED UP the SCROLLING
« Reply #11 on: September 14, 2004, 01:25:05 PM »

Thanks, that should sort out my main problem for now.

With regards to the scrolling, I can send you an example of my scene where the scrolling doesn't seem to synch with the character correctly if it will be of any help to you in testing?

You mean mean the scene *never* scrolls to the correct position or it just takes long time for it to synchronize itself with actor's position?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re: SPEED UP the SCROLLING
« Reply #12 on: September 14, 2004, 01:48:43 PM »

Quote
You mean mean the scene *never* scrolls to the correct position or it just takes long time for it to synchronize itself with actor's position?

I think is the last one. I had the same problem and I gave it  :-\
Logged

tnomad

  • Studio Trophis
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
    • View Profile
    • Studio Trophis
Re: SPEED UP the SCROLLING
« Reply #13 on: September 14, 2004, 04:36:40 PM »

Quote
You mean mean the scene *never* scrolls to the correct position or it just takes long time for it to synchronize itself with actor's position?

I think is the last one. I had the same problem and I gave it  :-\

Yeah it just takes too long so you end having the character waiting at the far left (or right) of the screen for the room to catch up before you can continue to walk further...
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: SPEED UP the SCROLLING
« Reply #14 on: September 14, 2004, 04:53:44 PM »

Ok, in that case I don't need you to send me the scene, thank you. I'm thinking of adding an option where the scene scrolling would follow the character immediately, without the delay effect.

Although I think you could script that, something like:

Scene.AutoScroll = false;
while(true)
{
  Scene.SkipTo(actor.X, actor.Y);
  Sleep(100);
}

I didn't test it though.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
Pages: [1] 2  All
 

Page created in 0.053 seconds with 20 queries.