Search found 294 matches

by bbguimaraes
Wed Apr 18, 2012 2:38 pm
Forum: Programming Discussion
Topic: Scripting Language development
Replies: 120
Views: 27501

Re: Development video on youtube

Okay, after writing a long explanation, I realized how I've been filling your post with something almost unrelated to it. So, I will leave my relevant-to-the-post comment and add a spoiler box on the bottom with my text: The project seems really nice so far. I once implemented a parser for a languag...
by bbguimaraes
Wed Apr 18, 2012 1:42 pm
Forum: Programming Discussion
Topic: Scripting Language development
Replies: 120
Views: 27501

Re: Development video on youtube

I agree on the code comments, you should just comment what really needs comments. I refer to documentation outside the code. I think one example will clarify things: http://www.boost.org/doc/libs/1_49_0/doc/html/chrono.html Of course it doesn't need to be that long and detailed. Sometimes a single d...
by bbguimaraes
Wed Apr 18, 2012 1:31 pm
Forum: Programming Discussion
Topic: Scripting Language development
Replies: 120
Views: 27501

Re: Development video on youtube

On the code organization topic: reading source code should be the last resource when trying to understand how some part of the application works. You (the developer) should supply documentation to guide users (developers using your code, not the end user). I haven't decided yet whether I open sourc...
by bbguimaraes
Wed Apr 18, 2012 1:18 pm
Forum: Programming Discussion
Topic: Scripting Language development
Replies: 120
Views: 27501

Re: Development video on youtube

On the code organization topic: reading source code should be the last resource when trying to understand how some part of the application works. You (the developer) should supply documentation to guide users (developers using your code, not the end user).
by bbguimaraes
Tue Apr 17, 2012 12:01 am
Forum: Programming Discussion
Topic: Building Debug vs. Release
Replies: 8
Views: 1441

Re: Building Debug vs. Release

Also, I've been told that Visual Studio has the habbit of initializing variables to you, but only on Debug mode (though I can't confirm that, as I don't use it). So, when you compile and run it on Release, some weird events start happening because you forgot to initialize some of them.
by bbguimaraes
Mon Apr 16, 2012 6:59 pm
Forum: Programming Discussion
Topic: 2d engine , should I ?
Replies: 23
Views: 5063

Re: 2d engine , should I ?

Taking all you've said in consideration, I think you should work on an engine. Start with graphics: take some code you already have and make it generic. Develop incrementaly: at each "step", produce something that can be used, even if it's not complete. Then, when you have some of these sm...
by bbguimaraes
Mon Apr 16, 2012 4:27 pm
Forum: Programming Discussion
Topic: 2d engine , should I ?
Replies: 23
Views: 5063

Re: Supposedly: Write Games, Not Engines

Basically what that link is saying, make games first. Make games, and games, and you'll slowly find yourself with more and more re-usable code and be figuring out which things you end up "wanting" to keep that you may normally have noticed you re-write quite often. Not to mention the incr...
by bbguimaraes
Mon Apr 16, 2012 2:45 pm
Forum: Programming Discussion
Topic: 2d engine , should I ?
Replies: 23
Views: 5063

Re: 2d engine , should I ?

That depends on what you want to acomplish. If your goal is to build a game, and what you like to do is game (elements and story) design, and you can get away with the limitations of an engine, you should use one. But if you like the challenge of building an engine, you should go that way. But be wa...
by bbguimaraes
Mon Apr 16, 2012 2:32 pm
Forum: General/Off-Topic
Topic: Official "Hello, World! (I'm new!)" thread
Replies: 821
Views: 587806

Re: Official "Hello, World! (I'm new!)" thread

As one of the newest members of the forum (even though more than 20 users signed in since I did, 4 days ago), I'd like to say 'Hello' to everybody. I've discovered you guys a long time ago, when I was just entering college, which was in 2008. I don't remember how, but I found the AIGD series on Yout...