Jump to content
  • 0

gzdoom jumpTics / delay removal


Jerem

Question

I've been searching around a bit and it looks like no one has made a jump delay removal mod/patch for gzdoom yet.
To be super-doper clear, when I say "jump delay removal" I'm referring to being able to jump as soon as you land or even simply just one jumpTic after. which ever of the two is easier to program.

from what I can tell, it's a bit more complicated than just writing jumpTics 0; under the player definition block

can someone point me in the right direction? 

there's reference to jumpTics here (where I got this idea from)
https://zdoom.org/wiki/Structs:PlayerInfo

and I'm not sure if this information is transferrable but I also found an old thread on a lateral subject here
https://forum.zdoom.org/viewtopic.php?t=25833

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 1

This is sort of a slant answer since it's not a standalone mod (yet? ;), but I overhauled the jump physics in Adventures of Square to be friendlier in general (remove the delay, add a bit of "coyote time", and some other related platformer feel-good-ness).

 

May be worth taking a look at that and yoinking the code out of the player definition... or remind me this afternoon and I'll do it. Been meaning to, just forgot. :P

Share this post


Link to post
  • 0
On 12/11/2023 at 1:47 PM, Xaser said:

May be worth taking a look at that and yoinking the code out of the player definition... or remind me this afternoon and I'll do it. Been meaning to, just forgot. :P

Oh dude, if you find the time to do that, that would be awesome! Yes please!
I noticed it had air control as well which is on zdoom's forums https://forum.zdoom.org/viewtopic.php?t=68863 Not sure if you'd want to omit it or not 

 

On 12/11/2023 at 1:47 PM, Xaser said:

...remove the delay, add a bit of "coyote time", and some other related platformer feel-good-ness).

Can you describe what else you did when you say platformer feel-good-ness? (Other than the grace-period before landing. Good job on that one!) I came from unity and it took me forever to implement coyote time so that one's a life-saver in itself. 
I feel greedy bringing this up but my other big platforming "feel-good" code that I was intending to look into at some point was the pre-jump tiny teleport upwards that makes players feel like they're better than they actually are are platforming, a la super mario brothers.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...