Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vadimiz12rus

Pages: [1]
1
Thanks huge, all turned out.

2
Help with sfml, it is necessary to make so that the background application when scaling is not changed,

int main()
{
    ....
    View view;
    view.reset(FloatRect(0, 0, 1200, 700));
    float zoom = 1.0f;

    while (window.isOpen())
    {  
        ProcessEvents(window, clickState, zoom, view);
        ...
        window.setView(view);
        window.draw(bg);
        window.draw(vecBody.at(0).sprite);
        window.draw(text);  
    }
}
Without zoom

With zoom

Pages: [1]