Skip to content

Commit

Permalink
Custom OpenGL and more
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkauzh committed Feb 2, 2024
1 parent 0f2242f commit fc74220
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 129 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ dependencies = [
"numpy>=1.24.0",
"PyOpenGL-accelerate>=3.1.7",
]
includes = ["**/*.png", "**/*.ttf"]

[tool.pdm]
distribution = "true"
distribution = true
ignore_package_warnings = ["numpy"]

[tool.pdm.options]
includes = ["**/*.png", "**/*.ttf"]

[tool.pdm.build]
package-dir = "src"

Expand Down
15 changes: 2 additions & 13 deletions src/fusionengine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,7 @@
from fusionengine.engine.animation import *
from fusionengine.engine.spritesheets import *

# GL
import fusionengine.backend.gl as gl

import pygame as pg
import OpenGL

message = True


if os.environ.get("FUSION_HIDE_PROMPT") is None:
python_version = sys.version.split()[0]
print(
f"Fusion Engine {__version__} (PyOpenGL {OpenGL.__version__}, Pygame-ce {pg.version.ver}, Python {python_version})"
)
print(
"Welcome to Fusion Engine! Check out our website at https://fusion-engine.tech/"
)
Loading

0 comments on commit fc74220

Please sign in to comment.