1
1
mirror of https://github.com/z0w0/helm.git synced 2024-09-11 04:15:32 +03:00
Commit Graph

272 Commits

Author SHA1 Message Date
Jafet
cabfc36960 flappy: add bird images 2017-11-17 22:04:27 +08:00
Zack Corr
916d71380f Merge pull request #124 from nikita-leonov/bugfix-update-limit
Fixed an incorrect computation of delay.
2017-10-16 09:28:51 +10:00
Nikita Leonov
377700d5ce Fixed an incorrect computation of delay. 2017-10-14 11:01:53 -07:00
Zack Corr
c5397cd155 Merge pull request #123 from nikita-leonov/update-limit
Added updateCount limit and threadDelay on FPSLimit, so we can free CPU resources if needed.
2017-10-03 14:10:49 +10:00
Nikita Leonov
89c8a56238 Added updateCount and threadDelay on FPSLimit, so we can free CPU resources if neeeded. 2017-10-02 19:53:31 -07:00
Nikita Leonov
ddf272bf71 Separated configuration from lifeycle functions. 2017-09-28 16:20:34 -07:00
Zack Corr
3c1419c53a Merge pull request #120 from nikita-leonov/fps-limit
Add fps limit game configuration.
2017-09-25 15:49:55 +10:00
Nikita Leonov
31d9404652 Add fps limit game configuration. 2017-09-24 20:57:54 -07:00
Zack Corr
c17bae8c02 Merge pull request #117 from TheLostLambda/master
Add the `hello` example to the cabal file
2017-07-06 08:55:39 +10:00
Brooks J Rady
9e55e61469 Add the hello example to the cabal file
This way the example can be compiled and run like the 'flappy' example
2017-07-05 00:40:41 -04:00
Zack Corr
0bbaa183e9 Merge pull request #115 from z0w0/restore-hello
Restore the `hello` example
2017-06-28 17:57:42 +10:00
Kaspar Emanuel
4f196a82b2 Restore the hello example
I think the simple example is a much better starting point for
newcomers. I am not sure why you deleted it. I had already started to
re-implemented a simple example to try and understand the new Helm
before I realised there used to be one!
2017-06-27 22:55:05 +01:00
Zack Corr
b90aeb80bf Update readme with comaintainers note 2017-06-14 21:10:16 +10:00
Zack Corr
5c19afb173 Initial work towards Helm 2.0.0 release, with reworking of the engine internals. Adds support for only re-rendering models if they've changed 2017-06-14 21:08:10 +10:00
Zack Corr
3564224d1e Add unmaintained notice 2017-01-22 11:58:54 +10:00
Zack Corr
d3da8ff0cc Merge pull request #109 from Purlox/master
Fixed the last line of Polygons not being drawn
2016-12-09 15:42:44 +10:00
Purlox
6d6f43deec Fixed the last line not being drawn on PolygonShape
The line from the last point to the first point of a polygon was not being drawn, but that's fixed now.
2016-12-07 15:26:59 +01:00
Zack Corr
7004990799 Get rid of typo in cabal file 2016-10-03 15:47:55 +10:00
Zack Corr
f3511aef41 Cache .stack-work on CircleCI 2016-10-03 12:50:23 +10:00
Zack Corr
75dc8e9648 Add SDL2 2.1.3 as extra-dep 2016-10-03 12:45:51 +10:00
Zack Corr
f745821291 Fix constraint 2016-10-03 12:34:35 +10:00
Zack Corr
1581807542 Tighten constraint on > SDL2 2.1.1 2016-10-03 12:19:22 +10:00
Zack Corr
190fd0ac7f Correct deb in CircleCI 2016-10-03 02:42:31 +10:00
Zack Corr
8d7063dfc3 Correct gtk2hs-buildtools install in CircleCI 2016-10-03 02:40:20 +10:00
Zack Corr
783cd8198c Improve installation section; use Stack for CircleCI testing 2016-10-03 02:39:25 +10:00
Zack Corr
801140e043 Back to LTS 5.5 2016-10-03 02:18:36 +10:00
Zack Corr
179ddc43c8 Add pango dep to circle CI config 2016-10-03 01:27:45 +10:00
Zack Corr
ea313b9f42 Use 7.10.2 for automated testing 2016-10-03 01:22:58 +10:00
Zack Corr
102629e881 Move to hspec and improving CI testing 2016-10-03 01:20:11 +10:00
Zack Corr
e54710ec32 Add flappy bird clone example game 2016-10-03 01:19:51 +10:00
Zack Corr
a47c4af733 Improving docco throughout library 2016-10-03 01:18:30 +10:00
Zack Corr
26258c7d8c Rewording readme 2016-09-29 22:47:23 +10:00
Zack Corr
5d321ffbd3 Add very weak tests back in, will expand on 2016-09-29 21:53:09 +10:00
Zack Corr
78e5463eef Move from Travis CI to Circle CI 2016-09-29 20:59:58 +10:00
Zack Corr
b73738cb8a Finish rework of core engine to be separate from the engine implementation. The SDL engine is now provided by Helm.Engine.SDL, which will eventually be put into its own separate package. 2016-09-29 20:59:44 +10:00
Zack Corr
0310ee6335 Reworkng graphics API - removing elements and making collages first-class, and texts and images are now forms instead of elements 2016-09-10 19:04:57 +10:00
Zack Corr
410f86eb9c Separating out engine functions, adding extra functions to the Engine typeclass but makes it more consistent (gives less space for the engines to do stuff they shouldn't). Additionally, cleaning the code and working on documentation. 2016-09-08 22:51:17 +10:00
Zack Corr
1b1af4bc1f Implement time now command, remove width/height commands due to bloat 2016-09-06 22:43:55 +10:00
Zack Corr
294879da00 Implement keyboard and mouse subscriptions 2016-09-05 22:34:03 +10:00
Zack Corr
2b7aaf126f Detect clicks properly rather than simply having it trigger on release. The click detection now checks if it was less than 500ms since the initial mouse press and if the mouse has (mostly) stayed in the same position. 2016-09-04 22:00:17 +10:00
Zack Corr
2e05198eda Further rework on the engine.
Moved away from forkIO'ing commands, instead there'll be an actor user
function that is forkIO'd once. Additionally, start work on all of the
new event sinking, esp. keyboard & mouse.
2016-09-04 01:20:18 +10:00
Zack Corr
844f551e90 Completely reworking engine per recent changes to Elm 2016-06-11 14:18:50 +10:00
Zack Corr
b0ed6a91c4 Merge pull request #100 from cjay/master
Ported to lts-5.5, biggest changes from sdl2 1.x -> 2.x
2016-05-11 08:26:23 +10:00
cjay
c0ea251062 Ported to lts-5.5, biggest changes from sdl2 1.x -> 2.x
- sdl2 now has higher level stuff that doesn't need manual allocation.
- API breakage in Mouse, now uses MouseButton type from sdl2 instead of
  own Mouse type.
2016-03-06 04:28:06 +01:00
Kaspar Emanuel
85c647766d Merge pull request #96 from didmar/master
Implement sampleOn
2015-07-23 14:10:41 +01:00
Didier Marin
0c0f9883f8 Implement sampleOn 2015-07-23 08:09:55 +02:00
Sandy Maguire
a2a31f9b03 Add stack.yaml from Haskellfant in #haskell 2015-07-09 19:02:24 +01:00
Kaspar Emanuel
e935b1b797 Fix mergeMany and simplify merge 2015-07-04 20:00:16 +01:00
Kaspar Emanuel
dc7146827f Implement merge and mergeMany 2015-07-04 19:33:54 +01:00
Zack Corr
fa8dc639ea Merge pull request #83 from Jefffrey/time-fix
Fixed issue #82 (Initial delta of Time.fps on Mac)
2014-12-22 00:00:40 +10:00