Theunis J. Botha
e725fb4694
storage system now takes care of loading of components
2017-06-26 18:20:34 +02:00
Theunis J. Botha
8f44b9c672
saving entities - start loading them
2017-06-25 13:31:24 +02:00
-=yb4f310
c7cf4a42c0
physics intro
2017-06-24 18:09:44 +02:00
-=yb4f310
685f1298ac
physics start (again)
2017-06-24 02:42:28 +02:00
Theunis J. Botha
b4a3a66116
start with physics components
2017-06-23 16:04:42 +02:00
Theunis J. Botha
27ba103efa
fucking cool heightmaps
2017-06-23 14:31:41 +02:00
Theunis J. Botha
c00ad74e99
array controls for gui, start work on subscribeOnce
2017-06-22 14:04:03 +02:00
-=yb4f310
9408afba28
create instances immediately when dependencies are met
2017-06-21 16:36:19 +02:00
Theunis J. Botha
e09cfed52a
loading now much more streamlined
2017-06-21 12:22:39 +02:00
Theunis J. Botha
58796b1e11
before image path trouble
2017-06-20 16:46:59 +02:00
-=yb4f310
c913ea0822
canSave deprecated
2017-06-19 23:13:27 +02:00
-=yb4f310
bc56fe4088
component loading continues
2017-06-19 21:35:51 +02:00
-=yb4f310
21b79c6515
wicked systems
2017-06-19 15:54:02 +02:00
-=yb4f310
67588f1e27
constructor fixes - auto add child components
2017-06-19 14:53:52 +02:00
Theunis J. Botha
22e0e8828d
loading, checkRegister and texture creation order
2017-06-19 12:42:15 +02:00
-=yb4f310
5398cebcbe
buildIdTOObject slowly
2017-06-18 12:27:07 +02:00
-=yb4f310
8e5c3d1d04
first loading seems ok
2017-06-17 19:27:01 +02:00
-=yb4f310
68a8eef4bb
fixes
2017-06-16 20:03:55 +02:00
-=yb4f310
49eafef601
more checks
2017-06-16 18:45:25 +02:00
Theunis J. Botha
bb0a861d35
proper loading of objects
2017-06-16 15:49:53 +02:00
Theunis J. Botha
a111e42d63
unneeded
2017-06-14 15:30:30 +02:00
Theunis J. Botha
e4ec592a0b
loading first components from db
2017-06-14 14:21:57 +02:00
Theunis J. Botha
d174999cf9
temp fix for saving too many
2017-06-14 11:45:48 +02:00
Theunis J. Botha
928b018ae2
saving to API
2017-06-13 16:35:19 +02:00
Theunis J. Botha
e06bccbb95
start saving components
2017-06-13 14:09:18 +02:00
Theunis J. Botha
0e9a760d17
change material type fixed finally
2017-06-13 10:45:24 +02:00
-=yb4f310
4cad81bb8f
keydown and up - tex map fixes - delete objects
2017-06-12 22:40:00 +02:00
Theunis J. Botha
8c2ae310fb
image sizes, cube textures
2017-06-12 15:35:13 +02:00
-=yb4f310
7b70d8201e
light fixes - also parent scenes for lights
2017-06-10 10:04:29 +02:00
-=yb4f310
8f40160d53
textures working nice
2017-06-09 21:52:18 +02:00
Theunis J. Botha
14da18f2e8
texture and material loading revamped
2017-06-09 16:03:05 +02:00
Theunis J. Botha
9a12e4e3c3
no shortcuts - images to api
2017-06-08 18:17:03 +02:00
Theunis J. Botha
f6f1c8a628
clear color
2017-06-07 11:32:52 +02:00
Theunis J. Botha
e2faf5be25
render scenes for viewports if defined
2017-06-06 11:25:02 +02:00
-=yb4f310
a676543121
multiple viewports (finally) - start with clone
2017-06-05 12:00:54 +02:00
-=yb4f310
8d481843fd
some gui checks
2017-06-04 18:17:16 +02:00
-=yb4f310
d7a6185e46
parent scenes change - helpers are now components - intersects are now per scene / camera and sorted to distance
2017-06-04 14:36:13 +02:00
Theunis J. Botha
f9c18837e6
sphere meshes
2017-06-02 13:52:29 +02:00
Theunis J. Botha
1eeeecdd66
many nice refactorings, publisher and subscriber patterns, grids
2017-06-01 16:58:22 +02:00
-=yb4f310
63d175a8d7
texture and number
2017-05-22 20:38:00 +02:00
-=yb4f310
40f8341731
some gui stuff
2017-05-22 15:42:05 +02:00
-=yb4f310
eb5e45bed6
GUI system
2017-05-22 11:34:18 +02:00
-=yb4f310
4c34fb2b92
gui updates
2017-05-20 09:45:50 +02:00
-=yb4f310
3fd2d5cdbe
migrating gui to gamelib
2017-05-16 19:41:40 +02:00
-=yb4f310
bc8e36ea24
toApiObject
2017-05-16 14:51:57 +02:00
-=yb4f310
80f5ac9663
stats and gui components
2017-05-16 11:50:06 +02:00
-=yb4f310
bef39bf474
remove parent entities from linked objects
2017-05-13 12:07:23 +02:00
-=yb4f310
be9b88503d
awesome input system and editor controls component
2017-05-12 15:21:04 +02:00
-=yb4f310
625fcfedb9
input controls again
2017-05-11 17:52:33 +02:00
-=yb4f310
b29cb12bee
ok - so loading ok again - now will get rid of editor and games as concrete objects - they become entities
2017-05-11 13:30:20 +02:00
-=yb4f310
4d828ee849
smart object creation - image factory override
2017-05-11 04:48:02 +02:00
-=yb4f310
838ae9e3af
no graphics for something
2017-05-10 15:56:27 +02:00
Theunis J. Botha
a32037a826
trying to resize!
2017-05-09 15:44:29 +02:00
Theunis J. Botha
d717c22c03
child objects don't instantiate parent objects
2017-03-30 17:31:01 +02:00
Theunis J. Botha
4832eb5b3d
entities are components
2017-02-22 16:06:27 +01:00
Theunis J. Botha
585c8e0d6f
where to store components
2017-02-21 18:55:18 +01:00
Theunis J. Botha
8c551eb936
parent F*n object wtf??
2017-02-07 18:30:15 +01:00
Theunis J. Botha
dd148226c9
getting therer -- deep linking objects
2017-02-01 16:09:34 +01:00
Theunis J. Botha
59650c739e
v2_v3 updates
2017-01-31 15:23:38 +01:00
Theunis J. Botha
25278cadf5
merge conflicts
2017-01-31 11:48:44 +01:00
Theunis J. Botha
4071abc0c6
materials and textures stuff needs updates
2017-01-31 11:38:47 +01:00
Theunis J. Botha
f701370f5d
textures and materials stored to scene
2017-01-31 11:37:55 +01:00
Theunis J. Botha
6e3270508e
fix
2017-01-24 17:42:18 +01:00
Theunis J. Botha
c3d51b5549
systems to doms
2017-01-20 13:40:27 +01:00
Theunis J. Botha
ba1aa215b7
Everything can be anything
2017-01-19 17:50:11 +01:00
Theunis J. Botha
db4e225227
game objects to API
2017-01-18 16:03:44 +01:00
Theunis J. Botha
56d40d33b6
migration start
2017-01-17 17:16:10 +01:00
Theunis J. Botha
d0ac06f2b6
constructor updates - inheritance getting stable
2017-01-17 13:24:45 +01:00
Theunis J. Botha
c98c75bd6e
SHIT
2017-01-13 16:19:51 +01:00
Theunis J. Botha
0aa539b6cf
selected objects start
2017-01-12 17:40:17 +01:00
Theunis Johannes Botha
b5cdce22ab
viewport, editor, game, systems
2017-01-12 04:44:01 +01:00
Theunis J. Botha
24897794af
viewports, editor updates
2017-01-11 16:09:06 +01:00
Theunis J. Botha
3adc03f200
editor to API
2017-01-10 17:04:30 +01:00
Theunis J. Botha
f5d8c0d69f
need to remove scenes from renderers
2017-01-09 15:20:48 +01:00
Theunis J. Botha
ec79b03977
texture refactoring done
2017-01-06 16:53:53 +01:00
Theunis J. Botha
76e36e0fa7
streamlined object to api to runtime
2017-01-05 19:34:28 +01:00
Theunis J. Botha
87ec110b49
render order, drive component updates
2017-01-04 16:12:30 +01:00
Theunis J. Botha
12c5ac1450
drive input component - spline updates
2017-01-03 18:15:03 +01:00
Theunis J. Botha
9c2af5de8f
drive component, parent entities
2017-01-02 17:05:40 +01:00
Theunis J. Botha
deca83d5b8
stable..?
2016-12-23 16:07:10 +01:00
Theunis J. Botha
0ae56d4f99
introduced problem with splines
2016-12-22 17:22:19 +01:00
Theunis J. Botha
50713b8315
components can store references to other components - not objects
2016-12-21 16:06:30 +01:00
Theunis J. Botha
063d88f920
follow component - starting to get stable
2016-12-20 17:27:36 +01:00
Theunis J. Botha
846bdba6c4
more components
2016-12-19 17:44:15 +01:00
Theunis J. Botha
15d3c5b446
can save custom components and components based off type
2016-12-16 16:03:48 +01:00
Theunis J. Botha
aeee9c4533
continue new ecs
2016-12-15 15:28:00 +01:00
Theunis J. Botha
05efb8eea0
ecs refactor start
2016-12-15 14:53:39 +01:00
Theunis J. Botha
4a880dc2db
got to remove logic from components
2016-12-13 15:41:02 +01:00
Theunis J. Botha
7132fc7528
mesh permutation start - lodash broken
2016-12-12 20:54:46 +01:00
Theunis J. Botha
5a9e24a798
stable load and save for components
2016-12-12 17:24:05 +01:00
Theunis J. Botha
6c2a6a38ac
something broken somewhere
2016-12-09 20:32:09 +01:00
Theunis J. Botha
accc868f71
follow, lookat, camera and path following done gulp! :)
2016-12-08 19:43:16 +01:00
Theunis J. Botha
f774cad759
path follow component migrated to editor
2016-12-07 15:20:41 +01:00
Theunis J. Botha
89d7883418
start to refactor components
2016-12-07 09:58:09 +01:00
Theunis J. Botha
24a17da5d4
start update path following
2016-12-07 09:52:23 +01:00
Theunis J. Botha
c8c0d45e18
texture fixes - compile time stuff - done with multiple deep reflection
2016-12-06 19:34:22 +01:00
polygonboutique
252067c4c8
server comm
2016-12-06 16:43:03 +01:00
polygonboutique
7001449c56
starting on mp
2016-12-06 11:42:41 +01:00
Theunis J. Botha
8a932fc9e0
start to dig into common objects
2016-12-05 16:40:26 +01:00
Theunis J. Botha
b543c586e4
huge refactorings - vector fixes
2016-12-02 16:03:03 +01:00
Theunis J. Botha
90622a80d9
latest sergej merge conflicts
2016-12-02 13:11:56 +01:00
Theunis J. Botha
6d3c30fee5
whole runtime refactoring
2016-12-02 13:00:56 +01:00
Theunis J. Botha
46a00d4fb1
runtime vectors and colors complete
2016-12-01 18:37:57 +01:00
polygonboutique
490001d316
added some stuff to rotator & offsettor components. also added some docs + lapcounter to the main.js
2016-11-30 15:45:19 +01:00
polygonboutique
52af3c1f3d
changed component signature of offsettor, rotator
2016-11-30 13:12:54 +01:00
polygonboutique
3aca24eb87
offset component
2016-11-30 12:32:58 +01:00
polygonboutique
9f96389ae5
rotator component
2016-11-30 11:40:33 +01:00
polygonboutique
2895b74b6c
addde remove component method to entity
2016-11-30 10:46:25 +01:00
polygonboutique
61ed31e517
added kinematic setting to rigid-body.
...
next up: spinning wheels, ai collision avoidance, onCollide-event
2016-11-30 10:31:44 +01:00
polygonboutique
eaea4255df
fixed tmpQuat
2016-11-30 09:19:35 +01:00
polygonboutique
bc27db190d
normalize camera quat, entity parent uses a static tmpvector for it's calculations.
...
todo: we have a huge memory issue. 700mb on the heap.
2016-11-29 16:55:50 +01:00
polygonboutique
563f18fc99
fixed mesh delay error
2016-11-29 16:11:56 +01:00
polygonboutique
b2bacd2d7e
fixed.
2016-11-29 15:40:27 +01:00
polygonboutique
fafc068fad
parent entity link component: center to origin fixed
2016-11-29 15:26:54 +01:00
polygonboutique
3283eb40ce
parent entity link component
2016-11-29 13:53:12 +01:00
Theunis J. Botha
48c093a72a
backward compatibility
2016-11-29 13:19:00 +01:00
Theunis J. Botha
9c429f4126
merge conflicts
2016-11-29 12:59:33 +01:00
Theunis J. Botha
48cb9e477d
api and runtime namespaces
2016-11-29 12:54:25 +01:00
polygonboutique
5069ec4ee2
new build step in gulp + some components
2016-11-29 12:52:48 +01:00
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