Search found 12 matches
- Fri Jun 03, 2016 8:02 pm
- Forum: Advanced Help
- Topic: Camera center to my character
- Replies: 1
- Views: 1092
Camera center to my character
Hi all, I'm working on my camera , i have a diablo-like game and i want to center my camera on my main character. I used a basic camera (no fps , maya ...) and i dont know how to set my camera to the position of my character. I tried to setposition . but i dont really understand how the cameras work...
- Mon May 30, 2016 11:18 pm
- Forum: Advanced Help
- Topic: TileMapping
- Replies: 12
- Views: 2097
Re: TileMapping
I managed to do it =)
Thank you for your advice , i used _ for variable when they are in a class,
Thank you for your advice , i used _ for variable when they are in a class,
- Mon May 30, 2016 8:02 pm
- Forum: Advanced Help
- Topic: TileMapping
- Replies: 12
- Views: 2097
Re: TileMapping
I definitly don't undestand how these coordinates are working. I'm working on it and try to implement an index which can switch between tile but it doesn't work. _driver->draw2DImage(_tileSet, irr::core::position2d<irr::s32>(posx, posy), (currentIndex *_tileWidth), 0, (currentIndex *_tileWidth), _ti...
- Mon May 30, 2016 6:38 pm
- Forum: Advanced Help
- Topic: Sprite 2d
- Replies: 7
- Views: 1372
Re: Sprite 2d
I don't need to rotate etc
Just move my character into all directions
Also , thank you very much =)
Just move my character into all directions
Also , thank you very much =)
- Mon May 30, 2016 3:01 pm
- Forum: Advanced Help
- Topic: Sprite 2d
- Replies: 7
- Views: 1372
Re: Sprite 2d
I try to code a Hammerwatch-like game but with sprite on isometric form.
http://www.rpgfrance.com/medias/images/ ... 0x1080.jpg
my map is done with tilemapping and my character works with sprite.
http://www.rpgfrance.com/medias/images/ ... 0x1080.jpg
my map is done with tilemapping and my character works with sprite.
- Mon May 30, 2016 2:59 pm
- Forum: Advanced Help
- Topic: Sprite 2d
- Replies: 7
- Views: 1372
Re: Sprite 2d
"In that case you should use textures which you put on polygons."
So use invisible polygons and draw texture over them?
So use invisible polygons and draw texture over them?
- Mon May 30, 2016 1:49 pm
- Forum: Advanced Help
- Topic: TileMapping
- Replies: 12
- Views: 2097
Re: TileMapping
Oh sorry for double post but do you have some good websites for tilemapping?
- Mon May 30, 2016 1:34 pm
- Forum: Advanced Help
- Topic: TileMapping
- Replies: 12
- Views: 2097
Re: TileMapping
MMh ok , i didn't think things like that , thank you =)
- Mon May 30, 2016 12:36 pm
- Forum: Advanced Help
- Topic: Sprite 2d
- Replies: 7
- Views: 1372
Re: Sprite 2d
Of course i will , but i didn't understand it very well .
Where can i find other sprite like this?
Where can i find other sprite like this?
- Mon May 30, 2016 12:30 pm
- Forum: Advanced Help
- Topic: TileMapping
- Replies: 12
- Views: 2097
Re: TileMapping
It's not (x1, y1, x2, y2) ?
- Sun May 29, 2016 7:10 pm
- Forum: Advanced Help
- Topic: TileMapping
- Replies: 12
- Views: 2097
TileMapping
Hi everybody, I'm currently into a project who use tilemapping, i've already done the code but i have a problem with draw2dImage. This is the prototype : draw2DImage ( const video::ITexture * texture, const core::rect< s32 > & destRect, const core::rect< s32 > & sourceRect, const core::rect<...
- Sun May 29, 2016 7:02 pm
- Forum: Advanced Help
- Topic: Sprite 2d
- Replies: 7
- Views: 1372
Sprite 2d
Hi all,
I want to use sprite on 2d "isometric" and i dont know how to do this.
Which function should i use ? (draw2dimage?)
How can i simulate 3d with my 2d , do irrlicht supports it ?
I want to use sprite on 2d "isometric" and i dont know how to do this.
Which function should i use ? (draw2dimage?)
How can i simulate 3d with my 2d , do irrlicht supports it ?