Scrolling grid

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Quibbler
Posts: 25
Joined: Tue Feb 14, 2006 5:34 pm

Scrolling grid

Post by Quibbler »

I want to draw a 2D grid the fastest way possible as a background and I want to scroll the grid smoothly to the left and right using scrollbars.

I also want to be able to change the snap sizes of the grid and update it accordingly.

I have no prior experience of the Irrlicht engine so I need some help.

How can I do this the fastest way possible??

What functions should I use, and which should I avoid??
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

Fastest way would be to use draw2DRectangle() to draw horizontal and vertical lines. Adjust their position by output from scrollbar.
Post Reply