Commit Graph

245 Commits

Author SHA1 Message Date
Matthias Richter
08937cc0ec
Merge pull request #123 from mattitanskane/patch-1
Update index.rst
2021-03-23 19:50:46 +01:00
Matti
eaaf0bc483
Update index.rst
Fixed some typos.
2021-01-09 15:41:02 +01:00
Matthias Richter
fd0f6c870b
Merge pull request #111 from tobiasvl/patch-1
Fix typos in gamestate docs
2018-10-14 13:37:43 +02:00
Matthias Richter
f44eb19121
Merge pull request #112 from tobiasvl/patch-2
Fix typos in signal docs
2018-10-14 13:37:29 +02:00
Matthias Richter
4c73c1f5a6
Merge pull request #110 from davidskeck/patch-2
Not really a full example without this IMO.
2018-10-14 13:36:42 +02:00
Matthias Richter
3e83a275fa
Merge pull request #109 from davidskeck/patch-1
cam doesn't exist, but camera does. :)
2018-10-14 13:36:11 +02:00
Matthias Richter
0b9631ecab
Merge pull request #107 from JulianWebb/master
Updated year on licenses
2018-10-14 13:29:51 +02:00
Tobias V. Langhoff
70d2a20dba
Remove superfluous word in gamestate docs
Remove extra "receive"
2018-10-09 20:20:10 +02:00
Tobias V. Langhoff
51caee1430
Fix typo in gamestate docs
"looses" -> "loses"
2018-10-09 20:19:41 +02:00
Tobias V. Langhoff
e85fbad5d5
Fix typo in signal docs
"it's" -> "its"
2018-10-09 20:15:03 +02:00
Tobias V. Langhoff
2d4993d3b7
Fix typo in signal docs
"interesing" -> "interesting"
2018-10-09 20:13:24 +02:00
Tobias V. Langhoff
c7fa7794b5
Fix typo in gamestate docs
"an" -> "and"
2018-10-09 20:12:25 +02:00
David Keck
fb548a67ee
Not really a full example without this IMO. 2018-10-08 19:43:50 -04:00
David Keck
70fc88fc10
cam doesn't exist, but camera does. :) 2018-10-08 17:34:40 -04:00
Julian Webb
444d148118
Merge pull request #1 from JulianWebb/patch-1
Update License year
2018-07-28 07:05:43 -07:00
Julian Webb
d21db12491
Update License year 2018-07-28 07:04:24 -07:00
Julian Webb
96f89dde25
Update License years
License was out of date
2018-07-28 07:03:12 -07:00
Matthias Richter
0bf301f710 Fix #103: Unexpected behavior of timer:cancel() 2018-06-17 18:29:30 +02:00
Matthias Richter
0dea46b0b5 Fix #104: Undo aa81292 2018-06-15 17:41:31 +02:00
Matthias Richter
3ac246dd33 Fix(?) #95: hump.gamestate causes random crashes
Overwriting love.errorhandler() causes trouble. This callback must
return a game loop to display the error (see http://love2d.org/wiki/love.errorhandler).
Overwriting this callback in gamestate.registerEvents() would return
GS.errorhandler(), which would return nil and thus (maybe) causing LÖVE
to crash. On the other hand, @lemilonkh reports that LÖVE may still
crash if the love.errorhandler() is returned instead of
GS.errorhandler(), so the underlying issue might be different.

In any case, don't overwrite love.errorhandler, unless you know what you
do.
2018-06-11 18:37:51 +02:00
Matthias Richter
222f99b162 Fix #101: Typo in documentation 2018-05-27 11:56:23 +02:00
Matthias Richter
e750b7e651 Fix #100: Typo in documentation
Happy 100th!
2018-05-27 11:54:15 +02:00
Matthias Richter
77bdf42c68 Document vector integer division 2018-05-27 11:52:33 +02:00
Matthias Richter
158d12e94d Expose vector-light.idiv 2018-05-27 11:50:55 +02:00
Matthias Richter
38d0e5c060
Merge pull request #102 from qwertystop/master
Add floor division to hump.vector and hump.vector-light
2018-05-27 11:39:03 +02:00
David Heyman
aa81292733 Add floor division to hump.vector and hump.vector-light 2018-05-23 11:15:16 -04:00
Matthias Richter
9be68e9e10
Merge pull request #99 from tesselode/patch-1
remove leftover print
2018-05-14 09:21:23 +02:00
Andrew Minnich
23ac57ae5b
remove leftover print 2018-05-13 20:26:02 -04:00
Matthias Richter
a905c592a9 Rename callback: errhand to errorhandler 2018-05-05 13:38:36 +02:00
Matthias Richter
7642755b99 Rockspec for luarocks main server 2018-04-08 15:03:33 +02:00
Matthias Richter
e33ffbe855 shorten code, add comment 2018-04-08 13:40:57 +02:00
Matthias Richter
dde34f98a9
Merge pull request #94 from oniietzschan/fix-timer-bug-shru
Timer Bug Fix - Fixed indeterminate behavior of new timers.
2018-04-08 13:36:49 +02:00
Matthias Richter
7b574c92e8
Merge pull request #93 from oniietzschan/master
Fix erroneous example in timer.rst
2018-04-08 13:34:33 +02:00
Matthias Richter
34936f3808
Merge pull request #90 from jlaceda/patch-1
small typo fix
2018-04-08 13:33:55 +02:00
shru
e62e69999c Timer - Fixed bug where behaviour of new timers added during iteration through timer handles was indeterminate. 2018-02-16 13:52:44 +10:30
ヽ(*≧ω≦)ノ shru
3e439ee2db
Fix erroneous example in timer.rst 2018-01-19 11:17:33 +10:30
John Laceda
459bc81908
small typo fix 2017-11-24 12:03:02 -08:00
Matthias Richter
945423f9f5 Update doc: Add list of functions to every module
Gives a nice overview and makes it easier to navigate the docs.
2017-11-19 21:32:56 +01:00
Matthias Richter
88f501bc77
Merge pull request #88 from grunkgrunk/patch-1
Removed unused variables from randomDirection
2017-11-19 21:04:09 +01:00
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
Daniel
72a6a92ff6
Removed unused variables from randomDirection
I just realized there were some unused variables in the randomDirection function, so I removed them.
2017-11-11 09:43:38 +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