I Wrote This Technique Thingy While Being Really Tired lmao
I'm quite tired but still am going to do a writeup on this anyways. If there's (a) part(s) that needs more clarification, do let me know.
Today's bug was one of those little annoying bugs that appear when you've wrote the code you're interacting with a long time ago and didn't write it in maybe the best way possible. What I mean by this is like if you have some divide by a sizeof value that's critical to the operation of the procedure but forget to change the sizeof's old data type to a new one, or like when you've got some other parts of a procedure hard coded similar to this but really should have an input variable be the value that replaces said old hardcoded value. The hard part is always really just like when you do this sort of thing, like at the start or later.
I tend to program where I just have everything be hardcoded or using variables if they make sense without writing a function first and then functionizing the thing once the procedure happens twice in teh codebase. And later edit the function's parameters to remove more hardcoded bits when required to call the function three times or something like that. The only hard part about this style is that you've gotta not be lazy and actually go back and make those changes. One part of the laziness that I hadn't realized until recently is that you can't not only be lazy in the execution of writing your code (which I don't have a problem with personally), but you've gotta also go back and read through all the relevant code that's related to this procedure or function to properly make these changes (which is where i'm weak, currently).
I still think this style's better than just prewriting functions and hoping that you'll never have to come back and edit the thing ever again as you've made them "perfect" or whatever while killing perf and or time that you've wasted because you're going to have to edit every function / procedure more than once in any program from what I have experienced thus far so yea. That or i'm really dumb as a programmer and am missing out on some ez pz programming techniques that would increase my productivity and reduce waste of time.
Funny thing is, I actually was going to talk more about the ui pipeline merge fix in this post but I randomly trailed in my brain to this topic so i'm just going to post this and get some rest now lol.
Please let me know your thoughts on my game! Thank you for reading and have an awesome day :]
Files
Get Funmi
Funmi
Rotate the boat in air to get a high score
Status | In development |
Author | AndrewNReinke |
Genre | Action |
Tags | 3D, Arcade, DRM Free, handmade-engine, High Score, Low-poly, Retro, Rotation, Singleplayer, Third Person |
Languages | English, Japanese |
More posts
- Steam ReleaseDec 24, 2021
- Lots Of Changes With Text and StuffNov 19, 2021
- Text Texture AtlasNov 16, 2021
- Very Smol FixNov 15, 2021
- Font GenerationNov 14, 2021
- Added Fade In / Out And New Particle SystemNov 13, 2021
- Circular TextureNov 12, 2021
- Collapsing UI Code Into One PipeNov 09, 2021
- Fixed Timers & Collision Volume BugsNov 08, 2021
Leave a comment
Log in with itch.io to leave a comment.