User prompt
Davul yazilarını kaldır.
User prompt
Please fix the bug: 'Cannot read properties of undefined (reading 'slice')' in or related to this line: 'drumJump._actionSequence = shuffleArray(puppetActions.slice());' Line Number: 407
User prompt
Hangi davulun hangi işlevi çalıştıracak ve hangi basışta çalıştıracak tum bunlar rastgele olsun. Üzerine yazma işlevleri
Code edit (1 edits merged)
Please save this source code
User prompt
BeatPuppet
Initial prompt
BeatPuppet adında bir oyun yapmak istiyorum. Zeminde bir platform. Sağ alt köşede bir bitiş tabelası. Ekranın ortasında büyük bir davul ve büyuk davulun sol alt sol úst sağ alt ve sağ üstünde orta büyüklükte davullar ekle. Bu davullara basılinca ses cıksın. Zeminde sol altta orta büyüklükte bir kukla olacak bu kuklanın baş, boyun, omuz,kol,dirsek, el bilegi, el, vücut, kalça, bacak, diz, ayak bilegi, ayak gibi detayları olacak. Davullara atanacak 5 işlev olacak. Bu 5 işlevi davullarin herbiri her basışta farkĺı bir işlevi çalıstiracaklar. 1. İşlev kuklayı sola doğru başından çeker. 2. İslev yine başından sağa dogrü çeker. 3. İslev kuklayı dizlerinden yukarı zıplatir. 4. İşlev kuklayı yere oturtur. 5. İslev kuklayı ayağa kaldirir. Tüm kukla uzuvları birbirine ik kinematik veya fizik motor veya bone sistemi olarak bağli olacak ve ona gore her biri birbiriyle bağlantılı olarak hareket edeckler. Kukla sağdaki bitiş tabelasına varırsa oyun kazanılir. Oyunda toplam 60 sn sürer ve 1 dakikadan dan geriye saniyel olarak azalır. 01:00, fornatında büyuk fontta süre saniye saniye azalır. Òrnek 1 sn geçince 00:59 şeklinde devam eder.. sure bitince yani 00:00 olunca oyun kaybedilir. Game over olur. Arkaplana asset ekle siyah renkte sonra bir resim ekleriz. Bu yazdıkarimi upit.com icin ava icin prompt yap ChatGPT: İşte yazdıklarını Upit.com gibi AI video veya görsel üretim araçlarında kullanabileceğin şekilde düzenlenmiş, açık ve detaylı bir AI Prompt: Prompt (BeatPuppet oyunu için): Create a 2.5D game scene called "BeatPuppet". The background is plain black (temporary placeholder, to be replaced with an image later). • The ground is a flat platform stretching horizontally. • In the bottom-right corner, place a "Finish" sign. • In the center of the screen, add one large drum. • Around the large drum, place four medium drums at these positions: bottom-left, top-left, bottom-right, and top-right of the main drum. Each medium drum plays a sound when clicked or tapped. Each drum also triggers one of five random puppet actions (rotating through them on each press): • Pull the puppet’s head left. • Pull the puppet’s head right. • Jump the puppet up from its knees. • Make the puppet sit down. • Make the puppet stand up. In the bottom-left corner of the platform, place a medium-sized puppet. This puppet has a full-body structure with detailed parts: head, neck, shoulders, arms, elbows, wrists, hands, torso, hips, legs, knees, ankles, and feet — all physically connected using inverse kinematics or a physics-based bone system. The puppet should move naturally based on which part is pulled. The goal is to guide the puppet to the Finish sign. If the puppet touches the sign, the player wins. There is a large countdown timer at the top of the screen in the format MM:SS. It starts at 01:00 and counts down every second (00:59, 00:58, ...). If it reaches 00:00, the player loses and a "Game Over" message appears.
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});