Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> How To Determine if Jumping?
RikohZX
post Dec 22 2012, 05:03 PM
Post #1



Group Icon

Group: Member
Posts: 4
Type: Developer
RM Skill: Intermediate




Alright, so i'm using.. Well, a lot of scripts. Mostly Victor's, and especially his Free Jump, Moving Platforms, Pixel Movement, Diagonal Movement and finally Character Control scripts. Via his Character Control script, I essentially got an animated Alundra working, with animations for dashing and jumping and six frames per animation. Can't quite get the pose changes from the Character Control script working so that the jump animation plays, though, and the Free Jump script doesn't 'count' as a normal jump; if I actually do have a normal Jump through Move Routes, the animation plays just fine. Naturally, I don't quite know how to properly event normal jumps without being able to go up walls in a way I shouldn't, and the Moving Platforms script relies on Free Jump..

Is there a way, via a Common Event on parallel processing, to catch when the Free Jump is active for, well, a jump? It seems to use the @jump_count and @jump_peak variables, but I don't know actual scripting, so my attempts at sticking one in a conditional branch and detecting for a greater than, failed. I can also create basic jumping via a Common Event, but again, the game can't determine if i'm not supposed to jump up a wall.

This post has been edited by RikohZX: Dec 22 2012, 05:13 PM
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
diamondandplatin...
post Dec 23 2012, 12:03 AM
Post #2


Level 5
Group Icon

Group: Member
Posts: 72
Type: Writer
RM Skill: Skilled
Rev Points: 45




In a conditional brach put this in the script field.


$game_player.jumping?


Returns true if you are, otherwise false.


__________________________
Go to the top of the page
 
+Quote Post
   
RikohZX
post Dec 23 2012, 01:04 AM
Post #3



Group Icon

Group: Member
Posts: 4
Type: Developer
RM Skill: Intermediate




QUOTE (diamondandplatinum3 @ Dec 23 2012, 02:03 AM) *
In a conditional brach put this in the script field.


$game_player.jumping?


Returns true if you are, otherwise false.

It seems to read it and 'work' - but unfortunately Free Jump seems to run first, hold me in place when this script branch runs, and then play the animation right after the actor lands, like a Move Route is second priority. At least I know the first step so far.

Edit: This is probably leaning more into script support rather than standard questions.

This post has been edited by RikohZX: Dec 23 2012, 02:42 AM
Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 10:06 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker