how to avoid slowdown when scaleing

Game Editor comments and discussion.

how to avoid slowdown when scaleing

Postby 157pl » Wed Mar 09, 2011 10:40 pm

to avoid slowdown when scaling using draw from function
use multiplication on up and devision on down when Tutochao puts on addition and subtraction in this tutorial
http://www.youtube.com/user/Tutochao#p/c/D64A103737AEC258/9/h8y6D7e-GT0
User avatar
157pl
 
Posts: 109
Joined: Thu May 13, 2010 10:49 pm
Location: AZ
Score: 3 Give a positive score

Re: how to avoid slowdown when scaleing

Postby AnarchCassius » Thu Mar 10, 2011 1:24 am

This works, but remember that it's not a "slowdown". There is no lag, it's just the size increase is the same but the object is much larger. Using multiplication and division are actually more system intensive but should be fine for use here.
AnarchCassius
 
Posts: 55
Joined: Sat Jan 29, 2011 1:33 am
Score: 6 Give a positive score

Re: how to avoid slowdown when scaleing

Postby 157pl » Mon Mar 14, 2011 7:34 am

ya i know
i should say to be relative to the enlarged pixels not the actual ones
but then some people may get confused
User avatar
157pl
 
Posts: 109
Joined: Thu May 13, 2010 10:49 pm
Location: AZ
Score: 3 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest