Richard Davey
|
33c618d30e
|
Fixed issue where changing blend mode didn't correctly reset the batch.
|
2016-10-27 15:14:22 +01:00 |
|
Richard Davey
|
2b850ad4e8
|
Setting the anchor dirties the Transform.
|
2016-10-27 15:14:09 +01:00 |
|
photonstorm
|
fd3898742f
|
Added ability to toggle multi-texture support at run-time.
|
2016-10-25 16:44:23 +01:00 |
|
photonstorm
|
8de992175e
|
Renamed Renderer spriteBatch to just batch.
|
2016-10-25 14:30:29 +01:00 |
|
photonstorm
|
a271a52ec7
|
Added glLastUsed property to TextureSource.
|
2016-10-25 13:23:14 +01:00 |
|
Richard Davey
|
120b6eb2bd
|
Blend Modes work. More optimisations in the batch manager.
|
2016-10-25 03:57:34 +01:00 |
|
Richard Davey
|
dae0b2c124
|
Fixed Multi Texture support across split texture atlases.
|
2016-10-25 01:54:49 +01:00 |
|
Richard Davey
|
8ab7dc80dc
|
Sorted out swapping WebGL textures in a non-multi texture environment.
|
2016-10-25 01:40:16 +01:00 |
|
Richard Davey
|
4c6691863c
|
Fixed Multi Texture support in the new batch manager.
|
2016-10-25 00:41:45 +01:00 |
|
photonstorm
|
2af81bdfba
|
Masses of refactoring in BatchManager, making it as compact and fast as possible.
|
2016-10-24 17:14:10 +01:00 |
|
Richard Davey
|
3cb806c86e
|
New addVerts method working.
|
2016-10-23 11:25:44 +01:00 |
|
Richard Davey
|
7cfe3b3919
|
Exploring using addVert / addVerts to allow for shadow injection from the Game Objects layer.
|
2016-10-22 18:02:43 +01:00 |
|
photonstorm
|
4af0fb3247
|
Added offset vector back in.
|
2016-10-20 15:01:22 +01:00 |
|
photonstorm
|
ef5e23abad
|
Fixed TI attribute.
|
2016-10-20 14:33:31 +01:00 |
|
Richard Davey
|
35373da918
|
Adding texture index
|
2016-10-20 05:04:06 +01:00 |
|
photonstorm
|
64cd88f7b4
|
Trying out flash effect.
|
2016-10-19 17:17:26 +01:00 |
|
photonstorm
|
d19148aec0
|
Getting to the point where the 'render' call is just array population, no calculation.
|
2016-10-19 14:31:35 +01:00 |
|
photonstorm
|
4c60effae4
|
Vertex Data calculations moved here, only updated when dirty. Saves time batch calculating.
|
2016-10-19 14:31:13 +01:00 |
|
photonstorm
|
f1e8396b6f
|
Tidying up.
|
2016-10-19 14:30:43 +01:00 |
|
photonstorm
|
079f81a639
|
Opps - blend mode needed :)
|
2016-10-19 14:30:33 +01:00 |
|
photonstorm
|
32e2df93c2
|
Fixed Inverse UV calc.
|
2016-10-19 14:30:23 +01:00 |
|
photonstorm
|
4f8e509f91
|
Fixed JSON Hash parsing.
|
2016-10-19 14:29:52 +01:00 |
|
photonstorm
|
0a659bcf67
|
No longer needed.
|
2016-10-19 14:29:38 +01:00 |
|
photonstorm
|
fb3bb4b32f
|
Refactored into new Base Game Object class, that Image and Sprite (and everything else) will now extend. Much more versatile, and a lot less code duplication.
|
2016-10-19 11:54:00 +01:00 |
|
Richard Davey
|
b49edb762e
|
Reset defaults.
|
2016-10-19 03:58:25 +01:00 |
|
Richard Davey
|
3d753255e4
|
Added support for the Background Color component values in the WebGL Sprite Batch shader.
|
2016-10-19 03:55:28 +01:00 |
|
Richard Davey
|
91ee135208
|
Fixed tint order and exposed via getters.
|
2016-10-19 03:10:30 +01:00 |
|
Richard Davey
|
5273799912
|
Added Color component to Stage and Image.
Added tint support into the Batch Manager.
|
2016-10-19 02:21:20 +01:00 |
|
Richard Davey
|
1aebdb9dd7
|
Fixed the Batch renderer at last. Just need to add multi-texture support back in.
|
2016-10-19 01:56:31 +01:00 |
|
Richard Davey
|
238c2fc8aa
|
Trying more things to get it working!
|
2016-10-19 00:23:40 +01:00 |
|
photonstorm
|
18b12dfc3e
|
Huge amount of work getting the WebGL renderer sorted out, tidied up and merged with the latest Texture and Transform components.
|
2016-10-18 17:03:25 +01:00 |
|
Richard Davey
|
c39c97f9d8
|
Starting to split up.
|
2016-10-17 21:22:55 +01:00 |
|
Richard Davey
|
d3f7813616
|
Timeline component base.
|
2016-10-16 23:52:09 +01:00 |
|
Richard Davey
|
60b23a157e
|
Added tint to Color component.
|
2016-10-16 23:51:54 +01:00 |
|
photonstorm
|
3020e3b8cf
|
Updating core objects.
|
2016-10-14 08:59:24 +01:00 |
|
photonstorm
|
d8adad4294
|
Dirty on creation.
|
2016-10-14 08:58:48 +01:00 |
|
photonstorm
|
64838a319a
|
New Color component.
|
2016-10-14 08:58:35 +01:00 |
|
photonstorm
|
bfd391b251
|
Using Color component.
|
2016-10-14 08:58:26 +01:00 |
|
photonstorm
|
15fbd0962d
|
Renamed to Update Manager.
|
2016-10-14 08:58:12 +01:00 |
|
photonstorm
|
f9ffe098c3
|
Check the worldAlpha when rendering.
|
2016-10-14 06:32:03 +01:00 |
|
photonstorm
|
9fcfa86cbf
|
Forced alpha context.
|
2016-10-14 06:31:53 +01:00 |
|
photonstorm
|
386e22b0fd
|
Commented out all the bg color stuff. It now just changes the canvas CSS.
|
2016-10-14 06:31:26 +01:00 |
|
photonstorm
|
9961eeee6b
|
Added worldAlpha property.
|
2016-10-14 06:31:01 +01:00 |
|
photonstorm
|
9f07eb176b
|
StateManager no longer saves and resets the context around a Canvas state render function.
|
2016-10-14 06:30:44 +01:00 |
|
photonstorm
|
e06b900a61
|
Removed antialias, transparent and physicsConfig arguments from the Game constructor.
|
2016-10-14 06:30:07 +01:00 |
|
photonstorm
|
e01141e522
|
Added updateFromDirtyParent.
|
2016-10-14 06:29:42 +01:00 |
|
photonstorm
|
ee20190ea8
|
The Children component can now skip modifying the Transforms.
|
2016-10-14 06:29:22 +01:00 |
|
photonstorm
|
582d705b1f
|
Updated base game objects.
|
2016-10-14 04:09:22 +01:00 |
|
photonstorm
|
60d348c464
|
Implemented a Dirty Transform Manager. Testing it out, but so far, so good.
|
2016-10-14 04:09:07 +01:00 |
|
photonstorm
|
ff2caeeb1c
|
Some quick Image tests (will need to move to Sprite soon)
|
2016-10-14 02:21:21 +01:00 |
|