Skip to content

Add batch drawing Text example to docs #1571

@Cleptomania

Description

@Cleptomania

Documentation request:

What documentation needs to change?

The examples page currently shows a "Slow But Easy" and a "Fast" text drawing example. These use arcade.draw_text() and arcade.Text() respectively. We have an example code for batch drawing arcade.Text() objects, but it is not exposed in the docs anywhere. This example needs promoted as the fastest way to draw text, as every draw call on individual arcade.Text() objects will add up really fast.

This example could maybe use some explanation of Pyglet batches as that is what it uses to do the batch draw. Perhaps a simpler example of using a pyglet batch or linking to the pyglet documentation for that is in order alongside this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions