summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-07-21Make another unnecessary change.Rose Hogenson2-4/+3
2023-07-21Remove reading from /dev/urandom.Rose Hogenson1-23/+2
For greater portability, we will only use the system time for seeding the random generator. It's not like it matters anyway.
2023-07-21Remove dependency on the rand crate.Rose Hogenson6-61/+55
I don't need a dependency to generate random numbers. I know how to generate random numbers.
2023-07-21Remove unnecessary "extern crate" declarations.Rose Hogenson3-47/+119
2023-07-21Update my email.Rose Hogenson1-1/+1
2023-07-21Bring dependencies up to date, and use nix flakes.Rose Hogenson9-1334/+314
2020-04-12Fix nix build and typo in loss screen.Raymond Hogenson6-7/+1274
2018-08-24Fix a typo which prevented compilingRaymond Hogenson1-1/+1
Jesus I should try to test things before I push them.
2018-08-24Load the images directly into the executableRaymond Hogenson13-113/+110
Cool, haha. We did it. I also changed a bunch of random shit.
2018-08-22Make taking injuries more flexibleRaymond Hogenson5-5/+14
I've just moved it into the Enemy trait, because I was planning on having Bill move around when he got hit, but it didn't look good.
2018-08-22Play a better songRaymond Hogenson1-1/+1
If we write our own music, we could just embed it
2018-08-22Make Bill a bit biggerRaymond Hogenson1-1/+1
It's just less fun when he's so tiny
2018-08-22Add introduction and conclusion screensRaymond Hogenson10-42/+114
We're releasing version 1.0.0 baby
2018-08-22Change SDL2 versionRaymond Hogenson1-1/+1
I prefer to use a stable version, because then nixos can build it.
2018-08-20Move assets directly into the binaryRaymond Hogenson3-8/+37
Wow rust has a built-in operation for moving binary assets into a file! That's so cool! Rust is the best language in the world! Does C++ have this?
2018-08-20Move assets directoryRaymond Hogenson8-0/+0
I've moved it, now of course I need to update the source to reflect this change. But I'm putting those in separate commits because of how many times I've been warned that git moving things is suspect.
2018-08-20Count frames more preciselyRaymond Hogenson1-5/+3
Instead of calculating the time from the beginning, we'll just check the time since the frame was started. This means if you are slow and then fast, it won't freak out. This was inspired by an app I wrote for Clank which counts clanks frame by frame and I needed some similar mechanism.
2018-08-19Move some code around and improve abstractionRaymond Hogenson4-197/+262
This doesn't change the functionality of the game at all (ideally), but makes it easier to refactor and to add new enemies and new stages, which is really the end-goal of this whole thing.
2018-08-18Redo binary blob asset to have more actual binaryRaymond Hogenson2-0/+0
I like how it looks now, and the hitbox is still obvious.
2018-08-18Add a health barRaymond Hogenson2-1/+3
It's sweet now
2018-08-18Add the ability to move more quicklyRaymond Hogenson2-4/+13
I also upped the fire rate
2018-08-18Improve performanceRaymond Hogenson2-18/+21
I profiled it and this was the slowest part.
2018-08-18Change draw orderRaymond Hogenson1-1/+1
Player should be under bullets since player is now large
2018-08-18Update assetsRaymond Hogenson4-0/+0
Maybe just timestamps?
2018-08-18Add texturesRaymond Hogenson13-36/+44
These were fun to make
2018-08-18Tune enemy movement logicRaymond Hogenson1-28/+36
Now the logic is straightforward and not so fragile when we add some new complexity. Next step I think is to make it all based around traits or some kind of generics, and then we can plug in new enemies. Ideally we'll just have the game represented as a list of phases, where a phase is just an object, and the player will progress through them in order. Because it has to be a concrete object, I think we can embed a function pointer into a struct to get most of the functionality that we want.
2018-08-18Stop the player from going off the sideRaymond Hogenson1-0/+15
Oh wait I haven't tested this yet. I'll be right back. Yeah it works
2018-08-18Rename the nix file and include in gitRaymond Hogenson2-2/+7
bullet_hell.nix is the automatically generated one, default.nix is my hand-crafted file to build the expression, given the automatically generated file as an input. Really carnix should have the capability to do this by itself, but I'm trying my best.
2018-08-18Finalize the new movement schemeRaymond Hogenson1-20/+55
Ok it's pretty fucking cool. Tracking acceleration has always looked good, no matter what. There's some pretty advanced logic going on here, and it's worth it.
2018-08-18Write a working bullet hellRaymond Hogenson6-0/+477
I just fucked up the enemy movement, but hopefully I won't ever need that old code. The new one is going to look really cool and sweet. Anything with just modifying acceleration must look very cool and smooth.