Version 1.3


This update has major changes.  Please read carefully.

The AppGameKit code base has been updated to 2019.02.18.  The internal Python code was updated to 3.7.3.

Some method parameter names have changed in this release.  There are no more generic 'id' parameters.  They are now 'sprite_id', 'image_id', etc.  Also: choose_raw_file(ext, full_path) -> choose_raw_file(extension, return_full_path)

Previous versions combined overloaded methods into a single method. Usually this also changed the parameter order from the original AppGameKit methods.  This release backtracks on that decision and instead changes the method name of the overloads slightly in order to maintain the parameter order from AppGameKit.

The code that will mainly be affected by this change is that where the ID is passed into the Create/Load methods.

Rules for the overload names:

  • Create/Load methods where the ID is passed in have a '_id' suffix.
  • When it makes more sense to have '_id_' in the middle of the method name, do so.  ie: create_object_id_from_height_map
  • Clone overload methods where the ID is passed in have a '_to' suffix.
  • For methods that have vector- and x,y,z-based overloads, the x,y,z overload has a '_xyz' suffix.
  • The DrawLine method with RGB values has a '_rgb' suffix.
  • IP overloads have an '_ip' suffix.

Parameter order for these methods has been changed back to AppGameKit's original order:

  • set_object_3d_physics_angular_velocity, set_object_3d_physics_angular_velocity_xyz
  • set_object_3d_physics_linear_velocity, set_object_3d_physics_linear_velocity_xyz
  • create_broadcast_listener, create_broadcast_listener_ipv6
  • host_network
  • join_network, join_network_ip

