Bryan Miller
								
							
						 | 
						
							
								9cf058c1df
								
							
						 | 
						
							
								
								Parameters can now be sent to the associated loader using a param dictionary. Loaders should now accept a second argument that will contain a parameter dictionary. Added a font resource loader
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								86bb949cfa
								
							
						 | 
						
							
								
								Changed the init() call to use pygame.display.init() instead of pygame.init(). Display should ONLY initialize the display!
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								05a9db02c4
								
							
						 | 
						
							
								
								ResourceManager can now test is a resource is 'valid'.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								ba373b2d2f
								
							
						 | 
						
							
								
								gbe.display.Display now has the ability to clear screen and set a clear color.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b99ecc1fb4
								
							
						 | 
						
							
								
								Added gbe.statemachine which utilizes Nodes as a 'scene'.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   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.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								293de959f4
								
							
						 | 
						
							
								
								Missed a comma
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b7ad19d490
								
							
						 | 
						
							
								
								Added listen(), unlisten(), and emit() to gbe.nodes.Node. These are wrappers around the gbe.events.Events object.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								78633e3152
								
							
						 | 
						
							
								
								Added _start() method to gbe.nodes.Node class. It's the complement to _pause()
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   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
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   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.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   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.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								d91500e9b1
								
							
						 | 
						
							
								
								Finished writing the NodeSprite class. Lots of smaller tweaks to other Node classes to accomodate. UNTESTEDgit add .
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								70abfb0fa7
								
							
						 | 
						
							
								
								Exposed ResourceManager via property in Node2D
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   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
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								6bafbe0209
								
							
						 | 
						
							
								
								Change gbe.resource.Manager to gbe.resource.ResourceManager
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								92f59d1fa0
								
							
						 | 
						
							
								
								Added logging to the gbe.resource module. NOTE: This is rough.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b269e5ff5f
								
							
						 | 
						
							
								
								Added resource loaders and Manager
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								f034d9afa9
								
							
						 | 
						
							
								
								Had to make a little adjustment due to a video resize bug in Linux
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								db7a762af5
								
							
						 | 
						
							
								
								gbe.nodes.NodeSurface now requires .align_center to be True to center surface
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   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
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								9c752493dd
								
							
						 | 
						
							
								
								gbe/events now handles pygame.ACTIVEEVENT with two custom events, 'FOCUSLOST' and 'FOCUSGAINED'.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								f536e43ab2
								
							
						 | 
						
							
								
								gbe/display now has a caption as well as a setting to self watch for video resize.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								3ae647a5bb
								
							
						 | 
						
							
								
								Actually added the ability to update the display... imagine THAT!
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								5df184e2e1
								
							
						 | 
						
							
								
								Fixed bugs in gbe/nodes
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								3e17a763ce
								
							
						 | 
						
							
								
								Huge additions to Nodes. Nothing tested.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								e919a88ad1
								
							
						 | 
						
							
								
								Rework of the gbe/display system
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								3fda412490
								
							
						 | 
						
							
								
								Added file headers... for reasons
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								5c4f574a5b
								
							
						 | 
						
							
								
								Broke the game/gbe/core.py into the time.py and display.py file. Updated the __init__.py files to reflect change.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								94ad8ab959
								
							
						 | 
						
							
								
								Fixes for the Node class. Started on an extension NodeSurface class, but need changes to Display system.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								c15de1dfc9
								
							
						 | 
						
							
								
								Built out and cleaned up the Display class.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								eeb19a594f
								
							
						 | 
						
							
								
								Fixed a number of syntaxtical and logical bugs.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								6bd8aa7e14
								
							
						 | 
						
							
								
								pollEvents() function now does a quick convert of all default pygame events to events sent my the event dispatcher.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								387ca30bcb
								
							
						 | 
						
							
								
								Imported remaining game/gbe modules and fixed syntax bug in node.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								66d1828c06
								
							
						 | 
						
							
								
								Removed Application class. Added some new systems in game/gbe
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								aca82824f5
								
							
						 | 
						
							
								
								Continued work on gbe.nodes module
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								14fb2f8500
								
							
						 | 
						
							
								
								Added the initial code for the Node class.
							
							
							
							
						 | 
						7 years ago | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								2bced431ba
								
							
						 | 
						
							
								
								Initial commit with very rough pygame application class.
							
							
							
							
						 | 
						7 years ago |