Skip to content

Screen coordinates #135

@Ashurek85

Description

@Ashurek85

Hi,

I have a couple of questions regarding the coordinate system and the default display output.

First, it looks like the coordinate system does not start at (0, 0). What is the actual origin of the coordinate system?

Empirically, I have found that (8, -16) seems to correspond to the top-left corner, while (312, -240) seems to correspond to the bottom-right corner. Is this expected? If so, could you clarify how the coordinate system is defined? This gives me an output resolution of 304x224. Shouldn't it be 320x224?

Second, when launching gngeo with the default configuration, I see vertical black bars on both the left and right sides of the screen. Is this the expected behavior with the default settings, or could it indicate a configuration or scaling issue?

In the image below, a 16x16 sprite is shown positioned at the edges of the visible area. The screenshot also shows the vertical black bars that appear on the left and right sides when running gngeo with the default configuration.

Image

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions