Fork me on GitHub
Nation Pigeon

Viewing Tags Programming

Netbeans illegal instruction Ubuntu

12th December 10 | Linux, Programming

If you keep getting ‘illegal instruction’ whilst trying to run simple working code in using NetBeans and Ubuntu. It Can help if you disable profiling on your project. simply project -> properties -> profiling .. disable all. Might help, Pete

[ Read More → ]

C Force stop on warnings

5th July 10 | Programming, Systemless

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

[ Read More → ]

How to find out where your working directory is

29th June 10 | Programming, Systemless

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 More → ]

Game development Update

31st August 09 | Programming, Projects

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 More → ]

Frame rate independent movement in PyGame

19th August 09 | Programming

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 More → ]

JScrollPane back to top

1st May 09 | Programming

If you want to make your JScrollPane return to the top once you have enter some text, try this: myTextArea.setCaretPosition( 0 ) It places the curser back to zero and in turn makes the JScrollPane go back to the top. Worked for me, hope this helps someone.

[ Read More → ]

MMORPG Update #2

9th March 09 | Programming, Projects

Okay so after a very long time here is a MMORPG Codename Starquest Update.  This only contains some basic images, which have been created useing the IrrLicht engine and varius other applications such as 3D Studios Max, Blender, Earth Sculptor and Photoshop. Below shows the lightmapping test on a room mesh. The lighting was created [...]

[ Read More → ]

Chaos Gate

16th February 09 | Anime, Projects, Systemless

I am attempting to create the chaos gate from the anime .hack //SIGN, for those of you who don’t know what it is.  A chaos gate is “a sort of transfer device that takes us from one place to another.” — Lord Orca —within The World (a MMORPG) Here’s a picture of the chaos gate [...]

[ Read More → ]

Programming Variables Very Basic

12th September 08 | Programming

A variable is data that is stored in the computers memory. A variable can be a number (Integar, Float) or just one letter or number (Char) or it can be a string of letters or number (String) in some programming languages like Java and C/C++ you need to declare and initialize the variable, this means [...]

[ Read More → ]

GIR And PyGame

9th June 08 | Programming, Projects

I have had a play around with PyGame and this is what I have been able to do. PyGame Mess One these where made by taking bits from the example code, line by line chimp and other PyGame games. erm I created them along time ago so I can’t really remember where I got the [...]

[ Read More → ]

Go Back in Time »

Copyright © 2007 ∞ Nation Pigeon - Designed by Peter Mayanrd
Theme Based on Black-Green - Fork it on GitHub