Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 20 Jun 2011
Offline Last Active Jan 25 2016 05:55 PM

#5206323 How to keep math/physics skills sharp?

Posted by Czar05 on 23 January 2015 - 08:52 PM

I am curious on how you Math and physics gurus retain the amount of math you know. I have this horrible habit of learning a mathematical  or physics concept and then forgetting it months later. It never truly lasts long if I don't use it.


I have some math books lying around, and I usually try to learn from them whenever I can. I just don't want to waste my time reading and doing problems when I'm just going to forget it in a couple of weeks.



I just want to know what the secret is. Is it a matter of practicing math everyday? If yes, then how do you know which subject to practice on?


Would appreciate some input.

#5154542 How collision detection relates to Quadtrees

Posted by Czar05 on 18 May 2014 - 09:17 PM

I have been researching quadtrees for quite some time now and I have some questions concerning quadtrees and how they relate to collision detection.


Does each individual sub-node check for collision detection within its own cell? Or does each sub-node check for collision with its neighboring cell?


What are the depth levels when concerning Quadtrees?


Thanks in advance.

#5121726 Best Laptop for Game Development

Posted by Czar05 on 06 January 2014 - 03:16 PM

I am currently in the market for a laptop and I am looking for some help.


What laptop should I be looking at for game programming?   If you can't recommend a specific model, what component should I be looking at CPU, GPU, RAM, or storage.


I plan to get into 3D programming very shortly and I want to start messing around with OpenGl, DirectX, and Unity. I currently use SFML, and plan to incorporate OpenGl with it.


Should I stay away from Windows 8 laptops, I heard they are not development friendly but I want to know what you think.


I know game development is better suited on a desktop computer, but I want something on the go to increase productivity. In terms of price I  would prefer something under $500, but I understand if that can be a problem.




* Feel free to move this to the appropriate section.*

#5112831 Moving in the direction of rotation?

Posted by Czar05 on 28 November 2013 - 03:01 PM

I am working on a 2D project that requires rotation and moving in the direction of rotation. I have managed to get the image to rotate but I am not able to move the image in the direction of rotation. I have had this problem for a couple of days now. Here is a snippet of the source code:


Object Info

static float shipx =  300f;

static float shipy =  300f;

static int shipspeed = 20;

Update Method



                     // What I am using to move in the direction of rotation, but I'm not having any luck.
                     shipx +=  (float) (shipspeed * Math.toRadians(Math.cos(angle)));    

                     shipy +=  (float) (shipspeed * Math.toRadians(Math.sin(angle)));


                     System.out.println("X: " + shipx + " " + "Y: " + shipy);



            else if(input.isKeyDown(Input.KEY_DOWN))


                shipy += shipspeed;


            else if(input.isKeyDown(Input.KEY_RIGHT))


                angle += rotation;

                Ship.setCenterOfRotation(Ship.getWidth() / 2, Ship.getHeight() / 2);

                Ship.setRotation((float) angle);


            else if(input.isKeyDown(Input.KEY_LEFT))


                angle -= rotation;

                Ship.setCenterOfRotation(Ship.getWidth() / 2, Ship.getHeight() / 2);

                Ship.setRotation((float) angle);



I am not using any vector math or anything, just simple trig. Feel free to ask for more information if needed. Thanks.

#5077942 Difference Between Kernel and Driver?

Posted by Czar05 on 15 July 2013 - 01:34 PM

Thanks for the clarification Promit and TheChubu. Both explanations were quite clear and effective.

#4989658 Should I dive into linear algebra or follow the prerequisite first?

Posted by Czar05 on 12 October 2012 - 09:20 PM

Oh, I didn't mean ditching my calculus class for a linear algebra class, I meant learning the subject in my spare time. Sorry for the confusion guys.

Thanks for the reply's superman3275 and menyo, keep them coming though.

#4989640 Should I dive into linear algebra or follow the prerequisite first?

Posted by Czar05 on 12 October 2012 - 07:27 PM

I am currently a high school student taking Calculus with Application and code in my spare time. I am trying to dive deeper into game development and reading up on a lot of diverse topics. I have read on this forum that, unlike calculus, linear algebra has a bigger part in game development. The prerequisite for linear algebra is Calculus 2 and Calculus 3.

So my question is, should I hold off on linear algebra and focus on Calculus 2 and 3 or can I dive into linear algebra without needing the previous topics.

Thanks in Advance.

#4959211 Why aren't strings allowed in structures?

Posted by Czar05 on 15 July 2012 - 01:53 AM

Oh I see, thank you very much all of you!

#4881275 What is the format for gaming script?

Posted by Czar05 on 06 November 2011 - 10:35 PM

What is the format for writing an open world game and not an RPG (Straight Narrative). Lets say the story has already been settled by a group of developers. The game has in game pedestrians and cut scenes. I just want to know how the script looks like. Are there notes for programmers, descriptions and actions? Where do you place the dialogue for pedestrians and etc? Does every game studio have its own format?

I hope I have included enough information.