Thursday 17 November 2011

Changes to Assignment Idea

After a bit of planning I decided that instead of one puck, each player will be firing pucks/bullets at the other players goals while defending their goals. Each player will have 100 health, and each goal takes away one health when hit. The game will be fast paced. The game will still have power-ups but they will be a bit different than the ones I said before. There will be a power-up that will put load of decoys flying around the arena. There be one that rez blocks and moving blocks in the middle of the arena for a short time. Another power-up will put 3 blocks in front of your goals, each block will absorb 2 hits before they disappearing. I’m going for a sci-fi look for the game with energy nets holograms. I will achieve this by transparency and glow. The main colours of the game will be red and blue because of the opposing teams.

Sunday 13 November 2011

Week 8

Object Sends Email

This week I learned how to get an object in side of second life, to send an email to my Google account. I made two objects that contain two different scripts. One script uses a sensor to get the player’s name, and the distance they are from the object. Each player’s name and distance from the object is said on channel 1864.


 
The second object has a listen function, that listens to channel 1864. Every time there is something said on channel 1864, the listen function adds it to a list. When the second object is touched, the object emails the list to my email account. When I first tried this out all the text was on the same line, so I used \n to make a new line for the next player’s name and distance. Using second life to email me could be very useful. I could set up a script to email me if anything important happens in second life like: Some one got a new high score on my game, There is a problem with one of my games, Or I could set up a script for players to give me feedback and it could send it to my email.

Object Reads Sent Emails
The second task for this week was to send an email to a object, and get the object to read the email when touched. To get the object’s email address I got the object to email me first, I then replied to the email then touched the object to read the email I just sent.

LLEmail(Which email address to send too, Subject of the email, The content/body of the email)= Used to send an email.
LLGetNextEmail()= Used with Email(){}, This function gets the next unread email that has been sent to the object.
Email()
{
} = This function is used to read the emails sent to the object. The function has 5 parameters that gets: the time of the email, the sender, the subject, the body, and the remaining number of unread emails.

Sunday 6 November 2011

Week 7

My First Gesture
This week we need to make are own custom gestures, using the animations that are already in second life. Gestures give the avatars move life/personality. If I wanted to I could use gestures in my assignment, when a player scores a point they could jump up in joy, it just adds that little bit more life to the game. The gesture I made this week is a mix between the point and finger wag animations. I put a wait in between the two animations, so the second animation does not cancel the first one out. I set the wait for 1.5 seconds so it will switch to second animation half way though the first one.

Qavimator
I tried out Qavimator, what is used to make animations for second life. I used the timeline to change the position of the bones over time. I don’t think I will be using Qavimator to do animations for my assignments, as I don’t plan to have any avatar animations for my game.

Tuesday 1 November 2011

Assignment Game Idea

My idea for the assignment is to make a two player ice hockey game, but with a twist. The arena will be big and the players will be sitting on a rectangular prim. The prim will move left and right with the arrow keys or ‘A’ and ‘D‘. Player one starts off by shooting the puck, trying to hit one of 3 holes on the other side that belongs to player two. Player two need to defend their goals by blocking the puck, but also try to shot it into player one goals. Every time the puck hit’s a goal the other player gains a point, and the player who lost the points gets to shot the puck for the next round. In the middle of the arena are cylinder prims that will move up and down randomly, that will try to distract the player, but also could rebound the puck back into their goal. Power ups will also appear on the arena. There will be 3 types of power ups. The first power up puts two pucks in the arena, in till the second puck has been scored with. The second power up speeds up the puck . And the third power up puts loads of decoy pucks on the field for 29 seconds. I will not know in till I test these power ups out, but I believe they will add to the funny of the game, giving it a different feel to normal ice hockey.