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
Viet Heroes - Fight or Surrender [Stoped]
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.eMgz wrote:deja vu! (http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=25017)
hehe, joking, fell free to use that NICE bar
nice models btw
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
Project homepage: http://fosp.wordpress.com/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
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.
Project homepage: http://fosp.wordpress.com/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
The windows binary, default is DirectX, you can using OpenGL by reconfig
http://fosengine.googlecode.com/files/S ... elease.rar
http://fosengine.googlecode.com/files/S ... elease.rar
Last edited by doqkhanh on Wed Jun 25, 2008 3:57 pm, edited 1 time in total.
Project homepage: http://fosp.wordpress.com/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Project homepage: http://fosp.wordpress.com/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Thanks JP, in Saturday, we have some improve whith weapon mesh attacked and partical system:JP wrote:Hey that looks pretty good! Nice work, good luck continuing!
http://www.youtube.com/watch?v=eLlCSZBy_E0
Project homepage: http://fosp.wordpress.com/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/