SOLVED: Character walks through object, reset baseline but still walks through.

Started by barefoot, Wed 23/02/2011 09:30:34

Previous topic - Next topic

barefoot

Hi

I have a little dilema as the subject title suggests.

I walked through an object (the well. I have several animated objects that work fine) so i adjusted the wells  y baseline and worked fine. Now it ignores a walkbehind!

If I set the object (well) baseline to false as the other objects then I can't click on it.



Have tried setting characters baseline but then it ignores walkbehind..

Any thoughts?

cheers

barefoot



I May Not Be Perfect but I Have A Big Heart ..

Matti

We need more info. Where did you put the baseline? What walkbehind are you talking about - do you mean an actual walkbehind area, or just the well and its baseline? Is the player supposed to be able to walk behind the well? It doesn't look like there's enough space for a character.

In case you really can't get it right, you could also cut out a piece of the walkeable area where the well stands.

monkey0506

I'm pretty sure you're probably aware, but you haven't mentioned it at all, so..

The baseline has nothing to do with whether a character can pass through an object during movement, it only controls when the character is drawn in front or in back of the object. That is all that the baseline is for. The Character.Solid and Object.Solid properties control whether the character can pass through the object.

barefoot

Hi Monkey

I was aware that Objects can use Solid, did not realise you could use that with Characters as well.. Cheers Monkey.

I'm walking around the Object now, and have moved it down a bit.

No doubt I will have to cross that bridge again and I will keep in mind what you have said.

I'm giving myself a basics in Baselines it seems..

Another.. Some objects are barely clickable and I'm having to use Hotspots. Could this have anything to do with Baselines?

cheers

barefoot

I May Not Be Perfect but I Have A Big Heart ..

monkey0506

As I said before, the only thing that baselines are for is controlling what gets drawn in front and what gets drawn in back when a character/object is overlapping another character/object. It essentially helps emulate a third dimension in your two dimensional graphics. That's it.

If your objects are barely clickable, I'd check things like whether the Object.Graphic has large transparent areas where you're trying to click, whether Object.Clickable has been set to false, whether Object.BlockingWidth or Object.BlockingHeight have been modified, and whether your mouse cursor's hotspot is located where you think it is at..just to name a few.

There could be a number of reasons why your objects aren't working exactly how you're expecting them to, but if the graphic is properly set and you're positioning the mouse properly over said graphic, then the object should be clickable, pending other properties of said object, as I mentioned.

barefoot

Hi Monkey

nothing is blocking and it is supposed to be clickable.

I have a ladder, which is quite small with a minimal transpency either side of it, i have graphics in between the runs to blend in. It won't accept any clicks, yet if i move it  down the screen it does work...

barefoot
I May Not Be Perfect but I Have A Big Heart ..

SMF spam blocked by CleanTalk