# Spiel mit Canvas

**URL:** <https://community.thunkable.com/t/spiel-mit-canvas/2412272>\
**Category:** Questions about Thunkable X\
**Created:** [May 10, 2023, 3:40pm UTC](https://community.thunkable.com/t/spiel-mit-canvas/2412272 "2023-05-10T15:40:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhg](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@hhg](https://community.thunkable.com/u/hhg)\
**Post date:** [May 10, 2023, 3:40pm UTC](https://community.thunkable.com/t/spiel-mit-canvas/2412272/1 "2023-05-10T15:40:38Z")

</div>

Hallo!  
Ich habe ein Spiel fangen mit einem Canvas programmiert.  
Es soll mit einem Korb (Sprite) ein Ei (weiteres Sprite) entweder mit dem Gyrosensor oder Finger gefangen werden.  
Der Gyrosensor funktioniert sehr schlecht und mit dem Finger funktioniert es einigermaßen.  
Das Ei verschwindet beim Berühren und nach ein paar Sekunden. Es kommt aber vor, dass das Ein überhaupt nicht im Display angezeigt wird.

Hier das Projekt: [Thunkable](https://x.thunkable.com/copy/17cde0566564b7a674f5ee1a13b406f9)

Hoffe es kann mir hier jemand weiterhelfen was ich da falsch gemacht habe.  
Danke

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [May 10, 2023, 8:20pm UTC](https://community.thunkable.com/t/spiel-mit-canvas/2412272/2 "2023-05-10T20:20:25Z")

</div>

Hello @hhg Welcome to the community!!!  
I checked your project but I couldn’t see any blocks inside the block when Gyroscope changes.  
Could you please share how you are thinking to implement it?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/8/88f0a9cc916826789082257fb8598ff087d4c157.png)

---

<div class="post-metadata">

**Author:** ![hhg](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@hhg](https://community.thunkable.com/u/hhg)\
**Post date:** [May 10, 2023, 8:24pm UTC](https://community.thunkable.com/t/spiel-mit-canvas/2412272/3 "2023-05-10T20:24:18Z")

</div>

Thanks for your answer.

I have tried the following block for gyroscope:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/0/208e8c1e7177b97ad9e31f36a111c5c53442bd96.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [May 11, 2023, 7:52pm UTC](https://community.thunkable.com/t/spiel-mit-canvas/2412272/4 "2023-05-11T19:52:31Z")

</div>

Hello @hhg  
Thank you for sharing your blocks.  
I would suggest you set y speed to Alpha instead of Gamma.  
You can find more info about these options in our docs [Gyroscope - Thunkable Docs](https://docs.thunkable.com/gyroscope#functions)

---

<div class="post-metadata">

**Author:** ![hhg](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@hhg](https://community.thunkable.com/u/hhg)\
**Post date:** [May 11, 2023, 9:25pm UTC](https://community.thunkable.com/t/spiel-mit-canvas/2412272/5 "2023-05-11T21:25:00Z")

</div>

Danke für die Antwort.  
Ich habe bei y in alpha geändert aber es hat sich nichts geändert.  
Ich habe auch alpha, beta und gamma in einem text label ausgegeben und habe bemerkt dass die Werte auch negativ werden je nachdem wie ich das Handy bewege.  
Ich denke dass dies aber nicht gut ist wenn ich diese im Block … speed to … einsetze.

Auch habe ich geschrieben, dass es vorkommt das das Ei nicht am Display angezeigt wird. Leider weiß ich nicht was der Fehler sein kann.

Danke nochmals

---

<div class="post-metadata">

**Author:** ![hhg](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@hhg](https://community.thunkable.com/u/hhg)\
**Post date:** [May 15, 2023, 6:11pm UTC](https://community.thunkable.com/t/spiel-mit-canvas/2412272/6 "2023-05-15T18:11:57Z")

</div>

Hallo!  
Ich wollte nochmals nachfragen, ob es noch eine Lösung zu meiner Frage gibt oder ob dies nicht möglich ist umzusetzen.  
Vielen Dank

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [August 13, 2023, 6:12pm UTC](https://community.thunkable.com/t/spiel-mit-canvas/2412272/7 "2023-08-13T18:12:58Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
