Bryan Miller
|
caa9daa387
|
Added an 'official' map that will be 'walked' during the main menu.
|
преди 6 години |
Bryan Miller
|
21aaaefb44
|
NodeGameMap and NodeEditor modified for simple map saving and loading!
|
преди 6 години |
Bryan Miller
|
673dc2c58f
|
ResourceManager can now load AND save defined resource types.
|
преди 6 години |
Bryan Miller
|
630012c47c
|
Fixed gbe.nodes visible behaviour... to actually work.
|
преди 6 години |
Bryan Miller
|
574e32a954
|
Added a main menu which will load the editor. If escape is pressed in the editor, use will be returned to the main menu.
|
преди 6 години |
Bryan Miller
|
bf9fee74e8
|
State machine now listens for a 'SCENECHANGE' event.
|
преди 6 години |
Bryan Miller
|
d94c0a7303
|
Added a NodeOptions node to the game. Useable for main menus.
|
преди 6 години |
Bryan Miller
|
ef644c0988
|
gbe.nodes.* updated to render to the world position instead of their location positions.
|
преди 6 години |
Bryan Miller
|
5cab1c6211
|
Perspective rendering now works fully... I say to tempt fate.
|
преди 6 години |
Bryan Miller
|
58125e69f7
|
Perspective render and the ability to mode swtch has been added. Perspective is mostly working, though there are some bugs.
|
преди 6 години |
Bryan Miller
|
b673905498
|
Property added the environment.json as a resource of the gamemap
|
преди 6 години |
Bryan Miller
|
35d664469d
|
Added environment resource data.
|
преди 6 години |
Bryan Miller
|
20a331640b
|
NodeMapEditor will render an arrow representing the NodeGameMap's orientation.
|
преди 6 години |
Bryan Miller
|
a2f6aaaa7e
|
Can now set a Node2D-based instance as visible. If false, rendering of the sub-tree from that node will stop.
|
преди 6 години |
Bryan Miller
|
4bf8238162
|
Updated the scenes.editor.get() to set the root NodeSurface clear color to transparent
|
преди 6 години |
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.
|
преди 6 години |
Bryan Miller
|
73e3b7d790
|
Using the new scenes as well as some data for loading in walls for the game map.
|
преди 6 години |
Bryan Miller
|
550ccdbb06
|
Modules in the game/scenes directory will be for organizing complex node scenes
|
преди 6 години |
Bryan Miller
|
46dd4d8551
|
NodeGameMap and NodeMapEditor classes continue to be built up
|
преди 6 години |
Bryan Miller
|
694047c7d4
|
Created a DataContainer class to house array and dictionary data elements, allowing them to be weakref'ed by ResourceManager.
|
преди 6 години |
Bryan Miller
|
4f7d1705ce
|
Fixed a typo
|
преди 6 години |
Bryan Miller
|
a156804a52
|
For the KEYDOWN/UP/PRESSED events, added a 'key_name' variable with the name of the key pressed.
|
преди 6 години |
Bryan Miller
|
dbbd5661f2
|
Built out a lot of the GameMap node, as well a laid the skeleton for the Editor node. Kinda learned I need a map editor, so, figured I'd just roll that into the GameMap.
|
преди 6 години |
Bryan Miller
|
d79c396fa4
|
Node2D.draw_rect() can now fill!
|
преди 6 години |
Bryan Miller
|
eeee8cbd68
|
Updated code to test the NodeSprite class
|
преди 6 години |
Bryan Miller
|
eb042b28d7
|
Lots of bugs in NodeSprite that needed fixing :)
|
преди 6 години |
Bryan Miller
|
caba06d9e7
|
Loader load_image() now have pygame directly load the file instead of opening it's own file object. Other minor bug fixes.
|
преди 6 години |
Bryan Miller
|
3950af840c
|
Code added to test gbe.NodeText class. Added a new font (by bathwater). Added CREDITS file to give appropriate attributions
|
преди 6 години |
Bryan Miller
|
d75d436921
|
Added gbe.node.NodeText node! Bug fixes to other nodes as well as
gbe.resource class
|
преди 6 години |
Bryan Miller
|
a50f2c52d5
|
gbe.display will initialize the font system when initializing the display.
|
преди 6 години |
Bryan Miller
|
69275bb4d4
|
Audio and Font resource loaders will throw an error if their associated subsystems have not been initialized before loading.
|
преди 6 години |
Bryan Miller
|
4afe958412
|
Actually defined the 'font' resource, connecting it to the loader.
|
преди 6 години |
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
|
преди 6 години |
Bryan Miller
|
86bb949cfa
|
Changed the init() call to use pygame.display.init() instead of pygame.init(). Display should ONLY initialize the display!
|
преди 6 години |
Bryan Miller
|
05a9db02c4
|
ResourceManager can now test is a resource is 'valid'.
|
преди 6 години |
Bryan Miller
|
8780413d14
|
Updated for all recent additions.
|
преди 6 години |
Bryan Miller
|
ba373b2d2f
|
gbe.display.Display now has the ability to clear screen and set a clear color.
|
преди 6 години |
Bryan Miller
|
b99ecc1fb4
|
Added gbe.statemachine which utilizes Nodes as a 'scene'.
|
преди 6 години |
Bryan Miller
|
5ab616717c
|
Just initial creation of the GameMap node.
|
преди 6 години |
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.
|
преди 6 години |
Bryan Miller
|
293de959f4
|
Missed a comma
|
преди 6 години |
Bryan Miller
|
b7ad19d490
|
Added listen(), unlisten(), and emit() to gbe.nodes.Node. These are wrappers around the gbe.events.Events object.
|
преди 6 години |
Bryan Miller
|
78633e3152
|
Added _start() method to gbe.nodes.Node class. It's the complement to _pause()
|
преди 6 години |
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
|
преди 6 години |
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.
|
преди 6 години |
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.
|
преди 6 години |
Bryan Miller
|
d91500e9b1
|
Finished writing the NodeSprite class. Lots of smaller tweaks to other Node classes to accomodate. UNTESTEDgit add .
|
преди 6 години |
Bryan Miller
|
70abfb0fa7
|
Exposed ResourceManager via property in Node2D
|
преди 6 години |
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
|
преди 6 години |
Bryan Miller
|
6bafbe0209
|
Change gbe.resource.Manager to gbe.resource.ResourceManager
|
преди 6 години |