Gemini की मदद से, एक से ज़्यादा खिलाड़ियों के लिए ऑनलाइन गेम बनाना
यह क्या करता है
मैंने Unreal Engine के लिए एक रनटाइम Python API बनाया है. इसकी मदद से, आकार, स्पॉन पॉइंट, वाहन, लाइटें बनाई जा सकती हैं. साथ ही, इनमें बदलाव भी किया जा सकता है. खिलाड़ी, ऑनलाइन मल्टीप्लेयर सैंडबॉक्स एनवायरमेंट में शामिल हो सकते हैं और निर्देशों के हिसाब से गेम बना सकते हैं. हर प्रॉम्प्ट में Unreal Engine Python API और खिलाड़ी का अनुरोध शामिल होता है, जैसे कि "वाहन बनाएं". Gemini से मिले जवाब में Python कोड होता है. खिलाड़ी के अनुरोध को पूरा करने के लिए, इस कोड को गेम में चलाया जाता है. "पिरामिड बनाएं" जैसे प्रॉम्प्ट की मदद से, एक साथ कई आकार बनाए जा सकते हैं. आम तौर पर, Gemini कई स्टैक किए गए बॉक्स से पिरामिड बनाता है. पिरामिड को देखकर और "स्तंभों के साथ एंट्रीवे जोड़ें" जैसे कुछ बदलावों के बारे में बताकर, मौजूदा आकार के ग्रुप में बदलाव किया जा सकता है. सर्वर होस्ट, सैंडबॉक्स मोड (जहां खिलाड़ी गेम बनाते हैं) और गेम मोड (जहां गेम खेला जाता है और प्रॉम्प्ट करने और फ़्लाइंग जैसी बिल्डिंग की सुविधाएं बंद होती हैं) के बीच स्विच कर सकता है. गेम मोड में, यह मैप के दोनों ओर स्पॉन पॉइंट खोजता है और दोनों स्पॉन पॉइंट पर दो टीमों को स्पॉन करता है. ध्यान दें कि सर्वर बनाने पर मौजूद डिफ़ॉल्ट स्पॉन पॉइंट को मिटा दिया जाना चाहिए. साथ ही, गेम मोड पर स्विच करने से पहले, कम से कम दो अन्य स्पॉन (दो टीमों के स्पॉन) बनाने चाहिए. आने वाले समय में, मैं गेम में जीतने की शर्त को प्रॉम्प्ट की मदद से कॉन्फ़िगर करने की सुविधा जोड़ना चाहता/चाहती हूं. साथ ही, Unreal Engine की और सुविधाएं जोड़ना चाहता/चाहती हूं. इसके अलावा, गेम मोड के दौरान खिलाड़ियों को प्रॉम्प्ट का इस्तेमाल करने की अनुमति देने जैसी और सेटिंग जोड़ना चाहता/चाहती हूं.
इनकी मदद से बनाया गया
Gemini API
टीम
इन्होंने बदलाव किया है
Zephyr
इन्होंने भेजा
अमेरिका
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],[],[],[],null,["# Zephyr\n\n[More Apps](/competition/vote) \n\nZephyr\n======\n\nBuild online multiplayer games with Gemini \nVote \nVoted!\nWhat it does\n\nI created a runtime python API for Unreal Engine which allows for the creation of shapes, spawn points, vehicles, lights, and modification of environment lights. Players can join online multiplayer sandbox environments and build games through prompting. Each prompt includes the Unreal Engine python API and the player's request, such as \"create a vehicle\". The response from Gemini contains python code which is executed within the game to achieve the player's request. Multiple shapes can be created at once with a prompt like \"Create a pyramid\" (which Gemini usually builds with multiple stacked boxes). Existing shape groups can be modified by looking at the pyramid and describing some modification, like \"Add an entryway with pillars\". The server host can swap between Sandbox mode (where players build the game) and Game mode (where the game is played and the building abilities like prompting and flying are disabled). In Game mode, it looks for spawn points at opposing ends of the map and spawns 2 teams at the opposing spawn points. Note that the default spawn point which exists when the server is first created should be deleted, and at least 2 other spawns (representing the 2 team spawns) should be created before switching to Game mode. In the future, I'd like to add a feature to configure the game win condition with prompts, add more Unreal Engine capabilities, and add more settings like allowing players to use prompting during the Game mode. \nBuilt with\n\n- Gemini API \nTeam \nBy\n\nZephyr \nFrom\n\nUnited States \n[](/competition/vote)"]]