Skip to content

manas-py/px1.rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Px1.rt - Pixel Art Editor

A windows-xp themes pixel art game. Create beautiful pixel art by swapping and cycling colors. Create your pictures into pixel art to play around with.

🎨 Features

  • Intuitive Interface: Easy-to-use controls for all skill levels
  • Multiple Grid Sizes: Choose from various grid sizes for your artwork
  • Game Modes:
    • 🎮 Creative Mode: Unlimited moves and color changes
    • ⏳ Survival Mode: Limited moves to complete the puzzle
  • Mobile-Friendly: Fully responsive design that works on all devices
  • Export & Share: Save your creations as PNG images
  • Retro Music: Toggleable background music for the full experience

🚀 Quick Start

Local Development

python app.py

Then open http://localhost:5000 in your browser.

Alternative Methods

# Using Python's built-in server
cd public && python -m http.server 8000

# Using Node.js serve
cd public && npx serve -p 3000

Prerequisites

  • Python 3.6 or higher (uses only standard library)
  • No additional dependencies required!

🎮 How to Play

  1. Swap Pixels: Click two pixels to swap their colors
  2. Cycle Colors: Double-click a pixel to cycle through available colors
  3. Upload Images: Create art from your own images (supports JPG/PNG)
  4. Export: Save your masterpiece as a PNG file

📱 Mobile Controls

  • Tap to select a pixel
  • Double-tap to cycle colors
  • Pinch to zoom in/out
  • Pan to navigate the canvas

🚀 Deployment

Vercel (Recommended)

  1. Push your code to a GitHub repository
  2. Go to Vercel and import your repository
  3. Vercel will automatically detect the configuration and deploy your application

Custom Domain Setup

  1. In Vercel dashboard, go to your project settings
  2. Navigate to "Domains" and add your custom domain
  3. Follow the instructions to verify ownership and update DNS settings

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👨‍💻 Author

Manas Bhandari for Kritim Labs

  • Website: manasbhandari.com.np
  • Share your creations with me on my IG: @manas.png

Created with ❤️ for pixel art enthusiasts

About

A pixel art game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published