5/29/2010



I have quickly re-made the video.
What do you think?

If no one is looking at this blog anymore, and I don't recieve any comment by tomorrow, then I will upload this video on Youtube.

Junki

5/27/2010

Review




Good job everyone, and thank you all for working hard for the game.
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

These are the links to our website on the hunter hunted exertion game:
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

The poster with sentences


I realized that the poster needs sentences that describes the game.

Finished Program

Can be found here: http://www.mediafire.com/?tw2inzvkygt

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

ok so i thought that meybe both players should attack the bear and try and ovoid losing their own hat-cup to the opponents sword. so that way each player gets points yet when they are "hunted"(lose there cup) they lose all their points. each game lasts 25 seconds and their points are tallied up after so any games. that way they dont have to keep changing roles and i think it will be more fun. thing is though the bear wont be able to detect who hits it. :( i dont think i can change it in the time we have, so meybe it will just have to be counted by one of us.
just an idea feel free to point out any floors.
p.s nice poster junki! looking really good

-Chris

5/21/2010

Poster1.0

I've quickly made the poster.
Tell me where to fix.
e.g. the title is wrong, missing information, painting style is bad, someone else wants to do it... etc.

The photos which I took, and used as the material, were too blurred to be used raw.

Junki

5/19/2010

Equipment


There are how the equipments look like.
I tied string to the part where you hold on the sword B, to test if that helps at all or not.

Do you think they should be prettier?
I feel they will look even cheaper if I paint colors or paste colored paper on them.
Junki

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

NO MAI GAWD KILL IT!

This is it, inside the bear.



-Chris

DONE!!!..kinda

Its working... but i think it may need a few more things before field testing should begin :P



-Chris

alpha bear

Sorry guys, i have decided to kinda re do the iron man bear because it is way to fragile for its purpose and it was a little small. so ill hopefully have pictures up tonight or ill just bring it in on thursday. also very nice work lex! ;D

5/10/2010

Media Coverage

Great News Everyone!

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

This is the sketch up.
im still working on how to change the light( there are 3 colours) and what those colours could mean. meybe how hard we hit it.
-Chris

IRON MAN BEAR

At the moment i have a prototype of a stuffed bear with a wireless receiver that has quite a bit of range to it. plus when u hit it a large light in the bears chest lights up to know you have scored. ill bring it in this thursday and up load some pictures soon. have a good one people

-Chris

The game with a teddy bear

To solve the problem:
  1. Make use of the computer
  2. More exertion
  3. More fun
  4. Less cost/devices

I made this new rule:



This way,
  1. the computer is counting hits which is hard for human to do,
  2. the players are forced to run,
  3. the mouse doesn't need to be wireless,
  4. 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





One improvement made.
I'm thinking about replacing the aluminum with copper as Chris suggested.
Junki

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

Nice work with the sword junki, but i think that foil is lacking on conductibility. meybe wrapping copper coil around the sword evenly would be a better alternative and then perhaps having the shield covered in like thin wire fencing and connect that to the circuit. it would make the re actions fast and responsive. ill have a go at making my own version some time soon.

-Chris

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

yeah i was also looking at changing the template. but was too scared to change it unless it like deleted everything 0___o. but yeah it really needs to be more pretty.
So Shaun is doing the programming. umm who is working on the poster? plus ......sigh... does Jaden know about this blog .___.

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

Followers