Search found 6 matches

by matticusrex
Thu Oct 23, 2008 6:44 am
Forum: Beginners Help
Topic: Draw2DImage Elaboration
Replies: 8
Views: 773

I appreciate your replies, and apologize for being snappy earlier, but you still aren't addressing my questions. More specifically: I'm making a top-down 2D game, I want to add a health bar that is a circle around my player object. As the player loses health, the circle disappears from top to bottom...
by matticusrex
Wed Oct 22, 2008 7:52 pm
Forum: Beginners Help
Topic: Draw2DImage Elaboration
Replies: 8
Views: 773

Thank you for your informative response, maybe it could be accompanied by an actual link to this magical documentation. Obviously I know where to find the function in the API since I quoted it, and if there is more documentation than that then I'm not aware of it. I try to phrase my post in an intel...
by matticusrex
Wed Oct 22, 2008 2:34 am
Forum: Beginners Help
Topic: Draw2DImage Elaboration
Replies: 8
Views: 773

Draw2DImage Elaboration

I've been using Irrlicht for a while now making 2D games, and I was wondering if anyone would help me out and elaborate on the different draw 2d image functions. draw2DImage (const video::ITexture *texture, const core::position2d< s32 > &destPos, const core::rect< s32 > &sourceRect, const co...
by matticusrex
Tue Sep 23, 2008 11:18 pm
Forum: Code Snippets
Topic: 2d Tiles and Maps Tutorial
Replies: 13
Views: 12570

Ok, so here's what I've got right now: TileManager tileManager; TileMapNode node; TileMap tMap; ..... void beginGame(IrrlichtDevice* device){ IVideoDriver* driver = device->getVideoDriver(); device->setWindowCaption(L"2D Graphics"); tileManager.load(driver, "Road.bmp", 32, 32, 10...
by matticusrex
Tue Sep 23, 2008 7:06 pm
Forum: Code Snippets
Topic: 2d Tiles and Maps Tutorial
Replies: 13
Views: 12570

I recently implemented this tile map class in a game I'm working on, but I had a snag when trying to access nodes from the map. When calling the "get nodes" class in cTileMap vector<vector<cTileMapNode>> * getNodes(); how do you receive this pointer in another function? I tried multiple th...
by matticusrex
Tue Apr 29, 2008 6:52 pm
Forum: Beginners Help
Topic: Directional-Based Character Movement
Replies: 2
Views: 262

Directional-Based Character Movement

Hi, I'm relatively new to 3D programming and I'm having a hard time conceptualizing something. I want to make a game that uses FPS style controls, where S and D rotate my character, and W and S move forward/back. I understand how key inputs work, and rotation and have a decent knowledge of vectors, ...