基于pygame的简易游戏框架.zip
大小:455.96KB
价格:47积分
下载量:0
评分:
5.0
上传者:2401_85643073
更新日期:2024-10-21

基于pygame的简易游戏框架.zip

资源文件列表(大概)

文件名
大小
images/
-
images/acacia_door_bottom.png
219B
images/acacia_door_top.png
233B
images/acacia_leaves.png
210B
images/acacia_log.png
193B
images/acacia_log_top.png
243B
images/acacia_planks.png
202B
images/acacia_sapling.png
204B
images/acacia_trapdoor.png
172B
images/activator_rail.png
242B
images/activator_rail_on.png
243B
images/allium.png
250B
images/amethyst_block.png
212B
images/amethyst_cluster.png
215B
images/ancient_debris_side.png
207B
images/ancient_debris_top.png
222B
images/andesite.png
198B
images/anvil.png
170B
images/anvil_top.png
192B
images/attached_melon_stem.png
144B
images/attached_pumpkin_stem.png
165B
images/azalea_leaves.png
209B
images/azalea_plant.png
248B
images/azalea_side.png
201B
images/azalea_top.png
184B
images/azure_bluet.png
247B
images/bamboo_block.png
219B
images/bamboo_block_top.png
166B
images/bamboo_door_bottom.png
244B
images/bamboo_door_top.png
253B
images/bamboo_fence.png
249B
images/bamboo_fence_gate.png
214B
images/bamboo_fence_gate_particle.png
153B
images/bamboo_fence_particle.png
153B
images/bamboo_large_leaves.png
255B
images/bamboo_mosaic.png
230B
images/bamboo_planks.png
225B
images/bamboo_singleleaf.png
138B
images/bamboo_small_leaves.png
232B
images/bamboo_stage0.png
241B
images/bamboo_stalk.png
203B
images/bamboo_trapdoor.png
261B
images/barrel_bottom.png
214B
images/barrel_side.png
205B
images/barrel_top.png
203B
images/barrel_top_open.png
193B
images/basalt_side.png
187B
images/basalt_top.png
211B
images/beacon.png
198B
images/bedrock.png
169B
images/beehive_end.png
181B
images/beehive_front.png
207B
images/beehive_front_honey.png
243B
images/beehive_side.png
207B
images/beetroots_stage0.png
118B
images/beetroots_stage1.png
135B
images/beetroots_stage2.png
180B
images/beetroots_stage3.png
200B
images/bee_nest_bottom.png
185B
images/bee_nest_front.png
237B
images/bee_nest_front_honey.png
249B
images/bee_nest_side.png
208B
images/bee_nest_top.png
185B
images/bell_bottom.png
145B
images/bell_side.png
140B
images/bell_top.png
148B
images/big_dripleaf_side.png
84B
images/big_dripleaf_stem.png
182B
images/big_dripleaf_tip.png
133B
images/big_dripleaf_top.png
214B
images/birch_door_bottom.png
234B
images/birch_door_top.png
230B
images/birch_leaves.png
198B
images/birch_log.png
208B
images/birch_log_top.png
239B
images/birch_planks.png
202B
images/birch_sapling.png
196B
images/birch_trapdoor.png
248B
images/blackstone.png
204B
images/blackstone_top.png
195B
images/black_candle.png
127B
images/black_candle_lit.png
136B
images/black_concrete.png
172B
images/black_concrete_powder.png
480B
images/black_glazed_terracotta.png
285B
images/black_shulker_box.png
256B
images/black_stained_glass.png
105B
images/black_stained_glass_pane_top.png
114B
images/black_terracotta.png
334B
images/black_wool.png
364B
images/blast_furnace_front.png
266B
images/blast_furnace_front_on.png
286B
images/blast_furnace_side.png
256B
images/blast_furnace_top.png
204B
images/blue_candle.png
128B
images/blue_candle_lit.png
136B
images/blue_concrete.png
172B
images/blue_concrete_powder.png
608B
images/blue_glazed_terracotta.png
202B
images/blue_ice.png
189B
images/blue_orchid.png
179B
images/blue_shulker_box.png
277B
images/blue_stained_glass.png
134B
images/blue_stained_glass_pane_top.png
120B
images/blue_terracotta.png
390B
images/blue_wool.png
382B
images/bone_block_side.png
139B
images/bone_block_top.png
194B
images/bookshelf.png
319B
images/brain_coral.png
206B
images/brain_coral_block.png
210B
images/brain_coral_fan.png
188B
images/brewing_stand.png
285B
images/brewing_stand_base.png
202B
images/bricks.png
216B
images/brown_candle.png
127B
images/brown_candle_lit.png
136B
images/brown_concrete.png
176B
images/brown_concrete_powder.png
612B
images/brown_glazed_terracotta.png
269B
images/brown_mushroom.png
139B
images/brown_mushroom_block.png
170B
images/brown_shulker_box.png
285B
images/brown_stained_glass.png
105B
images/brown_stained_glass_pane_top.png
119B
images/brown_terracotta.png
385B
images/brown_wool.png
381B
images/bubble_coral.png
196B
images/bubble_coral_block.png
201B
images/bubble_coral_fan.png
178B
images/budding_amethyst.png
237B
images/cactus_bottom.png
210B
images/cactus_side.png
227B
images/cactus_top.png
219B
images/cake_bottom.png
190B
images/cake_inner.png
189B
images/cake_side.png
179B
images/cake_top.png
213B
images/calcite.png
201B
images/calibrated_sculk_sensor_amethyst.png
171B
images/calibrated_sculk_sensor_input_side.png
231B
images/calibrated_sculk_sensor_top.png
204B
images/campfire_fire.png
635B
images/campfire_log.png
249B
images/campfire_log_lit.png
519B
images/candle.png
130B
images/candle_lit.png
135B
images/carrots_stage0.png
102B
images/carrots_stage1.png
143B
images/carrots_stage2.png
178B
images/carrots_stage3.png
220B
images/cartography_table_side1.png
273B
images/cartography_table_side2.png
299B
images/cartography_table_side3.png
206B
images/cartography_table_top.png
314B
images/carved_pumpkin.png
221B
images/cauldron_bottom.png
136B
images/cauldron_inner.png
165B
images/cauldron_side.png
207B
images/cauldron_top.png
203B
images/cave_vines.png
238B
images/cave_vines_lit.png
248B
images/cave_vines_plant.png
241B
images/cave_vines_plant_lit.png
261B
images/chain.png
122B
images/chain_command_block_back.png
391B
images/chain_command_block_conditional.png
360B
images/chain_command_block_front.png
352B
images/chain_command_block_side.png
388B
images/cherry_door_bottom.png
269B
images/cherry_door_top.png
273B
images/cherry_leaves.png
276B
images/cherry_log.png
183B
images/cherry_log_top.png
230B
images/cherry_planks.png
202B
images/cherry_sapling.png
234B
images/cherry_trapdoor.png
257B
images/chipped_anvil_top.png
222B
images/chiseled_bookshelf_empty.png
202B
images/chiseled_bookshelf_occupied.png
360B
images/chiseled_bookshelf_side.png
191B
images/chiseled_bookshelf_top.png
199B
images/chiseled_copper.png
213B
images/chiseled_deepslate.png
199B
images/chiseled_nether_bricks.png
214B
images/chiseled_polished_blackstone.png
196B
images/chiseled_quartz_block.png
204B
images/chiseled_quartz_block_top.png
194B
images/chiseled_red_sandstone.png
211B
images/chiseled_sandstone.png
208B
images/chiseled_stone_bricks.png
206B
images/chiseled_tuff.png
271B
images/chiseled_tuff_bricks.png
208B
images/chiseled_tuff_bricks_top.png
198B
images/chiseled_tuff_top.png
211B
images/chorus_flower.png
257B
images/chorus_flower_dead.png
246B
images/chorus_plant.png
222B
images/clay.png
200B
images/coal_block.png
181B
images/coal_ore.png
235B
images/coarse_dirt.png
503B
images/cobbled_deepslate.png
204B
images/cobblestone.png
200B
images/cobweb.png
183B
images/cocoa_stage0.png
169B
images/cocoa_stage1.png
182B
images/cocoa_stage2.png
205B
images/command_block_back.png
383B
images/command_block_conditional.png
343B
images/command_block_front.png
343B
images/command_block_side.png
374B
images/comparator.png
242B
images/comparator_on.png
247B
images/composter_bottom.png
168B
images/composter_compost.png
192B
images/composter_ready.png
220B
images/composter_side.png
215B
images/composter_top.png
167B
images/conduit.png
205B
images/copper_block.png
214B
images/copper_bulb.png
242B
images/copper_bulb_lit.png
243B
images/copper_bulb_lit_powered.png
252B
images/copper_bulb_powered.png
257B
images/copper_door_bottom.png
215B
images/copper_door_top.png
242B
images/copper_grate.png
243B
images/copper_ore.png
261B
images/copper_trapdoor.png
245B
images/cornflower.png
173B
images/cracked_deepslate_bricks.png
222B
images/cracked_deepslate_tiles.png
200B
images/cracked_nether_bricks.png
216B
images/cracked_polished_blackstone_bricks.png
205B
images/cracked_stone_bricks.png
214B
images/crafter_bottom.png
172B
images/crafter_east.png
269B
images/crafter_east_crafting.png
270B
images/crafter_east_triggered.png
273B
images/crafter_north.png
267B
images/crafter_north_crafting.png
253B
images/crafter_south.png
270B
images/crafter_south_triggered.png
270B
images/crafter_top.png
243B
images/crafter_top_crafting.png
241B
images/crafter_top_triggered.png
252B
images/crafter_west.png
266B
images/crafter_west_crafting.png
266B
images/crafter_west_triggered.png
264B
images/crafting_table_front.png
271B
images/crafting_table_side.png
265B
images/crafting_table_top.png
211B
images/crimson_door_bottom.png
225B
images/crimson_door_top.png
224B
images/crimson_fungus.png
203B
images/crimson_nylium.png
212B
images/crimson_nylium_side.png
263B
images/crimson_planks.png
202B
images/crimson_roots.png
183B
images/crimson_roots_pot.png
186B
images/crimson_stem.png
471B
images/crimson_stem_top.png
240B
images/crimson_trapdoor.png
215B
images/crying_obsidian.png
227B
images/cut_copper.png
202B
images/cut_red_sandstone.png
202B
images/cut_sandstone.png
202B
images/cyan_candle.png
128B
images/cyan_candle_lit.png
137B
images/cyan_concrete.png
182B
images/cyan_concrete_powder.png
590B
images/cyan_glazed_terracotta.png
275B
images/cyan_shulker_box.png
277B
images/cyan_stained_glass.png
106B
images/cyan_stained_glass_pane_top.png
119B
images/cyan_terracotta.png
444B
images/cyan_wool.png
372B
images/damaged_anvil_top.png
226B
images/dandelion.png
139B
images/dark_oak_door_bottom.png
221B
images/dark_oak_door_top.png
231B
images/dark_oak_leaves.png
201B
images/dark_oak_log.png
193B
images/dark_oak_log_top.png
243B
images/dark_oak_planks.png
202B
images/dark_oak_sapling.png
206B
images/dark_oak_trapdoor.png
189B
images/dark_prismarine.png
185B
images/daylight_detector_inverted_top.png
148B
images/daylight_detector_side.png
138B
images/daylight_detector_top.png
171B
images/dead_brain_coral.png
206B
images/dead_brain_coral_block.png
205B
images/dead_brain_coral_fan.png
227B
images/dead_bubble_coral.png
196B
images/dead_bubble_coral_block.png
201B
images/dead_bubble_coral_fan.png
205B
images/dead_bush.png
180B
images/dead_fire_coral.png
189B
images/dead_fire_coral_block.png
195B
images/dead_fire_coral_fan.png
225B
images/dead_horn_coral.png
192B
images/dead_horn_coral_block.png
206B
images/dead_horn_coral_fan.png
202B
images/dead_tube_coral.png
216B
images/dead_tube_coral_block.png
199B
images/dead_tube_coral_fan.png
205B
images/debug.png
560B
images/debug2.png
269B
images/deepslate.png
185B
images/deepslate_bricks.png
197B
images/deepslate_coal_ore.png
225B
images/deepslate_copper_ore.png
252B
images/deepslate_diamond_ore.png
253B
images/deepslate_emerald_ore.png
247B
images/deepslate_gold_ore.png
228B
images/deepslate_iron_ore.png
236B
images/deepslate_lapis_ore.png
257B
images/deepslate_redstone_ore.png
270B
images/deepslate_tiles.png
194B
images/deepslate_top.png
191B
images/destroy_stage_0.png
102B
images/destroy_stage_1.png
115B
images/destroy_stage_2.png
123B
images/destroy_stage_3.png
140B
images/destroy_stage_4.png
143B
images/destroy_stage_5.png
159B
images/destroy_stage_6.png
160B
images/destroy_stage_7.png
174B
images/destroy_stage_8.png
180B
images/destroy_stage_9.png
180B
images/detector_rail.png
237B
images/detector_rail_on.png
251B
images/diamond_block.png
218B
images/diamond_ore.png
235B
images/diorite.png
200B
images/dirt.png
200B
images/dirt_path_side.png
251B
images/dirt_path_top.png
171B
images/dispenser_front.png
256B
images/dispenser_front_vertical.png
229B
images/dragon_egg.png
156B
images/dried_kelp_bottom.png
241B
images/dried_kelp_side.png
233B
images/dried_kelp_top.png
238B
images/dripstone_block.png
185B
images/dropper_front.png
263B
images/dropper_front_vertical.png
228B
images/emerald_block.png
193B
images/emerald_ore.png
247B
images/enchanting_table_bottom.png
189B
images/enchanting_table_side.png
246B
images/enchanting_table_top.png
175B
images/end_portal_frame_eye.png
178B
images/end_portal_frame_side.png
241B
images/end_portal_frame_top.png
208B
images/end_rod.png
159B
images/end_stone.png
206B
images/end_stone_bricks.png
210B
images/exposed_chiseled_copper.png
216B
images/exposed_copper.png
222B
images/exposed_copper_bulb.png
244B
images/exposed_copper_bulb_lit.png
255B
images/exposed_copper_bulb_lit_powered.png
263B
images/exposed_copper_bulb_powered.png
252B
images/exposed_copper_door_bottom.png
238B
images/exposed_copper_door_top.png
254B
images/exposed_copper_grate.png
242B
images/exposed_copper_trapdoor.png
239B
images/exposed_cut_copper.png
224B
images/farmland.png
186B
images/farmland_moist.png
190B
images/fern.png
210B
images/fire_0.png
11.43KB
images/fire_1.png
11.97KB
images/fire_coral.png
189B
images/fire_coral_block.png
195B
images/fire_coral_fan.png
192B
images/fletching_table_front.png
290B
images/fletching_table_side.png
370B
images/fletching_table_top.png
255B
images/flowering_azalea_leaves.png
232B
images/flowering_azalea_side.png
219B
images/flowering_azalea_top.png
221B
images/flower_pot.png
149B
images/frogspawn.png
157B
images/frosted_ice_0.png
199B
images/frosted_ice_1.png
254B
images/frosted_ice_2.png
303B
images/frosted_ice_3.png
334B
images/furnace_front.png
254B
images/furnace_front_on.png
269B
images/furnace_side.png
243B
images/furnace_top.png
215B
images/gilded_blackstone.png
240B
images/glass.png
147B
images/glass_pane_top.png
116B
images/glowstone.png
225B
images/glow_item_frame.png
248B
images/glow_lichen.png
196B
images/gold_block.png
218B
images/gold_ore.png
241B
images/granite.png
223B
images/grass_block_side.png
345B
images/grass_block_side_overlay.png
177B
images/grass_block_snow.png
251B
images/grass_block_top.png
298B
images/gravel.png
216B
images/gray_candle.png
127B
images/gray_candle_lit.png
136B
images/gray_concrete.png
154B
images/gray_concrete_powder.png
493B
images/gray_glazed_terracotta.png
266B
images/gray_shulker_box.png
274B
images/gray_stained_glass.png
105B
images/gray_stained_glass_pane_top.png
119B
images/gray_terracotta.png
351B
images/gray_wool.png
374B
images/green_candle.png
127B
images/green_candle_lit.png
135B
images/green_concrete.png
181B
images/green_concrete_powder.png
613B
images/green_glazed_terracotta.png
272B
images/green_shulker_box.png
281B
images/green_stained_glass.png
105B
images/green_stained_glass_pane_top.png
119B
images/green_terracotta.png
394B
images/green_wool.png
386B
images/grindstone_pivot.png
141B
images/grindstone_round.png
176B
images/grindstone_side.png
204B
images/hanging_roots.png
186B
images/hay_block_side.png
202B
images/hay_block_top.png
189B
images/honeycomb_block.png
199B
images/honey_block_bottom.png
199B
images/honey_block_side.png
213B
images/honey_block_top.png
211B
images/hopper_inside.png
165B
images/hopper_outside.png
189B
images/hopper_top.png
155B
images/horn_coral.png
203B
images/horn_coral_block.png
206B
images/horn_coral_fan.png
183B
images/ice.png
205B
images/iron_bars.png
193B
images/iron_block.png
184B
images/iron_door_bottom.png
198B
images/iron_door_top.png
202B
images/iron_ore.png
222B
images/iron_trapdoor.png
192B
images/item_frame.png
243B
images/jack_o_lantern.png
234B
images/jigsaw_bottom.png
113B
images/jigsaw_lock.png
145B
images/jigsaw_side.png
211B
images/jigsaw_top.png
221B
images/jukebox_side.png
174B
images/jukebox_top.png
179B
images/jungle_door_bottom.png
234B
images/jungle_door_top.png
268B
images/jungle_leaves.png
238B
images/jungle_log.png
225B
images/jungle_log_top.png
221B
images/jungle_planks.png
202B
images/jungle_sapling.png
196B
images/jungle_trapdoor.png
248B
images/kelp.png
565B
images/kelp_plant.png
892B
images/ladder.png
159B
images/lantern.png
286B
images/lapis_block.png
252B
images/lapis_ore.png
264B
images/large_amethyst_bud.png
177B
images/large_fern_bottom.png
210B
images/large_fern_top.png
179B
images/lava_flow.png
3.09KB
images/lava_still.png
4.79KB
images/lectern_base.png
222B
images/lectern_front.png
258B
images/lectern_sides.png
178B
images/lectern_top.png
194B
images/lever.png
138B
images/lightning_rod.png
146B
images/lightning_rod_on.png
71B
images/light_blue_candle.png
128B
images/light_blue_candle_lit.png
137B
images/light_blue_concrete.png
223B
images/light_blue_concrete_powder.png
692B
images/light_blue_glazed_terracotta.png
260B
images/light_blue_shulker_box.png
271B
images/light_blue_stained_glass.png
106B
images/light_blue_stained_glass_pane_top.png
120B
images/light_blue_terracotta.png
392B
images/light_blue_wool.png
408B
images/light_gray_candle.png
128B
images/light_gray_candle_lit.png
137B
images/light_gray_concrete.png
167B
images/light_gray_concrete_powder.png
567B
images/light_gray_glazed_terracotta.png
272B
images/light_gray_shulker_box.png
271B
images/light_gray_stained_glass.png
106B
images/light_gray_stained_glass_pane_top.png
120B
images/light_gray_terracotta.png
421B
images/light_gray_wool.png
394B
images/lilac_bottom.png
212B
images/lilac_top.png
201B
images/lily_of_the_valley.png
184B
images/lily_pad.png
196B
images/lime_candle.png
128B
images/lime_candle_lit.png
137B
images/lime_concrete.png
222B
images/lime_concrete_powder.png
633B
images/lime_glazed_terracotta.png
254B
images/lime_shulker_box.png
285B
images/lime_stained_glass.png
106B
images/lime_stained_glass_pane_top.png
119B
images/lime_terracotta.png
461B
images/lime_wool.png
379B
images/lodestone_side.png
228B
images/lodestone_top.png
187B
images/loom_bottom.png
122B
images/loom_front.png
215B
images/loom_side.png
200B
images/loom_top.png
226B
images/magenta_candle.png
128B
images/magenta_candle_lit.png
137B
images/magenta_concrete.png
198B
images/magenta_concrete_powder.png
684B
images/magenta_glazed_terracotta.png
227B
images/magenta_shulker_box.png
285B
images/magenta_stained_glass.png
106B
images/magenta_stained_glass_pane_top.png
120B
images/magenta_terracotta.png
467B
images/magenta_wool.png
392B
images/magma.png
437B
images/mangrove_door_bottom.png
236B
images/mangrove_door_top.png
234B
images/mangrove_leaves.png
221B
images/mangrove_log.png
182B
images/mangrove_log_top.png
235B
images/mangrove_planks.png
202B
images/mangrove_propagule.png
160B
images/mangrove_propagule_hanging.png
244B
images/mangrove_roots_side.png
203B
images/mangrove_roots_top.png
214B
images/mangrove_trapdoor.png
234B
images/medium_amethyst_bud.png
146B
images/melon_side.png
164B
images/melon_stem.png
189B
images/melon_top.png
186B
images/mossy_cobblestone.png
246B
images/mossy_stone_bricks.png
258B
images/moss_block.png
208B
images/mud.png
216B
images/muddy_mangrove_roots_side.png
254B
images/muddy_mangrove_roots_top.png
257B
images/mud_bricks.png
209B
images/mushroom_block_inside.png
184B
images/mushroom_stem.png
170B
images/mycelium_side.png
275B
images/mycelium_top.png
234B
images/netherite_block.png
230B
images/netherrack.png
213B
images/nether_bricks.png
193B
images/nether_gold_ore.png
255B
images/nether_portal.png
8.79KB
images/nether_quartz_ore.png
255B
images/nether_sprouts.png
126B
images/nether_wart_block.png
181B
images/nether_wart_stage0.png
150B
images/nether_wart_stage1.png
183B
images/nether_wart_stage2.png
191B
images/note_block.png
182B
images/oak_door_bottom.png
202B
images/oak_door_top.png
213B
images/oak_leaves.png
202B
images/oak_log.png
193B
images/oak_log_top.png
223B
images/oak_planks.png
202B
images/oak_sapling.png
221B
images/oak_trapdoor.png
208B
images/observer_back.png
260B
images/observer_back_on.png
274B
images/observer_front.png
252B
images/observer_side.png
230B
images/observer_top.png
286B
images/obsidian.png
189B
images/ochre_froglight_side.png
196B
images/ochre_froglight_top.png
175B
images/orange_candle.png
127B
images/orange_candle_lit.png
136B
images/orange_concrete.png
243B
images/orange_concrete_powder.png
669B
images/orange_glazed_terracotta.png
272B
images/orange_shulker_box.png
285B
images/orange_stained_glass.png
106B
images/orange_stained_glass_pane_top.png
120B
images/orange_terracotta.png
463B
images/orange_tulip.png
224B
images/orange_wool.png
400B
images/oxeye_daisy.png
277B
images/oxidized_chiseled_copper.png
210B
images/oxidized_copper.png
214B
images/oxidized_copper_bulb.png
238B
images/oxidized_copper_bulb_lit.png
253B
images/oxidized_copper_bulb_lit_powered.png
256B
images/oxidized_copper_bulb_powered.png
247B
images/oxidized_copper_door_bottom.png
218B
images/oxidized_copper_door_top.png
244B
images/oxidized_copper_grate.png
238B
images/oxidized_copper_trapdoor.png
237B
images/oxidized_cut_copper.png
221B
images/packed_ice.png
193B
images/packed_mud.png
197B
images/pearlescent_froglight_side.png
196B
images/pearlescent_froglight_top.png
175B
images/peony_bottom.png
230B
images/peony_top.png
206B
images/pink_candle.png
128B
images/pink_candle_lit.png
138B
images/pink_concrete.png
218B
images/pink_concrete_powder.png
714B
images/pink_glazed_terracotta.png
199B
images/pink_petals.png
222B
images/pink_petals_stem.png
80B
images/pink_shulker_box.png
285B
images/pink_stained_glass.png
106B
images/pink_stained_glass_pane_top.png
120B
images/pink_terracotta.png
477B
images/pink_tulip.png
202B
images/pink_wool.png
412B
images/piston_bottom.png
223B
images/piston_inner.png
242B
images/piston_side.png
270B
images/piston_top.png
214B
images/piston_top_sticky.png
262B
images/pitcher_crop_bottom.png
159B
images/pitcher_crop_bottom_stage_1.png
157B
images/pitcher_crop_bottom_stage_2.png
192B
images/pitcher_crop_bottom_stage_3.png
180B
images/pitcher_crop_bottom_stage_4.png
198B
images/pitcher_crop_side.png
164B
images/pitcher_crop_top.png
179B
images/pitcher_crop_top_stage_3.png
183B
images/pitcher_crop_top_stage_4.png
213B
images/podzol_side.png
412B
images/podzol_top.png
197B
images/pointed_dripstone_down_base.png
203B
images/pointed_dripstone_down_frustum.png
197B
images/pointed_dripstone_down_middle.png
196B
images/pointed_dripstone_down_tip.png
150B
images/pointed_dripstone_down_tip_merge.png
172B
images/pointed_dripstone_up_base.png
202B
images/pointed_dripstone_up_frustum.png
197B
images/pointed_dripstone_up_middle.png
193B
images/pointed_dripstone_up_tip.png
149B
images/pointed_dripstone_up_tip_merge.png
168B
images/polished_andesite.png
224B
images/polished_basalt_side.png
170B
images/polished_basalt_top.png
209B
images/polished_blackstone.png
193B
images/polished_blackstone_bricks.png
197B
images/polished_deepslate.png
207B
images/polished_diorite.png
219B
images/polished_granite.png
219B
images/polished_tuff.png
204B
images/poppy.png
170B
images/potatoes_stage0.png
115B
images/potatoes_stage1.png
137B
images/potatoes_stage2.png
163B
images/potatoes_stage3.png
204B
images/potted_azalea_bush_plant.png
189B
images/potted_azalea_bush_side.png
159B
images/potted_azalea_bush_top.png
150B
images/potted_flowering_azalea_bush_plant.png
205B
images/potted_flowering_azalea_bush_side.png
173B
images/potted_flowering_azalea_bush_top.png
164B
images/powder_snow.png
165B
images/powered_rail.png
259B
images/powered_rail_on.png
259B
images/prismarine.png
615B
images/prismarine_bricks.png
217B
images/pumpkin_side.png
187B
images/pumpkin_stem.png
145B
images/pumpkin_top.png
212B
images/purple_candle.png
128B
images/purple_candle_lit.png
136B
images/purple_concrete.png
185B
images/purple_concrete_powder.png
618B
images/purple_glazed_terracotta.png
237B
images/purple_shulker_box.png
280B
images/purple_stained_glass.png
106B
images/purple_stained_glass_pane_top.png
120B
images/purple_terracotta.png
476B
images/purple_wool.png
400B
images/purpur_block.png
179B
images/purpur_pillar.png
182B
images/purpur_pillar_top.png
198B
images/quartz_block_bottom.png
153B
images/quartz_block_side.png
181B
images/quartz_block_top.png
181B
images/quartz_bricks.png
194B
images/quartz_pillar.png
151B
images/quartz_pillar_top.png
188B
images/rail.png
216B
images/rail_corner.png
232B
images/raw_copper_block.png
273B
images/raw_gold_block.png
205B
images/raw_iron_block.png
212B
images/redstone_block.png
174B
images/redstone_dust_dot.png
126B
images/redstone_dust_line0.png
125B
images/redstone_dust_line1.png
130B
images/redstone_dust_overlay.png
90B
images/redstone_lamp.png
222B
images/redstone_lamp_on.png
196B
images/redstone_ore.png
254B
images/redstone_torch.png
146B
images/redstone_torch_off.png
135B
images/red_candle.png
128B
images/red_candle_lit.png
136B
images/red_concrete.png
195B
images/red_concrete_powder.png
565B
images/red_glazed_terracotta.png
236B
images/red_mushroom.png
148B
images/red_mushroom_block.png
189B
images/red_nether_bricks.png
197B
images/red_sand.png
189B
images/red_sandstone.png
210B
images/red_sandstone_bottom.png
204B
images/red_sandstone_top.png
184B
images/red_shulker_box.png
285B
images/red_stained_glass.png
134B
images/red_stained_glass_pane_top.png
119B
images/red_terracotta.png
464B
images/red_tulip.png
192B
images/red_wool.png
374B
images/reinforced_deepslate_bottom.png
222B
images/reinforced_deepslate_side.png
255B
images/reinforced_deepslate_top.png
235B
images/repeater.png
222B
images/repeater_on.png
222B
images/repeating_command_block_back.png
387B
images/repeating_command_block_conditional.png
350B
images/repeating_command_block_front.png
347B
images/repeating_command_block_side.png
369B
images/respawn_anchor_bottom.png
227B
images/respawn_anchor_side0.png
263B
images/respawn_anchor_side1.png
269B
images/respawn_anchor_side2.png
268B
images/respawn_anchor_side3.png
270B
images/respawn_anchor_side4.png
271B
images/respawn_anchor_top.png
6.01KB
images/respawn_anchor_top_off.png
174B
images/rooted_dirt.png
228B
images/rose_bush_bottom.png
259B
images/rose_bush_top.png
233B
images/sand.png
189B
images/sandstone.png
210B
images/sandstone_bottom.png
204B
images/sandstone_top.png
184B
images/scaffolding_bottom.png
227B
images/scaffolding_side.png
230B
images/scaffolding_top.png
267B
images/sculk.png
266B
images/sculk_catalyst_bottom.png
219B
images/sculk_catalyst_side.png
246B
images/sculk_catalyst_side_bloom.png
339B
images/sculk_catalyst_top.png
182B
images/sculk_catalyst_top_bloom.png
535B
images/sculk_sensor_bottom.png
180B
images/sculk_sensor_side.png
183B
images/sculk_sensor_tendril_active.png
382B
images/sculk_sensor_tendril_inactive.png
323B
images/sculk_sensor_top.png
170B
images/sculk_shrieker_bottom.png
180B
images/sculk_shrieker_can_summon_inner_top.png
463B
images/sculk_shrieker_inner_top.png
473B
images/sculk_shrieker_side.png
250B
images/sculk_shrieker_top.png
125B
images/sculk_vein.png
314B
images/seagrass.png
1.22KB
images/sea_lantern.png
2.58KB
images/sea_pickle.png
263B
images/short_grass.png
213B
images/shroomlight.png
217B
images/shulker_box.png
1008B
images/slime_block.png
195B
images/small_amethyst_bud.png
125B
images/small_dripleaf_side.png
81B
images/small_dripleaf_stem_bottom.png
159B
images/small_dripleaf_stem_top.png
140B
images/small_dripleaf_top.png
146B
images/smithing_table_bottom.png
169B
images/smithing_table_front.png
262B
images/smithing_table_side.png
254B
images/smithing_table_top.png
210B
images/smoker_bottom.png
211B
images/smoker_front.png
258B
images/smoker_front_on.png
383B
images/smoker_side.png
250B
images/smoker_top.png
227B
images/smooth_basalt.png
200B
images/smooth_stone.png
183B
images/smooth_stone_slab_side.png
186B
images/sniffer_egg_not_cracked_bottom.png
194B
images/sniffer_egg_not_cracked_east.png
234B
images/sniffer_egg_not_cracked_north.png
259B
images/sniffer_egg_not_cracked_south.png
257B
images/sniffer_egg_not_cracked_top.png
207B
images/sniffer_egg_not_cracked_west.png
241B
images/sniffer_egg_slightly_cracked_bottom.png
209B
images/sniffer_egg_slightly_cracked_east.png
259B
images/sniffer_egg_slightly_cracked_north.png
285B
images/sniffer_egg_slightly_cracked_south.png
275B
images/sniffer_egg_slightly_cracked_top.png
232B
images/sniffer_egg_slightly_cracked_west.png
266B
images/sniffer_egg_very_cracked_bottom.png
211B
images/sniffer_egg_very_cracked_east.png
277B
images/sniffer_egg_very_cracked_north.png
305B
images/sniffer_egg_very_cracked_south.png
290B
images/sniffer_egg_very_cracked_top.png
237B
images/sniffer_egg_very_cracked_west.png
278B
images/snow.png
166B
images/soul_campfire_fire.png
635B
images/soul_campfire_log_lit.png
519B
images/soul_fire_0.png
7.87KB
images/soul_fire_1.png
7.6KB
images/soul_lantern.png
264B
images/soul_sand.png
206B
images/soul_soil.png
187B
images/soul_torch.png
140B
images/spawner.png
219B
images/sponge.png
187B
images/spore_blossom.png
223B
images/spore_blossom_base.png
200B
images/spruce_door_bottom.png
247B
images/spruce_door_top.png
237B
images/spruce_leaves.png
212B
images/spruce_log.png
193B
images/spruce_log_top.png
219B
images/spruce_planks.png
202B
images/spruce_sapling.png
190B
images/spruce_trapdoor.png
209B
images/stone.png
157B
images/stonecutter_bottom.png
177B
images/stonecutter_saw.png
229B
images/stonecutter_side.png
193B
images/stonecutter_top.png
220B
images/stone_bricks.png
199B
images/stripped_acacia_log.png
423B
images/stripped_acacia_log_top.png
220B
images/stripped_bamboo_block.png
213B
images/stripped_bamboo_block_top.png
177B
images/stripped_birch_log.png
393B
images/stripped_birch_log_top.png
216B
images/stripped_cherry_log.png
206B
images/stripped_cherry_log_top.png
223B
images/stripped_crimson_stem.png
210B
images/stripped_crimson_stem_top.png
201B
images/stripped_dark_oak_log.png
230B
images/stripped_dark_oak_log_top.png
232B
images/stripped_jungle_log.png
209B
images/stripped_jungle_log_top.png
227B
images/stripped_mangrove_log.png
196B
images/stripped_mangrove_log_top.png
224B
images/stripped_oak_log.png
348B
images/stripped_oak_log_top.png
225B
images/stripped_spruce_log.png
234B
images/stripped_spruce_log_top.png
236B
images/stripped_warped_stem.png
210B
images/stripped_warped_stem_top.png
205B
images/structure_block.png
197B
images/structure_block_corner.png
235B
images/structure_block_data.png
194B
images/structure_block_load.png
197B
images/structure_block_save.png
196B
images/sugar_cane.png
186B
images/sunflower_back.png
139B
images/sunflower_bottom.png
171B
images/sunflower_front.png
151B
images/sunflower_top.png
140B
images/suspicious_gravel_0.png
222B
images/suspicious_gravel_1.png
236B
images/suspicious_gravel_2.png
233B
images/suspicious_gravel_3.png
234B
images/suspicious_sand_0.png
213B
images/suspicious_sand_1.png
215B
images/suspicious_sand_2.png
218B
images/suspicious_sand_3.png
221B
images/sweet_berry_bush_stage0.png
155B
images/sweet_berry_bush_stage1.png
221B
images/sweet_berry_bush_stage2.png
242B
images/sweet_berry_bush_stage3.png
251B
images/tall_grass_bottom.png
204B
images/tall_grass_top.png
185B
images/tall_seagrass_bottom.png
989B
images/tall_seagrass_top.png
635B
images/target_side.png
227B
images/target_top.png
239B
images/terracotta.png
188B
images/tinted_glass.png
181B
images/tnt_bottom.png
105B
images/tnt_side.png
176B
images/tnt_top.png
200B
images/torch.png
138B
images/torchflower.png
233B
images/torchflower_crop_stage0.png
132B
images/torchflower_crop_stage1.png
185B
images/trial_spawner_bottom.png
201B
images/trial_spawner_side_active.png
221B
images/trial_spawner_side_inactive.png
221B
images/trial_spawner_top_active.png
211B
images/trial_spawner_top_ejecting_reward.png
218B
images/trial_spawner_top_inactive.png
209B
images/tripwire.png
214B
images/tripwire_hook.png
176B
images/tube_coral.png
216B
images/tube_coral_block.png
199B
images/tube_coral_fan.png
178B
images/tuff.png
189B
images/tuff_bricks.png
213B
images/turtle_egg.png
306B
images/turtle_egg_slightly_cracked.png
314B
images/turtle_egg_very_cracked.png
305B
images/twisting_vines.png
161B
images/twisting_vines_plant.png
176B
images/verdant_froglight_side.png
196B
images/verdant_froglight_top.png
175B
images/vine.png
198B
images/warped_door_bottom.png
245B
images/warped_door_top.png
247B
images/warped_fungus.png
171B
images/warped_nylium.png
212B
images/warped_nylium_side.png
260B
images/warped_planks.png
202B
images/warped_roots.png
183B
images/warped_roots_pot.png
177B
images/warped_stem.png
471B
images/warped_stem_top.png
245B
images/warped_trapdoor.png
231B
images/warped_wart_block.png
181B
images/water_flow.png
3.17KB
images/water_overlay.png
76B
images/water_still.png
1.48KB
images/weathered_chiseled_copper.png
216B
images/weathered_copper.png
220B
images/weathered_copper_bulb.png
243B
images/weathered_copper_bulb_lit.png
280B
images/weathered_copper_bulb_lit_powered.png
288B
images/weathered_copper_bulb_powered.png
256B
images/weathered_copper_door_bottom.png
231B
images/weathered_copper_door_top.png
255B
images/weathered_copper_grate.png
241B
images/weathered_copper_trapdoor.png
244B
images/weathered_cut_copper.png
223B
images/weeping_vines.png
122B
images/weeping_vines_plant.png
210B
images/wet_sponge.png
172B
images/wheat_stage0.png
150B
images/wheat_stage1.png
125B
images/wheat_stage2.png
147B
images/wheat_stage3.png
170B
images/wheat_stage4.png
197B
images/wheat_stage5.png
221B
images/wheat_stage6.png
219B
images/wheat_stage7.png
219B
images/white_candle.png
126B
images/white_candle_lit.png
139B
images/white_concrete.png
182B
images/white_concrete_powder.png
555B
images/white_glazed_terracotta.png
243B
images/white_shulker_box.png
277B
images/white_stained_glass.png
106B
images/white_stained_glass_pane_top.png
121B
images/white_terracotta.png
431B
images/white_tulip.png
188B
images/white_wool.png
392B
images/wither_rose.png
182B
images/yellow_candle.png
127B
images/yellow_candle_lit.png
138B
images/yellow_concrete.png
245B
images/yellow_concrete_powder.png
657B
images/yellow_glazed_terracotta.png
262B
images/yellow_shulker_box.png
285B
images/yellow_stained_glass.png
106B
images/yellow_stained_glass_pane_top.png
120B
images/yellow_terracotta.png
469B
images/yellow_wool.png
400B
main.py
1.69KB
mod.py
1.57KB
modloader.py
2.27KB

