help zoom + elevator

Minor

Member
hi,

i have a small problem with my zoom in an elevator level.
Seems the "text entity" or the zoom (i don't know)  follow the "direction up" of the stage.



i tried to change cameraoffset, cameratype and even change some value of the zoomvalue.
here's my zoom stat's and the text entity, in case.

Code:
anim	special
	subentity	flashken
	summonframe	0 320 240 235 1
	energycost	50
	mponly	1
@cmd setglobalvar "zoomentity" getlocalvar("self")
@cmd setglobalvar "zoomvalue" 260
@cmd setglobalvar "zoomx" 0
@cmd setglobalvar "zoomy" -80
	loop	0
	delay	7
	offset	25 106
	frame	data/chars/Kenshiro/runa0.png
	sound	data/sounds/Kenshiro/ata.wav
@cmd setglobalvar "zoomvalue" 300

Code:
name	flashken
type	text
subtype  noskip 
shadow	0
setlayer  5000


anim	idle
	loop	0
	delay	150
	offset	92 0
	bbox	0 0 0 0
	sound	data/sounds/kenshiro/flashken.wav
	frame	data/sprites/flashken.png

thank you.
 
O Ilusionista said:
I had the same issue, and I´ve solved  by adding this on the first frame
@cmd changeentityproperty getlocalvar("self") "direction" 1

thank you ilu!  ;)
but you mean adding this like that?  cause it does not work for me. is there something i should add in the updated.c?

Code:
anim	special
	subentity	flashken
	summonframe	0 320 240 235 1
	energycost	50
	mponly	1
@cmd   changeentityproperty getlocalvar("self") "direction" 1
@cmd setglobalvar "zoomentity" getlocalvar("self")
@cmd setglobalvar "zoomvalue" 260
@cmd setglobalvar "zoomx" 0
@cmd setglobalvar "zoomy" -80
	loop	0
	delay	7
	offset	25 106
	frame	data/chars/Kenshiro/runa0.png
	sound	data/sounds/Kenshiro/ata.wav
@cmd setglobalvar "zoomvalue" 300
	attack	-17 0 148 98 8 0 0 0 0 0
	delay	7
	frame	data/chars/Kenshiro/super1.png
 
Back
Top Bottom