Mario Frai

Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

100 Neutral

About Mario Frai

  • Rank
    Newbie
  1. DirectX or OpenGL

    Hey guys,   As mentioned in my previous post, I am at the beginning of my "Game Developer's Journey". You can find it here: http://www.gamedev.net/topic/644253-the-very-beginning-of-a-game-developers-journey/   A simple question is:   Should a game developed in OpenGL using pure GLut, or further in DirectX. Where are the benefits or doesn't matter which one I am going to choose?
  2. The very beginning of a game developers journey

    Hello shadowisadog,   Well, we uses and we are using these langugages mainly C#, Java, Objective C, C++ to achieve our goals in software development. The language itself is not the problem, I am into these.   Further my interest is in the main used languages, which are, as far as I know, C++ and C#, to develop games. Are there any concerns? I mean, the performance thing between C++ and C# is not the kind of argument I accept, because these issues are only relevant if developing kind of AAA-titles or high performance game engines like Crytek or another companies does.   I know that there are many different "so called" Game-IDE but I definitely won't use one of them, because I want to start on my own. Further I would of course basic resources like NeHE or other pages to get into the topic...   I do agree with you, that to jump right in is the best way. That was the same I did when I was about 12 years old.. by this time I jumped into assembler :p, so mov ax, bx ;) ... and after, there was C++ and later on C# and Java.   I guess, I would probably begin wtih C#... what do you think?
  3. Game Loop Implementation on Windows Forms C#

    Hi,   I'm glad, that I was able to bring you to another view of your problem.   In Windows-Forms you primary have one Thread, which is the UI Thread. This thread normally is redrawing the forms and controls and every action concerning that should be implemented within the OnPaint-Methods of your components. Therefore, all your actions, which are not about the UI should be seperated into an extra thread, e.g. this could be a thread you instantiate manually for the human player, and e.g. a Background-Worker thread which you could use for the AI-player.   In fact, It's up to you, how you get these things done. I think an easy and efficient way to solve your problem could be this one:   1) Subclass a Windows-Form or your Picture-Box, you probably need for implementing the custom drawing 2) Implement Event-Handlers for the Picture-Box and Event-Receivers for your class which handles a Player 3) Subclass the Player to be a human player 4) Subclass the Player to be an AI-player (and if you like, include Thread-Handling in the way of a background worker there)   I hope this brings you a little further :)
  4. The very beginning of a game developers journey

    Hello,   Thanks for the hint concerning the topic-title, I've changed this so far :)   ad 1) Oh my god. I'm so sorry about opening "Pandora's Box", but I really want to get into the topic of game programming language and how they should get used. It's not in my mind, to elevate kind of flaming war. As well, I'm already wearing a flame-resistant underwear.   ad 2) I had about 5-10 years to wait, until I start beginning the learning process concerning fundamentals and so on - so believe me, when I write: It's not about just in time or doing things really fast. It's my target to get the basic stuff done, to be able to setup on that knowledge later on. So my goal is not to release a game tomorrow, more or less, the primary goal is to get deep into the very basic topics like "How it work all together under the hood" and not the way "Reference Library-X" and use it in your code...   Do you understand what I mean?
  5. Game Loop Implementation on Windows Forms C#

    Hi,   As you mentioned, you try to figure out the right way. In your case, I would definitely suggest you, to implement the following model:   1) Main-Loop which is responsible for the main execution b) Updates Game UI, Updates Game Graphics, Updates Game States   2) The question about the seperation of threads concerning your players is not that easy to answer...   Is it necessary, that they act and react at the same time, simultaneously or every of the player turn by turn? If they act turn by turn, one thread should enough.. this  thread can handle manual (human actions) and automatic (AI actions).   Does this help you?
  6. Hello gamedev.net Community,   I'm a new member to this website (already had an account years ago), but you know, there were studies, work life and other things, and so I hadn't really the time to get into the topic of game development. To my background: I am an Austrian (Europe) guy, I write software for more than 15 years, I am the CEO of a software company (business software and consulting services), and now I made the decision to get my hands on game programming (as i wanted so many years ago)...   I already read many articles here, which try to solve the problem (or give answers) to the question about the programming language which should used to implement the game itself. Either C# or C++ and there are many arguments pro and cons the two languages... Next thing is about the technology stack which should be used, OpenGL or DirectX or to setup the whole thing on open source library lige SDL, SFML, XNA, SharpDX and so on (Now i know, that XNA is definitely dead, because Microsoft does not develop it further...) and so on...   So I got two simply (or not so simply) questions to you: 1) What language is to use, to get platform independence, like, Windows / Linux, iOS or Android.. is there  C++ the best way? Is it C# by using the Mono Toolkit? 2) What do you think about the basics? Is it the right way to setup on different libraries (like these i mentioned above) or is it better to start from the very beginning by writing the code for a 2D/3D window itself?   I'm glad, to be here, to return to this amazing community after many years and I hope I learn other people on my journey to game programming.   Thanks for your responses in advance,   Greetings TheProof