Jump to content

  • Log In with Google      Sign In   
  • Create Account


Shikamaru

Member Since 26 Apr 2009
Offline Last Active Oct 28 2012 03:41 PM

Topics I've Started

Need help understanding this logic....

15 July 2012 - 12:51 PM

Ok so I'm reading the book, Beginning C++ Through Game Programming, and i'm having trouble understanding a paragraph. I know what the code does what I cant seem to understand is how the author comes to the conclusion here is the paragraph"

"after generating a random number, randomNumber now holds a value between 0 and 32,747. But I need a number between 1 and 6, so next I use the modulus operator to produce a number in that range

int die = (randonNumber % 6) + 1;   // I know how this works.

any positive number divided by 6 will give a remainder between 0 and 5"

That last line is where i get confused... for instance lets say the value in randomNumber is 22,465 that divided by 6 is going to be between 0 and 5. my result is remainder one so that works but what happens if the value of randomNumber is 32,747 the remainder would be 8. My math could be off. So my question is, can the value never be the max? mostly every other number would produce the right remainder but not the max number. I think I understand but I just need some more info to help explain this. another thing im not quite clear on is 6 goes into 10 once with the remainder 4 so how does the value 5 come into play? if anyone can clear this up for me I'd be very grateful...

What options do I have?

09 July 2012 - 10:05 AM

Ok so i'm a decent(in my mind) C# programmer although I'm not that good. I learned C# through reading books and using the language with the Unity Game Engine API. It might sound kinda silly but I learn by doing and unity gave me the chance to use my knowedge to produce something. if i could think of it I tried it. But this topic is not about unity or C# its about C++ I have a few books on this subject and i'm ready to learn, keep in mind i learned the C++ syntax awhile back never used the language for anything other than a console text program so I forgot most of it but i remember stuff like cin and cout and the format of loops.. i'll need to brush up on arrays and such so i'm going to start everything over and leave C# behind but like i said my approach is different because I learn better by using a toolset such as an game engine API. So my question is:

Is there some sort of Game Engine i can use to learn other than a Graphic Engine API? If not I will take the complicated route but I'd like to take advantage of anything I can while learning this beast..

Looking for adivce for the future!

19 May 2012 - 10:26 AM

Ok, so I don’t think myself a beginner. I'm not an expert either. I am right where I’m supposed to be at this point in my path to becoming a professional(Concidering I started at the age of 20), I believe. I'm 23, soon to be 24. I've played with Game programming seriously for the last 4-8 months. I've been interested for the last 4 years and looked into and started reading up on a few Game programming subjects. I've used and programmed in PHP and some Javascript, so I came from web development. I got interested in gDev and I looked at C, did that for a month. Then I Stopped. I've toyed with C++. I can do all the basics the text games write stuff to the screen make conditional statements etc. But I stopped. I have ADHD, so focusing can be a problem and sometimes when things get challenging i give up. But lately I've been using C# with Unity. Most people here should know what unity is if you don’t, it’s a game engine. I like working with C# and the Unity API. I've written a few scripts for others and I feel comfortable making basic to intermediate scripts. But here is my problem.

While the simple tasks come easy, I find it challenging for the more difficult tasks. While I don’t mind the challenge I sometimes lose motivation. But even this is not my big concern. My concern is I'm a programmer not a designer, I've made a topic on the Unity forums recently titled I'm a Programmer not a [Designer]. This is my concern. I am not a designer; I have no interest in any other aspect of game development. I want to be a programmer. That is it! I still have much to learn about C# and it’s going to be months or perhaps years before I get good enough where any task should be a breeze. I know this, I don’t mind. My concern is if I'm going to be a programmer, should I take up learning C++ if i am to make a living in this industry. I have yet to master even C# but before I dive too deep I want and need to know if I'm on the right path. My goal is that in 5 years I get good enough to make a comfortable living working as a programmer.

So what do you guys this is the best choice of action for me? I am looking for advice.

New to 3d Modeling looking 4 advice

07 April 2011 - 06:43 PM

Hey,
I've programmed in the past and I somwhat enjoy it. However I'm looking into 3D modeling, and I have previous intemediate Art skills. I have purchased 3Ds Max 2009 a little bit back. I've toyed with it and what not. I created a 3d Star when i first launched the program. I know the interface and basic skillz I have been reading the 3Ds 2009 Bible. I plan to improve at it drastically. I seem to enjoy it more than programming I know it can be frusterating at times and I've got annoyed with it quite a bit. But I guess where i'm going with this is how hard is it to break into 3d modeling? I eventually plan to sell my work, and what advice can expirenced 3D artist give me, and how would you reccomend I improve my skills?

PARTNERS