Package Usage: go: github.com/hajimehoshi/ebiten/v2
Package ebiten provides graphics and input API to develop a 2D game.
You can start the game by calling the function RunGame.
In the API document, 'the main thread' means the goroutine in init(), main() and their callees without 'go'
statement. It is assured that 'the main thread' runs on the OS main thread. There are some Ebitengine functions (e.g.,
DeviceScaleFactor) that must be called on the main thread under some conditions (typically, before ebiten.RunGame
is called).
`EBITENGINE_SCREENSHOT_KEY` environment variable specifies the key
to take a screenshot. For example, if you run your game with
`EBITENGINE_SCREENSHOT_KEY=q`, you can take a game screen's screenshot
by pressing Q key. This works only on desktops and browsers.
`EBITENGINE_INTERNAL_IMAGES_KEY` environment variable specifies the key
to dump all the internal images. This is valid only when the build tag
'ebitenginedebug' is specified. This works only on desktops and browsers.
`EBITENGINE_GRAPHICS_LIBRARY` environment variable specifies the graphics library.
If the specified graphics library is not available, RunGame returns an error.
This environment variable works when RunGame is called or RunGameWithOptions is called with GraphicsLibraryAuto.
This can take one of the following value:
`EBITENGINE_DIRECTX` environment variable specifies various parameters for DirectX.
You can specify multiple values separated by a comma. The default value is empty (i.e. no parameters).
The options taking arguments are exclusive, and if multiples are specified, the lastly specified value is adopted.
The possible values for the option "version" are "11" and "12".
If the version is not specified, the default version 11 is adopted.
On Xbox, the "version" option is ignored and DirectX 12 is always adopted.
The option "featurelevel" is valid only for DirectX 12.
The possible values are "11_0", "11_1", "12_0", "12_1", and "12_2". The default value is "11_0".
`ebitenginedebug` outputs a log of graphics commands. This is useful to know what happens in Ebitengine. In general, the
number of graphics commands affects the performance of your game.
`ebitenginegldebug` enables a debug mode for OpenGL. This is valid only when the graphics library is OpenGL.
This affects performance very much.
`ebitenginesinglethread` disables Ebitengine's thread safety to unlock maximum performance. If you use this you will have
to manage threads yourself. Functions like `SetWindowSize` will no longer be concurrent-safe with this build tag.
They must be called from the main thread or the same goroutine as the given game's callback functions like Update
`ebitenginesinglethread` works only with desktops and consoles.
`ebitenginesinglethread` was deprecated as of v2.7. Use RunGameOptions.SingleThread instead.
`microsoftgdk` is for Microsoft GDK (e.g. Xbox).
`nintendosdk` is for NintendoSDK (e.g. Nintendo Switch).
`nintendosdkprofile` enables a profiler for NintendoSDK.
`playstation5` is for PlayStation 5.
206 versions
Latest release: about 1 year ago
660 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/hajimehoshi/ebiten/v2
Dependent Repos 32
E227432J/sae-particules
SAE-Particules (Partie 4)Last synced: 12 months ago - Pushed: 11 months ago
E221936K/systeme-de-particule
Un projet incroyable, novateur, révolutionnaire et innovant : on déplace des pixels Projet réalisé par Nils Moreau--Thomas et Tom FrémontLast synced: 12 months ago - Pushed: 11 months ago
particules/particules
Ce projet est issus d'une SAE dans la matière initiation au développement. Son objectif est de concevoir une application basé sur le langage Go (Golang) traitant de particule. Les limites de ce projet sont notre imagination.Last synced: 7 months ago - Pushed: 11 months ago

E213572T/projetparticules
Programme de gestion d'un système de particulesLast synced: 12 months ago - Pushed: 11 months ago
E219731N/projet-particules
Lomann LECOQ Camille MOREAULast synced: 12 months ago - Pushed: 11 months ago
E212977X/projet-particules
Martineau Tomas Boulay JonathanLast synced: 12 months ago - Pushed: 11 months ago
E214248D/particule
Groupe: Nolan Vandemeulebroucke Adrien Séac'h INFO1 2.2Last synced: 12 months ago - Pushed: 11 months ago
lwinavid/particules
https://media.discordapp.net/attachments/883455161450762301/920227059274489886/image0-156-1-2.gif Louis BRUNETEAU David CHOCHO Léna CAILLERIELast synced: 7 months ago - Pushed: 11 months ago
E211935P/blourde_projects
Bonjour, vous trouverez ici les projets en groupe que j'ai eu la chance de faire lors de ma formations la l'iut de Nantes.Last synced: 12 months ago - Pushed: 11 months ago

E219111P/kikicourtvite
https://www.youtube.com/watch?v=dQw4w9WgXcQLast synced: 12 months ago - Pushed: 11 months ago
jezequel-l/introdev
Documents pour le cours d'introduction au développement en première année au département informatique de l'IUT de NantesLast synced: 12 months ago - Pushed: 11 months ago
Lana-but-2-semestre-1/programation-systeme-jeu-course
Last synced: 7 months ago - Pushed: 11 months ago

