Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Quicksand Effect? #226469
09/09/08 22:38
09/09/08 22:38
Joined: Feb 2008
Posts: 69
Australia
M
MegaMarioDeluxe Offline OP
Junior Member
MegaMarioDeluxe  Offline OP
Junior Member
M

Joined: Feb 2008
Posts: 69
Australia
Hi.

I'm working on my own game, and I would like to know if it's possible to make a entity like Quicksand, that slowly pulls the player under the surface. I've done the basics like disable jump and movement, but I would like to know how I would go about coding this event, so when the player collides with it, it pulls him/her under.

I'm using ScriptEd from 3DGS v6.x Pro, so if anyone could write me the code needed, I'll credit you. (EDIT: A5 Templates, that is, A6 is the actual version of the Engine, not the templates I'm using.)

Thanks in advance.

Last edited by MegaMarioDeluxe; 09/10/08 22:24. Reason: Correction.

----
MegaMario
Regular 3D Game Studio User
http://www.krystalgaming.net
Re: Quicksand Effect? [Re: MegaMarioDeluxe] #226480
09/09/08 23:55
09/09/08 23:55
Joined: Jul 2008
Posts: 894
T
TechMuc Offline
User
TechMuc  Offline
User
T

Joined: Jul 2008
Posts: 894
1) everything is possible
2) v6.x he? i love legal versions...
3) check the manual for event_impact / event_entity. Entities can be moved downwards by lowering their z-axis value (my.z -= 8*time_step; for example).

Re: Quicksand Effect? [Re: TechMuc] #226527
09/10/08 07:44
09/10/08 07:44
Joined: Feb 2008
Posts: 69
Australia
M
MegaMarioDeluxe Offline OP
Junior Member
MegaMarioDeluxe  Offline OP
Junior Member
M

Joined: Feb 2008
Posts: 69
Australia
Sounds interesting. I'll give it a go.


----
MegaMario
Regular 3D Game Studio User
http://www.krystalgaming.net
Re: Quicksand Effect? [Re: MegaMarioDeluxe] #226728
09/10/08 22:23
09/10/08 22:23
Joined: Feb 2008
Posts: 69
Australia
M
MegaMarioDeluxe Offline OP
Junior Member
MegaMarioDeluxe  Offline OP
Junior Member
M

Joined: Feb 2008
Posts: 69
Australia
Gah, didn't work. I was using the A5 templates. Maybe I should use the actual A6 templates.


----
MegaMario
Regular 3D Game Studio User
http://www.krystalgaming.net

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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