Commit Graph

55 Commits (17a91ea5a37e94303e65e3e7dd0bedf0fd03d190)

Author SHA1 Message Date
John Benediktsson 879177f189 opengl: properly scale viewports. 2012-11-01 17:12:13 -07:00
Doug Coleman 21f372e4a1 Use benchmark.struct vocab to record tick/draw timings in game loop 2010-06-10 15:37:36 -05:00
Doug Coleman ce95cea303 Finish renaming micros->nanos in game code, update libs 2010-05-21 23:50:42 -05:00
Slava Pestov d2d466de29 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 2d57c9d815 Clean up some tags 2010-02-17 00:12:55 +13:00
Joe Groff 1bb959d7b9 use inline and TYPED: in terrain so that vector math can optimize 2010-02-11 10:55:50 -08:00
Joe Groff 1ab753c552 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 bbd89c038f remove redundant USING: from terrain 2010-01-19 10:28:06 -08:00
Joe Groff 5a8395c0ea missing USING:s 2010-01-17 16:07:29 -08:00
Joe Groff ab731d5bf7 game.loop: fps word to divide a value into 1,000,000 2010-01-16 23:25:40 -08:00
Joe Groff ae4fec575f 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 98d143fde1 document game.worlds, tweak GAME: syntax 2010-01-16 13:13:13 -08:00
Joe Groff c2fa6cf6eb GAME: syntax for defining game entry point with game-loop attributes 2010-01-16 12:18:50 -08:00
Joe Groff 060a680347 game-loop: change "tick-length" to more descriptive "tick-interval-micros" 2010-01-15 15:03:33 -08:00
Joe Groff 586894be54 bump game demos up to 60fps. we have the technology 2010-01-15 14:36:45 -08:00
Joe Groff ebcaaa0d64 Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff 6757c85189 remove SIMDS: 2009-11-26 11:15:46 -08:00
Joe Groff 03bae7d316 remove SIMD:s 2009-11-25 20:21:54 -08:00
Doug Coleman ca39b38303 remove system-millis and update vocabs to use system-micros or nano-count 2009-11-18 20:56:09 -06:00
Slava Pestov 59a322275e terrain: fix deploy config 2009-10-17 16:43:47 -05:00
Slava Pestov 99b1f30720 terrain: make it deploy 2009-10-16 23:43:44 -05:00
Joe Groff 555a43ee9f tweak terrain collision detection 2009-10-16 17:05:44 -05:00
Joe Groff f6ea50de61 use a better algorithm to generate uniform/normal noise 2009-10-16 14:35:57 -05:00
Joe Groff 27da7bd4e0 improve noise/terrain performance 2009-10-15 22:37:31 -05:00
Doug Coleman 4c366ea676 move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00
Joe Groff ac2f3763e0 update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -05:00
Slava Pestov 527db8995a 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 d1ce837569 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 ba1fdc2683 separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Doug Coleman 310760aafb refactor terrain generation to not use an image boa constructor 2009-06-10 15:59:14 -04:00
Doug Coleman 34e1d60578 add a clamp word to math.order, use clamp word throughout libraries 2009-05-24 21:35:50 -05:00
Joe Groff 2b66d3d743 factor out grid mesh generation in terrain to its own vocab 2009-05-18 10:31:05 -05:00
Doug Coleman 8c7418e74a add reverse time to terrain demo and refactored it a bit 2009-05-15 19:36:36 -05:00
Joe Groff 5801b2ae69 cocoa doesn't send key-up gestures for cmd+keys 2009-05-15 11:04:11 -05:00
Joe Groff 075f7ac4d5 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 97fe0103d0 fix the sky 2009-05-13 20:15:58 -05:00
Doug Coleman 57f461b5b7 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 6d77745d38 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-13 19:36:18 -05:00
Joe Groff 7308968e9d redundant math is redundant 2009-05-13 19:36:06 -05:00
U-C4\Administrator f9d8a09439 unbassackwardsify the mouse, q and e rotate too 2009-05-13 19:26:08 -05:00
U-C4\Administrator 31e2788a8d terrain demo allows looking around with keyboard now. used ${ in a few places 2009-05-13 19:21:27 -05:00
Joe Groff 30e8703772 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 0116556762 fix terrain sky to match projection FOV 2009-05-11 12:36:04 -05:00
Slava Pestov 0f6b2f69fa Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov 64a9585dd0 Fix deployment of UI apps and implement various tricks to make deployed images smaller 2009-05-10 21:33:13 -05:00
Joe Groff 2ab75512b7 purple sky 2009-05-10 13:45:58 -05:00
Joe Groff eac70696c9 clamp coordinates when doing terrain collision detection past the edge of the segment 2009-05-09 20:15:55 -05:00
Joe Groff 41a4b1fdb8 factor game-input and game-loop mgmt out to a game-world base object 2009-05-09 12:53:01 -05:00
Joe Groff 1d58b94bf7 send bilerp upstream to spawn 2009-05-09 11:43:04 -05:00
Joe Groff e12a050563 bilerp collision height 2009-05-09 11:36:24 -05:00