I'm really sorry, I never at all expected you to expand what I had
updated for an additional example, otherwise I would have given additional
details to the direction I was moving with my own in progress expansion.
And yeah, ifile.it is the fastest along with mediafire for normal files,
however I'm not used to uploading things under 1mb so I didn't consider
the time it takes to navigate through the pages with the captcha etc.
I just want to stress, your first example was epic, so please don't take
any of my criticism of your hard work on expanding the example I posted
to heart, as I greatly appreciate the unexpected additional update.
Also these may be quite nit-picky, but I've lost my mind with all the
ridiculous problems I'm having in my current project so I need to build
up an as perfect as possible test file before taking the extensive time
required to adjust my current project to the adjusted formula.
The problem created with the wallsensor now being the object that detects
when to change gravity, is that it can reach the conditions to change
gravity, without rotating the feet or sprite/wall sensor.
Also the wall sensor wouldn't work with a an actual sprite, because
it creates a bounding box over the character ignoring the current
shape/pose of the character on the screen.
I also really liked the feel of the character reaching the wall then
the gravity changing moments later when the detector caught up (as
it lags behind a moment).
Another reason is this re-introduces one of the any problems I have been
currently facing, because even if you made the wall detector the actual
sprite, it would mean when the animation changes the character could end
up off wall when it's rotation changes, instead of sticking to it like
it did with the detector/feet before.
#2]With the changes to the shape of both the feet and the detector,
this now occurs at angles
#3]The adjusted foot shape also reintroduces the largest risk which
is what was originally theoretically solved in the first example you sent,
with the width now larger than the height, when it rotates because of
the change in gravity at corners it's at risk of being pushed through
#4]This is mostly because I was certainly not expecting another example,
which again I'm most grateful for.
Though the FixZOne is a nice way to force the gravity change back,
I didn't mention that you could jump to the right (relative to the
characters angle when on the left wall) into the ground, and have
gravity change back.
Also I was intending in my expansion of the example to eventually get
around to having gravity automatically restore back to the down direction
when the feet object reaches the 'falling' state after jumping.
Also the issue with that object, is that you have it set the angle of
everything to 0, regardless of it's current gravity (so that now when
traveling from the start location and jumping through that object,
the character's rotation goes to 0, before changing again when landing).
Another problem is that when you fall through that and it changes
your gravity, it doesn't change the gravitydirection global variable,
and the detector stays to the left of you (because it is going to x+10).
I hope these explanations of problems somehow help you in anything you
do in the future so you can avoid the issues I have had to face.
On a positive note, your wallsensor did give me a good idea of how to
deal with rotating the character towards the wall angle early automatically.
Again, thanks for taking this time to help! ^^
Though I didn't want to get into more details of the experiment because
I want to keep it mostly secret, don't want to leave you after all my
responses without an indication of the direction I was going and why
your changes for the most part didn't work without anything Dx,
here's my current progress I've made further in my experiment.
Uploaded to dropbox this time :)
Though I wouldn't mind/be happy to hear a response again from you about
this, I really can't divulge any more of the direction of gameplay and
changes I'm making to this, or updates of my experiments, sorry Dx
Again thank you for all your help, I'd still be absolutely lost if it
weren't for your response, now I have a direction to go in which might
be able to get things functioning :D! You've got no idea how much of my
mind I have lost lately because of this O_O;
Can't express the amount of thanks! ^^