Despondent
#1 Members - Reputation: 301
Posted 12 November 2012 - 08:19 AM
What do you guys do when you've been working for months on a game demo and you still can't run it because you suck as a programmer and can't even get moving bitmaps right which should be the first thing that any decent game writer can do?
Do you just scrap your project when it gets too complicated for you to understand? Or do you just push through? I mean, spend all day staring at the screen level push through, with no support because you work at home type push through... I'm very curious.
I'm literally trying to code, trying to think now, but I can't. Because I can't see the way to solve my problems. How do I make a menu? How do I animate bitmaps and use sprite atlases? How do I maximize performance by minimizing D3D11 draw calls? How do I structure my subsystems to better encapsulate them? How should I implement events? Do I use callbacks? Oh no, my D3D resources are leaking...wait, I haven't even been able to display a bitmap with my program for over a week. I just learned how to use source control for this project so I don't know how to back up to where it used to work, but i don't understand it anymore, so would it be better just to start over?
I have so many other questions, I just want to know what you guys do when you see that you have a LONG, LONG way to go before you can make a game and it is very .... frustrating.?
-Dave
I wonder as I wander...
#2 Moderators - Reputation: 5222
Posted 12 November 2012 - 08:49 AM
First of all, why are you bothering with source control right now? Source control is great, but when you're just learning it's not necessary. At this moment, you need to learn how to program, and there is simply no need for you to worry about learning to use source control at the same time.
Any time you face complexity, the only thing you can do is to break it down into more simple pieces, and work on them one at a time. Trying to take it all on at once will just lead to frustration.
#4 Members - Reputation: 6197
Posted 12 November 2012 - 10:26 AM
Any time you face complexity, the only thing you can do is to break it down into more simple pieces, and work on them one at a time. Trying to take it all on at once will just lead to frustration.
In the words of Pólya: "If you can't solve a problem, then there is an easier problem you can solve: find it."
#5 Members - Reputation: 696
Posted 12 November 2012 - 02:54 PM
Every day I wonder if I'm ever going to get over [this], so I can move on to something else...
And every other day/week/month I figure out a way
Many years ago simply getting the sprite to show up was such a problem... Everyone starts somewhere
More than anything, once you know how to program, it's all about knowledge, gritting your teeth, and not giving up!
Unfortunately you never stop having to learn something new, and each day is a (new) struggle
To me, the only requirement of being a good programmer is never giving up.. Otherwise I'd be a horrible, terrible programmer
#7 Members - Reputation: 244
Posted 12 November 2012 - 04:38 PM
This is what makes it so appealing, for me anyway. It is the ultimate challenge. When I get bored with my 9-5 developer job, I go home and build games and it makes me happy - even when I am infinitely frustrated with my lack of skills in this area.
Don't give up, keep grinding away, every failure is a lesson learned, and you're improving your knowledge (even if it doesn't feel like it at the time).
You can do it! I believe in you!
#8 Members - Reputation: 202
Posted 12 November 2012 - 11:02 PM
What always helps me when I get stuck is to write out the steps I need to take. In English. Forget the code. Just jot down what you need the code to do and then translate it into code. If you can explain the steps with words, you can figure out how to code it.
What you'll often discover is you didn't really understand the solution to the problem like you thought you did. So you can go learn how to do that one thing you didn't understand and bam ... the rest becomes clear.
And don't be afraid to play around with paper and physical objects. I couldn't figure out pixel perfect collision detection until I drew a grid on a couple of index cards and physically overlapped them to figure out what I really needed my code to do.
Roy
Live in Fayetteville, Springdale, Bentonville, or Rogers?
Interested in making video games and having fun?
Check us out on Meetup.
#9 Members - Reputation: 460
Posted 14 November 2012 - 10:23 AM
#10 Members - Reputation: 3372
Posted 14 November 2012 - 10:48 AM
Do you just scrap your project when it gets too complicated for you to understand?
Yes.
If I get to the point where I don't even have an idea of how to solve the problem, I stop. The problem is way above my head and I need to learn/practice more in order to deal with it.
#11 Members - Reputation: 114
Posted 14 November 2012 - 11:56 AM
What do you guys do when you've been working for months on a game demo and you still can't run it because you suck as a programmer and can't even get moving bitmaps right which should be the first thing that any decent game writer can do?
If your focus is to ship a game, I'd switch to simpler development tools. With Unity3d, Panda3d, Torque, or UDK you can have a sprite moving in hours.
Alternatively, consider picking up a book on developing with the game or graphics engine of your choice that includes a chapter on moving sprites. That way, you'll know that when you reach chapter N, you'll be able to do that, and likely develop many helpful skills along the way.
Do you just scrap your project when it gets too complicated for you to understand? Or do you just push through?
Neither. I simplify it using tools like modularity, documentation, and loops until it's easy to understand. I strive for objects and methods that are so simple I could (and do!) explain them to non-programmers. Simplification is precisely why I've successfully assumed projects where others gave up and produced something marketable from them.
Edited by CuriosityKills, 14 November 2012 - 11:59 AM.
#12 Members - Reputation: 301
Posted 14 November 2012 - 01:46 PM
Easier said than done, but through reading some good books and doing some deep introspective thinking, I think I can have my cake and eat it too! I`ll let you know when this stage of the project is complete, and will upload code and/or binaries for your use/perusal.
Thanks again.
-Dave
I wonder as I wander...
#13 Members - Reputation: 717
Posted 14 November 2012 - 02:04 PM
#15 Members - Reputation: 1677
Posted 14 November 2012 - 06:44 PM
OP, it sounds like you're just getting too far ahead of yourself. In my experience it's better to pick up a new concept and get completely comfortable with it, then move on to the next one. Don't distract yourself with implementation madness while you're trying to learn something new. Create a new project and use the new tool/concept in a small program that focuses on just that one thing. Once you're done with it just zip it and put it in your archive as a reference on that subject for later use. A year from now when you feel downcast again just thumb through the old archives and you'll be able to see how very far you've come.
There are ten kinds of people in this world: those who understand binary and those who don't.






