Wintermute Engine > Technical forum

Moving animation in Window Entity Container does not move

(1/2) > >>

anarchist:
Hello everyone.

I have created an entity container inside a window. I have linked an entity which has a moving sprite (it is a tiny actor moving left and right).

The entity's animation plays but it does not move left and right. The actor moves his legs and turns left and right but does not move on the screen.

Am I doing something wrong or is there nothing I can do about this?

eborr:
my guess is that you have to move the container

eborr:
2 thoughts  - 1 attach a script a move the containers x/y pixel by pixel in whatever way you want to move it.

2. Not tried this so it's a bit of a guess, instead of moving the character by a number of pixels per frame, change the hotspot, that should give you a level of motion.

anarchist:
Thank you very much for the advice eborr.

I chose to move the entity container. I added events to each frame of my animation and then I catch the events in my entity's script. I then get the entity container control from my window and change its X value on each event occurrence.

P.S. Dude, are we the only active members of this forum left?

eborr:
glad it helped


as to the lack of posting

perhaps we are apart from the guys promoting stuff, I am working really hard trying to get something ready for a crowdfund. It seems from looking around the net adventure gaming is still going strong, and I have not come across an engine that does what we need to do better than WME.

I fear for our next project we may have to move onto something else, the main driver behind that is the different platforms. I am not convinced on using WME lite, I am not knocking the work people have done, I am concerned that people with proprietary systems like IOS an Android will make changes which may games built on lite unusable.

Navigation

[0] Message Index

[#] Next page

Go to full version