Draw a circle below the character

This may be silly, but I'm seriously lost in here.

I went 100% parallax with my game, and sometimes the character is covered by buildings' overlays. That's not very user friendly, because player 'looses' control over his character. What I'm trying to do is prevent this from happening by drawing a circle below a hero to give player a hint where exactly he or she is. I'd like it to look like this:

circle.png

Of course the circle would be manually called only when character is going to be hidden by an overlay (I bet there isn't a way to detect it automatically).

But, as I said, I have no idea how to do it - I mean, display the circle above all other bitmaps (parallax ground, overlay etc.), plus move it along with a player's input. Could anyone help me, please?

circle.png
Showing picture with higher number should take priority over parallax stuff.

I'm not sure if that would work, but I would try to bind player X / Y position to variables, then use "show picture" event, that would draw a picture at actor's position.

Theoretically it should work, but I'm not sure ~ At least worth trying.

WtvmtpT.png


And perhaps it could be possible to draw that circle automatically using regions...
You also might want to reconsider some of your passability settings.  In parallaxes and editor maps which allow the player behind buildings (my own present project, for example) there is a definite limit to how far 'down' behind a building the player can go.  Remember that with RM's perspective, there is an element of top down which means that the player should not be able to go completely behind a building the way you would with a pure 2D effect.
which means that the player should not be able to go completely behind a building the way you would with a pure 2D effect.
I don't agree - if the building is high enough (I have 8-tile-high buildings, of course counted with a roof) then not allowing them to hide player completely means they are very wide, but not high - and that messes up perspective.
Ah, that now makes sense.  I was thinking of the more usual RM houses which are 2-3 tile high walls plus 2-3 high roofs (so maybe only 4 tiles high total).  With those, the player is hidden, but it is easier to know where they are.
Alternatively, you might want to check the script included with the packs from PVGames (High Fantasy, Wild Steam, Mythos).


The actors are usually 2-3 tiles high in those packs, which creates problems in certain map structures. That script then creates a shadow in the same form as the actor sprite to make those parts appear to be behind the structures.


Unfortunately I don't know if that script is compatible with parallaxes - you might have to set a lot of star passabilities to be able to use that...
WtvmtpT.png


And perhaps it could be possible to draw that circle automatically using regions...
How would I do that?

Showing picture with higher number should take priority over parallax stuff.

I'm not sure if that would work, but I would try to bind player X / Y position to variables, then use "show picture" event, that would draw a picture at actor's position.

Theoretically it should work, but I'm not sure ~ At least worth trying.
I tried it and it works, but not exactly as desired. The circle is shown far from the character (both in the Upper left and Center positions) and I can't bypass it without resizing the picture to match my resolution, which is something I don't want to do.

Alternatively, you might want to check the script included with the packs from PVGames (High Fantasy, Wild Steam, Mythos).
Unfortunately I don't have any of them.
Rikifive, on 22 Jul 2015 - 2:22 PM, said:

WtvmtpT.png


And perhaps it could be possible to draw that circle automatically using regions...
How would I do that?

Perhaps that would do that: Region Common Event

You would need to make a common event that shows picture or something and another common event that erases that picture.

Then just drawing regions (that shows picture) behind that objects/structures etc., and drawing *erasing* regions on borders of the *hidden character* part.

~ Or something like this, though I'm not sure. =P
Nvm, got it working by events and show picture - great tip Rikifive, thanks!
Glad could help! =)

Original thread: https://forums.rpgmakerweb.com/threads/draw-a-circle-below-the-character.42670/