Coder With A Blog: Day 65: Magic Meter, Enemy AI improvements and attack improvements!

Monday, 16 December 2013

Day 65: Magic Meter, Enemy AI improvements and attack improvements!

Hey guys!

I'm almost finished my exams (tomorrow!) so I'll have more time to work on Adventure^3, but for now, Here's what I added today!:

A new magic meter has been added that takes the place of the number of arrows you have while wielding a magic wand. The texture is W.I.P and was really a rough sketch for what the final image will look like. I also plan on adding a shield durability icon when you wield the sword and shield that will tell you how many attack points your shield can take before you begin to be damaged.

Enemies will also no longer follow you unless you are within 100 units of their location (prevents scorpions from leaving the desert etc.). I also hope to divide the map up into regions soon to reduce lag while keeping the open world feel! I've been looking at construction too, and it's extremely laggy at the moment, but I might have some kind of pre-made parts system for castles or homes (that'll be after the dungeons though!)

Finally, you can no longer spam sword attacks! The code now waits for the swinging animation to finish before allowing you to attack again, meaning you can no longer spam 1000s of points of damage in a few swings!

Screenshots:


Keep on coding!

No comments :

Post a Comment