A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »Help for make buttons bitmaps for UI

Author Topic: Help for make buttons bitmaps for UI (6 messages, Page 1 of 1)
Moderators: Dennis

Mangenkyo
Joined: Jul 14, 2009

Yep!.. i know i'm in Space..


Posted: Jan 25, 2010 06:07 AM    Msg. 1 of 6       
Hi.
i dont know how i can make this bitmap, here a descriptions

Classic Button Image:


and this is the bitmap type and format:


Advancebo
Joined: Jan 14, 2008


Posted: Jan 30, 2010 08:26 PM    Msg. 2 of 6       
You know if you add the blue border, its easier than doing what you just said.


Advancebo
Joined: Jan 14, 2008


Posted: Jan 30, 2010 08:47 PM    Msg. 3 of 6       
They dont need to be sprites, they can still have the blue borders and be compiled as a 2d texture.


Timo
Joined: May 7, 2009


Posted: Jan 31, 2010 06:50 AM    Msg. 4 of 6       
Quote: --- Original message by: l283023
Okay, you can compile them with the blue borders and leave it as a 2d texture.
Then it will still be one image.


wat. That has to be the stupidest way to create UI bitmaps that i've ever heard of :|

All you need to do is place the selected bitmap to the right of the unselected one, and surround each with a 1px blue border. Compile once, it'll say that your bitmaps aren't in the power of two dimensions (unless you've set it up to, which you can if you really want to). Just change the bitmap type from 2d texture to interface bitmap - it'll bypass the dimension check so your bitmap can be any size. Halo will take care of the rest. Having the bitmap being the same size as your button is ideal for when you're figuring out the widget's bounds (if the bounds of your button = bounds of the bitmap). Saves you from guessing the width/height bounds to allow an adjacent button to be used completely.

Here's an example from an early version of the DH UI:


edit: The blue border is supposed to be 1px wide, jpeg compression has killed it a little bit.

Edited by Timo on Jan 31, 2010 at 07:03 AM


Timo
Joined: May 7, 2009


Posted: Jan 31, 2010 02:23 PM    Msg. 5 of 6       
How do you know bungie did it that way? There's no way they manually edited each bitmap everytime they went through a new iteration/set of buttons.


Mangenkyo
Joined: Jul 14, 2009

Yep!.. i know i'm in Space..


Posted: Jan 31, 2010 03:55 PM    Msg. 6 of 6       
i can create now the bitmaps, i dont need help, i using sprites TIFF format, with interfaces bitmaps type and 32-bits.

ty to all

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 9:38 AM 360 ms.
A Halo Maps Website