6/01/2010
5/29/2010
5/27/2010
Review
Although we had a lot of trouble, we managed to present our game.
And that's excellent.
After people played the game, I asked them to grade the game out of ten.
I'm pretty sure, it will be difficult for them to give us a bad grade in front of us,
but it seems the most of them actually enjoyed the game. One person even gave us 11.
Like the last time, we have only got six stickers.
But since about only ten or less people played this game, the percentage of the people who thought the game is worth a sticker was high.
The biggest problem we had was a technical difficulty.
Like, the sound was too faint, the sticks broke, wireless mouse didn't work etc...
(Broken sticks are totally my fault. I should have chosen a stronger material.)
Because of those troubles, we failed to attract people in the first hour, which is a big loss.
Little problems are:
It might have been a bit too scary for girls. One girl ran away when I asked her to play it.
People tend to hit the bear too strongly. Since they are so excited, they can't save their force.
Appearance isn't very attractive.
After all, those people who played the game, said that they enjoyed it.
Once they play it, they like it, but we couldn't make them play it.
Therefore, our idea of the game was good, but we failed at the process to advertise and provide the game.
So, now I really want to revenge.
The only way to revenge is to get on a newspaper.
And we have about two weeks to do that.
I'm going to think about ways to become famous on this weekend.
Junki
And the Money
We need to see each other again to pay back for whatever each individual bought for the game.
Our team website
https://dl.dropbox.com/u/370473/homepage/home.html
https://dl.dropbox.com/u/370473/homepage/how%20the%20game%20works.html
https://dl.dropbox.com/u/370473/homepage/equipment.html
Finished Program
Make sure to have your speakers turned on, the players are told who the Hunter is by sound. Oh and if you don't play it through and exit that way, you need to stop the javaw.exe process.
-Shaun
5/25/2010
Program Update
Hey guys, Shaun again, just wanted to give a progress report on the program.
So now there's a main menu that you can start a new game from, and it runs the game in 10 'rounds' of 20 seconds. Just from testing it 10 seems like a lot so what would you guys think of changing it to 6 or 8? It's easy to change so just let me know.
A sound plays after 20 seconds to signal the end of the round.
So the last thing that I need to do is to add a pop-up window that asks you if the hunter was successful, and it'll be done :)
-Shaun
5/24/2010
Current Program
Hey guys, Shaun here, here's the current build of the program, it doesn't do everything yet but-
What it does do: Counts clicks when the timer is going, times 20 seconds, displays player images, plays a sound after 20 seconds and randomly assigns a player as the Hunter.
What it doesn't do: Runs through more than once, stops the score from being added to the Hunter's total score (for when their hat thing gets knocked off), has the right images, has a restart button.
So, that should all be pretty easy except for the restart. I don;t think there's a built-in function to do it, so I'll either have another application that opens the main one or reset all variables.
You'll notice that the score isn't displayed, if I have enough time tonight I'll add that (won't take more than 10 minutes to add it and get it in the right position).
The only other thing's the final images which I'm waiting for from Lex, so could you get them to me sometime tomorrow please Alex?
Code below, sorry it's so long:
import javax.imageio.ImageIO;
import javax.swing.*;
import java.applet.Applet;
import java.awt.Button;
import java.awt.Container;
import java.awt.Event;
import java.awt.FlowLayout;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.MediaTracker;
import java.awt.Panel;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Random;
public class MouseClickEventDemo extends Applet implements ActionListener {
BufferedImage image;
Random randomGenerator = new Random();
int playerNum=randomGenerator.nextInt(2);
int clickCount=0;
public Container getContentPane;
String timerSeconds = "ss";
boolean trueClicked=false;
final static JTextArea textArea = new JTextArea();
Button okButton;
static Panel panel = new MouseClickEventDemo();
int timeInt = 0;
int secondTimeInt=0;
public void actionPerformed(ActionEvent evt)
{
if (evt.getSource() == okButton) {
if (timeInt!=secondTimeInt){
clickCount++;
}
//System.out.println(clickCount);
}
repaint();
}
public void displayText() {
textArea.setText("Number of hit " + clickCount);
}
private void initComponents() {
textArea.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e){
if (e.getButton() == MouseEvent.NOBUTTON){
}
else if (e.getButton() == MouseEvent.BUTTON1) {
clickCount++;
}
}
});
}
//SwingUtilities.invokeLater(new Runnable() {
public void run() {
okButton = new Button("Action!");
panel.add(okButton);
okButton.addActionListener(this);
//int timeInt = 0;
//int secondTimeInt=0;
new MouseClickEventDemo().setVisible(true);
timeInt = Integer.parseInt(DateUtils.now());
System.out.println("Now : " + DateUtils.now());
secondTimeInt=timeInt+20;
System.out.println("Then before : " + secondTimeInt);
if (secondTimeInt>60){
secondTimeInt=secondTimeInt-60;
}
System.out.println("Then after : " + secondTimeInt);
while (timeInt!=secondTimeInt){
initComponents();
timeInt = Integer.parseInt(DateUtils.now());
}
try {
PlayDing.playding();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println(clickCount);
}
public void mouseClicked (MouseEvent e) {
}
public void mousePressed (MouseEvent e) {
clickCount++;
}
public String now() {
Calendar cal = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(timerSeconds);
return sdf.format(cal.getTime());
}
public MouseClickEventDemo() {
try {
playerNum=playerNum+1;
Image playerImage;
//initComponents();
//getContentPane.add(textArea);
String imageName = "C:/Users/Shaun/Pictures/player"+playerNum+".jpg";
File input = new File(imageName);
image = ImageIO.read(input);
} catch (IOException ie) {
System.out.println("Error:"+ie.getMessage());
}
}
public void paint(Graphics g) {
g.drawImage( image, 0, 0, null);
}
static public void main(String arg[]) throws
Exception {
JFrame frame = new JFrame("Display image");
panel.add(textArea);
frame.getContentPane().add(panel);
frame.setSize(500, 500);
frame.setVisible(true);
int timeInt = Integer.parseInt(DateUtils.now());
System.out.println(timeInt);
MouseClickEventDemo someString = new MouseClickEventDemo();
someString.run();
}
}
Different class
import sun.audio.*;
import java.io.*;
public class PlayDing {
public static void playding() throws IOException{
InputStream in = new FileInputStream("C:/Users/Shaun/Pictures/ding.wav");
AudioStream as = new AudioStream(in);
AudioPlayer.player.start(as);
}
}
Different class
import java.util.Calendar;
import java.text.SimpleDateFormat;
public class DateUtils {
public static final String timerSeconds = "ss";
public static String now() {
Calendar cal = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(timerSeconds);
return sdf.format(cal.getTime());
}
//public static void main(String arg[]) {
public void getDate(){
int timeInt = Integer.parseInt(DateUtils.now());
System.out.println("Now : " + DateUtils.now());
int secondTimeInt=timeInt+20;
System.out.println("Then before : " + secondTimeInt);
if (secondTimeInt>60){
secondTimeInt=secondTimeInt-60;
}
System.out.println("Then after : " + secondTimeInt);
while (timeInt!=secondTimeInt){
timeInt = Integer.parseInt(DateUtils.now());
}
System.out.println("It has been 20 seconds");
}
}
-Shaun
5/23/2010
keep on keepin on
5/21/2010
Poster1.0
5/19/2010
Equipment
Update on The Leader Newspaper
Ok, so I spoke to the editor and she wants us to do a bit of running around to make things easier for them. They asked me to:
- Talk to the Journalist department of RMIT and see if they can write us up a press release.
- They advised me to try for multiple papers around the city area.
- So far it's going well.
So I may need some help finding the Journalism Department, she said it doesn't matter if a journalism student does it, she just wants someone else to do the hard work, they'll edit it.
- Alex
5/18/2010
Vital Part
I've made the target to put on players' head.
Since I used magnets, the stickiness will last semi-infinitely.
Junki
5/15/2010
New program
Hey guys, this post is directed at The Lexinator:
When you have the time could I get 3 images from you with the following specs?
The first one's a splash screen for when it loads. I suppose something with the title, Team N and maybe a nice graphic would be awesome.
The second and third one's are both screens to let the player know who is the hunter, player 1 or player 2. As long as it's big and obvious who the hunter is it's cool.
And that's it!
All of them should be 1024x768 pixels, or whatever your screen resolution is please :)
Once I've git them I'll plug them into the program and it should be good to go once I've added a title menu.
-Shaun
5/11/2010
alpha bear
5/10/2010
Media Coverage
I spoke to the editor of the Leader Newspaper the other day and she said she would be more than happy on writing a piece on our game project.
It's not final yet, and she would like us to give a demonstration of our game in the future.
But think about it, we're so close to securing a HD now :D
5/09/2010
IRON MAN BEAR
The game with a teddy bear
- Make use of the computer
- More exertion
- More fun
- Less cost/devices
I made this new rule:
This way,
- the computer is counting hits which is hard for human to do,
- the players are forced to run,
- the mouse doesn't need to be wireless,
- And a bit of cruelty and violence might make the game a little more fun.
What do you think?
Junki
Right Clicker
I've broken a mouse into pieces and created a machine which only does right click.
I went to Jaycar near RMIT on Friday and looked for a wireless mouse.
Yet, I found out that a wireless mouse can only be about 5 meters away from its receiver.
So, I decided to buy a wired mouse.
Now I've fit the inside of the mouse into this box, and it does right click when its lid is pushed.
I wanted to test it, however I realized that there is no mach for the mouse's terminal on my PC.
So I'm going to buy an adapter.
I'm also waiting for the teddy bear to put this machine into.
Junki
Programs
Hey guys, I think we decided to keep going the way we're going with the programs, and have a simpler program as a back-up, but that doesn't seem right. So what did we decide?
- Keep going with what we're already doing. I'll add 2 more games, create the main class that runs one of the games at random. The users both input values, if they're right they can run off to get the sword or shield, if not they suffer a 5 second penalty.
- There are 2 groups of dots displayed, probably of different colors so the users can tell which one's for them. Both groups of dots will be shown on the same screen, and the user with the most dots is the hunter.
- A questions is shown on the screen and the user to enter the correct answer first is the hunter, and the other one is the hunted.
If there's a third option that I'm overlooking please let me know, and to be honest I'm not entirely sure if we decided on which option would be best. Perhaps if everyone comments and from there we can make a decision.
-Hope everyone's having a good weekend, Shaun.
5/05/2010
Improved target
First 2 mini games in video
Hey guys, Shaun here. I thought I'd post a video of the 2 completed games we have so far. I'm still looking for 2 more so if you've seen something that you think we adapt or you've got an original idea for me just let me know.
I talk about an alternative to these games at the end of this video. Think of it like Buzz, and we could use numpads (one turned 90 degrees to the left, the other to the right) as controllers.
5/04/2010
Alternatives
5/03/2010
The sword
I've made the sword.
I wish I could make the lights stay turned on for a while, even after disconnecting.
So that the lights can be an evidence of a successful hit.
I also thought that maybe the noise made by hitting the plate is enough to tell that the hit occurred.
Junki
5/02/2010
Mini Game Idea
Hey guys, I've already told you about this but I thought a good idea for one of the small deciding games (like the count the dots game) would be one with simple equations, but the numbers are replaced with animals and the number is equal to the number of legs the animal has (so cow + chicken would be 4+2). This one shouldn't take me too long to program and I'm looking for 2 more game ideas if anyone has any.
And Alex next time you've got some spare time could you please make me some animal heads? If you can find the time text me and I'll give you the information on the dimensions that I worked under. Oh and also some dots in the same style.
If I finish the animal algebra game then I'll change the dots game so it can render more dots and they will be placed randomly. I've found that it is possible to use a transparent image in Java and I can ask it to give me the window dimensions and create a random integer between 1 and the width and 1 and the height to create coordinates. I'd really like to get around to doing this but I want to finish the other mini games first, just wanted to let everyone know that it's possible.
EDIT: Hey I was thinking that if we get the time we should make this blog look pretty :)
I hope everyone had a good weekend :D
-Shaun
4/30/2010
4/29/2010
Picture and stuff for Floyd
Also, what is the URL of the blog where we are supposed to comment after every lesson?
- Alex
4/27/2010
Dots
I couldn't remember where we pasted all the stickers,
but I've just found them.
6... wasn't many.
Maybe our booth wasn't as impressive as others.
Letting the audience play is the best way to advertise, I guess.
If we do the same thing again,
we could hold a tournament using our game, so that it almost forces the audience to participate.
Or give some reward to the winners of the game, to give them stronger impression.
Junki
not too sure
4/24/2010
Homework for next week
* Send me video + photo (a 1024x768 photo with game title, 1 sentence gameplay, URL, team) before Tuesday
* Email me a picture of your dots
* Start working on your game
* Report progress on your website
Hey guys, Shaun here. I thought I'd post the homework for next week on the blog. So we've already started working on our games, awesome, and progress has been reported on out website, awesome again.
As for the video and photo with the information, well the picture won't take long, but does anyone have an idea for the video? Alex seems to be the most adept at animation for it, but it's a lot of work to do in 2 days so I don't want to push it on him.
Oh and does anyone have an idea about dot point 3 ><>
And dot point one, well I guess whoever goes through their points first could just make a new post and then everyone else can just edit it and add theirs to the end?
Anyway I guess comment here on what you think or give me a text,
-Shaun.
'How many dots' game
Hey guys, I wrote the first game today, it generates a random number from 1 to 8 and then print that number and that number of circles. Once I've finished the other ones I'll pretty it up :) If you have any ideas for games you'd like me to include just comment on this post or text message me and I'll see what I can do :)
On a personal note I hadn't thrown images into Java before, this was definitely a learning experience, and there's some parts that were directly copied from forums, but when I have the time I'll change them to fit how I program, enjoy!
import java.util.Random;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.*;
import javax.imageio.ImageIO;
import javax.swing.*;
public final class RunMe {
public static final void main(String... aArgs){
Random randomGenerator = new Random();
int randomInt = randomGenerator.nextInt(8);
if (randomInt==0){
randomInt=8;
}
System.out.println("Number of Circles:" + randomInt);
String path = "C:/Users/Shaun/Pictures/BlueCircle"+randomInt+".jpg";
BufferedImage image = null;
try {
image = ImageIO.read(new File(path));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
LoadAndShow test = new LoadAndShow(image);
JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.add(new JScrollPane(test));
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
int height = screenSize.height;
int width = screenSize.width;
f.setSize(623,443);
f.setLocation(623,443);
f.setLocationRelativeTo(null);
f.setVisible(true);
randomInt=randomInt-1;
}
private static void setBounds(int i, int j, int k, int l) {
// TODO Auto-generated method stub
}
}
I'll post a screen-captured video later because you guys won't be able to run it without having the right files or directories.
-Shaun
4/23/2010
4/20/2010
Hunter x Hunted II
- There needs to be a heartbeat sensor for each player- might cost too much
- No one has used the heat beat sensor before- might take too much time to make it work
- We need to study two things: programming and how to build the machine.
- Each device needs to be strong enough so that it won't break while the players are running.
Now good parts of our game are:
- It forces the players to work out.
- Can be played by any number of people(as long as they are devices for them)
This game would be awesome, but only if we can actually make it.
Since I have almost no knowledge about programming, to me, subjectively, this looks unrealistic.
To make me feel it's realizable, can someone post the information about where to buy all the stuff we need and how much they cost, and what programming knowledge we need for it?
Now I came up with an idea of a game that we can make, so that we can always escape:
- Each player first does a mini-game (made in Java) which a player first clicks, and then tries to click again ten seconds later, without looking at a clock.
- The Java script calculates the absolute value of the difference.
- Each player gets a spot away from the starting point. Their distance between the starting point and their spot depends on their time lag in the first mini-game.
- At each player's spot, there will be a weapon and a shield.
- When the game starts, screen suddenly shows which player to be a Hunter, at random moment.
- As soon as the players know their role, they run to their spot to get their equipment.
- If the Hunter can hit the Hunted's body before the Hunted protects itself with his/her shield,
- the Hunter wins that game.
Only thing we need to make this game real, are:
- Java script(this is the only thing that requires some skill)
- Shields and Weapons(soft)
- One laptop
- One mouse
- Tape measure
Depends on how to program it, this game can be played by more than two people.
4/19/2010
Arduino Heartbear Sensor
This arduino unit uses the amount of light absorbed by blood to determine when the heart beats, and produces a graph that peaks when it does. The poster was also nice enough to post their code, and there'[s some more code over here that would be really useful to us (actually that's where I was linked from). Between the 2 we have everything we need to get his under way if we want to do it this way. At the end of the post their are some videos, final output's after about 50~55 seconds of the last video when the signal's been amplified. Enjoy :)
-Shaun
4/17/2010
Heat Beat
Junki
4/16/2010
4/13/2010
New Idea
You can ignore this, or hopefully be inspired.
So, this is a sword fight using USB mouse.
Cable from the mouse will be cut and connected to the sword (made of soft materials i.e. news paper), and so that when the sword hits aluminum plate, the mouse's circuit completes.
Since the mouse is always clicking, it should send "clicking" message to the PC whenever the sword hits metal.
On the PC, java script can add scores every time "click" happens.
Junki
Random exertion game idea: Tron
I came up with this while I was thinking about parallel play games (sorry if that terminology's wrong Floyd), but while I was thinking about using positions in games I thought of this.
This game uses 2 soft-modded GPS systems so they display the position of both the GPS itself and the partner GPS. In the example I've used 2 cars, but obviously running or cycling with one would be a better fit for an exertion game.
So, it's pretty self explanatory; the GPS' display car positions and draw a line over where they've been.The grid system that the city or even suburban areas are generally based on would work really well for pixel perfect movement, a'la PacManhattan.
And just like in tron, if you run into your or the other players' 'tail' then you lose. I think that if you were using cars for this over being on foot, bikes or whatever else then another player per team could make for some pretty exciting games, with one acting as a navigator and the other one driving (It'd probably be a lot safer as well).
Anyway any comments or critiques are welcome, just a random exertion-game related post.
-Shaun
4/12/2010
Least technology
Maybe, we don't even need a button.We might rely on player's sportsmanship for judging whether they are tagged.
So I've made this new gadget which only plays and stops playing music.
This will be attached to players' back.
This system is extremely simple and cheap.
Plus, e could put gameness through music that's played by the iPod, for example:
in addition to being tagged, players will also be "out" when he/she hears certain sound that's implanted in the music as a trap.
So that the players can stop running and rest, but have to star running before the trap sound starts playing.
If we decide that we can't hack into the pedometer or the heat beat measuring instrument, then we could use this.
Or at least to present on Friday as a rough demo version. Junki
Ok So the prototypes are good though i think they need to be smaller and more effective. plus how are we going to implement the heart beat monitor into them?
What do we need to do by next lesson?
Thanks guys, Chris
4/11/2010
Fake gadget 03
I made the gadget that makes sound when its button is pushed and it's not moving.
However, this doesn't look useful.
I should have used better materials...
Maybe, instead of lights, it could play music when a player is not moving fast enough.
Lights are not easy to see whether it's on, and it's only visible from one direction.
4/10/2010
Fake gadget 01
I made the gadget that does not use pedometer.
Maybe we can use this to present our game on Friday.I'm trying to connect this to a button, so that when it's pushed, I makes a sound.
Problem with this method:
Way too sensitive and the status (hunter/target) changes so rapidly.
If we use a pedometer, since it needs to wait for several seconds to calculate the footsteps per time, each change in status (hunter/target) won't be so quick.
Big and too fragile.
Really, tell me, if this is a bad idea,
or, if you know any better way to do this.
4/08/2010
An ideal image
4/07/2010
Pedometer idea
I made figures that might help us think.
So we will have pedometers that have light and switch attached to them.
If the pedometers detect players' running speed (foot steps) is slower than certain amount, the light turns red.
Other players would want to push the buttons when they are red.
Problem:
This game wouldn't be fun with two or less number of players.
Difficult to present to the class.
3/10/2010
Old games + technology2
Another one.
Cat&Mouse(Japanese name)
is a game usually involves three or more people. Two players are assigned a name either Cat or Mouse, and when the third one says "Cat," Mouse has to run as fast as possible to his/her safe zone. Cat then tries to catch Mouse. The players can stand anywhere they like until the third one calls a name.
Improved version might have:
- More than two or odd number of players.
- Screens that display a name or an action.
- One screen can only show either name, or action.
- Screens that display the information are selected randomly by computer.
This way, the players need two pieces of information from the screens to know what they need to to. And, maybe this makes the game more exciting...
I hope my writing makes sense. By the way, I'm Junki.
Old games + technology
Maybe, the first step to invent a new game is to improve old games.
So how about something like this:
Hunter-Hunted + technology
Hunter-Hunted is a game where inside c circle, two blinded players look for the stick in the center of the circle. And you can win by hitting the other player with the stick. But, only one swing is allowed.
Improved version might have:
- Four devices that make noise at each corner of the rectangular area.
- If a player comes out of the area, he/she instantly loses.
- The stick does not necessarily have to be at the center.
- As one player gets closer to another player, or the stick, the player's device makes louder noise.
This way, only clue that the players have is the noise from the six devices. And it might be even more exciting. But this game might not have much exertion.
About Me
Blog Archive
-
▼
2010
(52)
-
►
May
(28)
- I have quickly re-made the video.What do you think...
- Review
- Our team website
- The poster with sentences
- Finished Program
- Program Update
- Current Program
- keep on keepin on
- Poster1.0
- Equipment
- Update on The Leader Newspaper
- Vital Part
- New program
- NO MAI GAWD KILL IT!
- DONE!!!..kinda
- alpha bear
- Media Coverage
- This is the sketch up.im still working on how to c...
- IRON MAN BEAR
- The game with a teddy bear
- Right Clicker
- Programs
- Improved target
- First 2 mini games in video
- Alternatives
- The sword
- yeah i was also looking at changing the template. ...
- Mini Game Idea
-
►
April
(20)
- elo elo
- Picture and stuff for Floyd
- Dots
- not too sure
- Homework for next week
- 'How many dots' game
- I have had a look around the web and i think for H...
- Hunter x Hunted II
- Arduino Heartbear Sensor
- Heat Beat
- Hunter - Hunted Game Play Animation
- New Idea
- Random exertion game idea: Tron
- Least technology
- Sorry if this is too hard to understand. my writin...
- Start putting your names after your posts people. ...
- Fake gadget 03
- Fake gadget 01
- An ideal image
- Pedometer idea
-
►
May
(28)