After a week of other work and a cold going around in the family, I have finally had a chance to continue with the game for the past few days. I have been working on making some basic behavior for survivors and zombies. The game will be something of a simulation-strategy, where the inhabitants do their own thing and you as the player can guide and help.
In this test the following is happening:
Zombies are red and they look for survivors, when close enough they start chasing them. If close to another zombie they form a group. If no survivor close, they target the "player object", this is only for testing so that I can guide them if I want. When zombies die they leave a purple splat in their place for a short period of time.
Survivors. Are slightly more clever. They try to form groups when they can, and groups join when they can. They try to move towards a specific target (in this case the center point they all seem to move towards). If a zombie is near they will avoid them, unless they think they outnumber the zombies and the zombies are sort of in the direction of their target, in that case they will attack. When survivors die, they leave a bright blue splat for a short period of time.
*A survivor has a small chance of becoming a zombie if they fight them. If a zombie group is the same strength as the survivor group, the survivors will be zombified. If the zombie group is more powerful, they will eat the survivor brains instead.
I think the behavior so far is working as intended. I'm currently working on adding in more behaviour, where they seek out targets and make more decisions. I'll have to work more later on their movement and on making sure the objects spread out a bit more. Currently they can occupy the same space, which is fine but should have some limits so it is easier to visually judge how many there actually might be in a group.
What is this project?
An attempt at making a game that does a couple of things.
- Use Steem user accounts/posts to decide on how the game world is populated.
- Allow steem users to help out when another user has an active game session. For starters, simply upvoting the "i'm playing" post will give the player in-game boosts.
- Post results of a game round and track a high score list.
- Demo making a game system to use the blockchain to sell a game and track who owns to allow access or access to specific features. The intention is not to sell the game/in-game features, only to try and provide an example of how it can be done.
▶️ DTube
▶️ IPFS
So what are the next plans for this? Its glad to see another developer on here. Someday I will put up my stuff too :D
Hey! Wrap up some basic goal for the objects and add rudimentary player interaction. Then I can move ahead and add the Steem specific parts before doing more on the game itself. So some testing can get going!