Selection box.. with SIDES

5
Your rating: None Average: 5 (1 vote)
Difficulty Level: 
Intermediate
Topic: 
Game Coding

~DOWNLOAD~
http://www.filefront.com/14525049/RTS_Tutorials.zip

Usually Click game do selection boxes by having objects positioned at the corners which is ok but when you're dragging a large box it is sometimes difficult to see where the edge is and you might select unwanted objects.

This tutorial shows a simple way to make a selection box like the one you use in Windows or most RTS games with 4 solid sides that scale proportionally relative to the mouse to create quite a convincing selection box.

Comments

KetchupMaster's picture
5

Very nice tutorial!