The Mugen Multiverse
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome!!! - Bienvenidos!!! - ( We hope you will get involved in the MMV Community which is dedicated to having fun with Mugen ) - Bienvenidos!!! - Welcome!!!
 
PortalHomeFAQMemberlistLatest imagesUsergroupsSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» MUGEN MULTIVERSE DISCORD SERVER BEING ATTACK BY PORN BOTS WE NEED HELP
Problem with Projectiles... Emptyby OldGamer Today at 13:19

» I need help ripping a specific sprite art from Asura Buster
Problem with Projectiles... Emptyby SWAGaming98 Today at 9:23

» SFA2 "Lost Island - Japan" Akuma (Gouki) Stage V-2.0 For MUGEN 1.1 and IKEMEN-Go
Problem with Projectiles... Emptyby Shining Today at 4:13

» MegaMan X Release Iris Update
Problem with Projectiles... Emptyby Nexus Gaming Yesterday at 14:37

Special Features at MMV




Chat on MMV w/ Discord

Video Content Creation Reference
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 Problem with Projectiles...

Go down 
AuthorMessage
borderoflife




Posts : 2
Join date : 2019-03-05

Problem with Projectiles... Empty
PostSubject: Problem with Projectiles...   Problem with Projectiles... EmptySat 30 Mar - 14:22

Im having a problem, i think is a mugen bug:
Whanever i put cos on a projectile vel x it just rotates the projectile horizontally...
Here is a piece of the code(is a helper):
;angle multiplier is used to calculate the angle
[State 0, AngleMul]
type = Varset
trigger1 = time=0
v=1
value = 9;random%32

[State 0, vel x]
type = VarSet
trigger1 = time=1
fv = 2
value = cos(((var(1)*(11.25))*pi)/180)

[State 0, vel y]
type = VarSet
trigger1 = time=1
fv = 3
value = -sin(((var(1)*(11.25))*pi)/180)


[State 0, ARROW]
type = Projectile
trigger1 = time >= 55
trigger1 = time <= 100
trigger1 = (time%30) = 0
postype = p1
projanim =16300+var(1);ANIMATION OF SPRITE AT 101.25°(16300 is at 0° 16309 is 101.25°)
projhitanim = 1998
projpriority = 1
projheightbound = -240, 100
projedgebound = 100
projscale=1,1
ProjHits = 1;fvar(2)
velocity =3*fvar(2),3*fvar(3)
offset = -64,-32
attr = S,na
damage   =  30,15
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 0,0
hitsound   = s4000,5
sparkxy = 0,0
guardsound = s4000,6
ground.type = low
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0
air.animtype = Back
air.velocity = 0,0
air.fall = 0
palfx.time = 3
palfx.add = 248,56,0

Note: i tested a few more times and this only happens on angles from (90,270)
Back to top Go down
 
Problem with Projectiles...
Back to top 
Page 1 of 1
 Similar topics
-
» needing help with projectiles
» DOES PROJECTILES ACCEPT EXPLODS FOR BURNING EFFECT?
» Help to fix problem
» is this have a problem?
» a little problem

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen Related :: Mugen Help-
Jump to: