we are so back lol - private branch on steam for Project Delta right now. going to validate on steam deck over the weekend. Potentially going public with the classic mode world next week. we'll see how playtesting goes. Fingers crossed no game breaking bugs
37
Original Text:
Day 6 of development. Now that the first level and boss was completed, it was time to start making the game feel like a game. I had a lot of fun making the screen where Flying Fire shows up. I wanted to make it feel just like turning on an original Game Boy (or Game Boy Color, which was what I had.) The scene just has the logo (which has now changed) and an object that's the same color as the background starting on top of it and moving to the right when the sound starts playing. It was pretty simple but I feel like it always adds a nice bit of professionalism to a game.
Then I spent a decent amount of time hand drawing out the title "Destroy Space Aliens." I think I used battle toad's logo as a reference image while doing so. Reference images is something that I'd reccomend to everyone who is doing any type of art. Don't copy right over the image, but it's nice to have the image to the side to help you get proportions right and have a little inspiration.
Programming the menu was pretty simple (other than having to develop a sprite font) I just had a list of objects that were text that the selected blip would move to whichever object was active at the time. Hitting up or down would change which one was active. Then when you pressed the start button, a timer would toggle on and off if the selected text and blip was visible while playing a bling. I also believe I hardcoded each response for the action of each field. I probably should have made each menu item inherit from a generic abstract menu class and each different object could implement it's own action to perform when clicking. But my hardcoded solution worked out well, and since I was the only one working on the project it probably saved time not making the code too complicated. In my own personal development process (which differs greatly than when I'm working with a team) I usually go with the fastest route to get the job done. If I need to fix it, I'll usually do that later.
Now that the game had a wrapper around it, it was starting to feel like a full product. This really helped motivate me to keep on working on the project, and reassured me that I'm at a point where I could develop this whole game. After 6 days I had some pretty good progress. However that WAS 6 days of non-stop working on DSA. While I can't remember exactly, I'm sure that on the 7th day of developing DSA I rested. Or went rock climbing or camping or something. I don't remember.
2
52
Original Text:
So as I showed in the gif posted a couple days ago, the transition didn't exist on Day 4. Looks like here, at the end of day 5 of development i added in this screen transition and lock.
Nothing says: "Get ready for a boss fight" to me as much as your player getting locked in place as the screen scrolls over to the room the boss is in. This is probably because I played a lot of Mega Man and Mega Man X growing up. But there's just something about that pre-boss feeling that I love. I don't have a gate here, because it doesn't make much sense out in the opens in a garden to have a gate (other than the castle wall) but shaking the screen, locking the player movement, and playing a low pitch grumble certainly gets the job done. There's also just something about going into a boss room where the camera doesn't scroll that makes the fight feel so much more intense - as if the fight is all that matters at this moment.
Implementing the camera shake was pretty simple, just randomizing the offset of the camera from the player's position given certain variables. The different variables would be the intensity (how far from center the camera could shake), duration (how long the camera would shake), and speed (how quickly the camera would go from one shaking offset to another). I've implemented the camera shake in several other games before so it didn't take too long to get working. What ended up taking the most time to get the boss transition working was syncing up the sounds, the shake, and getting the camera to scroll and lock at the right position. I defininty didn't code that as well as I could have and was bit by it for at least 10 minutes to an hour for each boss fight I developed. In hindsight taking an extra hour here to determine a set position for the camera to move to instead of changing the game room's camera bounds would have been a cleaner and easier to use solution going forward.
1
55
Original Text:
So the first level was already completed, however you couldn't die yet. At this point you would just take damage, your health would go down and then it would just stop at zero and you could keep getting hit. I was waiting to implement dying because it involves a lot of extra systems to be in place on the engine, and after completing the first level I'd have to do it now or suffer later as I retroactively put it in place.
Dying involves a lot of things to work. You need the player to go into the animation of dying and lock all of the player's actions and prevent any other input or animation while still applying gravity and recognizing when the ground is hit. After the animation has run it's course you need to figure out what you do after a death. Do you show a game over menu? Do you decrement the lives of the player? Is there a combination between lives and game over that you want to do?
Since DSA is a rather difficult game I decided to go with just respawning at the spawn point at this time. After the death animation, the player's health would be restored, enemies have to be despawned and respawned, and the position of the player would be reset to the beginning of the level which was determined by the game state manager. Eventually I would include checkpoints in this as being sent back to the beginning of the level was way too punishing - especially when dying during a boss. The transition shown during this gif was also a little too jarring so I eventually implemented a dithering fade out and fade in that would take place after the death animation and before the spawn.
The rapid pace in which the player would respawn after dying and the frequency of the checkpoints helped in the game being challenging but not too unforgiving so that hopefully every time the player died and had to respawn they'd make it a little further into the level each time. I also decided not to make a visual indicator of when a checkpoint was hit because of the feeling of elation that came from dying and respawning at a checkpoint which I enjoyed - or it could have been just because I couldn't think of what the checkpoint would look like. I'm going to go with the former.
I also really enjoyed this gif because it looks like your player's remains are being scattered into the flower. I didn't plan on it happening, I just thought it was neat.
36
Original Text:
Day 4 was a very productive day. After having some conversations with my brother about the confusion of where this level is taking place I decided to add some more aesthetics to bring out the "grassiness" of the level. I added in some grass, some lovely flowers and even some threatening vines. I definintely like the look that the simple layer on top of the ground adds to the aesthetic. I spiced up the level sprinkling the aesthetics everywhere, added in the ominous bridge followed by a drop to the front of the castle. Then it was boss time.
In order to keep things simple I wanted to make the bosses in the game more advanced versions of the core enemies in the game. This way it adds to the story of the world (aliens of different types growing bigger) and gives the player some familiariaty (sp?) when faced with a new foe. So I took the hopper sprite and just scaled it up in Aesprtie from 16x16 to 32x32. Then went through each sprite and smoothed out the pixels to give it more detail. At the end of the fight I wanted the boss to charge through the wall and break down the castle gate as if you're chasing down the aliens as they invade your Uncle's castle. Once the boss dies I decided to make his body explode and cause his floating head to crash into the castle seemingly as a last resort. The scripting on this is a little too linear / choppy for my taste, but it gets the job done.
I decided with this fight that the bosses would have 3 phases. Almost every boss in the game follows this formula. At each third of their bar the bosses let out a cry and their attacks become quicker, jumps become lower, and all around become more difficult. This added an intersting dynamic to the fights where after getting the pattern down, new players would often say that the real fight didn't start until the last 3rd of their health. The game might have gotten a little too difficult through this, but that is what I was going for being in the retro genre. Also during this iteration of the boss he just hopped set distances. My brother reccomended flexing my kinematic equation muscles and get him to jump to the location of the player. Needless to say the boss fight got a little tougher after implementing that. Also at this point you can see there was no camera boundries for the boss room. I believe I implemented that the next day. Finally a change that wasn't brought in until the first half of the game was completed which became SO important: a health bar for the boss. At this point you're just fighting away and have no idea how much health the boss has left. It created a cool sense of anxiety which I was sort of going for, however the bosses were difficult enough that if you were having a hard time it was really important for the motivation to continue when the player could see the healthbar.
25
Alright finished the second full steam playthrough of the classic mode. The first playthrough I took notes and worked on the notes after completing the whole playthrough. This second playthrough I wouldn't continue playing until I resolved every issue found. Not sure which process i like better at this point, but given the amount of issues is dwindling I think this one worked really well.
Unfortunately working with codex introduced a LOT of regressions which make sense because the codebase was built by me pre-ai times and I never wrote any unit tests which would fail and tell codex that it fixed one bug but broke something else. This isn't an issue working in a repo from scratch with ai, but it's a big problem working with ai on a repo that was built without it so I should have kept it on a shorter leash leading to having to fix a lot of bugs in the second playthrough. But all in all now the game is much closer to where I want it to be. One of the big things I was able to do is fix most of the bosses to be much closer to the original versions instead of my ported versions which i felt like lost a lot of detail in the original game trying to make them moddable so i'm extremely happy it's feeling like the original game again.
So I was able to completely finish the second full playtest and fix every bug I found. However because I did find a bunch of bugs I will have to do another playtest before releasing to make sure I didn't introduce any other regressions. But looking really close to classic mode release. I think I can fairly confidently say that unless anything goes terribly wrong in the engine or in life I should be able to ship a new build to steam before the end of the month!
18
[DSA Archives - Level Design and the 3 Core Enemies]
Written: July 26, 2018
Developed: August 15, 2017
1
25
Original Text:
After the end of day 3, I already pretty much the foundation of the game done. Although there were some small mecanics that needed fixing.
This gif is from the beginning of day 4 and shows that the hoppers have been fixed and there's now more to the level. Also, the final of the 3 primary enemies has been implemented.
As a developer and designer, I wanted to make sure that every mechanic in the game teaches you how to play the game. This is something I've learned through studying classics like Super Metroid, Megaman X, and Castlevania Symphony of the Night. These are all huge inspirations for DSA. When the player first loads in to the level they can do two things: nothing, or smash buttons until something happens. This is when the player discoveres they can move. Moving mechanic successfully taught. Next the player comes to a jumpable platform to their right, they'll have to figure out the jump button to get over it, or they can't make any progress. Jump successfuly taught. Next they approach another jump platform, but before they can climb it, and alien pops out. The world is no longer safe and at any moment an alien can pop out and attack. In order to get by the alien the player an either dodge and jump or figure out the attack button and kill the alien. At this point the player should know how to move, jump, and attack - and they've barely moved one screen. However there is a more complicated mechanic which I had to figure out how to teach the player: Switching Weapons.
So the player can switch from a strong close range weapon to a weak long range weapon at any time. I was limited myself by only allowing the original GameBoy controls. So I had the D-Pad, 2 buttons, and Start and Select to work with. Changing weapons isn't really something too intuitive though, and it's bound to select (something common at the GameBoy era, but many people aren't freshly familiar with it - especially when using an Xbox Controller with much more buttons.) My way of teaching the player they can switch weapons was to create the Floater, an enemy which was out of range of your default weapon, forcing the player to have to switch to the blaster, or make a run for it. Unfortunatley through play-testing, most people would die and get frustrated, cursing the floater and I'd have to tell them how to change weapons so they wouldn't quit. Later this problem was "solved" by having a controller configuration screen show up before the game telling the player what each button did.
So at the beginning of day 4 all the basic enemies were in place. The Hopper mainly took up the close range, where it would deal big damage as it closed in on you. The Lander would ambush you, block your forward progress and attack you with blasts from a medium range. And finally the Floater, who would pester you from afar. Developing each of the enemies from coding to spriting took roughly a half a day, something that under fast paced development I couldn't keep making more and more enemies. What I ended up finding out, is because of the diversity of the enemies in how they attacked and behaved - I could position them properly in the environment to create some really unique chanllenging situation.
And so the intro level was almost complete. As I made it to the end of the gardens level, I knew ahead would be a large castle. How else to complete this scene? In my mind it seemed obvious. The view of the cresent moon over a creeky bridge as you approach the towering caslte walls.
Now I just had to make that.
Original GIF as well.
1
117
Original Text:
The First 3 days since the engine was mostly done I built a lot of core content for the game Most noticibly here would be the tileset and background for the gardens. I really loved doing the 4 color palette because it allowed a lot of detail to be made up in the imagination of the player, which I'll go more in to later.
Here I put together a very simple tileset with some grass on the top and dirt underneith. Since you're outside of a castle I decided to maybe put something that looked like a gate or ladders coming out of the sky, and very similarly I put some aesthetics in the foreground with fences. To my brother however the ground looked like castle walls as if you were outside running on top of the ramparts. In the next day you'll see how I addressed this - but I also thought it was fun and an added advantage of working with a VERY small palette. Your brain just makes up what it wants to see.
I also created the hopper who had a large aura when jumping and also jumped REALLY slowly. You can see that a lot of the background details that are in the final version aren't present, but that's one of the imporant things I've found in developing - Get things done, then make them better. My brother told me "Hey, that guy is REALLY floaty, you probably should fix that" and he turned out much better the way it is now.
I find a lot in development I personally have control freak issues. I have an image in my mind of the way I want things to be, and if they don't turn out that way I get frustrated. Developing DSA and seeing this difference so early in the development really helped me find a nice flow and let go of control during development. You can see when I get to the end of what I developed so far I just jump off the edge. This was something I did a lot in developing DSA. In the beginning I planned out what the whole castle would generally look like, but not the intricate details. I decided to let my imagination fill in those finer details as I played through the game while I was making it. So at this point as I was running to the right I would just think: "What am I, as a player, expecting to see come next" and then I would go and make that.
This was very important for me because the reason I like making games is because I like playing them. Going in with this laid back mindset turned the feeling of "the level's not complete I need to do work to finish it" to a creative mindset of: "there's an empty sanbox infront of me, time to fill it in one piece at a time."
34
Original Text:
I'm really tired right now from going on a run after work while implementing my new "back cure strategy" of flexing my core all the time because I don't have a strong enough core. I just wanted to make sure to update the site.
Will update this post tomorrow with more information about what's going on in the gif. I really want to go into detail on the history of everything. But for now I want to relax and play some Destiny with my friends.
EDIT: (July 23rd, 2018)
I didn't make it to editing the post last Friday because family things came up, then I spent a nice weekend hanging out with my cousin and his girlfriend. I pretty much go no rest, but it's okay because it was really fun.
Anyways! This first gif was made 3 days after development for DSA began. I already had the whole platforming engine down which I made with by brother probably a year before development. I pretty much just had to make the sprites and plug and play at that point. Though sometimes very tedious, I always enjoy doing the animation and keep in mind the 12 animation principles which really helps breathe life into the animation and prevents things from looking choppy.
After fine tuning the movement, I was thinking about what the first enemy should be. I knew in the story you would first be entering your Uncle's castle, and you would be fighting aliens. So it only made sense for the first enemy to be an alien that flew out of the sky and crash landed in front of you to throw evil alien blasts at you. I didn't want to make anything too complicated (K.I.S.S) and this guy turned out just right.
Damage numbers was another big thing. I always love the feeling of damage numbers in any game. There's something oddly satisfying of seeing a number pop out of an enemy as you attack it. Damage numbers always create the issue for me of where to put the number. Do you put it at the edge of your weapon? At the point of contact? Since I didn't want to calculate the point of contact with the sword / blast and the enemy - I went with just placing the damage number at the center of the enemy. This creates some wacky behaviour in large enemies, however it works for most of the enemies in the game.
I also made sure quicky to implement a sprite font for the damage numbers. After looking at them and showing this gif to my brother and friends, it was obvious the numbers were way too big. Leading to the damage numbers we have now.
1
110

