Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Screech

  • 3 years ago

Tetris Final Project: I'm at Step 6, Part 3. I got the shape to drop to the bottom when I hit 'space'. Was hoping it could gradually sink, but it just vanishes and reappears at the bottom. Maybe it will make more sense when I get to the 'animate' part of the project. The write-up doesn't say what should be happening. Has anyone else implemented this differently?

  • This Question is Open
  1. andrew.m.higgs
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Not quite there yet. Will be looking at that tomorrow night.

  2. Fertig
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Since you seem already to have finished this: In project 2 (The one just before the Tetris, where you make the board) I don't get what they want you to do at the first #YOUR CODE HERE Some small explanation would be appreciated

  3. andrew.m.higgs
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @Screech : I managed to get this right using a while loop, win.after and win.update in the key_pressed section for spacebar. HTH @Fertig : Think of the board as a series of blocks laid out in columns and rows. You need to draw each block onto the canvas to complete the board. You probably should be thinking about a for loop in a for loop to go through the rows and columns. HTH

  4. Fertig
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Thanks, that helped

  5. andrew.m.higgs
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Pleasure. :-)

  6. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy