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

(ConstructMenuScene) Сцена на фоне главного меню #22

Open
mchernigin opened this issue Apr 1, 2024 · 0 comments
Assignees

Comments

@mchernigin
Copy link
Member

Функция создаёт объекты в сцене главного меню. Свобода фантазии!

Что можно добавить:

Необходимо создать пустой объект bg, который будет соответствовать фоновой картинке. В поле bg.render записать новый объект Render, которая читает файл Assets/menu_background.png и задаёт ему размер окна ctx.screen_size.

После этого этот объект нужно добавить в сцену через game_scene.push_back.

Таким же образом можно добавлять любые другие объекты.

При выполнении этого задания у вас есть возможность добавить любые другие текстуры в папку Assets!

@mchernigin mchernigin converted this from a draft issue Apr 1, 2024
@vasthecat vasthecat moved this to Todo in MIT Game 2024 [1] Apr 11, 2024
@Tiradox Tiradox closed this as completed Apr 22, 2024
@Tiradox Tiradox reopened this Apr 22, 2024
@Tiradox Tiradox assigned Tiradox and unassigned Tiradox Apr 22, 2024
@Zirraya Zirraya self-assigned this Apr 29, 2024
@Zirraya Zirraya moved this from Todo to In Progress in MIT Game 2024 [1] May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

3 participants