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 ?
Sprite 2d
Re: Sprite 2d
did you compile example 6 ?
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
-- https://github.com/netpipe/Luna Game Engine Status 95%
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?
Re: Sprite 2d
Depends on what you plan to do. draw2dimage does just that - draw an image. Which might be enough or not - depends on what you try to do. If you need stuff like rotating, scaling for example then it won't be enough. In that case you should use textures which you put on polygons. That will also allow you to do other flexible stuff like zooming in/out with the camera. And probably make scrolling a little easier.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
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?
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.
Re: Sprite 2d
Don't know Hammerwatch. What is important is which features you need. Does the camera zoom. Will the world rotate or not.
Same for characters (some games draw the same character 8 times in different directions - so they never need to rotate, other rotate the same image in 8 direction, others need more than 8 direction as you can rotated in smaller angles). Once you know which features you need in your game we can discuss the technology to use for it.
edit: Using draw2dimage is the easiest. Try to start with that. Getting a 3d effect with 2d is just clever tile-drawing. You can find free tile-sets on the web to start with.
Same for characters (some games draw the same character 8 times in different directions - so they never need to rotate, other rotate the same image in 8 direction, others need more than 8 direction as you can rotated in smaller angles). Once you know which features you need in your game we can discuss the technology to use for it.
edit: Using draw2dimage is the easiest. Try to start with that. Getting a 3d effect with 2d is just clever tile-drawing. You can find free tile-sets on the web to start with.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
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 =)