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
0 registered members (), 16,643 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
Rating: 4
Page 4 of 5 1 2 3 4 5
Re: 2D Movement Script (wall jumping, combat etc) [Re: HeelX] #59900
05/12/06 15:11
05/12/06 15:11
Joined: Feb 2003
Posts: 195
slacker Offline
Member
slacker  Offline
Member

Joined: Feb 2003
Posts: 195
Quote:

I cant do the superjump and I cant climb ledges with the current beta release, plus, please use next time ent_remove() instead of remove() - I wasnt able to start the code the first time.




I am not able to do the wall jump or ledge grab either - maybe it is a 6.4 issue?

Re: 2D Movement Script (wall jumping, combat etc) [Re: slacker] #59901
05/23/06 08:20
05/23/06 08:20
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline OP
User
DavidLancaster  Offline OP
User

Joined: Nov 2004
Posts: 862
Australia
I made this with 6.314 so I have no idea if it is compatible with 6.4 or not...link is going to die like in a few days, if it does let me know and I'll reupload somewhere.

Re: 2D Movement Script (wall jumping, combat etc) [Re: DavidLancaster] #59902
05/25/06 15:01
05/25/06 15:01
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Thank you for sharing the 2D movement code I'd already tried the rpgturn and zeldacode, those are much apriciate too. From reading your scripts and study the code; I hope to learn howto write better code myself one day.

All the best,

Dusty


smile
Re: 2D Movement Script (wall jumping, combat etc) [Re: D3D] #59903
06/01/06 11:30
06/01/06 11:30
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline OP
User
DavidLancaster  Offline OP
User

Joined: Nov 2004
Posts: 862
Australia
Download in first post no longer exists, try this link instead:

http://www.churness.com/axys/2DAxysMovement.zip

Thanks for your kind words dusty, I'm glad to see the scripts are helpful for you.

Re: 2D Movement Script (wall jumping, combat etc) [Re: HeelX] #59904
06/17/06 09:11
06/17/06 09:11
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Replaced remove() with ent_remove(), but also having problem with walljump and ledge grabbing/climbing after updating GStudio to A6.40.5 Tried checking the syntax and found error on line 375 in level1.wdl in the 2D Movement Script.

Error(50): Parameter unknown c_move_x Parameter.

Now i'm not really expert c-script programmer. However it would be nice if someone who is and has already fixed these problems, could give me a little hint about the error and why it isn't working. So I can learn from it and try to fix myself.


All the best,

Dusty


smile
Re: 2D Movement Script (wall jumping, combat etc) [Re: D3D] #59905
06/17/06 12:28
06/17/06 12:28
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline OP
User
DavidLancaster  Offline OP
User

Joined: Nov 2004
Posts: 862
Australia
Hello Dusty

Here is a version that should be compatible with 6.4:

http://www.churness.com/axys/2DAxysMovement6.4.zip

I've replaced remove() with ent_remove() and also added a new variable my.z_offset, which I mainly used as a shortcut to correction the hull of the player z wise rather than playing around with hull values in WED till I get it right. The z_offset changes the start position of the trace z wise in regards to traces that are used for gravity and wall jumping etc. I've set it to -7 at the start of the player action, I also had to change a few values around as 6.4 hull seems to be different and if I didn't change them wall jumping and ledge grabbing don't work.

Let me know if you have any problems.

David

Re: 2D Movement Script (wall jumping, combat etc) [Re: DavidLancaster] #59906
06/17/06 14:33
06/17/06 14:33
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Hello David,


Thank you for your reply, i've tried to run the updated code with A6.40.5 and walljump/climb is working again this is really awesome Also i'dd like to thank you for telling me why the code didn't worked anymore after 6.31.4, this way I can learn from it.

All the best,

Dusty


smile
Re: 2D Movement Script (wall jumping, combat etc) [Re: D3D] #59907
09/06/06 12:50
09/06/06 12:50

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Wow great script, but how would I go about putting in kill able enemies?

--Edit - Also how would I put in a point collection system with onscreen display and health bar also could I make the guy climb rope and ladders?
Also is it possible to put in static items that hurt the player like fire.
and is there a drop distance that kills the player, like the holes in Mario?
I know there are loads of questions but i no nothing about scripting.
Thnx

--Tom_02345

Last edited by Tom_02345; 09/06/06 13:39.
Re: 2D Movement Script (wall jumping, combat etc) [Re: ] #59908
09/06/06 14:44
09/06/06 14:44
Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sPlKe Offline
Expert
sPlKe  Offline
Expert

Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
therese no drop distance, so you would have to overwork it.
also, inserting killable enemies is possible by a very few easy lines of code...

if my pal finds the time to go with me through this code (IF) i will comment it, maybe bring it into a nice form and add stuff like enemies and health...

IF...

Re: 2D Movement Script (wall jumping, combat etc) [Re: sPlKe] #59909
09/07/06 07:52
09/07/06 07:52

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Ok kool, don't worry if you can't but it would be nice if you did.
Also how would be a good way to learn how to code becuase I would love to be able to do all of this myself but I need serious pointers.
--Tom_02345

Page 4 of 5 1 2 3 4 5

Moderated by  adoado, checkbutton, mk_1, Perro 

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