Create/Load overloads:

  • create_distance_joint -> create_distance_joint, create_distance_joint_id
  • create_gear_joint -> create_gear_joint, create_gear_joint_id
  • create_line_joint -> create_line_joint, create_line_joint_id
  • create_mouse_joint -> create_mouse_joint, create_mouse_joint_id
  • create_prismatic_joint -> create_prismatic_joint, create_prismatic_joint_id
  • create_revolute_joint -> create_revolute_joint, create_revolute_joint_id
  • create_rope_joint -> create_rope_joint, create_rope_joint_id
  • create_weld_joint -> create_weld_joint, create_weld_joint_id
  • create_object_box -> create_object_box, create_object_box_id
  • create_object_capsule -> create_object_capsule, create_object_capsule_id
  • create_object_cone -> create_object_cone, create_object_cone_id
  • create_object_cylinder -> create_object_cylinder, create_object_cylinder_id
  • create_object_from_height_map -> create_object_from_height_map, create_object_id_from_height_map
  • create_object_from_object_mesh -> create_object_from_object_mesh, create_object_id_from_object_mesh
  • create_object_plane -> create_object_plane, create_object_plane_id
  • create_object_quad -> create_object_quad, create_object_quad_id
  • create_object_sphere -> create_object_sphere, create_object_sphere_id
  • instance_object -> instance_object, instance_object_id
  • load_full_screen_shader -> load_full_screen_shader, load_full_screen_shader_id
  • load_object -> load_object, load_object_id
  • load_object_with_children -> load_object_with_children, load_object_id_with_children
  • load_shader -> load_shader, load_shader_id
  • load_shader_from_string -> load_shader_from_string, load_shader_id_from_string
  • load_sprite_shader -> load_sprite_shader, load_sprite_shader_id
  • create_3d_particles -> create_3d_particles, create_3d_particles_id
  • create_zip -> create_zip, create_zip_id
  • open_to_read -> open_to_read, open_to_read_id
  • open_to_write -> open_to_write, open_to_write_id
  • load_font -> load_font, load_font_id
  • create_image_color -> create_image_color, create_image_color_id
  • create_render_image -> create_render_image, create_render_image_id
  • get_image -> get_image, get_image_id
  • load_image -> load_image, load_image_id
  • load_image_resized -> load_image_resized, load_image_id_resized
  • load_subimage -> load_subimage, load_subimage_id
  • create_edit_box -> create_edit_box, create_edit_box_id
  • create_image_from_memblock -> create_image_from_memblock, create_image_id_from_memblock
  • create_memblock -> create_memblock, create_memblock_id
  • create_memblock_from_file -> create_memblock_from_file, create_memblock_id_from_file
  • create_memblock_from_image -> create_memblock_from_image, create_memblock_id_from_image
  • create_memblock_from_object_mesh -> create_memblock_from_object_mesh, create_memblock_id_from_object_mesh
  • create_memblock_from_sound -> create_memblock_from_sound, create_memblock_id_from_sound
  • create_object_from_mesh_memblock -> create_object_from_mesh_memblock, create_object_id_from_mesh_memblock
  • create_sound_from_memblock -> create_sound_from_memblock, create_sound_id_from_memblock
  • connect_socket -> connect_socket, connect_socket_id
  • load_music -> load_music, load_music_id
  • load_music_ogg -> load_music_ogg, load_music_ogg_id
  • create_particles -> create_particles, create_particles_id
  • create_skeleton_2d -> create_skeleton_2d, create_skeleton_2d_id
  • load_skeleton_2d_from_spine_file -> load_skeleton_2d_from_spine_file, load_skeleton_2d_id_from_spine_file
  • load_skeleton_2d_from_spriter_file -> load_skeleton_2d_from_spriter_file, load_skeleton_2d_id_from_spriter_file
  • load_sound -> load_sound, load_sound_id
  • load_sound_ogg -> load_sound_ogg, load_sound_ogg_id
  • create_dummy_sprite -> create_dummy_sprite, create_dummy_sprite_id
  • create_sprite -> create_sprite, create_sprite_id
  • load_sprite -> load_sprite, load_sprite_id
  • create_text -> create_text, create_text_id
  • create_tween_camera -> create_tween_camera, create_tween_camera_id
  • create_tween_chain -> create_tween_chain, create_tween_chain_id
  • create_tween_char -> create_tween_char, create_tween_char_id
  • create_tween_custom -> create_tween_custom, create_tween_custom_id
  • create_tween_object -> create_tween_object, create_tween_object_id
  • create_tween_sprite -> create_tween_sprite, create_tween_sprite_id
  • create_tween_text -> create_tween_text, create_tween_text_id
  • create_object_from_raw_height_map -> create_object_from_raw_height_map, create_object_id_from_raw_height_map
  • create_socket_listener -> create_socket_listener, create_socket_listener_id
  • create_udp_listener -> create_udp_listener_id, create_udp_listener

Clone overloads:

  • clone_object -> clone_object, clone_object_to
  • copy_image -> copy_image, copy_image_to
  • clone_sprite -> clone_sprite, clone_sprite_to

Vector vs XYZ overloads

  • set_3d_physics_gravity -> set_3d_physics_gravity, set_3d_physics_gravity_xyz
  • set_object_3d_physics_angular_velocity -> set_object_3d_physics_angular_velocity, set_object_3d_physics_angular_velocity_xyz
  • set_object_3d_physics_linear_velocity -> set_object_3d_physics_linear_velocity, set_object_3d_physics_linear_velocity_xyz
  • set_object_shape_box -> set_object_shape_box, set_object_shape_box_xyz
  • set_object_shape_capsule -> set_object_shape_capsule, set_object_shape_capsule_xyz

DrawLine overloads

  • draw_line -> draw_line, draw_line_rgb

IP overloads:

  • create_broadcast_listener -> create_broadcast_listener, create_broadcast_listener_ipv6
  • join_network -> join_network, join_network_ip

Files

appgamekit.pyd v1.3 6 MB
94 days ago
examples.zip v1.3 24 MB
94 days ago
appgamekit.pyi v1.3 1 MB
94 days ago
appgamekit.html (pydoc) v1.3 2 MB
94 days ago

Get AppGameKit for Python

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.