Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (OptimusPrime, AndrewAMD), 14,580 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Doors #66893
03/17/06 12:59
03/17/06 12:59
Joined: Feb 2006
Posts: 4
S
Skonk Offline OP
Guest
Skonk  Offline OP
Guest
S

Joined: Feb 2006
Posts: 4
Just trying to get my head around adding doors and lifts etc.., just wondering, does the default door behaviour allow for sliding doors (rather than rotating ones) by setting a property or would i need to script this myself? if i do need to scrip it could someone give me a clue as to how to go about it, i did make a very simple one when i was practicing a bit of scripting, and while the door would slide as i wanted, it didn't allow me to easily set which axis to perform the slide on (i.e sliding along x or y), i also dont know how to change the "skill" properties in the behaviour panel in wed to allow me to set, for example, the distance i want the door to slide.

Thanks.

Re: Doors [Re: Skonk] #66894
03/17/06 14:16
03/17/06 14:16
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
As to a sliding door, those are easy. The only difference is that, instead of changing the pan value, you're just changing the coordinate values. The skill properties in WED are otherwise useless without a script.

When writing the script, I suggest defining a base (using skills 2 through 4), the starting position from which the door is located. Skill 1 is the distance the doors move.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1