wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Tutorials > JASS/AI scripts tutorials
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 03-01-2009, 02:42 PM   #16
Hans_Maulwurf
root bloody root
 
Hans_Maulwurf's Avatar
 
Join Date: Mar 2007
Posts: 117

Hans_Maulwurf will become famous soon enough (52)Hans_Maulwurf will become famous soon enough (52)

Send a message via ICQ to Hans_Maulwurf
Default

Thanks alot, also to Szythe for the alpha thing in the edit
I tryed to make a function that creates a border witht a given width and height and the required images only take 48kb

Good thing is, this stays same size in every resolution. looks with 640x480 the same as in 1600x1200

also made a macro for photoshop, so you just have to open a image and press play and it automaticaly scales it down and adds a alpha border, when i made these images. but i dont know how to export :x
Hans_Maulwurf is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 09-02-2009, 01:20 PM   #17
Silvenon
User
 
Silvenon's Avatar
 
Join Date: May 2007
Posts: 492

Submissions (1)

Silvenon will become famous soon enough (63)Silvenon will become famous soon enough (63)Silvenon will become famous soon enough (63)

Send a message via MSN to Silvenon
Default

PitzerMike, I know you probably won't see this, but I've managed to create images of dimensions which are NOT powers of 2. But that's probably a 1.24/b fix (obviously accidentally), because I recall not being able to do that before...

EDIT: Hans_Maulwurf, when you scaled the image in Photoshop (or wherever), did you remember to scale it down when you're passing dimensions as parameters?

So if you're using 1600x1200, your call should look something like this:

call CreateImageEx(<your path>, 1600, 1200, <position x>, <position y>, <position z>, true)

That is, if you're using the CreateImageEx function from the first page.

Last edited by Silvenon : 09-02-2009 at 01:31 PM.
Silvenon is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 04:10 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services