Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: eanmrtn123 on Mon 20/08/2012 08:40:58

Title: Isometric Gameplay style
Post by: eanmrtn123 on Mon 20/08/2012 08:40:58
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
Title: Re: Isometric Gameplay style
Post by: Khris on Mon 20/08/2012 08:51:55
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).
Title: Re: Isometric Gameplay style
Post by: Crimson Wizard on Mon 20/08/2012 09:00:45
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
Title: Re: Isometric Gameplay style
Post by: eanmrtn123 on Mon 20/08/2012 19:07:47
Quote from: Khris on Mon 20/08/2012 08:51:55
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