Skip to content

SpritePro - a powerful and flexible game development library built on top of Pygame. Provides a comprehensive set of tools for creating 2D games with advanced capabilities.

Notifications You must be signed in to change notification settings

NeoXider/SpritePro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpritePro

SpritePro - a powerful and flexible game development library built on top of Pygame. Provides a comprehensive set of tools for creating 2D games with advanced capabilities. gg0c31829550

🎮 Key Features

  • Sprite System: Flexible sprite management with built-in physics and game logic
  • Physics Engine: Realistic physics simulation with collision detection and handling
  • Animation System: Smooth animations with tweening and state management
  • UI Components: Ready-to-use buttons, text elements, and interactive components
  • Timer System: Precise time management for game events and animations
  • Health System: Complete health management with damage, healing, and callbacks
  • Mouse Interaction: Simple mouse handling with hover and click detection
  • Surface Utilities: Advanced tools for working with surfaces
  • Color Effects: Dynamic color effects and animations for visual appeal

🚀 Quick Start

Installation

pip install pygame
git clone https://github.com/NeoXider/SpritePro.git
cd SpritePro

Basic Usage

import spritePro as s
import pygame

# Initialize the library
s.init()

# Create a window
s.get_screen((800, 600), "My Game")

# Create a basic sprite
player = s.Sprite(
    "",
    size=(100, 100),
    pos=s.WH_C,
    speed=3,
)

# Main game loop
while True:
    s.update(fill_color=(0, 0, 100))
    player.handle_keyboard_input()
    player.update()

📚 Documentation

Core Components

UI Components

Game Systems

  • Animation - Animation and state management
  • Tweening - Smooth transitions and easing
  • Timer - Time system and scheduling
  • Health - Health and damage management

Utilities

Ready Sprites

🎯 Demo Games

Explore our demo games to see SpritePro in action:

🛠️ Requirements

  • Python 3.7+
  • Pygame 2.0+
  • Optional: Pymunk (for advanced physics)

📖 API Reference

For detailed API documentation, visit our documentation folder.

🤝 Contributing

We welcome contributions! Please feel free to submit issues, feature requests, or pull requests.

📄 License

This project is open source. Please check the license file for more information.

Start working with SpritePro today and bring your game ideas to life! 🚀

About

SpritePro - a powerful and flexible game development library built on top of Pygame. Provides a comprehensive set of tools for creating 2D games with advanced capabilities.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages