Archers now follow the player for a predetermined amount of time before holding still for anotherĀ predetermined time. At first when the archer would be told to stop moving it would drift on the momentum it had gathered. This was simply solved so that when I turned off the AI movement I also set the character’s velocity to Zero.
Category Archives: Uncategorized
Adding “Archers” to Dungeons
The idea I was going for was an enemy that followed the player around and periodically shot a projectile. I also wanted the enemy to stop at a specified distance from the player. Unfortunately in my experiments with A* pathfinding I can either have the enemy stop at a specific distance or have the enemy not clip through walls. While I will continue to look for a solution for this problem the short term workaround will be to change the desired behavior to periodically moving before holding stationary and firing.
Large Update
I have started a new game project. It is a twin stick dungeon crawler with procedurally generated levels. I have some basic room designs and basic character movement controls (going to overhaul them but current ones will do for now). Currently working on coding the enemies I have come up with and re-familiarizing myself with A* path-finding.
Goals for this project are:
Procedurally generated levels
Xbox controller and Mouse and keyboard controls
Randomly generated loot
Boss rooms every X floors
Scoring system
Check boxes are just cool buttons
Got through a few more tutorials today covering check boxes and radio buttons. The basics are that these are buttons designed for toggle states of off or on. Check boxes allow you to select multiple options while radio buttons only allow one selection per group. But as with other buttons the functionality is all determined by the programmer. Probably the most common use for these types of buttons is to make multiple choice selections, but I see no reason they couldn’t do anything a normal button couldn’t do.
Self Reflection and Revaluation
I have been working on a life counter app for the last week or two as a learning exercise and have learned a great deal so far. However I have been learning things in a somewhat random order and parts of the project have been put together with the digital equivalent of duct tape and a prayer. So I have decided to start another “project” of following some tutorials I have found and learning from them. I will be continuing work on the Life Counter but it will not be my main focus. My main focus will be learning android development from the ground up.
One of the reasons I have come to this decision is that I was working on making the dice roller part of the app in to its own activity and I succeeded at this and adding a “up” navigation functionality but discovered that upon returning to the main part of the app the any changes to the life counts was lost and they reset to twenty. If I was working in Unity I could fix this very simply by storing the data in a script I would make in an instantiate scene and then reference in other scenes. But I am unsure of how to fix it in android studio. As such I am going to learn all I can.
Recent Activity? Learning Activities
I have the bare bones of a Magic life counter app and now I am slowly learning new things to add more features to it. The first thing I am learning is how to use multiple activities so that I can have the Dice roller function be its own screen. This will save screen space and allow me to do fancier things with the Dice Rolling/Coin Flip.
I am also considering starting up some reviews on the blog. Reviews of what? Whatever I want! Web comics, video games, food, tv shows, basically anything I find interesting.
This Last Week
For this last week I have been starting development of my first android app, a simple magic life counter. Last week was lots of frustration as I was learning a new development tool (android studio) and how to code for android apps. Lots of frustration simply getting the system set up so that I could test apps because I wasn’t sure if I had missed a step, had written bad code, or something else. Turns out it was mostly part three with a little bit of part two. I had accidentally deleted a part of the project that I needed and didn’t realize that java functions that communicated with the xml file needed to pass a View variable. With those two problems out of my way I have managed to create the bare bones of my project and am moving on to other parts of app design now that i have the basics.
Initial Survey Results
I only have 4 responses so far but the data I am getting is still interesting. The most wanted features so far are 4-player capacity, customizable UI, Coin flip, and role D20. The least wanted feature is the activity history. Some of the suggested features I am considering areĀ links to a card search database (most likely gather) and keeping track of the added cost of a commander.
Putting up a survey
I made a quick survey on Survey Monkey about the features that I will implement in my Magic Life counter app. The questions on the survey are: “Have you used a life counter app?” “What method do you use to record your life total?” “Of these features please list them in order of importance to you.” “Would you rather pay up front or have adds on the app?” “Any additional suggestions? Features I haven’t thought of?” And I posted this to a group of friends on Facebook, now to wait and see what result I get.
My top down shooter is done for now
Today was the last day I am going to be doing any serious work or thinking about my top down shooter game. Tomorrow I am going to put up download links and a description on my website and then I am going to move on to my App project.