08-19-2024, 06:49 PM
(08-19-2024, 05:34 PM)SpriggsySpriggs Wrote: Almost makes me wish I could make games. My head just ain't built for such things.For years that's I what I thought too. I was the king of utility software and command line enhancements. It wasn't until I discovered QB64 and the excellent statement additions dealing with images and sounds and the speed it offered that I seriously took a crack at game programming. This is the typical formula I use:
- Create the game assets (images, sounds, object arrays to hold them)
- Set the initial values of the object arrays
- Begin loop
- Check for player input
- Update positions of objects in array
- Check for object interaction
- Update bullet and explosion arrays
- Update display with new object , bullet, and explosion array positions
- Loop until player has no more objects
That's basically what this game library is doing in the background. It handles all the mundane array tasks, positioning, and interactions (collisions). I was tired of reinventing the wheel over and over again when I wrote a game. This library will help me crank out a game quickly and easily (at least I hope so).
There's a lot to do yet. I want to add vector drawing, line collision, game controller interaction, and very simple sprite physics as well. I'm simply taking all the personal little individual libraries I've created over the years and incorporating them into this project.