Beta 19: Bug with Sprite position is selected
A simple non-transparent sprite, which has 3 stages of animation, stopped, opened and closed.
When I click with the mouse on it, change the animation to open.
Inexplicably, the position of the sprite moves pixels to the right and down.
Please help me!!!
http://www.sendspace.com/file/70zn83
Re: Beta 19: Bug with Sprite position is selected
Your images have different hotspot. The stopped image hotspot isn't in the top-left. The other images have their hotspot in the top-left. It's not a bug.
Re: Beta 19: Bug with Sprite position is selected
Netninja the sprite is made up of five images of the same size, frame 1 in use for animation sttopped, so can not have different hotspot.
What I did think is easy the animations open and close with five frames and copy the first frame to create the animation stopped.
This I have done millions of times and never had this happened at MMF.
Re: Beta 19: Bug with Sprite position is selected
I don't really understand what you're referring to, but I've fixed it for you by moving the hotspot of the Stopped animation to (0,0) instead of (23,22):
http://www.sendspace.com/file/rbpys5
Re: Beta 19: Bug with Sprite position is selected
Thanks Netninja, I saw the hotspot in the wrong position.
But how he moved to that position if I did not do it intentionally?
Re: Beta 19: Bug with Sprite position is selected
I'm not sure, it might have been how you pasted it into the frame. I suspect that the image was pasted correctly but the hotspot remained from whatever was in there before (the default 32x32 image?).
When I copy and paste frames I copy the frames themselves rather than the images in those frames. I don't seem to have problems that way and all the information is copied properly (hotspots, alpha channels, etc).
Re: Beta 19: Bug with Sprite position is selected
So we could talk about a old bug in the MMF and has nothing to do with the IOS Exporter?
Re: Beta 19: Bug with Sprite position is selected
its not a bug, just user error.
Re: Beta 19: Bug with Sprite position is selected
RhysD is a random error, not user error.
It is not the first time I ride a sprite and the procedure is the same for over 10 years!
Re: Beta 19: Bug with Sprite position is selected
Did you copy paste the animation or animation direction? Or did you load a new image from the hard drive to a frame or set of frames? If the latter, then the hotspot and action point resets.
Re: Beta 19: Bug with Sprite position is selected
I load a new image from the hard drive one frame for stopped and set of frames for the other animations. The problem hotspot is with stopped animation.
Re: Beta 19: Bug with Sprite position is selected
When you load an image to a frame, you have to manually set the hotspot.
Re: Beta 19: Bug with Sprite position is selected
Re: Beta 19: Bug with Sprite position is selected
Re: Beta 19: Bug with Sprite position is selected
What I mean is the following: say that you have created a frame within an animation with image an all and set its hostpot, but then you decide to change that image by loading a new one form your hard-drive; well, when you do that after the image is loaded the hotspot resets to deafult position, overriding the previous coordinates of the hotspot you had set.
Re: Beta 19: Bug with Sprite position is selected
No, eso no es lo que pasa, si creas un sprite con una animación stopped de una imagen cualquiera como el ejemplo que puse, el hotspot se movió solo, el cual por defecto siempre esta en posición (0,0). En el ejemplo tengo tres estado de animación para el sprite: stopped, abierta y cerrada. Son 5 cuadros abierta y cerrada y la animación stopped es un solo cuadro de las 5 imágenes, ojo, mismo tamaño y sin transparencias. Al MMF le dio por cambiar el hotspot solo y yo me estaba volviendo loco porque cuando haces click y cambiabas de stopped a abierta por ejemplo el sprite se movía de posición por el error del MMF.
Nunca me había pasado esto y por eso lo reporte, porque me imagino que es un bug del Beta.
Sorry for the spanish POST, this is for BHGames...Thanks...
Re: Beta 19: Bug with Sprite position is selected
I see, that's weird. Did you try deleting all animations and starting from scratch to see whether the hotspot moves again by itself?
Re: Beta 19: Bug with Sprite position is selected
I did and followed the error persists.
Of course the problem is solved because the hotspot move manually to (0.0). But I think it's a random bug ...
Re: Beta 19: Bug with Sprite position is selected
Re: Beta 19: Bug with Sprite position is selected