Remember me
You are here: HomeForumCyberix3D ForumGeneral Discussionnew twitter account.
Welcome, Guest
Username: Password: Remember me

TOPIC: Perfect center?

Perfect center? 4 years 6 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? 4 years 6 months ago #1978

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 703
  • Thank you received: 697
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.081 seconds