Works fine on EXE but not on SWF
Hey all, I have a bit of a problem, I have been making a game and Sumo has helped me but be both can't figure out why on the SWF the ball in my Headers game on online multiplayer mode just re positiones when it touches the heads but when an EXE, it moves smoothely. The files you may need are here: http://rapidshare.com/files/394570497/Headers.zip
or here it is on my website: http://www.rejzone.com/Headers.zip
And the SWF is playable on my website if someone else is online or you could open two at once: http://www.rejzone.com/Headers.html
Hope you can help,
Joseph Taylor
Re: Works fine on EXE but not on SWF
I can't download it from rapidshare .. :\
Is it small enough to be attached to your post?
Re: Works fine on EXE but not on SWF
Re: Works fine on EXE but not on SWF
It is 1.12MB and maximum upload size is 1MB, I have uploaded it to my website: http://www.rejzone.com/Headers.zip
Re: Works fine on EXE but not on SWF
I have tried it in local multiplayer mode, and I see no problem with it!
Re: Works fine on EXE but not on SWF
It is when you are playing online multiplayer, when you are not the host, the ball only repositions itself when it hits a head, but when hosting it moves fine and smoothly and it also works fine when built as an EXE, it's just the SWF that is a problem.
Re: Works fine on EXE but not on SWF
If it works in normal non online mode, the only solution is that the problem comes from the delay in the network connection.
Usually, big games use prediction techniques to guess the position of the objects before the network actually replys.
So I cant really help you here. Sorry.
Re: Works fine on EXE but not on SWF
Re: Works fine on EXE but not on SWF
I made the online and the heads movement does use dead reckoning. The ball doesn't but it seems that the action "Start" movement for the pinball is not working :|
Re: Works fine on EXE but not on SWF
If you can extract an example that does not have the bug when it is online multiplayer, that would be great!
Re: Works fine on EXE but not on SWF
We are trying to make it so it doesn't have the bug but we don't know why it works with the EXE online multiplayer but not the SWF online multiplayer.
Re: Works fine on EXE but not on SWF
Could it be a bug with the SWF Exporter?
Re: Works fine on EXE but not on SWF
I might be looking at it being a Lacewing Flash issue and not an MMF SWF issue. I think you will need to isolate if further and send if over to Jamie for review.
Re: Works fine on EXE but not on SWF
From me and Sumo doing tests, we have worked out that it is a problem with doing what the recieved infomation says it has do. We had the game running on EXE as he host and SWF playing it as we know EXE works and we found out that it is deffinatly a problem with the flash version of recieving.
(i'm not sure if that makes sence)
Re: Works fine on EXE but not on SWF
Are you sure it is not the flash version of the movement you are using?
Re: Works fine on EXE but not on SWF
I am using pinball movement.
EDIT: But it works fine in all other modes. (e.g. single player and local multiplayer)
Re: Works fine on EXE but not on SWF
You really need to isolate it (as in - a simple example in a new MFA, not in your game) before it can be debugged or fixed.
Re: Works fine on EXE but not on SWF
Ok, I don't really know how the events work so maybe Sumo will isolate it for you.