Engo v1.0
Engo v1.0 is now available! Grab this if you want to use it in your games without dealing with changes due to recent developments.
Changes since the beginning to v1.0
- Demos now require the build tag
demo
. This is so you can easilygo get engo.io/engo ./...
without waiting on building all the demos. - SetHeadless() was removed as it never actually did anything. It would set the opion but then it would be reset when Run was called.
engo.PreloadedSpriteSingle
is nowengo.LoadedSprite
engo.Files.Load
andengo.Files.LoadMany
have been merged into one functionengo.Files.Load
which does the same thing asengo.Files.LoadMany
allowing an indefinite ammount of parameters to be passed in.engo
has been split inengo
(which contains stuff about creating windows, starting the game, creating an OpenGL context, input handling, etc.) - andcommon
(which contains a lot of commonSystem
implementations for common tasks (RenderSystem
,CameraSystem
,AudioSystem
, etc.)engo.Width()
andengo.Height()
have been changed toengo.GameWidth()
andengo.GameHeight()
respectively.RenderComponent.Scale
is now no longer a method, but a variable you can change / access directly.engo.NewRenderComponent
was removed. You can now define the values you want directly by usingengo.RenderComponent{}
. Note that theDrawable
is still required.ecs.Entity
changed toecs.BasicEntity
,world.AddEntity
is gone - a lot has changed here. The entire issue is described here, while this comment in particular, should help you migrate your code.- Renamed
engo.io/webgl
toengo.io/gl
, because the package handles more than only webgl. github.com/EngoEngine/engo
->engo.io/engo
- Our packagesengo
,ecs
andgl
should now be imported using theengo.io
path.engi.XXX
->engo.XXX
- We renamed our packageengi
toengo
.