mirror of
https://github.com/IllusionMan1212/O2048.git
synced 2026-10-24 10:12:37 +00:00
19 lines
315 B
Odin
19 lines
315 B
Odin
package main
|
|||
|
|
|
||
|
|
import gl "vendor:OpenGL"
|
||
|
|
import "glx"
|
||
|
|
import "zephr"
|
||
|
|
|
||
|
|
font_path :: "assets/fonts/Rubik/Rubik-VariableFont_wght.ttf"
|
||
|
|
icon_path :: "assets/icon-128x128.png"
|
||
|
|
title :: "2048"
|
||
|
|
|
||
|
|
main :: proc() {
|
||
|
|
zephr.init(font_path, icon_path, title, zephr.Vec2{1200, 800}, true)
|
||
|
|
|
||
|
|
game_loop()
|
||
|
|
|
||
|
|
zephr.deinit()
|
||
|
|
}
|
||
|
|
|