Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI parameters for window settings #1546

Open
3 tasks
heinezen opened this issue Sep 17, 2023 · 2 comments
Open
3 tasks

CLI parameters for window settings #1546

heinezen opened this issue Sep 17, 2023 · 2 comments
Labels
area: renderer Concerns our graphics renderer good first issue Suitable for newcomers lang: c++ Done in C++ code lang: cython Implemented using Cython code lang: python Done in Python code nice new thing ☺ A new feature that was not there before

Comments

@heinezen
Copy link
Member

Required Skills: Python, some C++

Difficulty: Easy

Several window parameters could be set via the CLI on startup. Examples for these parameters include:

  • window size (height x width)
  • vsync
  • fullscreen/borderless/windowed

Most of the parameters are already supported by the renderer::Window class. All we have to do is pass them through from the Python CLI.

Tasks:

  • Start parameters have to be defined in Python for start modes main and game
  • Pass parameters to C++ invocation main_arguments struct
  • in C++, pass relevant parameters to presenter/renderer subsystem

Further Reading

@heinezen heinezen added area: renderer Concerns our graphics renderer nice new thing ☺ A new feature that was not there before lang: c++ Done in C++ code lang: python Done in Python code lang: cython Implemented using Cython code good first issue Suitable for newcomers labels Sep 17, 2023
@heinezen heinezen pinned this issue Sep 17, 2023
@heinezen heinezen added the hacktoberfest For newcomers from Hacktoberfest event label Sep 27, 2023
@stoyanov-kaloyan
Copy link

Hi! I would like to work on this issue. Can you please assign it to me?

@heinezen
Copy link
Member Author

heinezen commented Oct 2, 2023

@stoyanov-kaloyan Great :) I've assigned you just now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: renderer Concerns our graphics renderer good first issue Suitable for newcomers lang: c++ Done in C++ code lang: cython Implemented using Cython code lang: python Done in Python code nice new thing ☺ A new feature that was not there before
Projects
Status: renderer
Status: 🔖 TODO
Development

No branches or pull requests

2 participants