Viet Heroes - Fight or Surrender [Stoped]

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
huydotnet
Posts: 81
Joined: Tue Sep 25, 2007 12:26 pm
Location: Danang, Vietnam

Post 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 :)
doqkhanh
Posts: 158
Joined: Sat Mar 01, 2008 3:14 am
Location: Tokyo, Japan
Contact:

Post by doqkhanh »

eMgz wrote:deja vu! (http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=25017)
hehe, joking, fell free to use that NICE bar :P
nice models btw
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
doqkhanh
Posts: 158
Joined: Sat Mar 01, 2008 3:14 am
Location: Tokyo, Japan
Contact:

Post 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.

Image

Image
doqkhanh
Posts: 158
Joined: Sat Mar 01, 2008 3:14 am
Location: Tokyo, Japan
Contact:

Post by doqkhanh »

:oops: The windows binary, default is DirectX, you can using OpenGL by reconfig

http://fosengine.googlecode.com/files/S ... elease.rar


Image
Last edited by doqkhanh on Wed Jun 25, 2008 3:57 pm, edited 1 time in total.
doqkhanh
Posts: 158
Joined: Sat Mar 01, 2008 3:14 am
Location: Tokyo, Japan
Contact:

Post by doqkhanh »

Hi, we have new video demo :

http://www.youtube.com/watch?v=bzrqHlO05lo
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Hey that looks pretty good! Nice work, good luck continuing!
Image Image Image
doqkhanh
Posts: 158
Joined: Sat Mar 01, 2008 3:14 am
Location: Tokyo, Japan
Contact:

Post 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
Post Reply