Commit Graph

200 Commits (bb0a861d35f8afb3e2076ea18a05aa3c65184228)

Author SHA1 Message Date
Theunis J. Botha 658c045a6f API. 2016-11-29 11:29:51 +01:00
Theunis J. Botha daf6624854 comp / ent refactor 2016-11-29 11:26:16 +01:00
Theunis J. Botha 50a3abf1ae API components 2016-11-28 15:05:02 +01:00
Theunis J. Botha 93f90964a2 erge branch 'sergej' of github.com:ToywheelDev/game-lib into sergej 2016-11-25 14:46:49 +01:00
Theunis J. Botha 5718734f6f can modify vector grains etc 2016-11-25 14:43:03 +01:00
polygonboutique b91f0b57ea backup 2016-11-25 14:40:41 +01:00
polygonboutique 9c90cb81ac backup 2016-11-25 09:57:09 +01:00
Theunis J. Botha 296d7ca836 runtime vectors 2016-11-24 19:18:00 +01:00
polygonboutique 87d327cb4a changes to path components 2016-11-24 13:07:42 +01:00
Theunis J. Botha a1e9357a7a Merge branch 'feature/components' into sergej 2016-11-24 12:57:05 +01:00
Theunis J. Botha 1e6a22bed7 calculate normals even when loading from API 2016-11-24 12:56:39 +01:00
polygonboutique 856e972a21 fixed scene cameras 2016-11-24 12:24:42 +01:00
Theunis J. Botha ae2faff7af image factory fixes 2016-11-24 11:41:54 +01:00
Theunis J. Botha bdbe1c7664 Merge branch 'sergej' of github.com:ToywheelDev/game-lib into sergej 2016-11-24 10:57:53 +01:00
Theunis J. Botha a11e5ca931 fix texture loading problems 2016-11-24 10:57:21 +01:00
polygonboutique 40b7f11b43 nothing fucking works anymore 2016-11-24 09:55:06 +01:00
polygonboutique dc074e7e0d updated everything 2016-11-23 13:36:33 +01:00
Theunis J. Botha 0ce34b54e3 fix camera 2016-11-23 13:36:03 +01:00
Theunis J. Botha 1a855bbf3d active camera index 2016-11-23 13:01:24 +01:00
Theunis J. Botha 50f04fd988 vector fixes 2016-11-23 12:44:57 +01:00
Theunis J. Botha 0b7004608d Merge branch 'sergej' of github.com:ToywheelDev/game-lib into sergej 2016-11-23 11:06:22 +01:00
polygonboutique 1387eb262e define files 2016-11-23 11:06:08 +01:00
Theunis J. Botha 41e834ba9a merge conflicts 2016-11-23 10:51:47 +01:00
polygonboutique 6baed2483f path controls component. main.js cleanup 2016-11-23 10:23:24 +01:00
Theunis J. Botha b03cff08a6 loading curves from blender - saving to API again - point materials - awesome SHITgit diffgit diff! 2016-11-22 19:20:25 +01:00
polygonboutique 105e931035 follow path component 2016-11-22 17:07:02 +01:00
polygonboutique 87471b1b12 ABORT ABORT ABORT 2016-11-22 16:10:03 +01:00
Theunis J. Botha 481cd05374 starting to recurse through properties 2016-11-21 16:08:39 +01:00
polygonboutique 2382e2a1d5 track made out of cubes. 2016-11-21 14:36:38 +01:00
polygonboutique 87bd9178bf added swipe contorls to fly controls component 2016-11-21 10:27:53 +01:00
polygonboutique 420dfc0edc height maps 2016-11-21 08:40:43 +01:00
polygonboutique eafd6fc01e height maps 2016-11-21 08:20:47 +01:00
Theunis J. Botha be64682142 many updates - starting to make stable 2016-11-18 16:00:13 +01:00
polygonboutique 144d62a8fe some changes 2016-11-18 10:50:19 +01:00
Theunis J. Botha eefd4a9603 huge refactorings - need tweaking 2016-11-17 18:31:41 +01:00
polygonboutique d5f51b0af8 ai stuff 2016-11-17 16:04:03 +01:00
polygonboutique 51ba9a855d merge part 1 / 2 2016-11-17 10:24:59 +01:00
polygonboutique 18ac3ac1c3 pushed new components (ai + colorlerp) 2016-11-17 10:09:54 +01:00
Theunis J. Botha e7144a513c have to start with refactoring meshes, shapes, scenes and worlds 2016-11-15 17:12:27 +01:00
Theunis J. Botha 758bfe0a2b clone components - lodash required from now on 2016-11-15 13:51:00 +01:00
Theunis J. Botha 6f17f777e3 racing updates 2016-11-15 11:13:02 +01:00
Theunis J. Botha f84f61ebd9 updated comment 2016-11-15 10:36:36 +01:00
Theunis J. Botha 25512e8a2a merge conflicts 2016-11-15 10:35:59 +01:00
Theunis J. Botha ed9ff670c4 null 2016-11-15 10:33:13 +01:00
Theunis J. Botha 7c62a686a8 names and ids important for editor 2016-11-14 14:48:37 +01:00
polygonboutique 81d7bc76c5 added waypoint system.
added "break-loop" return val for trigger box components
2016-11-14 14:14:51 +01:00
polygonboutique 9cfa7da639 added box-box trigger
modified box-sphere trigger. (calculate a new bb from the current transform)
modifed sphere-sphere (scale the boundingsphere radius by the maximum scale component of the entity.)
2016-11-14 10:58:30 +01:00
polygonboutique bcfa3b6df2 3d text,
gui scene
triggers: onenter, onleave, oninside
2016-11-11 16:25:39 +01:00
Theunis J. Botha 431797fdaa fix blob urls 2016-11-11 11:29:23 +01:00
Theunis J. Botha 4061f9ec4f fix constructor order 2016-11-11 10:33:49 +01:00
polygonboutique 291fb7e023 lerped steering 2016-11-11 10:10:43 +01:00
Theunis J. Botha 613474ba44 made components compatible with editor 2016-11-10 14:12:41 +01:00
Theunis J. Botha 517d75d3c2 merge conflicts 2016-11-10 13:52:29 +01:00
Theunis J. Botha e2973d8ec6 comments 2016-11-10 13:47:40 +01:00
polygonboutique c159a4e1aa - added a modified version of cannon.js
- convex|trimesh collisions work
- modified shape.js (added type_plane)
2016-11-10 11:09:55 +01:00
polygonboutique 66c8e76983 box-sphere trigger area component 2016-11-09 16:18:43 +01:00
polygonboutique a3f552b941 trigger sphere 2016-11-09 14:17:13 +01:00
polygonboutique ac820f70ba if-guards for 3d-editor 2016-11-09 12:37:46 +01:00
polygonboutique cf57556a0b look at components rotates the offset towards the targets rotation 2016-11-08 12:12:56 +01:00
polygonboutique 8ddba38561 added more settings for follow & look at components 2016-11-08 12:04:42 +01:00
polygonboutique de5961456f reusing vars inside mesh permutation component 2016-11-08 11:26:08 +01:00
polygonboutique 32afbd1abb smooth follow components 2016-11-08 11:13:55 +01:00
polygonboutique 9208ea9257 follow component target offset.
todo:
- look at: use target offset.
- camera component sphere-rigidbody.
2016-11-04 16:31:56 +01:00
polygonboutique 274ab21d3e follow & look at components 2016-11-04 15:50:33 +01:00
polygonboutique a0a9d6e45d changed one line. 2016-11-04 15:02:53 +01:00
polygonboutique 12ca785b42 changes:
- entities have position, quaternion & scale
- components operate on those properties
- entities apply those back to the three mesh
- scene: renamed threeScene to instance
- added camera component
- added fly controls component
- added scaleOffset to mesh permutation component
2016-11-04 14:57:48 +01:00
polygonboutique a830c0502f vehicle controls.
todo:
+ get REAL scaled radius of wheelMesh.
+ create input class.
2016-11-04 10:58:48 +01:00
Theunis J. Botha 875873d85a merge conflicts resolved 2016-11-03 16:15:19 +01:00
Theunis J. Botha c988516f8d fixed image loading - tests passing 2016-11-03 14:33:14 +01:00
polygonboutique c38d302407 ray cast vehicle.
- wheels aren't rotated correctly. the code is broken atm.
2016-11-03 11:57:05 +01:00
Theunis J. Botha 9b6c5d4348 current progress - starting to load textures sparse 2016-11-01 18:59:26 +01:00
polygonboutique 239e416220 triangle collision meshes. 2016-11-01 16:32:06 +01:00
Theunis J. Botha 4d38ef3c0b merge conflicts 2016-11-01 16:24:29 +01:00
Theunis J. Botha 74098b062d backward compatible with no lights 2016-11-01 16:21:06 +01:00
polygonboutique ede2c774e8 merge conflicts 2016-11-01 16:11:08 +01:00
polygonboutique 631115a875 backup 2016-11-01 16:08:22 +01:00
Theunis J. Botha 27ded72d09 load scene fixes to stable 2016-11-01 15:55:56 +01:00
Theunis J. Botha 8c9f585dfb remove old broken physics code 2016-11-01 14:34:17 +01:00
Theunis J. Botha eb38cbe27c start messing around with texture loading 2016-11-01 14:11:10 +01:00
polygonboutique 3b6a61ef69 refactored game-class, entity, rigidbody extends component, refactored world, sphere physics working. 2016-11-01 12:42:06 +01:00
polygonboutique 2098af0c7e naive extension of classes. 2016-11-01 10:30:55 +01:00
polygonboutique 92c7b6db6c more ecs stuff 2016-11-01 10:00:15 +01:00
polygonboutique dba92a70ba fresh start 2016-11-01 09:43:36 +01:00
Theunis J. Botha fb11e681cd all stable - no physics yet 2016-10-31 09:30:03 +01:00
Theunis J. Botha 8f233d804d try to get xmlhttprequest in unit tests 2016-10-28 16:02:45 +02:00
Theunis J. Botha b7a244e282 entity array 2016-10-28 15:31:45 +02:00
Theunis J. Botha d9c336286d entity objects 2016-10-28 15:30:15 +02:00
Theunis J. Botha 92faa265ab random IDs 2016-10-28 15:28:34 +02:00
Theunis J. Botha 5b3e5afd0c wheel updates 2016-10-28 13:31:21 +02:00
Theunis J. Botha 5075d50d6d Merge branch 'next' into feature-triMesh 2016-10-28 13:12:11 +02:00
Theunis J. Botha 82e25d6166 rigid wheels start 2016-10-28 13:11:53 +02:00
polygonboutique 318500d9b0 debugviews, triangle & convex hull collision shape generation, ray cast fixup for triangle meshes 2016-10-28 13:06:56 +02:00
Theunis J. Botha e1f949ca2e raycast wheel wrapper - vehicles now have wheels 2016-10-28 12:53:08 +02:00
Theunis J. Botha 5247174264 updates to new structure 2016-10-28 11:47:50 +02:00
Theunis J. Botha b071ae9d07 integration test fixes 2016-10-27 18:47:02 +02:00
Theunis J. Botha 7e8e3155bd fixes from integration tests 2016-10-26 16:13:18 +02:00
Theunis J. Botha 39258d2afe modular refactoring 2016-10-25 17:57:32 +02:00
Theunis J. Botha d9c4cee85f start writing tests 2016-10-18 13:37:38 +02:00
Theunis J. Botha 48c44abf93 start to fix - at 'Heightmap' 2016-10-14 13:08:22 +02:00
Theunis J. Botha d002814c40 gulp build - now start to fix 2016-10-14 12:32:53 +02:00