Coder Social home page Coder Social logo

snow's Introduction

Name: YUNQING ZHANG (you can call me Aris)
Clemson Email Address: [email protected]
CpSc 8700:Software Development

Project no: #3
Project due date: Sep 26th
Project Description: 
	Use a graphic editor to build at least two sprites: a sprite for background and a sprite that will bounce around in your display window.All of the constants in program can be read from an XML file.So modify or add data to the XML file used in the basic framework code to meet the requirement.Use the basic framework code,and reuse the Frame that contains the SDL_Surface for class ÔspriteÕ.Use an STL container (either an std::vector or std::list), to hold lots of sprites flying around your background.The basic framework incorporate the sprites that used into the animation. The animation can be modified by changing the XML file that holds the constants and sprite information in the game;this file is called game.xml in directory xmlSpec.By changing the values in game.xml,many features of the animation can be changed,like the number of sprites that are bouncing around on canvas.
The Specs that I implemented are:
1.Use graphic editor ÕinkscapeÕ draws one picture called Ôsnow.bmpÕ bounce around the canvas, and modifies a picture called Ôwinter.bmpÕ used as background.
2.The animation can be changed through changing the constants in file game.xmlÕ.
3.Modify class ÔManagerÕ so that it animates many sprites, instead of just one sprite. Use std::vector to contain the sprites.
4.Modify class ÔIOManagerÕ and ÔGamedataÕ so that they use the Meyers approach.
5.Modify class Clock so that it caps the frame rate at 60 fps.
6.Valgrind reveals no memory leaks in user code.
7.Modify IOManager so that printMessageValueAt uses the intrinsic model.
The Specs that I was unable to implement are: 
Print the ticks on screen.
Extras: NO



snow's People

Watchers

James Cloos avatar diudiu avatar

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.