Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Chris on September 23, 2009, 04:09:14 PM

Title: How to create a selected region ?
Post by: Chris on September 23, 2009, 04:09:14 PM
I need help to make selected area  ???

My item is wire

I can not choose item in transparent mode

I need all the selected region is available

How do I do it?

(http://www.freeimagehosting.net/uploads/e3a322dc5f.png)

not select
(http://www.freeimagehosting.net/uploads/2863919327.jpg)

Selected

(http://www.freeimagehosting.net/uploads/919cbe74c3.jpg)
Title: Re: How to create a selected region ?
Post by: Mnemonic on September 23, 2009, 04:23:02 PM
Create a sprite with one frame (->the wire image).
Uncheck the "pixel precise" check-box in SpriteEdit.
In your item definition, reference the sprite file instead of the image file.