Nevermind, I was running it in 800x600 and the background was scaled
so that it appeared to b 128x128 in a 640x480 window.  This i
obviously from the HudLayout.res.  I would like to make the image
always the size of that background. i.e. it also scales to the
resolution.


On Fri, 25 Mar 2005 13:12:10 -0600, <SB> Childe Roland
<[EMAIL PROTECTED]> wrote:
> Ok, it seems that the background box is actually 128x128, but the
> image is being drawn smaller than that.
>
>
> On Fri, 25 Mar 2005 12:56:59 -0600, <SB> Childe Roland
> <[EMAIL PROTECTED]> wrote:
> > I am trying to create an Icon on the HUD that is animated.  I have the
> > VTF created with 3 frames.  I have a few questions:
> >
> > 1.  The first frame of the texture(128x128) is drawn, but there is a
> > background being drawn that is bigger than the image.  I'm using
> > "DrawTexturedRect( 0, 0, 128, 128 );"  What could cause this bigger
> > background drawn around it??
> >
> > 2.  I know the XPOS in HudLayout.res allows you to put an "r128" it
> > 128 from the right side.  Is there a comparable way to make it draw a
> > distance from the bottom?
> >
> > 3.  How do I make this thing animate?  Is there someway to specify the
> > frame, then do a counter, or is there something built in that I can
> > just tell it to animate?
> >
> > thanks :)
> > --
> > =============================
> > <SB> Childe Roland
> > "I will show you fear in a handful of jellybeans."
> >
>
> --
> =============================
> <SB> Childe Roland
> "I will show you fear in a handful of jellybeans."
>


--
=============================
<SB> Childe Roland
"I will show you fear in a handful of jellybeans."

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to