If I put x = 1.2 and y = 1.2 for a character's "size", I'm aware that it affects the hitboxes as well as the sprites.
Now the question is, does it also affect explods and helpers as well? Or does adding their own size parameters prevent simultaneous resizing?
Also, do helpers' hitboxes also change in accordance to the parent's scale?
it only affect
root player.
not explod or helper. or root player's velocity
but you can code it to affect all.
for example
run speed in normal
[State 100, 1]
type = VelSet
trigger1 = Anim = 100 && AnimElemTime(2) >= 0
x = Const(velocity.run.fwd.x)
run speed scale flexible
[State 100, 1]
type = VelSet
trigger1 = Anim = 100 && AnimElemTime(2) >= 0
x = Const(velocity.run.fwd.x) * Const(Size.xscale)
scale helper too
[State Intro_Dummy]
type = helper
triggerall = !NumHelper(7600)
trigger1 = !Time
stateno = 7600
ID = 7600
name = "Intro - Dummy"
facing = 1
postype = P1
pos = 0 * Const(Size.xScale), 0 * Const(Size.yScale)
;supermovetime = 4294967295
;pausemovetime = 4294967295
size.xScale = Const(Size.xScale)
size.yScale = Const(Size.yScale)
ignorehitpause = 1
scale explod
[State 183, Explod]; Talk Frame
type = Explod
trigger1 = Anim = 183
trigger1 = AnimElemTime(3) = 0
anim = 6911
ID = 6911
space = stage
pos = (220) * facing * Const(size.xscale), (-300) * Const(size.yscale)
bindID = ID
bindtime = 1
facing = facing
removetime = -2
;vel = 0 * facing * Const(size.xscale), (10 + Random%30) * Const(size.yscale)
;accel = 0 * facing * Const(size.xscale),Const(Movement.yaccel) * Const(size.yscale)
;supermovetime = 65535
;pausemovetime = 65535
scale = 1 * Const(size.xscale), 1 * Const(size.yscale)
angle = 0
sprpriority = -3
ownpal = 1
;trans = add
;alpha = 256,0
;remappal = 6415, 0
basicly
any pos, vel, scale value need to * const(Size.xcale) and y scale
if you code character like that, the whole product will be flexible to scale.
all my recent work (720p HD character) are all flexible to scale you can try them out
https://www.youtube.com/playlist?list=PLdEQ2Uq3HHramidYnZrUyoeR0DKwY2CbD