Hello there. I’m attempting to create a main menu for my game. I’ve began using Panda3D since few days ago. And I have two qeustions:
1.) I’ve seen that the final position is inconsistent, by that I mean that the button is not correctly positioned when using having a maximized window, or using a window with the default size. Is this a bug, or intended behiavour? If yes, what are the default bounds, and how should I attack a button to the 2D screen renderer?
void _attachButton(NodePath* n2d,PGButton* button,const LVector2f& pos)
NodePath defbutNP = n2d->attach_new_node(button);
2.) Is there a way to place 2D items with pixel coordinates? Like placing a image at (0.5 * ScreenX, 0*5 * ScreenY) That would be a great workaround for my issue.
Looking forward to some answers. Thank you!