सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
flame_test एक Flutter/Dart पैकेज है जिसका उद्देश्य Flame गेम इंजन के साथ बनाई गई एप्लिकेशन के टेस्टिंग को सरल बनाना है। यह विकासकर्ताओं को गेम लॉजिक, कंपोनेंट्स और सिस्टम के लिए यूनिट और इंटीग्रेशन टेस्ट लिखने में सहायता करने वाले उपयोगी क्लासेज और हेल्पर्स प्रदान करता है। यह पैकेज Android, iOS, macOS, Windows और Linux जैसे कई प्लेटफॉर्म पर टेस्टिंग का समर्थन करता है, जिससे टेस्ट वातावरण में सुसंगत व्यवहार सुनिश्चित होता है। flame_test के साथ, विकासकर्ता गेम लूप का सिमुलेशन कर सकते हैं, असिंक्रोनस ऑपरेशन का प्रबंधन कर सकते हैं, और अपने गेम में इंटरैक्शन की जांच कर सकते हैं बिना पूर्ण रनटाइम वातावरण के आवश्यकता के।
उपयोग
गेम लॉजिक और स्थिति संक्रमण का परीक्षण
अलगाव में घटक के व्यवहार की जाँच करना
गेम लूप एक्जीक्यूशन का सिमुलेशन
भौतिकी और टक्कर डिटेक्शन की पुष्टि करना
परीक्षण इनपुट संभाल और इवेंट प्रतिक्रियाएँ
मुख्य विशेषताएँ
Flame घटकों के लिए निर्मित परीक्षण सहायता
गेम लूप सिमुलेशन के साथ एसिंक परीक्षण का समर्थन
क्रॉस-प्लेटफॉर्म परीक्षण सुसंगतता
Dart के test फ्रेमवर्क के साथ एकीकरण
खेल के संदर्भ और सेवाओं का मॉकिंग
इनके लिए उपयुक्त
Flame गेम डेवलपर्स
टीम टेस्ट-ड्रिवन डेवलपमेंट का अभ्यास कर रही है
विश्वसनीय रिग्रेशन टेस्टिंग की आवश्यकता वाले प्रोजेक्ट
खेल तंत्र के लिए यूनिट परीक्षण लिखने वाले विकासकर्ता
ऑटोमेटेड टेस्टिंग के माध्यम से कोड गुणवत्ता में सुधार करने की कोशिश कर रहे लोग
विचार योग्य बातें
Flame इंजन के अवधारणाओं के साथ परिचित होना आवश्यक है
जटिल खेल परिदृश्य के लिए अतिरिक्त सेटअप की आवश्यकता हो सकती है
लाइट आधारित एप्लिकेशन तक सीमित
परीक्षण कवरेज व्यापक परीक्षण डिज़ाइन पर निर्भर करता है
यूआई या दृश्य रेंडरिंग परीक्षण के लिए उपयुक्त नहीं
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
API Reference - The generated dartdoc API
reference.
awesome-flame - A curated list of Tutorials,
Games, Libraries and Articles.
Help
There is a Flame community on Blue Fire's Discord server where you
can ask any of your Flame related questions.
If you are more comfortable with StackOverflow, you can also create a question there. Add the
Flame tag, to make sure that anyone following
the tag can help out.
Features
The goal of the Flame Engine is to provide a complete set of out-of-the-way solutions for common
problems that games developed with Flutter might share.
Some of the key features provided are:
A game loop.
A component/object system (FCS).
Effects and particles.
Collision detection.
Gesture and input handling.
Images, animations, sprites, and sprite sheets.
General utilities to make development easier.
On top of those features, you can augment Flame with bridge packages. Through these libraries,
you will be able to access bindings to other packages, including custom Flame components and
helpers, in order to make integrations seamless.
Flame officially provides bridge libraries to the following packages:
Do you or your company want to sponsor Flame?
Check out our OpenCollective page, which is also mentioned
in the section below, or contact us on Discord.
Support
The simplest way to show us your support is by giving the project a star! :star:
You can also support us monetarily by donating through OpenCollective:
Through GitHub Sponsors:
Or by becoming a patron on Patreon:
You can also show on your repository that your game is made with Flame by using one of the following
badges:
[](https://flame-engine.org)
[](https://flame-engine.org)
[](https://flame-engine.org)
Contributing
Have you found a bug or have a suggestion of how to enhance Flame? Open an issue and we will take a
look at it as soon as possible.
Do you want to contribute with a PR? PRs are always welcome, just make sure to create it from the
correct branch (main) and follow the checklist which will
appear when you open the PR.
For bigger changes, or if in doubt, make sure to talk about your contribution to the team. Either
via an issue, GitHub discussion, or reach out to the team either using the
Discord server.
Credits
The Blue Fire team, who are continuously
working on maintaining and improving Flame and its ecosystem.
All the friendly contributors and people who are helping out in the community.