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
|
7bf6c80d42
|
Rearranged some tiles.
|
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
|
a84d9aded9
|
Added closed doors and a bar counter.
|
6 年之前 |
Bryan Miller
|
d83f38545e
|
Added Wood and Daub(sp?) walls, as well as a set of open doors.
|
6 年之前 |
Bryan Miller
|
bdadbe08cc
|
Added 'tileset' for walls. Only brick walls so far.
|
6 年之前 |
Bryan Miller
|
6c6a452398
|
First set of graphics. Some basic floors and ceilings.
|
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
|
ef361983a7
|
Ignoring 'work' directories. This is for my development.
|
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
|
f1ddc9a66e
|
Updated gitignore to ignore log directories
|
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 年之前 |
Bryan Miller
|
92f59d1fa0
|
Added logging to the gbe.resource module. NOTE: This is rough.
|
6 年之前 |
Bryan Miller
|
b269e5ff5f
|
Added resource loaders and Manager
|
6 年之前 |
Bryan Miller
|
f034d9afa9
|
Had to make a little adjustment due to a video resize bug in Linux
|
6 年之前 |
Bryan Miller
|
db7a762af5
|
gbe.nodes.NodeSurface now requires .align_center to be True to center surface
|
6 年之前 |
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
|
6 年之前 |
Bryan Miller
|
9c752493dd
|
gbe/events now handles pygame.ACTIVEEVENT with two custom events, 'FOCUSLOST' and 'FOCUSGAINED'.
|
6 年之前 |
Bryan Miller
|
f536e43ab2
|
gbe/display now has a caption as well as a setting to self watch for video resize.
|
6 年之前 |
Bryan Miller
|
2a3f3dc048
|
Updated to do some basic Node class testing. Mostly works :)
|
6 年之前 |
Bryan Miller
|
3ae647a5bb
|
Actually added the ability to update the display... imagine THAT!
|
6 年之前 |