No, I mean, you really should fix that…really no rpg doesn’t allow diagonal movement, unless maybe if it’s turn based.
Ah, well it’s been on my to-do list for a while. I think that it can be fixed with a few more if-else statements and a few checks. If everything goes as planned it should be fixed right before I finish this next part of the NPC class.
Edit:
O.o I guess my code rewrites actually helped a lot! ^.^ It only took me 10 minutes to get diagonal movement working perfectly. I was more-or-less avoiding adding diagonal movement because the first time I tried adding it, there were problems everywhere; at least it’s done now.
Well, I think the GBA Pokemon series of RPG’s don’t allow diagonal movement. [/offtopic]
But, you should be able to handle multiple collision detection if you handle each axis of collision separately.
Ah, well it’s been on my to-do list for a while. I think that it can be fixed with a few more if-else statements and a few checks. If everything goes as planned it should be fixed right before I finish this next part of the NPC class.
Edit:
O.o I guess my code rewrites actually helped a lot! ^.^ It only took me 10 minutes to get diagonal movement working perfectly. I was more-or-less avoiding adding diagonal movement because the first time I tried adding it, there were problems everywhere; at least it’s done now.
Well, I think the GBA Pokemon series of RPG’s don’t allow diagonal movement. [/offtopic]
But, you should be able to handle multiple collision detection if you handle each axis of collision separately.
It’s been about a month since my last update and now it’s time for another update!
Since the last update I’ve watched all of the, at this time, 74 of TheCherno’s tutorials and re-wrote the entire game. After watching his tutorials IO found out pretty quickly that the way I was doing many of the things was the worst way that I could have been doing them.
There’s not too much to say other than that everything is now different and that I’m currently working on getting sound/music into the game and looking up how path finding works for mobs.
If anyone wants to check out the current, as of this posting, program you can find it here: http://www.mediafire.com/download/po1k69vl342o2ms/Sword_V3.jar
It’s been about a month since my last update and now it’s time for another update!
Since the last update I’ve watched all of the, at this time, 74 of TheCherno’s tutorials and re-wrote the entire game. After watching his tutorials IO found out pretty quickly that the way I was doing many of the things was the worst way that I could have been doing them.
There’s not too much to say other than that everything is now different and that I’m currently working on getting sound/music into the game and looking up how path finding works for mobs.
If anyone wants to check out the current, as of this posting, program you can find it here: http://www.mediafire.com/download/po1k69vl342o2ms/Sword_V3.jar