Tuesday, 17 January 2012

Project 3: Processing - Game W.I.P

Here is a work in progress of my 'Duck Shoot' game:

Project 3: Processing - Game Inspiration

Our last assignment is to produce a game using processing.

"Using your new found code skills, like animation, collision detection, basic logic and managing arrays of custom classes, I want you to create a fun game. It doesn't need an intro page or instructions, it only requires a game play element, and a game over state. The focus should be on fun and simplicity. There's no point in making a really complicated game if it's not fun! In order to achieve fun, adjust the speed that things move, how the game is controlled, and how it looks. It can be abstract, so shapes and lines are OK. Just try to pick nice colours, and have other graphical niceties, like trails and particle effects. Sound effects can also help."

For this I looked into some games which i believe could be simpliefied in processing.
'Pac-man' was the first game that sprang to mind but i think it would be very complicated to transfer to processing. 
Next i thought of 'Pong' but found this to be to simple and i would like to do something more challenging.
Then i decieded i either wanted to do a shooting game or an obsticle game. For an obsticle game i thought of doing something similar to 'Sky Pigs' and for a shooting game I wanted something like 'Duck Shoot'.

I have decided on Duck Shoot as it will be simpler also i like ducks.

Project 3: Processing - Learning

Week 3 in class work.
This week we focused on Particls in processing, here is the piece i produced in class:

Project 3: Processing - Clickable Buttons

Secong assignment to make some clickable buttons: 

"Using the interactive stripes as an example, I want you to create a Button object. It can be rectangular or circular, it's up to you. Then I want you to make an array of the buttons. They should move around the screen and when they reach the edges, they either bounce off or loop around to the other side of the screen. When you click on a button, it changes colour. When you click it again it reverts to its original colour. You have until the end of Tuesday 10th January."

Here are my buttons:

Project 3: Processing - Learning

Week 2 in class work.
Here are the pieces I produced in class:
- Arrays (drawing using arrays)

- Collisions (Bouncing random colour changing ball)

- Collisions (Faster ball, colour changes on impact / speed and colour change with mouse click)

- Arrays (Monster array, creating random variables)

- Arrays (More fluid drawing using arrays, with fade and size reduction)

- Arrays + Collisions (Circle array with edge collisions)

- Arrays (Simple stripe array)

Project 3: Processing - Expressive Eyes

First assignment to make some expressive eyes:

"Here is your first assignment! Please complete it by January 1st 2012. I want you to create one or more eyes. They can be human, alien, insect, robot, anything. There must be at least one, but you can make as many as you like! They must respond to the mouse in some way, either with mouse movement or button presses. Extra geek points awarded to those who implement both of these!"

Here is my eye creature (Steve):

Project 3: Processing - Make a Creature

Class exercise to make a creature that reacts to mouse functions. (Also reacts to key press)

Project 3: Processing - Learning

Week 1 in class work.
Here are the pieces that i produced in class:
- Learning basics (shapes and colours)
- Learning basics (ellipses)
- Building a character / monster (using basic shapes and colours)
- Movement (making the character move)
- Learning more (mouse functions / static shapes)
- Learning more (mouse functions / reducing size)
- Everything (putting everything together)
- Measuring mouse possition (and having something happen when its in a certain area)

Project 3: Processing - Examples

I have looked through openprocessing.org for some example of what processing can do / what can be done with processing. 

This is two are my favourites:

-----

Project 3: Processing - What is Processing?

"Processing is a programming language, development environment, and online community that since 2001 has promoted software literacy within the visual arts. Initially created to serve as a software sketchbook and to teach fundamentals of computer programming within a visual context, Processing quickly developed into a tool for creating finished professional work as well." - OpenProcessing.org

"Processing is an open source programming language and environment for people who want to create images, animations, and interactions. Initially developed to serve as a software sketchbook and to teach fundamentals of computer programming within a visual context, Processing also has evolved into a tool for generating finished professional work. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production." - OpenProcessing.org

Project 3: Processing - Brief

Our new project is based on the open source programme Processing. In this project we will learn how to code using processing. From the brief 'Develop a sence of code literacy.'


We will be given a series of exercises to do in class and some projects to do outside class.


Useful sites: 

http://processing.org/
http://www.openprocessing.org/

And i have also bought the book 'Learning Processing - by Dan Shiffman' which can also be found at this site:

http://www.learningprocessing.com/