Showing posts with label ribbons. Show all posts
Showing posts with label ribbons. Show all posts

Tuesday, 15 December 2015

99 Bottles Of Swag On The Wall ...

Last blog post "Wednesday, 8 July 2015" --- bad indiedev, bad!
Devblog Harder, The Devbloggening

Having been back to sorting things out for Steam and Airship Dragoon (such as Trading Cards) apparently it was February when I last mentioned the concept of my new indie game project "The Swag 'Em Up". Back then I was testing a basic isometric control system which I went on to use in the "7 day Rogue-Like Game Jam" back in March. Since then, we've made a bit of progress, though it might not really look that way as everything is still displayed as a placeholder object. Here come the cubes ...



I created the ability to unlock objects with cash picked up from deceased enemies. These objects then dispense power-ups and swag. Can't have a Swag 'Em-Up without swag! ;) 



Having found memories of Ye Olde Arcade game Gradius (also known as Nemesis in the UK back in Ye Olde 1980s) I thought it might be fun to have a Gradius style "Option" which follows the player around, adding additional firepower to all attacks. Like the Gradius Option, these "Followers" link up in a chain, trailing behind the player's movement and inherit the player's rotation to fire in the same direction. A bit of tweaking code meant that the player and Follower would happily not shoot each other.



Of course a Swag 'Em-Up needs swag, so I spent quite a lot of time thinking up 108 unique pick-ups - which is a lot by any stretch of the imagination. These are split into 30 common power-ups, 25 uncommon power-ups, 20 rare power-ups, 25 single use special items and finally 8 upgrades for Followers. Making all of these pick-ups unique took quite a lot mental gymnastics, especially after I had gone through the many of the more obvious ones such as speed-up, health faster, more, health, dodge, shielding, teleport, fire attack,armour piercing, and the normal sort of stuff you see in video games. So here's a quick selection in action:

Magic Bullet - attack ricochets through enemies causing 4 wounds (a free internet for anyone who spots the politcal assassination reference).



Homing Missile - For those times when you want to cast magicMissile ... at the darkness! Here demonstrated by the enemy AI attacking the player.


Laser Beam - ImaCharjinMaLayZor! Big old energy beam which slices through ranks of enemies for damage. I've since dropped the explosive blast from the end and let the beam continue further off screen.



And there's plenty more where they came from ... 104 more including Follower upgrades. Minus the 8 Follower ranks and 25 special use items, the remaining 75 player upgrades divide into 8 attribute power-ups, 9 general bonuses, 30 attack upgrades and 28 defensive power-ups.

For enemies, I'm planning on using an updated version of my "7 Day Rogue-Like" AI code. So the current job is to code up the remainder of power-ups to placeholder art status, and then start testing to find the best way to create the levels as I currently imagine them to be.


Monday, 28 July 2014

Emergency July Blog: Fancy Ribbon FX: The Ribboning

No dev blog this July? Ah there were multiples last month ... but let's sort that out.

Some time ago I'd asked/pleaded/badgered (delete as applicable) Tim from MaxGaming Tech (whose mech combat game is on steam now) on their IRC channel (irc://irc.maxgaming.net/garagegames) for some old code for attaching fancy ribbons to moving objects in a FreeSpace type manner. He duly obliged and after a cursory look at it all and some grumbling about a lack of code comments - I make gameplay, fancy C++ and rendering stuff isn't my area of expertise - I ended up being snowed under with other dev related things.



Originally I'd envisioned using the ribbon effect for a tech demo of another game concept but continued Airship Dragoon dev had put the kibosh on that.

However noting that Lukas of WinterLeaf had created a ribbon emitter based on the stock particle emitter. This was quite cool and a quick compile later I had a Nyan Cat trooper running about. Scrounging other peoples' code snippets is one of the joys of using an Open Source Game Engine! :P


Turned out he wasn't actually supposed to be trippy Nyan Cat colours after all, and the shader was taking the colour from the normals rather than the colour because the addresses in the rendering code were not matching order. I nodded sagely in pretense that I knew what any of this meant while other people asked me to swap code lines around and report the effects. That fixed, it was a pretty simple job to create ribbon types based on ammunition types for all weapons. Swag.



Whilst testing my latest build I annoyingly found that the instanciating file for arid level 2 had corrupted for reasons beyond mortal man's understanding (stares suspiciously at the stars and blames the Reptoids/Cthulhu/Ming) and whilst collision for troops was working it wasn't passing collision for raycasts or projectiles. Simply updating the file and resaving it fixed this annoyance. All this and a few other tweaks and fixes for minor issues will be finding their way into the next update/patch.

Right now I am mostly working on the forthcoming Steam build. My original trailer is now woefully out of date as the characters, animation, audio and various other stuff has changed since release. It's also boiling hot even in my dreary little bit of Yorkshire and my ancient PC coughs and splutters as I run Airship Dragoon full screen with the settings on high to try and get some decent video footage.