bugSGE Game Engine - Bugs: bug #38947, Images get offset if given a...

 
 

bug #38947: Images get offset if given a custom size

Submitted by:  Julie Marchant <onpon4>
Submitted on:  Thu 09 May 2013 04:08:55 AM UTC  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: Fixed
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 09 May 2013 08:51:09 PM UTC, comment #1:

It was pretty simple: the code that decided the position to draw at didn't change the origin depending on image_xscale and image_yscale. This has been fixed.

Julie Marchant <onpon4>
Project Administrator
Thu 09 May 2013 04:08:55 AM UTC, original submission:

It seems that if width and height are manually specified as something other than the image's actual width and height, it then gets offset when scaled. This doesn't seem to happen with sprites that were given no size on creation or given the same size as the image, but more testing is needed to be sure.

Julie Marchant <onpon4>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by onpon4 (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 09 May 2013 08:51:09 PM UTConpon4StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1