kaka/rust-sdl-test.git
3 years agoMoved main loop to App
Tomas Wenström [Tue, 5 Jan 2021 15:32:22 +0000 (16:32 +0100)]
Moved main loop to App

3 years agoVsync instead of fps + print display modes
Tomas Wenström [Tue, 5 Jan 2021 14:56:48 +0000 (15:56 +0100)]
Vsync instead of fps + print display modes

3 years agoBuilt an app builder and other minor things
Tomas Wenström [Sun, 3 Jan 2021 17:14:34 +0000 (18:14 +0100)]
Built an app builder and other minor things

3 years agoUse String instead of &str in struct
Tomas Wenström [Sat, 2 Jan 2021 18:37:52 +0000 (19:37 +0100)]
Use String instead of &str in struct

It makes things a lot easier

3 years agoBugfix
Tomas Wenström [Sat, 2 Jan 2021 18:36:46 +0000 (19:36 +0100)]
Bugfix

0..<any negative number> is the same as 0..0

3 years agoFixed warning
Tomas Wenström [Sat, 2 Jan 2021 18:35:42 +0000 (19:35 +0100)]
Fixed warning

3 years agoMoved app to game
Tomas Wenström [Sat, 2 Jan 2021 18:35:16 +0000 (19:35 +0100)]
Moved app to game

3 years agoexpect() with formatting -> unwrap_or_else()
Tomas Wenström [Sat, 2 Jan 2021 18:00:18 +0000 (19:00 +0100)]
expect() with formatting -> unwrap_or_else()

Because with expect() the formatting will always be called, even when there is a value.

5 years agoRemove unnecessary mut
Tomas Wenström [Sun, 7 Jul 2019 13:17:02 +0000 (15:17 +0200)]
Remove unnecessary mut

5 years agoUse macro from common
Tomas Wenström [Sun, 7 Jul 2019 13:13:43 +0000 (15:13 +0200)]
Use macro from common

5 years agoMove boll handling and rendering into an app state
Tomas Wenström [Fri, 15 Feb 2019 20:50:06 +0000 (21:50 +0100)]
Move boll handling and rendering into an app state

5 years agoUnnecessary mutability
Tomas Wenström [Fri, 15 Feb 2019 20:48:17 +0000 (21:48 +0100)]
Unnecessary mutability

5 years agoMove app to module
Tomas Wenström [Fri, 15 Feb 2019 19:33:41 +0000 (20:33 +0100)]
Move app to module

5 years agoUse unsafe textures and move some things into an app object
Tomas Wenström [Fri, 15 Feb 2019 17:19:04 +0000 (18:19 +0100)]
Use unsafe textures and move some things into an app object

5 years agoPrint some window events
Tomas Wenström [Thu, 14 Feb 2019 14:07:03 +0000 (15:07 +0100)]
Print some window events

5 years agoToggle fullscreen with F11
Tomas Wenström [Thu, 14 Feb 2019 14:06:46 +0000 (15:06 +0100)]
Toggle fullscreen with F11

5 years agoMove some sprite logic into a SpriteManager
Tomas Wenström [Tue, 12 Feb 2019 19:30:24 +0000 (20:30 +0100)]
Move some sprite logic into a SpriteManager

5 years agoNew boll - CircleBoll
Tomas Wenström [Sun, 10 Feb 2019 12:30:04 +0000 (13:30 +0100)]
New boll - CircleBoll

5 years agoUse trait for boll variants
Tomas Wenström [Sat, 9 Feb 2019 18:15:48 +0000 (19:15 +0100)]
Use trait for boll variants

5 years agoInitial commit
Tomas Wenström [Thu, 7 Feb 2019 16:30:02 +0000 (17:30 +0100)]
Initial commit