Jump to content
  • Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About astromop

  • Rank

Personal Information

  • Interests

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. astromop

    loop only every 10th or so

    Is this what you are looking for? for(i = 0; i < 100; i++) { if (i % 5 == 0) { console.log(i); } } You can test this in the browser console to view the output. To generalize: for(i = 0; i < someLength; i++) { if (i % factor == 0) { console.log(i); } }
  2. astromop

    C vs. C++ vs. C# (Beginner)

    No worries and thanks for the reply! This is one of my bigger concerns. Do you know what would be the equivalent of MonoGame in C++? I've seen things like Allegro5, SDL, and SFML, but I am too noob to discern any meaningful nuances. C# does seem to be the ideal choice, given that I already know it and that I want to learn game development by making games. However, I think that despite the appeal of getting started fast (building more of what looks like a game in a shorter amount of time), it would also be wise to consider the skill set I will be developing in the context of skill sets demanded within the game development industry. For whatever reason, (this is a conjecture) I think that the industry demands many more C++ developers than C# developers. Do you know if this is the case? To me, it seems wise to choose whatever is more demanded. I've noticed many people say that you can transfer your skills to whatever language down the line, however I realize that whatever project I build is leverage for a potential job, so it would make sense to be written in whatever language is more demanded. Although, I would imagine that a master in rendering code is likely a master because of his or her's understanding of what make's good rendering code, and not because of a preference for some implementation language. Kind of thinking out loud here... lots to think about! I have a fair amount of time until I have to think about a career anyways (still in university). @8Observer8 your english is great!
  3. astromop

    C vs. C++ vs. C# (Beginner)

    Of course! Was a good catch, in case anyone wanted to share some insight on the two!
  4. astromop

    C vs. C++ vs. C# (Beginner)

    Thanks for the reply! My apologies, I mean structured not functional, I think when I was quoting the word "functional" my brain made that mistake. In a first year computer science course we used Racket (DrRacket), which let's just say... was a bit of a headache for certain things, especially when entering the course with a basic understanding of javascript.
  5. astromop

    C vs. C++ vs. C# (Beginner)

    Thank you for your response! I just want to clarify what you mean by the above quote: do you mean that the idea is to become "functional" (average proficiency) in a particular language, and then expand your breadth of knowledge (in this case programming languages), so as not to be limited by a single language? And yes C# does seem to be an ideal choice, especially since I am already at an average proficiency, which is not the case for C++, which has been recommended here as well. I have been doing some other research elsewhere since I have posted this, and the opinions generally appear to be similar to what they are here. I would however like to learn more about the advantages and disadvantages of structured vs. object-oriented programming before making an definitive decision on this topic, as there is an extreme polarity in opinions regarding which is more useful, or perhaps better practice. I would imagine that polarity being based largely on subjective biases, but perhaps more practical reasons as well. I also imagine that an "as needed" usage of either programming approach would negate the need for any decision that favors one or the other.
  6. Hi everyone, I am a new game developer working with Unity3D and C# to learn the basics. I am currently working on a basic 2D game. Although it has been a short while since I started, I have already run into many organization issues that have led me to begin learning more about game-specific software architecture and design patterns. In order to do this right (dive deep enough into these topics to become an expert at them), I know I need to spend a substantial amount of time and dedication practicing. Due to this time cost, I want to focus on a single language now, which I can master over time, so as to set myself up for success in the future. I know some people (Handmade Hero) program in C, I know that C# is widely used in gaming, and I know that C++ is as well. Being that my goal is become an expert in a specific language and game programming in general, what language should I choose? Is it relevant to code in C today as a game programmer? If you were in my position, what language would you choose? Is there another language besides the ones I mentioned that are worth considering? **It might be worth noting that after learning the basics, I plan to build game-specific engines for whatever games I decide to make (Although I'm not ruling out the use of some libraries etc.). Thank you in advance for any responses.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!