Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualElidor

Posted 24 April 2013 - 11:09 PM

My question is knowing exactly how to blit aside from presets of centering and estimating like 1/5 of the way down the screen then 1/3 across. I'd like to know if there's a way I can attain better reference points than just right, center, and left alignment.

For example if I blit a surface in one class it would be easier to use an inbetween class like the surface class above to use the previous surface as a reference to blit the other surface.

To further illustrate what I'm aiming at:
If I blit a surface1 centered at a screen at the top and I want to blit a surface2 just bellow that but have surface2 centered how could I go about that?

#2Elidor

Posted 24 April 2013 - 11:08 PM

My question is knowing exactly where to blit aside from presets of centering and estimating stuff like 1/5 of the way down the screen then 1/3 across. I'd like to know if there's a way I can attain better reference points than just right, center, and left alignment.

For example if I blit a surface in one class it would be easier to use an inbetween class like the surface class above to use the previous surface as a reference to blit the other surface.

To further illustrate what I'm aiming at:
If I blit a surface1 centered at a screen at the top and I want to blit a surface2 just bellow that but have surface2 centered how could I go about that?

#1Elidor

Posted 24 April 2013 - 11:07 PM

My questions is knowing exactly where to blit aside from presets of centering and estimating stuff like 1/5 of the way down the screen then 1/3 across. I'd like to know if there's a way I can attain better reference points than just right, center, and left alignment.

For example if I blit a surface in one class it would be easier to use an inbetween class like the surface class above to use the previous surface as a reference to blit the other surface.

To further illustrate what I'm aiming at:
If I blit a surface1 centered at a screen at the top and I want to blit a surface2 just bellow that but have surface2 centered how could I go about that?

PARTNERS