Jump to content
  • Advertisement

adam4813

Member
  • Content count

    197
  • Joined

  • Last visited

Community Reputation

729 Good

About adam4813

  • Rank
    Member

Personal Information

  • Role
    Programmer
  • Interests
    Programming
  1. Multiply right by look instead of doing a cross? I am not looking at how I did it just suggesting this from memory.
  2. I would put forth my own framework, Sigma, that is still very WIP (the read me is very out-of-date). It has most bullet points you went (graphics is still shaping up, so no animations, particles, etc yet) and the sound is to be added (this weekend). It is pure C++ and takes advantage of some C++11. It works on Linux and Win32 (Mac testing is in the works). It uses GLFW for the OS abstraction layer (user input via mouse/keyboard works but it can also do controllers). OpenGL 3+ using a custom rendering engine. Bullet Physics. and of course HTML based UI using chrome (CEF in the works, but currently has Awesomium. It is being used for the Trillek engine (and is what is powering the milestone 1 release). You can contribute if you would like as well since we are a small sparse team of developers that are open to work from others. And let's not forgot the link Sigma.
  3. adam4813

    Grounded Pointers

    imoogiBG what if ptr is a base class pointer to a derived class to? Then sizeof the base class pointer would have predictable results (clearing the portion of pointed-to memory for the size of base class) but it would have undesirable results for the portion of pointed-to memory that is the derived class.
  4. adam4813

    Wade Not in Unknown Waters: Part Four

    I believe by mix-in you are referring to a pure abstract interface. As far as my understanding goes, a mix-in is a class that provides a certain set of methods or properties to a given object. So in a sense all mix-ins are interfaces, but not all interfaces are mix-ins.
  5. adam4813

    Wade Not In Unknown Waters: Part One

    The article is referring to calling alternative constructors within the same class.   An example would be calling Car() with a Truck object as an argument. The Car constructors might be Car(year, make, model, speed, tank_size) and Car(year, make, model, style). However it may have one that would take a Truck Car(Truck*) and make a similar car using the Trucks data (year, speed, tank_size). So you would call Car(Truck*, make, model) and that constructor would then call Car(truck.year, make, model, truck.speed, truck.tank_size)
  6. adam4813

    Wade Not In Unknown Waters: Part One

    new () is the placement new operator. It is the same as calling the new operator, but you provide the placement (or address) at which to create it. Hence calling it with the this pointer tells the new operator to place the created object at the same location as the current.   However that could be bad if you use placement new on the this pointer when you use a base class constructor, The base class isn't as large as the derived type in memory and thus you will leak memory and have some odd/undefined behavior.
  7. adam4813

    The Total Beginner’s Guide to Better 2D Game Art

    Wow, I want to go make my own awesome art now...Thanks for the education.
  8. Thanks for the feedback and alternative point of view.   To clarify I meant that in general a component should only be manipulated by 1 system, but that doesn't mean you can't control it with others. I was just trying to say you should clearly define who can act on the component to reduce errors and isolate issues easier.
  9. adam4813

    Pathfinding concepts, the basics

    You could always approximate your environment with convex hulls that have much less detail then the actual environment mesh. Then updating the navmesh would be fairly trivial as a convex hull could be considered a navmesh :)
  10. adam4813

    Modern Garbage Collectors under the Hood

    If the program were to exit before a crash though, in your example Thurok, the OS (at least for Windows XP and up and most Linux variants I believe) will clean up the program's space and return the memory to the OS.   Great article though, I didn't understand how the Java GC worked until now.   I personally see an issue with all the object copying as I would think that would be a potential for a bottleneck in the execution of a program. I understand it doesn't happen often, but what about time critical programs that, given a minor hiccup, could cause a serious issue.   How would you create a different approach that might possibly avoid all the copying?
  11. Super Soft, Melt in Your Mouth, Sugar Cookie Recipe http://www.squidoo.com/soft-sugar-cookie-recipe
  • 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!