Commit Graph

55 Commits (fe952b2f8e4f595af6f838756e6f35993677b568)

Author SHA1 Message Date
John Benediktsson ab3d6b1d13 opengl: properly scale viewports. 2012-11-01 17:12:13 -07:00
Doug Coleman 445b43d924 Use benchmark.struct vocab to record tick/draw timings in game loop 2010-06-10 15:37:36 -05:00
Doug Coleman 8656725f78 Finish renaming micros->nanos in game code, update libs 2010-05-21 23:50:42 -05:00
Slava Pestov 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Slava Pestov bd0ca0e2aa Clean up some tags 2010-02-17 00:12:55 +13:00
Joe Groff 72013c88c9 use inline and TYPED: in terrain so that vector math can optimize 2010-02-11 10:55:50 -08:00
Joe Groff e5c44b95aa game.worlds overhaul: add optional support for integrating audio.engine and make game.input integration optional too. add "tick-game-world" generic for extending game-world's tick* method 2010-01-19 16:07:47 -08:00
Joe Groff ee0eaf4ede remove redundant USING: from terrain 2010-01-19 10:28:06 -08:00
Joe Groff 893c365912 missing USING:s 2010-01-17 16:07:29 -08:00
Joe Groff 9e0f26f6eb game.loop: fps word to divide a value into 1,000,000 2010-01-16 23:25:40 -08:00
Joe Groff 89f104d8ab add begin-game-world and end-game-world generics so method-chains aren't needed just to do game setup and teardown at the right time 2010-01-16 23:06:54 -08:00
Joe Groff a2e3d64de6 document game.worlds, tweak GAME: syntax 2010-01-16 13:13:13 -08:00
Joe Groff 6bbfa0b6d8 GAME: syntax for defining game entry point with game-loop attributes 2010-01-16 12:18:50 -08:00
Joe Groff bd62fb22aa game-loop: change "tick-length" to more descriptive "tick-interval-micros" 2010-01-15 15:03:33 -08:00
Joe Groff 9131e16f7b bump game demos up to 60fps. we have the technology 2010-01-15 14:36:45 -08:00
Joe Groff 67cc1c01be Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff ac5d3d5652 remove SIMDS: 2009-11-26 11:15:46 -08:00
Joe Groff 4027002db7 remove SIMD:s 2009-11-25 20:21:54 -08:00
Doug Coleman f4450653a9 remove system-millis and update vocabs to use system-micros or nano-count 2009-11-18 20:56:09 -06:00
Slava Pestov ff3de7c550 terrain: fix deploy config 2009-10-17 16:43:47 -05:00
Slava Pestov 5328af8090 terrain: make it deploy 2009-10-16 23:43:44 -05:00
Joe Groff 3e10a140e2 tweak terrain collision detection 2009-10-16 17:05:44 -05:00
Joe Groff 184b32cc51 use a better algorithm to generate uniform/normal noise 2009-10-16 14:35:57 -05:00
Joe Groff 7142139cf7 improve noise/terrain performance 2009-10-15 22:37:31 -05:00
Doug Coleman fcc53d174c move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00
Joe Groff 630e5ecc3b update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Joe Groff ac3ec67c6a separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Doug Coleman b96a858872 refactor terrain generation to not use an image boa constructor 2009-06-10 15:59:14 -04:00
Doug Coleman a54c78007b add a clamp word to math.order, use clamp word throughout libraries 2009-05-24 21:35:50 -05:00
Joe Groff 78e3c19797 factor out grid mesh generation in terrain to its own vocab 2009-05-18 10:31:05 -05:00
Doug Coleman 8de7f016c8 add reverse time to terrain demo and refactored it a bit 2009-05-15 19:36:36 -05:00
Joe Groff 6d1f1e3b5e cocoa doesn't send key-up gestures for cmd+keys 2009-05-15 11:04:11 -05:00
Joe Groff 2da256063f MacOS X glFrustum generates -0.0 in W column of projection matrix; Windows glFrustum generates 0.0. This causes sign differences in the gl_ProjectionMatrixInverse between platforms. manually force the z coordinate sign in terrain sky projection to be negative like it ought to be 2009-05-13 21:28:12 -05:00
Doug Coleman 0378c612c6 fix the sky 2009-05-13 20:15:58 -05:00
Doug Coleman f2310df323 add a velocity-modifier to terrain demo for left shift. alt-enter toggles fullscreen mode 2009-05-13 20:06:13 -05:00
Joe Groff f95ed3ee68 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-13 19:36:18 -05:00
Joe Groff 96e8006eb3 redundant math is redundant 2009-05-13 19:36:06 -05:00
U-C4\Administrator d810905d85 unbassackwardsify the mouse, q and e rotate too 2009-05-13 19:26:08 -05:00
U-C4\Administrator cce7b36ea3 terrain demo allows looking around with keyboard now. used ${ in a few places 2009-05-13 19:21:27 -05:00
Joe Groff b070edc751 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/ui/gadgets/worlds/worlds.factor
2009-05-11 12:37:50 -05:00
Joe Groff 1e09ac31c5 fix terrain sky to match projection FOV 2009-05-11 12:36:04 -05:00
Slava Pestov 3fe5bb872b Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov 9de34ab3cd Fix deployment of UI apps and implement various tricks to make deployed images smaller 2009-05-10 21:33:13 -05:00
Joe Groff 783c452a6a purple sky 2009-05-10 13:45:58 -05:00
Joe Groff e4059d8393 clamp coordinates when doing terrain collision detection past the edge of the segment 2009-05-09 20:15:55 -05:00
Joe Groff 84c7f10ab7 factor game-input and game-loop mgmt out to a game-world base object 2009-05-09 12:53:01 -05:00
Joe Groff dd9af334a9 send bilerp upstream to spawn 2009-05-09 11:43:04 -05:00
Joe Groff b0d7e38b2f bilerp collision height 2009-05-09 11:36:24 -05:00