New attack type, the shockwave!


Greetings and salutations! Let's get right into the new stuff added into this update:

UPDATES

The big one is, as the title states, a new attack! Introducing the shockwave!

  • The shockwave is considered a 'rare' statement command (just like SEEK and FLEE) that only shows up in the card printer occasionally.
  • Shockwave places down a cone on the players position and attacks in an expanding wave. The targeted cells can be viewed by hovering the mouse on the yellow shockwave cone.
  • Much like the AOE enemies, the shockwave has 3 different modes: line, cell distance, and square. 
  • The shockwave command also has a number. That number is the maximum distance that the shockwave reaches. 
  • If an enemy is on the same space as a tile that the shockwave is attacking, the enemy dies in 1 hit, just like if hit with a bullet. Unlike a bullet though, the shockwave persists even after it hits an enemy!

That's about it for the shockwave!

  • I've also added in some infinite loop detection! There's probably some edge case that I missed, but basically, if your while loop doesn't ends with you being in the same spot that you started, it's considered an infinite loop. (the while loop doesn't run at all and just immediately gets skipped). There isn't any indicator to the player to explain what happened, but if your while loops just doesn't execute, that's probably what happened. 
  • FOR cards also got an upgrade! When you print a new one, you can put a field value (i.e. nb_enemies) on either side of the loop. I did a cleanup on the printer system and was able to slip in that upgrade. 


BUG FIX

In terms of bug fixes, not much happened this update, but I did finally fix cell highlights persisting after the player died! (I actually still don't know what caused that bug, nor how I fixed it. I just overhauled how cell highlights work when you hover on objects for the new shockwave, and something in my overhaul fixed it. I'll take it though!)


UP NEXT

Up next I have a big update planned. I'm going to add a new map event, the card editor! The card editor will allow you to add/remove commands/modifiers from cards! To balance it, I'm also going to add in a currency system so I can make different additions/removals cost different amounts. 

As always, any and all feedback is appreciated! Thanks for playing, hope you enjoy!

Files

coding_cards webGL v0.2.3.zip Play in browser
47 days ago
coding_cards Windows v0.2.3.zip 29 MB
47 days ago
coding_cards Mac v0.2.3.zip 53 MB
47 days ago

Get Coding Cards

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.