BREAKING CHANGE: Renamed SpriteFont type to Font
- Preparing MP3 files support - Jumped version to raylib 2.0-dev (too many breaking changes...)
This commit is contained in:
parent
6045062a05
commit
ec33e7d705
34 changed files with 3027 additions and 179 deletions
|
|
@ -48,7 +48,7 @@ Texture2D swhale;
|
|||
Texture2D fish;
|
||||
Texture2D gframe;
|
||||
|
||||
SpriteFont font;
|
||||
Font font;
|
||||
|
||||
Sound eat;
|
||||
Sound die;
|
||||
|
|
@ -119,7 +119,7 @@ int main()
|
|||
gframe = LoadTexture("resources/gframe.png");
|
||||
|
||||
// Load game resources: fonts
|
||||
font = LoadSpriteFont("resources/komika.png");
|
||||
font = LoadFont("resources/komika.png");
|
||||
|
||||
// Load game resources: sounds
|
||||
eat = LoadSound("resources/eat.wav");
|
||||
|
|
@ -186,7 +186,7 @@ int main()
|
|||
UnloadTexture(gamera);
|
||||
|
||||
// Unload font texture
|
||||
UnloadSpriteFont(font);
|
||||
UnloadFont(font);
|
||||
|
||||
// Unload sounds
|
||||
UnloadSound(eat);
|
||||
|
|
|
|||
Loading…
Reference in a new issue