Hey everyone.
First of all, i am sorry for not delivering the promised porn, but Flash just keeps driving me crazy.
Every problem i had until now, had a logical solution or whatever, but this time its just nonsense...
I am using this VCam that playshapes programmed, and usually it works perfectly fine.
But now, its just going MAD!
I will upload an example, where you can look at this crap.
There are 2 used frames in this. Frame 3 and 11.
In frame 3, everything works perfect i think. But when you get to frame 11... Shit hits the fan...
Please, if you are able to, download my example. Playtest it (just go into the pipe to your left) and see if you can move freely in frame 11.
You should be able to. After that go to the 11th frame, and change the instance name of the Cam, from VCam2 (wich means nothing) to VCam.
Playtest again, go into the pipe, and please tell me what the HELL IS GOING ON???
What happens on my screen, i assume, is that the VCam suddenly gets very small, and shows you just 1 pixel. because your screen will flicker in the colors, that are around mario.
If you renamed it, and you can still walk around in frame 11... well, whatever happens when you try it, please please tell me, i just dont get it.
Even in this example, with 99% of the game deleted, it still just goes /RetardMode...
There is a tiny bit of code, refering to VCam in that frame, BUT if i call the Cam VCam2, and change the code to VCam2 too, it still works. So this code doent fuck it up...
What else i noticed... The cams in frame 3 and 11 are EXACTLY the same... now put your finger on mario, and jump a little in frame 3. See how mario always ends up under your finger?
Hold your finger there, and go through the pipe.... WHY THE HELL IS HE DOWN THERE??? The camera is fixed on the EXACT SAME POINT as in the other frame.
And it even gets weirder. Yesterday, at some point, i changed the code that tells the cam where it should look at, so mario is in the middle again. Worked fine. I just put a -1 at the end, and the position was PERFECT. Well, if i change ANYTHING in that code NOW, it doesnt work anymore, and you know whats even funnier? If you change the code back to what it was before, you remove the -1 again... it still doesnt work... you have to RESTART THE PROGRAM before it works again... :MadSuperSayan:
Well, i hope you could get a little glimpse of the madness i am suffering from, and maybe someone can provide the magical solution for this problem.
I tried around for HOURS with this, and i could not get it to work like i wanted. The only conditions that i have for that are that the instance name is VCam, and that Mario is in the middle of the cam, like in frame 3... I mean, come on flash... it works perfectly in like 10 frames in the non example project, why not in this frame???
God, i bet i will feel so stupid when someone tells me the answer...
But besides that, the engine is almost working perfectly.
You cant see anything in the example, but basically the whole "transportation" system is working now, with only 3 objects (GlobalFadeout, LocalFadeout and Fadein),
and it works perfect. Short: Code for transition is super easy now, you basically just need to say "Do a globalFadeout to frame 11" and it works :3
I tried to improve the hitboxes a little. And what i felt, what totally missed before... Mario's auto jump when you hit an enemy. Done
I added some more enemys, but just basic, not too fancy, Mario stuff.
I hoped i could do 2 small levels before i show how stuff looks like, but if the Cam keeps melting my brain for the next few days... i dont know...
Like i said, i am very thankfull to anyone who could help solving this problem, and i hope i can show you some nice gamplay and porn... SoooOOoooOOOOoooN.....