Isometric Gameplay style

Started by eanmrtn123, Mon 20/08/2012 08:40:58

Previous topic - Next topic

eanmrtn123

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

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).

Crimson Wizard

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

eanmrtn123

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

SMF spam blocked by CleanTalk