Need Help, I'm new to Irrlight
Posted: Sun Oct 17, 2010 8:54 am
Hello,
I'm CodeDragon and am new to game development.
I have a few questions:
- How can I make players hit each other with guns etc.. , How can I check if the bullit (Which is in the air) hits him/her.
- How can I make a good map?
- How can I store textures in a variable for pre-loading?
- How can I store my player details? (Is the next code ok or not?)
- And how can I make pickup marks like this:
That is points to the camera.
Thanks for helping if you do.
~ CodeDragon
I'm CodeDragon and am new to game development.
I have a few questions:
- How can I make players hit each other with guns etc.. , How can I check if the bullit (Which is in the air) hits him/her.
- How can I make a good map?
- How can I store textures in a variable for pre-loading?
- How can I store my player details? (Is the next code ok or not?)
Code: Select all
#ifndef PLAYER_H
#define PLAYER_H
#include <irrlicht.h>
#include "Weapon.h"
#include "Inventory.h"
#define MaxPlayers 16
struct sVector
{
float X;
float Y;
float Z;
};
class cPlayer
{
private:
public:
sVector Recoil;
sVector Location;
BYTE iLife;
BYTE pTeam;
pWeapon CurrentWeapon;
};
#endif
- And how can I make pickup marks like this:
That is points to the camera.
Thanks for helping if you do.
~ CodeDragon