sjpau / mahnietyk

Ebiten Game Jam Entry
The Unlicense
2 stars 0 forks source link

Ebitengine imports should point to v2 #1

Closed tinne26 closed 2 years ago

tinne26 commented 2 years ago

Hey, this is more a comment than an issue, feel free to close if you don't want to change this.

I saw in the code that you are using these imports:

import "github.com/hajimehoshi/ebiten"

You probably want the latest versions instead:

import "github.com/hajimehoshi/ebiten/v2"
import "github.com/hajimehoshi/ebiten/v2/audio/wav"

For example, the wav.DecodeWithSampleRate function is only available on v2.

sjpau commented 2 years ago

Hi, thanks for pointing that out. Corrected to point to v2.