Tuesday, March 15, 2022

AI - First Steps!

The first steps towards implementing the AI have been committed. The AI will be split into actions that are built each time the CPU turn begins. Movement for CPU units will be made of 3 algorithms, one for moving closer, another for taking cover, and another one to flee from player-controlled units. They will be triggered depending on several factors.

The shooting component will be a separate component but, in a nutshell, the shooting mechanics will be validated each time CPU units move onto a new tile. CPU units will also have personality profiles that dictated how defensive or aggressive they behave in battle.

Stay safe!

Friday, March 4, 2022

A Closer Look At Ghosting

Considering the amount of units missions can hold for both playable and CPU-controlled factions, I've implemented a 'ghost' feature that helps players keep track of the enemies' positions. These ghosts act as a marker in the map and disappear once any ally unit gets them into their Line of Sight (LOS).

Even after ghost markers disappear and players become unsure of the enemy's whereabouts, they help identify enemy-controlled areas. See them in action below.


I've updated the game's development plan and soon will start coding the AI, which is probably the last complex task remaining before Archrebel is in a playable state.

Stay safe!

Sunday, February 6, 2022

Steam Store Available

Steam's store is finally available! This means that 'whishlisting' Archrebel is now a possibility. Click here to access it.

Below is the game's first official promotion video. It's not what I had in mind but with more stuff to show in the future and hopefully, with me getting access to Magix Vegas edition software, I will be able to create a better video.


With more than 80% of game mechanics complete, I anticipate a demo just before this summer.

Stay safe!

Thursday, January 20, 2022

Melee Combat Is In The House!

Melee combat? Yeah, no problem. I can do it in one day. Only it took me a full week. I had to make several adjustments to the combat algorithm that was, until now, just being used by ranged weapons.

Because I wanted everything perfect so I could rest well at night, I had to create 4 animations for the Fist icon, to handle fade in, fade out, idle, and exit states. But let me skip the boring details and show you how it turned out:


The combat formula is currently as follows: the attack score is the result of the attacker's [melee skill + 1d40] roll, against the defender's [melee skill + 1d20]. If the attacker's resulting score surpasses the defender's, the strike succeeds. The amount of damage dealt is calculated by getting a random value between [1 and the attacker's total strength] + the attacker's total agility.

On paper, this formula seems ok but I still need to test it, so changes are prone to happen.

Stay safe!

Sunday, January 9, 2022

Hit Percentage Chance Indicator

I think that having a percentage indicator is better than simply having the deviation circle to measure the chance of hitting a target. When a unit shoots, it will shoot somewhere within the deviation circle. So, by extrapolating the percentage based on the size of both the target's collision circle and the deviation circle, we can get a fairly accurate percentage value for hitting targets. This is done by applying the 'Rule of Tree' math calculation.

As shown on the video, the chance of success for hitting a target is reinforced with color-coding, scripted as follows:

  • Above 80% - Blue.
  • Above 60% - Green.
  • Above 40% - Yellow.
  • Above 20% - Orange.
  • Above or equal to zero - Red.
Take care!

Tuesday, December 14, 2021

Damage System Complete!

Finally, after nearly a month of tinkering and coding, Archrebel's damage system is now fully implemented! 

Both humans and droids are divided into 6 body parts that can be wounded/damaged and crippled. Each body part controls a certain aspect of the unit's functionality granting penalties in distinct ways in case they get compromised.

Light damage happens when a body part loses 50% of its health, followed by moderate damage at 25% with critical damage (crippled) when the body part runs out of HP (0%).

For humans, body parts govern the followed aspects:

  • Head: affects skill efficiency.
  • Torso: affects the AP (action points) recovered at the beginning of a turn.
  • Arms: affects the cost for performing actions, like shooting and picking up items.
  • Legs: affects the cost of moving.

For droids, the following is considered (droids use a combination of modules up to 6 in total):

  • Sensor module: affect skill efficiency.
  • Power module: affects the AP (action points) recovered at the beginning of a turn.
  • Combat module: affects the cost for actions that use weapons.
  • Defense module: affects the cost for actions like activating shields or auto repairing.
  • Utility module: affects the cost for actions that use utility equipment.
  • Mobility module:  affects the cost of moving.
  • Navigation module: affects the cost of moving.
I'm not sure which part I will now focus on, but I'm sure more information will be available in the next post!

Stay safe!

    Friday, December 10, 2021

    Power Armors

    Powers armors are one of the several core additions to Rebelstar's original premise. These armors can surround wearers in a protective energy shield that halves incoming damage, ergo providing twice the protection.

    This sounds great, but some other variables should be considered. The energy shield only lasts for 1 turn and takes a while to recharge. Knowing when to use the energy will provide another strategy layer that further enhances Archrebel's tactical combat mechanics.


    And now, back to coding resuming the damage system, which is taking shape just fine. More about it soon!

    Take care!