Skip to content

Examples maintenance #3

@bhperry

Description

@bhperry

Noted some issues with some of the examples while testing out the pixel v2 updates. Noting them here for future reference. We should go through and fix or remove broken examples.

Community:

  • amidakuji
    • Fails to run
  • go-jetpack
    • Nil dereference when running from wrong directory (loadSprite is doing something silly when err != nil)
    • Jetpack gopher is a little glitchy when it does run, doesn't stay in view.
  • parallax-scrolling-background
    • Fails to run
  • seascape-shader
    • Fails to run
  • tilemap
    • graphics disappear shortly after loading

General note:

  • community examples don't all use the main.go convention. Would be nice for all examples to have the same main entrypoint file.

Guide

  • 03_moving_scaling_and_rotating_with_matrix + 04_pressing_keys_and_clicking_mouse + 05_drawing_efficiently_with_batch
    • Blank green background, no sprites on screen

Platformer

Not really a bug (I think), but sad that nothing happens when you reach the portal

Shader

  • exposure
    • Fails to run
  • fastblur
    • Fails to run

Lights

  • Lights not showing up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions