Code Monkey home page Code Monkey logo

cep-twink's Introduction

twink

Rudimentary animation-game created in pygame. A sinister take on twinkle twinkle little star.

Dependencies: python (>3.6.1) pygame python module (>1.9.4) all files listed below

The application: game.py assets

The assets folder: bomb.png, star.jpg, starrynight.png, twink.mp3

Installation (WIN): Python: Install python from (https://www.python.org/ftp/python/3.6.1/python-3.6.1-amd64.exe) Pygame: REQUIRES PYTHON TO BE INSTALLED Press WIN + R Enter cmd Type pip install pygame

Settings: The game is best run on a 1920x1080 resolution. 4GB RAM or more is recommended.

Task:

Term 1 Summative Assignment

(Total: 15%)

Technical ability: 9%

Planning and Communication: 3%

Creativity and Aesthetics Appeal: 3%

Due: 24 March 2019, 2359hrs

Assignment Requirements

  • Produce an animation using Pygame, utilizing concepts that you have learnt in the first 4 lessons.
  • You must include in your animation.
    • Proper use of blit, event loop, basic pygame objects (like the screen surface, font object, color constants, pygame.time.Clock etc)
    • Appropriate use of draw methods to draw game elements
    • Proper use of the Rect object
    • Using OO design to streamline your code and to manage numerous game entities
    • Use of sprite module to manage object updates, management and collision detections.
  • Add-ons
    • Basic event-handling: To process user input from keyboard and/or mouse
    • Graphics: Use of appropriate graphics loaded using the pygame.image module to enhance your animation
    • Sound: Liven your animation with pygame.mixer.music module

Submission Requirement

  • Animation Writeup:
    • Describe or illustrate what your animation is about, and identify its target audience.
  • Project Readme File
    • Also, include a file named readme.txt that explains at a high level what your project is and how it should be installed and run. If you use any 3rd party libraries, be sure to either include the library in your submission (preferred), or if this is impossible, to include very clear instructions on where and how to download and install the library.
  • Project video:
    • In the file project-video.txt, include the URL of a web-hosted (say, in YouTube) short video (say, 1-to-3 minutes long) demonstrating your project. Do not show every last feature. Instead, show the most important features, the highlights, the parts that are distinctive. You may just use a screen capture utility if you wish, along with a voiceover. Or you may just use a webcam or other video camera (even a decent cell phone camera) and directly video your screen. You do not need expert production value, and in particular you do not have to edit your video (and so you can have pauses, imperfect scene changes, and occasional verbal slips). However, the video should be of sufficient quality, and should clearly demonstrate your project, such that we can use it as part of our grading process (though we will also run your code, and in fact you will also run it for us). We may also place (excerpts from) some videos in a student term project gallery on the course website. Also, critically, your video should meet your own standards so that you could reasonably place it in an online portfolio of your academic work, and submit it to a prospective employer as part of your CV.
  • Reflection:
    • Amount of time spent
    • Declaration of external assistance (either from friend or teacher / website)
    • Acknowledgement of source of graphics, sounds etc from external website / authors
    • Learning points in the project planning / execution
    • Notable features that you are proud that you implemented in your assignment
  • Project zip file should include
    • Animation Writeup
    • Project Readme File
    • Assets: Graphics, Sound clips, Fonts etc.
    • Project video link
    • Project Reflection

Different Type of Animations

  • Agario
  • Ball and cup guessing game
  • Cell division
  • Line rider style animations (sync movements with music)

cep-twink's People

Contributors

flyyee avatar

Watchers

 avatar

cep-twink's Issues

Window freezes while waiting

Problem:
Window freezes while waiting (eg. x millisecond pause between animations)

Possible solution:
Use non-blocking wait function.

Poor organisation

Beautify and reorganise installation information, documentation, reflections and summary.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.