Thank you all for your help.
since i stumbled upon this issue i'm gonna let it for those who have the same problem.
I had a tactical rpg movement system which displayed a player, and a movement range at the opposite side of it.
The solution; i had swapped the x and y values of the movement range and displayed the player 2 blocks away from the actual position.
[closed] the movement range messes up.
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
[closed] the movement range messes up.
- Attachments
-
- ATacticalMovementIssue.love
- (28.24 KiB) Downloaded 186 times
-
- ATacticalMovementIssue.love
- (28.24 KiB) Downloaded 156 times
Last edited by Pospos on Fri Aug 03, 2018 8:59 pm, edited 5 times in total.
- Sir_Silver
- Party member
- Posts: 286
- Joined: Mon Aug 22, 2016 2:25 pm
- Contact:
Re: The movement ranges messes up
I need to make the mouvement range correspond to the player.
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: The movement ranges messes up what can i do to change it?
Obviously it's offset from the player position; "ID10T" tests should help, like printing out the player's coordinates, and then the center of the highlighted area, and checking the code why it does that.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: closed
Why delete your question once you've got your answer? Don't you want your thread to be helpful to other people with the same problem?
Zabuyaki, our upcoming beat 'em up: https://www.zabuyaki.com
Re: [closed] the movement range messes up.
Sorry, put it back. Just thought it wasn't useful anymore, that it was polluting the forum since it's a quite stupid error.
I'm the type of person that deletes a lot of stuff when i'm unsure, and that happens a lot.
I'm the type of person that deletes a lot of stuff when i'm unsure, and that happens a lot.
Who is online
Users browsing this forum: Google [Bot] and 6 guests