[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re: Is Pygame suitable for full HD games?



I tried it but I couldn't get it to 60fps :(

Thanks a lot for your time and your help, but I think I'm moving to
Löve2D, which seems to suit beter my needs.

Good luck with your projects! :)

On Feb 7, 9:02 am, René Dudfield <ren...@xxxxxxxxx> wrote:
> Hi,
>
> it's generally best to avoid HWSURFACE, since on many platforms it is not
> worth it or just falls back to software.
>
> regards,
>
>
>
>
>
>
>
> On Tue, Feb 7, 2012 at 12:04 AM, Silver <rockac...@xxxxxxxxx> wrote:
> > If you blit to a separate image, then it to the screen, I think you
> > aren't taking advantage of the HWSURFACE flag. If somebody else could
> > confirm this is correct, please do.
>
> > To set a surface to have the HWSURFACE flag, you need to create the
> > surface with it:
>
> > image = pygame.Surface((1920,1080), pygame.HWSURFACE)
>
> > then just blit it as normal.
>
> > I hope this answers your questions,
> >         Silver