displaying a grid of images
Brian Rice
water at tunes.org
Wed Jan 3 07:05:54 UTC 2007
Hi Rob,
On Jan 2, 2007, at 8:29 PM, Robert Withers wrote:
> I am trying to build a strategy game along the lines of StarCraft
> or Civilization (I have not yet decided if it is to be a realtime
> or turn-based game). The view will have a small map of the entire
> world and a viewer window showing a large view of a smaller portion
> of the map. Now, StarCraft ad Civ are full screen games, so they
> own the mouse (the mouse never leaves the game).
That's interesting, and reminds me of Eddie's WarGame (see below).
> Currently I am shooting for a SystemWindow that is maximized in
> Squeak, like if you hit the expand button.
I hope your eventual target is full-screen mode.
> I was hoping to capture the mouse inside of this window and then
> detect when it is against one of the edges of the window to start
> scrolling the viewer. Is this possible?
Have you seen/ran/edited Eddie Cottongim's RTS-style WarGame demo?
See http://wiki.squeak.org/squeak/3136
He uses morphs that border the screen and/or window to get mouse-
click-less intuitive scrolling.
I've wanted to play with using SIMS together with this framework, but
priorities have been elsewhere.
--
-Brian
http://briantrice.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070102/09fb3e2a/PGP.pgp
More information about the Squeak-dev
mailing list
|