Skip to content

u/GoodGuyFish

In this archive from Sep 2016 to Sep 2026

12
posts
67
comments
8
media
1.1k
score
1 saved before deletion

Top posts

Top comments

"I'm doing the right thing?" Ask yourself, if you would quit now and go on with your life. Do you know that you'll regret not doing it in the future?

"Will it never see the light of day?" What? You don't have a release plan? Go make one. Look at Scrum or something, you gotta have some kind of planning. If you're just freestyling it, I see why this can be worrying. So make a plan! Even if you're just programming during freetime.

Fast fix: Calculate how fast you implement features, rate not implemented features you want and compare the ratings with the feautres you've implemented. see how long time everthing will take in working hours, cut feautres, bla bla, you get the idea. Don't forget to multiply the final result in hours by atleast 10. We have a tendency to pverestimate our abolity to work.

"What if it tanks?" Even though it tanks, you've created a game by yourself. You've learned so many things. Put in on your CV, carry on. I guess this can't be said if you don't have a backup plan. If you do, you'll be less stressed.

Sorry for grammar, phone.

13 points

Some small pointers;

  • Put the #include's inside the #ifdef
  • Make the classes variable inside a private instead of public (in most cases, it's good practice)
  • Don't use include namespaces in header files, it often works, but it might fuck some things up with multiple libaries, so It's not a good thing to get used to
  • Don't use global variables (you probably know that already)
  • You have a memory leak each time you reset or start the game, when you create the player (= new Player), I don't really see the reason for using the Player as a pointer anyway
  • You're using references a lot, which is good
  • The code is very hardcoded with a lot of magic numbers
  • Instead of bools: "bool playing, inDeathScreen;" you could use something else, like a enum;

enum GAME_STATE

PLAYING,

DEATHSCREEN

MENU, etc

gah i gotta go to sleep, I would check more

8 points

Another way to skip development time would be to skip graphical things or at least minimize it.

Try to avoid animations on everything if possible for your game. It's a HUGE time sinker. And if you're just a programmer like me, you'll probably need to outsource the animations and some textures, which means that person won't make it like you wanted, and you'll sit and try to adjust his work and constantly give him/her feedback when you wanna do something else. Blabla bla. Then you gotta sit and make a animation system -> now the animations are not fitting with the bullettime upgrade -> now the animations look wonky -> blabla. It's a fucking pain in the ass.

If you can get away with using no textures and animations in your game, you're golden.

8 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.