Please login or register.

Login with username, password and session length
Advanced search  

News:

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

Author Topic: full screen view shifting backgrounds to the right  (Read 3415 times)

0 Members and 1 Guest are viewing this topic.

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
full screen view shifting backgrounds to the right
« on: October 17, 2007, 02:30:48 PM »

Hi

I'm sure this is something simple that I've not done but here is my current problem...

I began my game project using 800x600 jpg's for my backgrounds so set the resolution height and width to 800x600 in the start up settings and in all the SceneEdits. However, having compared these settings with backgrounds which are rendered at 1024x768, the higher res backgrounds appear sharper (presumabley because they are not being stretched quite as much in full screen). So I decided to change the game settings to 1024x768 and replace all my backgrounds accordingly.

Having done this - i.e. altered the start up width and height and gone through each scene and altered them all to 1024x768 - I now find that when I test the game in debug mode the backgrounds are not sitting in the middle of the screen - there is a line of blank screen about half a centimetre wide on the left and there is about the same amount of the background missing on the right. Same thing at the top of the screen.

I've checked that the position of each background is at 0, 0 coordinates so that's not the problem.

Can anyone suggest why this is happening?

Thanks

Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com

sychron

  • Wanderer zwischen den Welten
  • Global Moderator
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 223
  • There is no spoon. The enemy gate is down!
    • View Profile
Re: full screen view shifting backgrounds to the right
« Reply #1 on: October 17, 2007, 03:59:00 PM »

Does this only happen in fullscreen?

Remember wintermute does an automatic parallax scrolling for images not as big as the scene viewport. Have you set the viewport to the new game graphics size and the background to full scene viewport width?

This /may/ also be related to your monitor, it it's an crt. If the monitor stores the image positions separately for the screen modes (as most monitors does), then maybe the mode initialized for 1024x768 fullscreen is shifted to the right, not the image in wintermute?

Logged
... delete the inner sleep ...

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: full screen view shifting backgrounds to the right
« Reply #2 on: October 17, 2007, 04:15:44 PM »

Kaz, have you changed the layer dimensions in your scenes?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Re: full screen view shifting backgrounds to the right
« Reply #3 on: October 17, 2007, 05:15:55 PM »

Thanks Guys

I've checked everything you suggested and have almost solved the problem.

You were quite right in that somehow the display on the monitor was not centred correctly and for some peculiar reason the resolution on my screen was set to 1280x768 - although as soon as I went into control panel to adjust it, it miraculously decided it was 1024x768 - but that has solved the problem of the graphics seeming to be shifted to the right and so I can now see the whole background when I test the game - which is great.

I've also double checked the size of my background graphics (all 1024x768) and also the layer dimensions. The scene viewport is set to full screen.

The only final problem I have is that even though I have set my region entities (that control the cursor areas to move through the scenes) to be on the edge of the background graphic, the right hand and bottom of screen cursors shoot off the screen whereas the left and top ones hit the side of the screen (which is what I want). I've tried moving the region entities slightly further in to see if it's because I've gone outside the background image with the region entity but to no avail. Can you help me on this one?

Thanks again.
Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Re: full screen view shifting backgrounds to the right
« Reply #4 on: October 17, 2007, 06:30:32 PM »

Oh dear, seems like this is a feature of every computer and I've never noticed it before.  :-[

So ignore me and I'll get back to my game.

Thanks for your help.
Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com
 

Page created in 0.018 seconds with 18 queries.