The biggest problem so far for me in Stencyl is to understand use of coordinates. I am just totally stuck on that contents. Not sure how many hours spent on this, lost count. So I was thinking about reset everything, start from scratch/fresh start.
I understand how to track your own X and Y. I understand that as you move down the screen, Y gets bigger and smaller as you move up. For X it's get bigger as you move right and smaller as you move left. I know that you for example compare your X with the enemy like this:
If Player X(game attributes) <= x of self
Do something
Still I don't get it/can't figure out how to use them . I really need that eye opener and I feel that I am somewhat close.
I am trying to figure out how to use coordinates for enemy AI. For example if the player is 100pixel left from the enemy, it will see you. And if your are more then 100pixel from the enemy(left side), it won't see you. Same with the right side. If you jump over it from the left side, to it's right side. It will change animation to right as you are over it. At the same time if you walk under the enemy or very far over the enemy, it won't spot you. So kinda like making a huge rectangle around the enemy where it can spot you. I know you can use region. But the fps drop was to high, so not worth using. But there is other situation then enemy AI where understanding coordinates is important. So really want to learn this

Sorry for my terrible English and I know that I am asking for a lot. But it would mean a lot for me, to understanding this. If somebody have time to explain a bit or maybe show some of the code using for this and explain why they did use those blocks etc. I would hopefully gets it and can figure rest of it!

Hopefully ppl understand what I am talking about, or I have to use my “awesome” paint skills and draw some stick-man to explain it with more details ;P
Thank you for your time!

- Tobben