Search found 10 matches

by Gameswhiz
Fri Jul 02, 2004 8:09 pm
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

re:

Thanks I got it to compile and run now.I guess I should just fiddle with the numbers untill I can see the lines on the screen or are they meant to be there already?
by Gameswhiz
Fri Jul 02, 2004 6:18 pm
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

re

But here is the thing.I get an error error C2955: 'position2d' : use of class template requires template argument list whenever I try that code driver->draw2DLine(position2d(320,240,0), position2d(330,250,0)); So what could be the problem?
by Gameswhiz
Fri Jul 02, 2004 6:06 pm
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

re:

Code: Select all

driver->draw2DLine(position2d<320>, position2d<330>);
It could be a dumb question but does anyone know what is wrong with that?
by Gameswhiz
Fri Jul 02, 2004 5:44 pm
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

re:

no one knows the answer? I really need this to get my project back on track.I just wanna know how to make a node the child of another node and how to change the size of a rectangle in the function draw2DRectangle().
Thanks,
Alex
by Gameswhiz
Fri Jul 02, 2004 3:40 pm
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

This is code I use to draw simple crosshair in my demo:

code:
--------------------------------------------------------------------------------
driver->draw2DRectangle( irr::video::SColor(100,255,100,100), irr::core::rect<s32>(300,299,500,301) );
driver->draw2DRectangle( irr::video::SColor(100 ...
by Gameswhiz
Fri Jul 02, 2004 6:54 am
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

Reply

Really is that all the code you needed to add? Just draw to rectangls? Seems too easy really.
by Gameswhiz
Fri Jul 02, 2004 6:11 am
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

reply

All the models that I use are in the md2 format.
by Gameswhiz
Thu Jul 01, 2004 8:46 pm
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

Reply

Thanks for that I'll be able to do it now.I guess I can have some fun now with my shotgun model and the homer simpson model I got from polycount heh.I'll see you guys around and thanks for the help.
by Gameswhiz
Thu Jul 01, 2004 8:02 pm
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

reply

So is there a way to change the cursor using a bitmap image like make it a + instead of an arrow or is this not possible? Also should I use a billboard for the weapon(s)?
by Gameswhiz
Thu Jul 01, 2004 6:42 pm
Forum: Beginners Help
Topic: Crosshair help
Replies: 19
Views: 1658

Crosshair help

Hi,

This is my first post so be gentle.I am creating a little demo thing to see what I can do in irrlicht and I decided on a first person shooter where you just have one level, two guys and you control one and you shoot each other.I was thinking about the crosshair and I was wondering if I could ...