scrolling the screen for a shooting scene

Started by jamesreg, Tue 29/09/2009 03:09:13

Previous topic - Next topic

jamesreg

One of the upcoming scenes I want to do will involve wanting to have a crosshair style mouse cursor which will scroll the screen quite a ways left and right and up and down slightly to find a location that you will have to shoot at.

Now my questions are

is this possible with ags?

What is involved with making it so the mouse cursor will move the scroll the screen in the direction it is moving?

Can this be done with fast enough speed for what Im wanting to do?

What is the max size of a scrolling screen in ags?

And is it possible to display coordinates of some kind on the screen that you would have to find and fire at?


Khris

All of this is possible.
You'll need mouse.x and mouse.y and you'll need to look up the SetViewport command.
You'll also need to understand the difference between screen and room coordinates.

To display coords on-screen there are several methods available; you could use a GUI with a label, or an overlay.

Try to figure this out by yourself, it's not that hard.

SMF spam blocked by CleanTalk