Author Topic: Isometric Gameplay style  (Read 302 times)  Share 

Isometric Gameplay style
« on: 20 Aug 2012, 08:40 »
I'm a huge fan of Baldur's Gate II. I decided to somewhat re-do it in AGS. No problem, actually, BUT:
The screen is 640x400 in AGS, and the map is 4928x3584.
I want to implement some style of movement, such as the character stays in the center of the screen, and using the arrow keys moves the room around
the character (?). I don't like switching over dozens of screens because it makes it difficult, seeing that this 'version' of BGII will only include the first starting dungeon, I want a smaller room count.
Any way to work with this?

Sorry, didn't know where to ask this, but this seems like a simple question. *shrug*.

Thanks!
- Ean

Khris

  • Evil Dark Emperor Death-Kill
    • Lifetime Achievement Award Winner
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
Re: Isometric Gameplay style
« Reply #1 on: 20 Aug 2012, 08:51 »
If you import a background of that size, it's going to make a scrolling room, meaning the character will always be centered anyway (except near the edges).
http://whathaveyoutried.com/

The other day on yahoo answers:
"Can you print colored images with black ink? If so tell me how please Thanx Kimberly"

Crimson Wizard

  • AGS Project Admins
  • not et suppotreD
    • I can help with translating
    •  
Re: Isometric Gameplay style
« Reply #2 on: 20 Aug 2012, 09:00 »
Moving view around regardless character's position is done with the use of SetViewport function.
http://www.adventuregamestudio.co.uk/wiki/?title=Room_functions#SetViewport

Re: Isometric Gameplay style
« Reply #3 on: 20 Aug 2012, 19:07 »
If you import a background of that size, it's going to make a scrolling room, meaning the character will always be centered anyway (except near the edges).

Thanks! It took a LONG time to import the background because of it's size, but the scrolling runs perfect. Thanks! :-)

- Ean