Bryan Miller
|
630012c47c
|
Fixed gbe.nodes visible behaviour... to actually work.
|
il y a 6 ans |
Bryan Miller
|
ef644c0988
|
gbe.nodes.* updated to render to the world position instead of their location positions.
|
il y a 6 ans |
Bryan Miller
|
a2f6aaaa7e
|
Can now set a Node2D-based instance as visible. If false, rendering of the sub-tree from that node will stop.
|
il y a 6 ans |
Bryan Miller
|
c9a36a8044
|
NodeSurface can now use a clear color. By default, it will not clear it's surface at the start of a render.
|
il y a 6 ans |
Bryan Miller
|
d79c396fa4
|
Node2D.draw_rect() can now fill!
|
il y a 6 ans |
Bryan Miller
|
eb042b28d7
|
Lots of bugs in NodeSprite that needed fixing :)
|
il y a 6 ans |
Bryan Miller
|
d75d436921
|
Added gbe.node.NodeText node! Bug fixes to other nodes as well as
gbe.resource class
|
il y a 6 ans |
Bryan Miller
|
7f2f487acd
|
Node2D now has the .resolution property, looking for the first object to claim resolution. If no Node does, then the Display object is used.
|
il y a 6 ans |
Bryan Miller
|
293de959f4
|
Missed a comma
|
il y a 6 ans |
Bryan Miller
|
b7ad19d490
|
Added listen(), unlisten(), and emit() to gbe.nodes.Node. These are wrappers around the gbe.events.Events object.
|
il y a 6 ans |
Bryan Miller
|
78633e3152
|
Added _start() method to gbe.nodes.Node class. It's the complement to _pause()
|
il y a 6 ans |
Bryan Miller
|
8435bfa423
|
gbe.nodes.Node given 'hidden' methods intended to be used by astate machine. This, in effect, makes a Node tree the core of a game state machine
|
il y a 6 ans |
Bryan Miller
|
786a3b19c9
|
Fully moved the 'position' property to the Node class. Decided even for Nodes that may not render anything may want positional information.
|
il y a 6 ans |
Bryan Miller
|
bd090bf99e
|
Node and Node2D now have the .get_world_position() method. For Node, this will return the parent's world position otherwise (0,0). For Node2D this returns the screen position of Node2D instance.
|
il y a 6 ans |
Bryan Miller
|
d91500e9b1
|
Finished writing the NodeSprite class. Lots of smaller tweaks to other Node classes to accomodate. UNTESTEDgit add .
|
il y a 6 ans |
Bryan Miller
|
70abfb0fa7
|
Exposed ResourceManager via property in Node2D
|
il y a 6 ans |
Bryan Miller
|
0461f2b355
|
Redo of node structure to help reduce chance of class property collision. And... other stuff I started before doing the refactoring. Oops
|
il y a 6 ans |
Bryan Miller
|
db7a762af5
|
gbe.nodes.NodeSurface now requires .align_center to be True to center surface
|
il y a 6 ans |
Bryan Miller
|
cfce72f078
|
gbe.nodes.NodeSurface can now scale_to_display and will align all smaller surfaces to center... NOTE: That last bit is wrong. Will fix
|
il y a 6 ans |
Bryan Miller
|
5df184e2e1
|
Fixed bugs in gbe/nodes
|
il y a 6 ans |
Bryan Miller
|
3e17a763ce
|
Huge additions to Nodes. Nothing tested.
|
il y a 6 ans |
Bryan Miller
|
3fda412490
|
Added file headers... for reasons
|
il y a 6 ans |
Bryan Miller
|
94ad8ab959
|
Fixes for the Node class. Started on an extension NodeSurface class, but need changes to Display system.
|
il y a 6 ans |
Bryan Miller
|
387ca30bcb
|
Imported remaining game/gbe modules and fixed syntax bug in node.
|
il y a 6 ans |
Bryan Miller
|
aca82824f5
|
Continued work on gbe.nodes module
|
il y a 6 ans |
Bryan Miller
|
14fb2f8500
|
Added the initial code for the Node class.
|
il y a 6 ans |