Jump to content

  • Log In with Google      Sign In   
  • Create Account


tharealjohn

Member Since 12 Nov 2011
Offline Last Active Jan 23 2014 01:49 PM
-----

#5116516 Grade me?

Posted by tharealjohn on 12 December 2013 - 11:31 AM

Looks fine to me. 

 

You could also use TryParse instead of just plain Parse. It returns a bool indicating wether the parse was successful. i.e it would return false when trying to parse something thats NaN.

if(!int.TryParse(Console.ReadLine(), out gold))
    Console.WriteLine("Not a number.");



#5114371 Where do I begin WITHOUT an engine?

Posted by tharealjohn on 04 December 2013 - 01:19 PM

"Give a man a game engine and he delivers a game. Teach a man to make a game engine and he never delivers anything."




#5107711 Need advices for my first RTS project

Posted by tharealjohn on 07 November 2013 - 11:22 AM


Many important fuctions like LOD and mesh deformation

 

I don't think those sound like "important functions". They sound like something that would be great additions to your game for performance and eye candy, but you could still make a game with Unity and purchase a plugin or the pro version later. You can deform meshes with code, rather then some plug in. So the only thing left out is possibly LOD. Couldn't you make the bulk of your game first, then implement LOD later? 

 

Maybe that is bad advice, I have never worried about LOD because of the scale of my projects doesnt require it. It just seems you want AAA results without having AAA skills. My advice is scope your project down and use the tools in your budget to fit that. i.e. if you budget is $0, then use something like Unity. 

 

Good luck, it sounds like a cool project!




#5103862 Getting my game logic away from XNA

Posted by tharealjohn on 23 October 2013 - 02:13 PM


If you're writing in XNA, your game model is most likely C#, which is still going to lock you into Windows

 

That is not 100% true. This and this.




#5089541 i cannot make up my mind what language i should use

Posted by tharealjohn on 27 August 2013 - 10:39 AM

Use unity, and go with C#. 

 

Learning C# will help you with other things too, not just game development. There are lots of interesting technologies that use C# for web, mobile, desktop applications, etc. It's also a nice language to look at IMO, and the .NET and MONO frameworks help beginners and pros not have to reinvent the wheel. 




#5078512 Programming the right way?

Posted by tharealjohn on 17 July 2013 - 12:45 PM

Hey Richard,

 

I always like these kinds of questions, and I ask it about myself all the time. For me, the best way to gain the information you are looking for was to work with/learn from other more experienced developers and see what they do. I also browse code on projects that are more "mature" and have industry experienced professionals writing it. Take a look at some major open source projects in the language of your choice. You may be able to pick up some patterns and ideas that make you say "Oh, I wouldnt have thought to do it this way". It might also help you if when you feel you have some problem code to post it here and ask for input. I have seen many devs on here give some valuable feedback on how to organize or refactor things. 

 

Sorry I don't have any books or visual aids that have helped me. =(

Generally though, books on software architecture and "best programming practices" type articles would be something to look for. 

 

Good Luck!




#5078508 Unity vs XNA

Posted by tharealjohn on 17 July 2013 - 12:32 PM

Why not try Unity for a few days. Its free to try for almost everything you would need to make a solid game. Only you can decide if you like it more than using XNA. There is very little barrier getting into Unity other than opinions and stigmas. Not to mention that you can port to many devices and platforms much easier than I would think XNA could. (I am assuming you mean XNA, and not MonoGame). 

 

Try it. 




#5066166 Starting C#

Posted by tharealjohn on 30 May 2013 - 10:28 AM

I would suggest starting with something more OOP (object oriented programming) related, like this:

 

http://www.amazon.com/Beginning-3-0-Introduction-Oriented-Programming/dp/0470261293 OR

 

http://www.amazon.com/Beginning-C-Object-Oriented-Programming-ebook/dp/B00ACC6BN6/ref=sr_1_2?s=books&ie=UTF8&qid=1369931324&sr=1-2&keywords=beginning+c%23

 

You could probably just google some OOP lessons, and once you grasp the concept of OOP, than start focusing on the C# language. C# might be more of a challenge when you know nothing about OOP. 




#5065366 foreach list always uses last value

Posted by tharealjohn on 27 May 2013 - 05:21 PM

Try this:

 

foreach(Button button in Buttons)
{
    Button b = button; // add this to "copy" the current button
    b.update(activeMouse);
}



#5061828 c#

Posted by tharealjohn on 14 May 2013 - 11:52 AM

If you are learning, it doesn't matter if you learn 4 or 5. It will take a while to even get to the topics that make a difference in 4 and 5. The fundamentals and basics of the language remain unchanged. The book I chose to learn c# with was Beginning C# 2008. I read this in 2010, so it was outdated then, but it still had plenty of topics to make it worth while. The reason I chose that was because it was dirt cheap at the time. It would be worth learning from an older source, because a lot of the new stuff is just a shorthand way of doing something in the past that took longer. So, if you are on a project and want to use some C# 5.0 stuff, but are only able to work in .NET 3.5, you may want to know how to do it from the basics because now your 5.0 is not usable (I am specifically thinking about async/await keywords). 




#5061367 What's the true worth of an initial game idea?

Posted by tharealjohn on 12 May 2013 - 05:21 PM

The problem I have with the "idea guy" is that the people I have met that take that role, usually have tons of "good ideas" but they lack any real skill/talent/motivation to actually MAKE a game. Because they have never tried or been involved they don't know what it takes, or how hard it is do even the "simple" things sometimes. So its really hard to listen to someone talk about all their great ideas for games, when they have not even tried to make one. 

 

Its like that for any part of life though, its hard to respect someones ideas/opinions when they are not educated, or founded on experience on the subject. Its no different with game design/ implementation. 

 

 

Thats my $0.02. 




#5058293 What programming language should i go with? (C++,C# or java?)

Posted by tharealjohn on 01 May 2013 - 07:33 AM

I had the same question a few years ago. I chose C#. 

 

C# has allowed me to leverage that knowledge to expand my portfolio into many areas of .NET development, and most recently cross platform mobile development with the Xamarin tools. Sometimes I wish I would have stuck with C++ because I see a lot of big things being done in C++, and most game related jobs I see are asking for C++ skills. On the flip side, Unity uses C#, which is great for me and its a viable option for game development so do I really need C++? 

 

If you want to roll your own engine, than you would probably want to learn C++. I don't think any decision will hurt you, but it may lead you somewhere else. 

 

To summarize, I chose C# because it has application in many areas that I was interested in: ASP.NET Web, .NET desktop applications (WPF, etc) and Unity3d. It also has let me be able to use the Xamarin tools for mobile development and not have to learn a whole new syntax of Objective-C or Java. Also, I found C# to be easier to pick up and get things done without having to worry too much about all sorts of nightmares that C++ can introduce that are challenging for a beginner in programming, heck they are challenging for veterans too! Good luck on your journey!




#4971085 Help! I'm trying to make a game.

Posted by tharealjohn on 19 August 2012 - 06:07 AM

Go with C# and get a few games under your belt. Try XNA with C#. Youll be able to learn the concepts of game design faster and not struggle with the complexities that are the C++ language.

Then once you have some titles COMPLETE, attempt learning something more complex with C++.



EDIT: Not sure why I got - 1, the OP obviously wants hard opinion on a direction, so I gave it.


PARTNERS