Archive

Posts Tagged ‘game dev’

Game development Update

August 31st, 2009

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. This means that my boaring white meshs are all nice and colourfull see;

UVMapThe orb of Azumanga spins!!

Pete Programming, StarQuest , ,

Set start_point for Panda3D useing Blender

August 30th, 2009

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 where you want your start_point to be.

Step Two:
Make sure that you are in Object Mode not edit. Press F7 which will take youto the Object Panel (See Left) and change the name of the object to “start_point” (See Right)

Step2Step3

Step Three:
Export useing chiken to egg, and check to see if it worked by pressing “Shift + L”, check the command line to see if it says something like,  PandaNode start_point T:m(pos -6.71705 9.45356 5.36108)

You should now be able to get the position of the start point by doing something like this. self.environ.find(“**/start_point”).getPos()

With help from here and here. Hope this helps someone. Comments welcome ^_^

Pete Programming, Tutorials , , , ,

Frame rate independent movement in PyGame

August 19th, 2009

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 then at the end of your game loop put

timepassed = clock.tick(framerate)

This should help with makeing the game more playable ^_^
Hope this helps.

Pete Programming , , ,

MMORPG Update #2

March 9th, 2009

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.

Lightmap created useing images

The lighting was created useing irrEdit, it generates the light effect and creates an image to be placed over the mesh.  There are other lighting effects called Per Pixel Lighting and this is created dynamicly by the application.  Below is an example of such effect.

Spaceship mesh with per pixel lighting

I have also be anble to crate an appliacation that uses 3D Sound, the engine is irrKlang, this means that depending on where you are, or in this case the camera, in the 3D world it will change the position of the sound source.  I have also created a nice 3D landscape useing Earth Sculptor, a simple to use 3D Landscape application.

Landscape, with skydomeLandscape wth skydome diffrent location

These landscapes have been created with a skydome, which is an image that you can see in the sky and will allways see no matter where you are located in the 3D world.

So this is a nice update for the development of Codename Starquest.  I will continue on creating and developing, so we shall see what happens.  The plan is to create a small working First Person game, then third person.  I will update you when this happens if at all ^_^

Pete out.

Pete Programming, StarQuest , ,

Python RTS [END]

June 9th, 2008

This post will have all the information about the Python based RTS that I am about to start to develop with the help of everyone in Nation Pigeon forum. It will be written with python as the main language and then extra modules expected to be used will be PyGame, twisted and possible PyOpenGL.

This post will have all the information that I have used to create the game, this will include all the tutorials to learn python and the the example and testing code. Basically it will be a tutorial on how to create a python based RTS, or at the least an introduction into python and gaming.

The has to be playable on all platforms and open source! For more information check out the forum.

What is an RTS?

What is Python?

First Update 9th June 2008

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 code from.

Well the next post will have something more interesting and useful that’s a promise!

More coming in the next week [SORRY PROJECT ABANDOND]

Pete Programming , , ,

Project RTS

May 10th, 2008

I have decide to start work on a simple RTS game, it will use python and some other modules. I will start work on it once I have finished collage, next week, I hope to have it completed or at least more than half way finished by the start of the collage. The game will be open source and I will keep a log of how I created and what tutorial/information I have used to learn the python language.

There are three main goals, these are:

  1. Provide other people with complete information on how to start and write an RTS game from scratch
  2. Have a fully working RTS game by September 2008
  3. Get some experience in writing games to go towards CodeName StarQuest

And a great video to finish off the post Clicky

Pete Games, Information, Programming ,