To make sure that you write good clean code, you might be wondering how to make your complier stop on warnings, well now you can with this additional command line option: -Werror
If you are writing some code using some sort of crazy IDE that creates lots of folders and files all over the place, trying to find where to put extra files for your application to find and read can be hard. But not now with Pete’s easy directory finding solution! Instead of trying and failing Read..
Add a new Windows system variable with a variable name of “CYGWIN” and variable value of “nodosfilewarning”. That should disable the very annoying error, or you could fix it by using correct UNIX pathnames.
When including files, I have seen people use inc file extensions and most people using php. For php it is best to not use the inc extension as the code can be viewed in plain text. This is because most servers are set up to display it, it is used for server side include for Read..
For the last couple of days I’ve been playing around with panada3D game engine. So far with out much problems I’ve been able to create 3D sound, landscape collision, 3rd and first person camera. I have also been messing around with blender and been able to UV map my models that I make useing it. Read..
How to create a start point position for your maps/models useing blender and Panda3D. When I was following the Roaming Ralph sample code I was unable to recreate the world model to use the start point value. This is how to do it. Step One: Create a Vertex or plane, any thing, in the place Read..
To make sure that your game runs the same on all computers that can handle it. You will need to make sure that your actions are independent from the frame rate. To do this in python you can put this code above the game loop framerate = 60 #frames per second clock = pygame.time.Clock() and Read..
