Remember me
You are here: HomeForumCyberix3D ForumGeneral DiscussionPerfect center?
Welcome, Guest
Username: Password: Remember me

TOPIC: Perfect center?

Perfect center? 3 years 9 months ago #1975

  • Plazma
  • Plazma's Avatar
  • OFFLINE
  • Senior Boarder
  • 99 bugs in the programming code.. 99 bugs in the code..
  • Posts: 77
  • Thank you received: 19
I uploaded a custom image to use as an aim for a project, and it needs to be centered on the screen, when i use "auto center", it just moves the image to the top left corner.
Graphic designer and learning game developer.. I guess.
The administrator has disabled public write access.

Perfect center? 3 years 9 months ago #1978

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 658
  • Thank you received: 624
Hello,
For a perfect center you also need to set the x to 640 and y to 360.
This is because the screen dimensions in 2d are always 1280x720 so 1280/2=640 and 720/2=360.
image_center.jpg

Regards,
Cyberix3D team
The administrator has disabled public write access.
The following user(s) said Thank You: Plazma, CustomEpicness
Time to create page: 0.096 seconds