Page 2 of 2
Posted: Tue Jun 17, 2008 4:49 am
by huydotnet
oh, thank you very much!
this is our google code page
http://code.google.com/p/fosengine/
and if you like, you can download the source code via SVN
Posted: Sat Jun 21, 2008 9:28 am
by doqkhanh
Thank you very much. Your name and your forum url has been noted in the code when I integrated it in our demo named DemoD4. Currently, a new HealthBar has been developed by one of our team member based on your ideal.
Thank you again.
Code: Select all
#ifndef _HEALTH_MANA_BAR_H_
#define _HEALTH_MANA_BAR_H_
#include <irrlicht.h>
using namespace irr;
using namespace video;
using namespace core;
using namespace gui;
//!Định ngĩa class HealthManaBar kế thừa từ class IGUIElement.
class HealthManaBar : public IGUIElement
{
private:
IVideoDriver* driver;
//! Lượng máu lớn nhất.
int maxValue;
//! Lượng máu hiện tại.
int value;
short int transparent;
ITexture* imgBar;
position2d<s32> pos;
//! Kích thước bar
dimension2d<s32> BarSize;
public:
//! Khởi tạo đối tượng.
HealthManaBar(const rect<s32>& rect,IGUIEnvironment* env,IGUIElement* parent);
//! Hủy đối tượng.
~HealthManaBar();
//! Đặt các giá trị mới cho Máu, Mana,V.v....
void setValue(int Value);
void setMaxValue(int MaxValue);
void setTexture(c8 *fileName);
void setPosition(int X,int Y);
void setTransparent(short int Transparent);
//Vẽ
void draw();
};
#endif
Posted: Wed Jun 25, 2008 7:36 am
by doqkhanh
Newest screen shot from our project, please notice that the button and command bar in bottom is not mine, just copy from another game for learn Game HUD programming purpose.
Posted: Wed Jun 25, 2008 3:31 pm
by doqkhanh
The windows binary, default is DirectX, you can using OpenGL by reconfig
http://fosengine.googlecode.com/files/S ... elease.rar
Posted: Fri Jul 11, 2008 11:02 am
by doqkhanh
Posted: Fri Jul 11, 2008 11:12 am
by JP
Hey that looks pretty good! Nice work, good luck continuing!
Posted: Sat Jul 12, 2008 12:40 pm
by doqkhanh
JP wrote:Hey that looks pretty good! Nice work, good luck continuing!
Thanks JP, in Saturday, we have some improve whith weapon mesh attacked and partical system:
http://www.youtube.com/watch?v=eLlCSZBy_E0