You are viewing a single comment's thread from:

RE: [Tutorial] Kivy App Development(Animating the first block)Part 2

in #utopian-io6 years ago

Thanks for your contribution.
We've been reviewing your contribution and suggest the following to improve on upcoming tutorials.

  • You use many blocks of code repeated, we suggest you put a function that will always use the same code is called.
    The code repeated is this:
if blockchoice == 1:
    game.add_widget(block1)
    Clock.schedule_interval(block1.fall,1/60)
        for i in allblocks:
           if block1.collide_widget(i):
               block1.position[1] = 0


  • Your tutorial is quite short for a good tutorial.If your code didn't have code repetition the tutorial was very short. We recommend you aim for capturing at least 2-3 concepts in single tutorial.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Sort:  

Thank you for your review, @portugalcoin!

So far this week you've reviewed 16 contributions. Keep up the good work!

Thanks for the tip
Prior to this i thought my code was rather quite lenghty, but in the next of my tutorial series i would try to encapsulate more

Coin Marketplace

STEEM 0.15
TRX 0.17
JST 0.028
BTC 68552.89
ETH 2454.37
USDT 1.00
SBD 2.36