Walking out of room

Started by Rd27, Wed 04/08/2004 20:49:48

Previous topic - Next topic

Rd27

Is there a way to make it so, that if a player want's to go to other room, he does not have to interact or anything else, just to click hotspot with walking selected?

Another question:
Is there any limit with sprites and views?

Thanks ;D

Ashen

Not with hotspots, no.

However, you can use Regions - just put your room change command in the 'Player Walks onto region' interaction - or you could use the screen edges (the yellow lines on the Room editor page). Personally, I prefer Regions, as you get more control.


As to limits, they're in the manual:

15000  imported sprites
240  sprites per folder
400  views
16  loops per view
20  frames in each loop
(There are more on the 'System Limits' page, in the Refernece section.)
I know what you're thinking ... Don't think that.

Radiant

Try this: In the on_mouse_click () function, put something like
if (GetHotspotAt (mouse.x, mouse.y) == 3 && GetCursorMode() == MODE_WALK) NewRoom (17);

Hit F2 to find out if you're anywhere near the limits. You're probably not even close :)

Rd27

Thanks, I try these when I get back home  ;D

SMF spam blocked by CleanTalk