collapse

Author Topic: Fly Hi  (Read 281 times)

0 Members and 1 Guest are viewing this topic.

Offline Infinite Power

  • The End All Be All
  • Contributor
  • ****
  • Posts: 747
  • Last Login:January 27, 2020, 09:36:52 AM
  • Energy Doesn't Die
    • Infinite Fighting Forum
Fly Hi
« on: July 04, 2009, 01:52:54 AM »
I have a move that has a character flying for a certain amount of time, but I can't fly up to hi, how would I change this move so I can fly for a longer time and fly higher.

here is the move-

;---Being Carried---
[Statedef 1510]
type=A
physics=N
movetype=I
anim=1510
ctrl=0
velset=0,0
sprpriority=-2

[State 1510, timer]
type=varadd
trigger1= 1
var(46)=-1
[State 1510, fall]
type=changestate
trigger1= var(46)<=0
trigger2= roundstate!=2
value=1590

[State 1510, Turn]
type=turn
trigger1= p2dist x<0

[State 1510, Pos]
type=posset
trigger1= pos y>200
y= -100
[State 1510, Pos]
type=posset
trigger1= pos y<-301
y= -300

[State 1510, Vel]
type=velset
trigger1= 1
x=0
y=sin(gametime/16.0*pi)*0

[State 1510, Vel]
type=velset
trigger1= command="holdfwd"
x=2
[State 1510, Vel]
type=velset
trigger1= command="holdback"
x=-2
[State 1510, Vel]
type=velset
trigger1= command="holdup" && pos y>-125
y=-2 + sin(gametime/16.0*pi)*.5
[State 1510, Vel]
type=velset
trigger1= command="holddown" && pos y<-3
y=2 + sin(gametime/16.0*pi)*.5



Now Die, Mortal.

Offline El Chupacabras

  • Forum Member
  • ***
  • Posts: 315
  • Last Login:June 11, 2010, 04:34:36 PM
Re: Fly Hi
« Reply #1 on: July 04, 2009, 02:28:36 AM »
[State 1510, Pos]
type=posset
trigger1= pos y<-301  <----- Make this value lower.... LOWER.
y= -300  <---- And this one as well respectively.

Offline Infinite Power

  • The End All Be All
  • Contributor
  • ****
  • Posts: 747
  • Last Login:January 27, 2020, 09:36:52 AM
  • Energy Doesn't Die
    • Infinite Fighting Forum
Re: Fly Hi
« Reply #2 on: July 04, 2009, 03:07:54 PM »
El Chupacbras I have trie lowering both of those numbers the first one i LOWERED, and when I do the character either takes off in flight height to fast or I'm only able to control the character x- axis in the air. how would I set this up so I could fly as high as a super jump but still be able to control flight movement around like the normal move?
« Last Edit: July 05, 2009, 12:36:12 PM by gleezy »

Now Die, Mortal.

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

thunderstrike eric masterson by wacky thaxie
[Today at 06:09:19 PM]


Classic VS : Balrog by ELECTRO
[September 25, 2024, 11:44:58 PM]


Justice League Seattle Stage by Vegaz by LightFlare
[September 23, 2024, 12:14:06 PM]


Ancient Gears Stage 1.1 & 1.0 by MatreroG
[September 20, 2024, 11:59:18 AM]


Justice League Metropolis Stage by Vegaz by LightFlare
[September 16, 2024, 11:57:49 AM]


Ultimate Mai Shiranui (FF2 & FF3) by nickfurry
[September 15, 2024, 02:27:53 AM]


Justice League Gotham Stage by Vegaz by LightFlare
[September 11, 2024, 09:41:42 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[September 07, 2024, 03:06:46 AM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[September 06, 2024, 01:27:09 PM]


Justice League Flash Stage by Vegaz by LightFlare
[September 03, 2024, 10:30:40 AM]

* IMT Calendar

September 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 [26] 27 28
29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal