Bird game bug

50 views
Skip to first unread message

Rwizzz .

unread,
Sep 24, 2022, 7:57:43 PM9/24/22
to Blockly Games
When I type this code (see screenshot), as the bird reaches y=90 it starts heading up and down indefinitely.
I don't know if this behavior is expected but seems strange...
birdBug.png

Neil Fraser

unread,
Sep 26, 2022, 5:46:09 PM9/26/22
to blockl...@googlegroups.com
Makes sense.  If low, go up; if high, go down.  That will lead to bouncing back and forth at the X=90 line.

Am So., 25. Sept. 2022 um 01:57 Uhr schrieb Rwizzz . <rwiz...@gmail.com>:
When I type this code (see screenshot), as the bird reaches y=90 it starts heading up and down indefinitely.
I don't know if this behavior is expected but seems strange...

--
You received this message because you are subscribed to the Google Groups "Blockly Games" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly-game...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly-games/610f8ba3-9ce1-40ec-8136-7814cb629c4an%40googlegroups.com.


--
Reply all
Reply to author
Forward
Message has been deleted
0 new messages