Commit Graph

205 Commits

Author SHA1 Message Date
Matthias Richter
704895896b Merge branch 'grunkgrunk-randvector-docs' 2017-11-19 21:02:47 +01:00
Matthias Richter
0a6c4ec482 Consistent doc 2017-11-19 21:02:35 +01:00
Matthias Richter
9a8e16a55f Merge branch 'randvector-docs' of https://github.com/grunkgrunk/hump into grunkgrunk-randvector-docs 2017-11-19 20:52:40 +01:00
grunkgrunk
1fbaa77d75 moved lua-comments in docs down to the same line as the code. 2017-11-05 16:00:37 +01:00
Matthias Richter
96c9648a62 [refactor]: use fromPolar() in randomDirection()
More compact code and one less temporary table in
vector:randomDirection()
2017-11-04 11:19:27 +01:00
Matthias Richter
cdafc00075
Merge pull request #86 from grunkgrunk/randomvector
added random vector function
2017-11-04 11:14:26 +01:00
grunkgrunk
b6c04082b0 changed signature of random and added documentation 2017-11-03 22:04:27 +01:00
Matthias Richter
2c48c4f898 Fix #85 - add rockspec 2017-11-01 23:12:29 +01:00
Matthias Richter
c8fedc1a49 Add Travis CI build indicator 2017-11-01 23:12:22 +01:00
Matthias Richter
99528b5fe4
Merge pull request #83 from hewills/test/travis-ci
Add Travis-CI testing with busted
2017-11-01 20:59:22 +01:00
Matthias Richter
45514e36c9
Merge pull request #84 from EasternMouse/patch-1
Correct the spelling of "This modifies the vector"
2017-11-01 20:52:32 +01:00
grunkgrunk
775862119a added random vector function in both vector files and created default argument to fromPolar function. Also formatted the returned module in both files 2017-11-01 15:44:04 +01:00
EasternMouse
3a5c5191b1 Correct the spelling of "This modifies the vector"
Yhis modifies the vector => This modifies the vector
2017-09-06 08:39:07 +04:00
Hana W
65c40efdc8 Add Travis-CI testing with busted
Run tests setup in spec folder. Need to signup on travis-ci.
2017-08-04 18:01:21 -07:00
Matthias Richter
22d0fb6960 Merge pull request #78 from palmettos/master
Fixed #77 - Allow registering functions to signal patterns
2017-03-16 20:18:34 +01:00
Matthias Richter
192e9112e6 Implement polar <-> cartesian conversions
See pull request #73
2017-03-16 20:14:34 +01:00
palmettos
6154e24b49 Allow registering functions to signal patterns 2017-02-05 16:43:59 -05:00
buckle2000
40aa4cb7c5 Class() constuction
Fix document
2016-09-07 21:52:08 +02:00
buckle2000
15eb5f1e8e easier class creation 2016-09-07 21:52:08 +02:00
vrld
400c8ea75e Merge pull request #68 from Kingdaro/kingdaro-timer-fix
Timer now accounts for "lateness" and repetition
2016-05-24 13:29:58 +02:00
Kingdaro
25e6035d54 Fixed remaining time on during function
When expired, the remaining time should never be less than 0.
2016-05-23 19:05:17 -04:00
Kingdaro
6cf4a54d9d Fix for :during() call without an after function 2016-05-23 19:03:58 -04:00
Kingdaro
08354c472d Write unit test for timer 2016-05-23 19:03:41 -04:00
Kingdaro
d77e0a2324 Fix for https://github.com/vrld/hump/issues/66 2016-05-23 18:45:20 -04:00
Kingdaro
dc589adc32 Merge pull request #2 from Kingdaro/vrld/master
Merge into master
2016-05-23 17:58:16 -04:00
Kingdaro
9a1c4c8b78 Merge remote-tracking branch 'refs/remotes/origin/master' into vrld/master
Resolved conflicts
2016-05-23 17:52:49 -04:00
Matthias Richter
40f0820d3c Add viewport support to camera (fixes #64) 2016-05-01 16:20:43 +02:00
Matthias Richter
edf115f19a Fix #58 - inconsistent naming in camera documentation 2016-05-01 15:03:01 +02:00
Matthias Richter
dff00cc1dc Document changes due to issue #60 2016-05-01 14:56:12 +02:00
Matthias Richter
8435fc798f Fix #60 - Inconsistent self:calls() in timer and signal 2016-05-01 14:40:58 +02:00
Matthias Richter
3a5573b1df Fix #59 - Error in example 2016-01-19 09:19:27 +01:00
Matthias Richter
448ecf704b Document Timer.script 2015-12-14 12:11:17 +01:00
Matthias Richter
c7c1b8e269 add timer.script(f) 2015-12-13 22:49:18 +01:00
vrld
2de9a30153 Fix #57: remove writing to global variable in smooth.linear 2015-11-27 10:34:38 +01:00
Matthias Richter
2cf3f19ff0 Fix documentation errors found by z0rg 2015-11-08 23:02:46 +01:00
Matthias Richter
acbd215840 Corrent syntax for signal instances (related to issue #55) 2015-11-02 21:24:04 +01:00
Matthias Richter
487b1a1921 Clear warning when making documentation 2015-11-02 21:23:33 +01:00
vrld
fa1071c5e1 Merge pull request #55 from tesselode/timer-docs-fix
Small fixes to timer docs
2015-11-02 21:11:02 +01:00
Matthias Richter
f00de3c0a4 Revert "Update timer.rst"
This reverts commit 8e65618e3c.
2015-11-02 21:09:44 +01:00
vrld
8e65618e3c Update timer.rst
Clearly show colon-syntax for timer-instance calls
2015-11-02 12:13:29 +01:00
vrld
8440ee1d9c Merge pull request #56 from alesegdia/master
fixing scale for camera:lockWindow
2015-11-02 12:02:37 +01:00
Alejandro Seguí
00a3f9becc fixing scale for camera:lockWindow 2015-10-31 00:04:42 +01:00
tesselode
b85922d470 Small fixes to timer docs
Timer instances created using Timer.new don't use colon syntax, which
the docs seem to indicate. Also I changed "menu_timer" to menuTimer to
make it consistent with the rest of the page.
2015-10-30 13:07:02 -04:00
vrld
7fb1142234 Merge pull request #54 from tesselode/master
Fixed a typo in the gamestate docs
2015-10-20 12:15:39 +02:00
tesselode
7713d054b3 Fixed a typo in the gamestate docs
Sorry about Atom doing its thing with empty lines...
2015-10-19 09:47:54 -04:00
vrld
5e02dcdba2 Fix #53: Typo in camera.lua 2015-10-16 11:20:08 +02:00
vrld
12761564b9 Document changes 2015-10-13 15:37:23 +02:00
vrld
523502ca80 [camera] More consistent naming 2015-10-13 15:35:46 +02:00
vrld
2257ab025c Update camera.rst 2015-10-13 15:34:59 +02:00
Matthias Richter
f851254f26 Fix #52 - Gamestate require init function.
Use __NULL__ when init is not defined in the state.
2015-10-13 08:11:49 +02:00