JS13K Games 2019 Day 32 (Final)

It's the final day to upload Shield Bearer before the deadline.  Well, more like the final 6 hours.  Let's see what I can do.

I wanted to get that collision with the Backscatter Buster shots and the spiders going, so I immediately jumped into the playerProjectile's update function.  I added a for loop to go through the array of enemies and check for collisions.  If there was a collision, mark the projectile for dead and kill the spider.  The collision is good, and the score is increasing!  Now I just need to make the spiders a bigger threat by having them fire at the Bearer every second after they have stopped!

In Orion's Revenge, I created Enemy Ships that could shoot at the Player Character no matter where the Player's Ship was on the screen.  I want to do something like that for the spiders.  To implement something like that, I created the enemyProjectile class.  If the enemy is a spider, I want it to fire a projectile from the center of its abdomen at the Bearer.  I eventually had to ditch checking to see if the enemy was of the spider class; instanceof wasn’t working the way I thought it would with classes.  I would have to look up a way to do that with JavaScript classes after the competition.

Well, I tried to finish Shield Bearer in time to upload it for the competition, but it was just too late.  I had to go to bed to get some sleep before heading to work.  Then by the time I made it to work, it was way past 7am (EST).  I missed out, but I hope jedulz had better luck with his submission.

You can play what I got for Shield Bearer.  The spiders die when hit with the Backscatter Buster, the shot disappear, and the score increases.  When the player gains 5 points to the score, another spider can be added on the screen, up to a maximum of 10 spiders on the screen at once.  The spiders will fire on the Bearer once they reach their destination.  However, their targeting is a bit off.  I don’t know if I should fix it or keep it: its odd targeting adds a little bit of unpredictability to the game.

So, I didn’t make it to the JS13K Games 2019 competition.  However, jedulz has informed me of another competition: Game Off.  That one runs from November 1st to December 1st at 4:37pm (EST?), so there shouldn’t be anything to get in the way of completing that one.  Plus, this one doesn’t have that file size limitation; though, I don’t think that would have been a problem for Shield Bearer.  Also, there are a lot of other languages that I can use, besides JavaScript, to create a game for Game Off.  Since it’s hosted by itch.io, I’ll need to get an account there, but I’ve always wanted to because I heard that I can upload and share my games for free there.  I got a few Game Maker games that I would like to share, if I can without angering the IP holders for Mega Man and Star Trek.

Although I didn’t upload Shield Bearer to the JS13K Games competition, this was definitely not a waste of time.  I learned so much about what JavaScript can do and how to use the HTML5 Canvas to create games.  Next time, I should be able to get something playable up and running sooner; which, I feel was my biggest issue during the production of Shield Bearer.  I wasn’t very productive until I saw stuff on screen.  It was really exciting to add stuff, see it on the screen, and then test to make sure everything still works.  Now that I got something working, I should just be able to copy the bits of Shield Bearer in charge of getting the Canvas to render the game in the browser.  Then more time can be spent adding objects, testing them, and making adjustments to the game.  Plus, I figured out how to properly use GitHub, which will definitely be of use later.

Well, that’s it for the JS13K Games 2019 competition!  Don’t worry, I’ll keep this blog active!  I’ll be adding update to the Game Off competition in about a month!

Comments

Popular posts from this blog

Game Off 2019 Day 4

Hacktoberfest 2019 Day 8

Metroidvania Month 7 Day 6