# Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

### Newcomers DBPro Corner / GOD JUMPING!!!!!!

Message
Posted: 31st Oct 2002 18:01
This jumping is getting to me HELP! im using DB V.1.08 CODE PLZ!
monkey by day, crime fighting sex god by night
Posted: 1st Nov 2002 04:40
Bit more info would be appreicated. But for general jumping adivce I suggest you research gravity a little. Tis a basic concept of what goes up most come down pretty much.

Posted: 1st Nov 2002 05:51
but what if there is wind??? didnt think of that did ya stevil
Posted: 1st Nov 2002 22:34
To make realistic jumping you want to be concerned with acceleration (due to gravity). For example:

ground# is the y position of the ground
pos_y# is the y position of your object
vel_y# is the downwards velocity of your object
grav# is the gravitational acceleration

Posted: 2nd Nov 2002 21:37
`at the start of the jump:pos_y#=270 (or thereabouts) and tags(1)=1

`to make the jump curve shorter, make jumplen# greater
`to make the jump last longer, make change# shorter

`OK, pos_y#=newyvalue(posy#,ang#,jumplen#)

if tags(1)=1

if ang#>180
ang#=ang#+change#
endif

`and if you want the jump to propel you towards the ground

if ang#<90
ang#=ang#+change#
endif

endif

`and of course

if position#(1)<get ground height... etc
position#(1)=get grou...
tags(1)=0
endif

`lol thats short and confusing... but hopefully it might `help (though not be v. realistic - but it's still a `parabola)

PS Shadow Spirit - nice one i've never thought of doing it like that before...

Posted: 5th Nov 2002 21:06
You can do realistic motion easily using velocities and acceleration.

Here's a pretty good program:

(Hope next bit works)
You'll need this file too ('save.matrix'):

ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ž
¶>ÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÞŠAÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂÂÏÀÂIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃIýÃ+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;Ã+q;ÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃúeÃb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…Ãb¬…ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–ÃÒÍ–Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ãú¯¥Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã²Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã¦Ü»Ã?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃ?ÒÂÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃBáÆÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃ:ùÇÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃRÆÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃ»?ÁÃè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹Ãè‡¹ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃM ¯ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡ÃÞô¡Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ãšs’Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€Ã¥Ã€ÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃæPZÃ¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/Ã¦Ù/ÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃŽÃÃ7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§Â7u§ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
ÂëÈ
Â