Jump to content

  • Log In with Google      Sign In   
  • Create Account


SaurabhTorne

Member Since 30 Jan 2003
Offline Last Active Aug 30 2014 12:39 PM

#5052394 What exactly is considered a system?

Posted by SaurabhTorne on 12 April 2013 - 04:21 AM

The immediate focus of interest which involves some input and output equal to input, overall is a system. Remaining all is surroundings.

In thermodynamics the system which is governed by a boundary, you will find resemblance the above statement.

 

So apply it to gaming which is a system of effects related to some initial condition. for example weapon fire, flash light, pickups, barriers, all these can be considered as independent systems for easier programming.

so in case of the systems of weapon that fires.

Keyboard input is the input, and output is bullet and flash, also another output is the sound of weapon fired. etc..

Luckily, in games the relation or sequence of these events of the system can be manipulated instead of governed by laws of physics as in case of real life systems.

So you can create a bullet that is metal but weapon fires with birds chirping ;)

 

if there is some code that manages these systems , it itself is also a system that consists sub-systems. hence to differentiate these kind of classes are called as manager class.

Basically your free to call it anything, for a farming game , it will be either farm manager or farm system, or bla bla :)

 

Saurabh




#5031384 Learning By Doing vs Learning By Reading

Posted by SaurabhTorne on 12 February 2013 - 06:00 AM

One tiny victory at a time. If its taking more time, break that into smaller tasks.

Yeah those programming books are too much info into small pieces. Reference books are better, they take time to read but every thing is well detailed. If you know the principle behind it, it will be easy to understand the next concept.

If a book is taking too much time, take another book.




#5021285 std::stringstream C++ SIZE

Posted by SaurabhTorne on 13 January 2013 - 11:56 PM

I raised the loop and hehe, it did go up to 438888890 for i < 50000000.  I gueess its is has no size limitations. :)




#5021281 std::stringstream C++ SIZE

Posted by SaurabhTorne on 13 January 2013 - 11:43 PM

@Cornstalks: how many characters in str total though? Also how much would be the sizeof occupied. would it be depending on systems configuration.




#5011897 octree stackoverflow

Posted by SaurabhTorne on 17 December 2012 - 09:06 PM


Jim Adams book has a good octree sample. Might as well check it


What is the name of the book?


"Role playing games using directx". A very good book for starting with directx.


#5011700 octree stackoverflow

Posted by SaurabhTorne on 17 December 2012 - 08:14 AM

Jim Adams book has a good octree sample. Might as well check it


PARTNERS