资源内容介绍

基于pygame的简易游戏框架.zip
import pygamepygame.init()blocklong = 16w, h = screen_size = (30 * blocklong, 20 * blocklong)# 1个方块需要 <坐标> <材质> <形态(固\液\气\虚无态)> <碰撞箱坐标角1> <碰撞箱坐标角2> [可否被覆盖] [可否发光] [阻力]class Block: def __init__(self, pos: tuple[int, int], texture: str, morphology: int, hitbox_pos1: tuple[int, int], hitbox_pos2: tuple[int, int], can_overwrite: bool = False, can_luminous: bool = False, resistance: int = 1): # 这里的参数与上文一一对应, 其中 morphology 表示的是形态, 我们规定1为固态, 2为液态, 3为气态 self.x, self.y = self.pos = pos self.texture = pygame.image.load(texture) self.morphology = morphology self.hitbox = pygame.Rect(hitbox_pos1[0], hitbox_pos1[1], hitbox_pos2[0], hitbox_pos2[1]) self.can_overwrite = can_overwrite self.can_luminous = can_luminous self.resistance = resistance# 这是实体的相关代码class Entity: def __init__(self, pos: tuple[int, int], texture: str, type: int, go: tuple[tuple, tuple, tuple, tuple] = ( (pygame.K_LEFT,), (pygame.K_RIGHT,), (pygame.K_UP,), (pygame.K_DOWN,))): # 目前我还没想好具体的变量, 就写了点基础的(不可或缺的)变量awa # type 表示类型, 1为玩家, 2为其他实体 self.x, self.y = self.pos = pos self.texture = pygame.image.load(texture) self.hitbox = pygame.Rect(pos[0], pos[1], pos[0] + blocklong, pos[1] + blocklong) self.type = type self.go = go def move(self, x, y): # 这是实体移动的代码, x和y是相对于实体的坐标 if w - 16 >= self.x + x >= 0: self.x += x if h - 16 >= self.y + y >= 0: self.y += y self.pos = self.x, self.y can = True for block in blocklist: block: Block if self.pos == block.pos and block.morphology == 1: can = False break if not can: self.x -= x self.y -= y self.pos = self.x, self.y self.hitbox.move_ip(x, y)entitylist = []blocklist = []

用户评论 (0)

发表评论

captcha