Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 20 Apr 2010
Offline Last Active Today, 09:07 PM

#5181539 newbie in game development

Posted by LennyLen on 19 September 2014 - 08:08 AM

Downvoting somebody for simply asking a question is not a good move.  Especially when it's there first post here.  Yes, it does get frustrating seeing the same questions asked over and over, but that's no reason to make somebody feel like they've done something wrong just for asking a question (that is why this forum is here after all) .


Of course, if they keep asking the same question, that's a different matter, but such was not the case here.

#5179649 Did I begin learning late?

Posted by LennyLen on 11 September 2014 - 12:38 PM

Or, people could be down-voting just because they can. It happens quite often on the internet, especially on youtube.


In this case, I don't think so.  I looked through the history of the person that did the down-voting, and there is no past pattern of this behaviour, which you would expect from a serial down-voter.

#5179568 Did I begin learning late?

Posted by LennyLen on 11 September 2014 - 06:57 AM

why down votes ?!


I can't answer for the person who did it, but my guess would be because you started repeating yourself without saying anything new.

#5177609 Did I begin learning late?

Posted by LennyLen on 02 September 2014 - 01:46 AM

I learned more about computer science in 2 years of university than I ever did during my years in middle school (see how I just dropped that age reference in there? I promise not to be a jerk about it).


Agreed.  I started very, very young.  I didn't have anyone to teach me though and for years the only language I had access to was BASIC, so when I finally did start to learn how to program properly, I had a lot of bad habits to unlearn.

#5176687 How deep can you nest functions in c++

Posted by LennyLen on 28 August 2014 - 09:16 AM

Nesting is what aregee did, blocks inside blocks (like chained "if" statements). Calling functions from another functions (what the OP did) is not nesting and it's not limited by the bracket depth, otherwise you'll be limited in your app by the call hierarchy of any external library you're using, or using recursive functions won't work well.

It's also worth noting that nesting within a function is not the same thing as a nested function.  Neither standard C or C++ allow nested functions (though gcc does have an extension to allow nested functions).
edit: I should give an example.
This is nesting within a function:

int foo() {
  int x = 5;
 return x;

This is a nested function:

int foo() {
  int bar() {
    int x = 5;
    return x;
  return bar();

#5176359 Where do I begin?

Posted by LennyLen on 26 August 2014 - 11:07 PM

First try this: http://www.gamedev.net/page/reference/faq.php/_/for-beginners-r1


Then if you have any further questions, ask away.

#5175825 where to start...

Posted by LennyLen on 24 August 2014 - 09:35 AM

can you provide me exact answer of my questions...??


There are no exact answers.  You haven't even told us if you want to work for yourself, or as part of a small company, or if you're looking to get a job at a large company.


The smaller the group of programmers, the more roles each will fill, so they will need in-depth knowledge of a wide areas of game programming.  If you do everything yourself, you will need to know how to do everything.  Conversely, at large software companies, the programmers generally stick to a single area of programming, eg. graphical effects, client-server architecture, audio programming, interface development, etc.  There are many game programmers who have never written a single line of graphical code for their employers.


So as Lactose has said, there is no wrong thing to learn, as there are many different roles, and whatever you learn, it will be useful to one of them.


My advice would be to learn a little about all aspects of game programming. Enough so that you understand it and could have a discussion about it, even if you don't have a complete working knowledge of the subject.  If you find one aspect that particularly appeals to you, then by all means concentrate on that. Specializing will of course limit the number of roles that you can fill, but if you find something that you particularly enjoy doing, then you have a better chance of enjoying your job, which is also always important.

#5175592 Need some advice....

Posted by LennyLen on 22 August 2014 - 10:52 PM

So I plead with you, the community, what are we to do.


Learn how to do it yourself.


If you have trouble coming to an understanding with your friend who can use unity, then you're probably better off learning how to do it for yourself rather than relying on them and having a falling out later on which leaves you back at square one.  If you're going to be using a pre-existing engine such as Unity, then content creation is just as important as, if not more important than, programming skills, so unless your friend is also an artist, you're going to need help in that regard anyway.


My advice for a course of action would be to download Unity, find some tutorials and play around a bit.  Then when you need help, you can ask more specific questions that people here can help you with.  At first, you don't need to make something pretty.  But you will need to make something if you want to get other people on board with you to show that you are committed to the project.  There are a million people out their with ideas but the only ones that get help are the ones who do some work first.

#5171353 Zork-like text game in C#

Posted by LennyLen on 04 August 2014 - 12:14 AM

Altought i'm not a c# programmer, it seems better to me for you to start simple: 


A basic GUI such as the one he wants is actually extremely simple using C# and Visual Studio.  My first C# project had a more complicated GUI (drop down menus that were generated at runtime as the data had to be read in from another program), and I finished the entire program in one afternoon, having never seen the language before or having ever used the IDE.


The game logic will be far more complicated than doing the GUI.

#5170615 Want to move onto a graphics library

Posted by LennyLen on 31 July 2014 - 09:29 AM



How do I include the .lib files to Visual Studio for SLD2?

#pragma comment(lib,'SDL2.lib')
#pragma comment(lib,'SDL2main.lib')


Pasted into my Evernote. Thank you.



Don't use it in code you want anyone else to compile, as that will only work with MSVC.

#5169810 Hiring people to create a game for you

Posted by LennyLen on 28 July 2014 - 10:56 AM

Wait, "angel investors"?


Learn how to use a search engine.

#5169431 Hiring people to create a game for you

Posted by LennyLen on 27 July 2014 - 01:08 AM

To be honest, the only thing you should be asking yourself right now is whether or not you have a few hundred thousand dollars (at least) lying around.  I say this because nobody in their right mind is going to get involved with this project unless they're paid in advance.


You clearly have no idea what is required to make a successful game, so you can't provide any assurances that you aren't signing people up for a doomed project.

#5168870 Game Engine that will meet my requirements

Posted by LennyLen on 24 July 2014 - 08:37 AM

What exactly do you want help with?  


So far you've just listed your ideas.  You need to ask questions if you want answers.

#5168869 i want to make a prototype game

Posted by LennyLen on 24 July 2014 - 08:34 AM

Your questions are too vague to have meaningful answers.   If you can give more specific information about it then perhaps someone can help.


Do you intend to use a pre-existing game engine (Unity, etc) or do you want someone to code everything from scratch?

What time-frame do you envision for completion of the project (one person can do everything if there's enough time)?

Do you need 3D modelers, or pixel artists?

Do you want music composers or you going to license music?


That info would help to start with.

#5168804 Patenting an Algorithm?

Posted by LennyLen on 23 July 2014 - 11:05 PM

So you don't actually have a single example of what you claim...


In respect to software, no.  But when it comes to patents for physical products, yes I do, having spent many years working in manufacturing.  And as I said, patents are the same, whether they're for software or hardware.



It's all very well saying that the system would work great if only they were issued and used properly - when that never happens. Software patents as they exist in the world today are something I dislike - what about you? If things are actually fixed (not "could be"), great, then I'll think further.


In other words, you don't want to discuss it until it's the way you want it?  If everyone thought like that, nothing would ever get fixed.


Though I note that some of the arguments in favour of other patents (billions of dollars of investment, no other means to protect) don't apply to software patents.


Can you give a valid reason why they don't apply to software?