Thursday, April 25, 2013
Update on Textures
Texturing for levels 1 (desert) and 2 (cave) is done. Work will commence on level 3, the volcano.
Thursday, April 18, 2013
Tuesday, April 16, 2013
New textures
We have some more textures for the Desert level. To begin, the gas
station has shelves, a roof, walls, gas pumps, and a rocky surface to
rest on. Heather is still working on the last one, but she's pretty
close to done from what I can tell. At any rate, here are our new
textures.
These three images are the shelves in the gas station. Like the pump, they are meant to look dirty and worn.
This is our gas pump map. Brendan made this one. |
These three images are the shelves in the gas station. Like the pump, they are meant to look dirty and worn.
This will be the wall of our desert rock faces. |
This is a red, chipping paint texture for the station roof. |
This is a compilation of all of the textures used on the rocks. |
A repeating pattern of layers. |
The crack rock surface, made to look like a desert. |
It doesn't look like it, but this is the bump map for the walls. It is like a stucco. |
This is the actual wall texture, complete with some mud. (made with cooperation with Heather) |
The tiles (made by Heather) are also a bit grimy to reflect the condition of the station. |
Monday, April 15, 2013
Sunday, April 14, 2013
Friday, April 12, 2013
scripts
so lets start with my job for the past couple of weeks, what i have done is created and fixed scripts that involve temporary editing to the chatacter and the game known as triggers
a basic trigger i made was a timed trigger where a platform disappears 1 second after the object is touched by the PLAYER and only the PLAYER.
var object : GameObject;
function Start() {
var object : GameObject;
object = GetComponent(GameObject) as GameObject;
}
function OnTriggerEnter (other : Collider) {
if (other.CompareTag ("Player"))
print("you touched me");
Destroy(object,1);
}
next is a more complicated script, this is attached to the character, what it does is basically if the PLAYER is in the air you are allowed to press the key "X" and the players trigger is turned on momentarily and a force is applied downward, similar to marios jump pound from the newer super mario bros games.
#pragma strict
var chMotor : CharacterMotor;
var movement : CharacterMotorMovement;
var trigger : SphereCollider;
var gravity : Vector3;
var isGrounded : boolean;
function Start () {
movement = CharacterMotorMovement();
chMotor = GetComponent(CharacterMotor);
trigger = GetComponent(SphereCollider) as SphereCollider;
}
function Update () {
if(Input.GetKey("x")/* || Input.GetKey("s")*/ && transform.GetComponent(CharacterController).isGrounded == false){
chMotor.movement.gravity = 100000;
print("get it down");
trigger.isTrigger = true;
}
else if (transform.GetComponent(CharacterController).isGrounded == true)
{
chMotor.movement.gravity = 20;
print("grounded");// void;
trigger.isTrigger = false;
}
}
with that there has to be an individual script that allows the trigger that is momentarily turned on to destroy specific objects or obstacles in the way.
//var object = GetComponent(GameObject) as GameObject;
//var trigger = GetComponent(SphereCollider) as SphereCollider;
var object : GameObject;
var trigger : SphereCollider;
//var player = GameObject.Find("guy");
function Start() {
var object : GameObject;
object = GetComponent(GameObject) as GameObject;
var trigger : SphereCollider;
trigger = GetComponent(SphereCollider) as SphereCollider;
}
function OnTriggerEnter (other : Collider) {
if (other.CompareTag ("Player") && trigger.isTrigger == true)
{
print("you touched me");
Destroy(object);
}
}
this consists of the triggers that will aid to super powers in the game, another team member should be posting the the rock throw power soon.
Thursday, April 11, 2013
Idea for communication
I think I've found something that will better inform the members on what gets done. When someone posts on this blog, we might be able to set it to where it emails everyone working on the blog a message about the update. Any comments on this idea?
Tuesday, April 9, 2013
Brandyn Work
Ok so here is all the texture type work I have done. Some easy some a pain but it looks good in the scene. Enjoy...
Wednesday, April 3, 2013
Thomas update 4/3
Alright, so I am still working on the Ground Pound, and since Raycast proved much too complex to get the Ground Pound, though it worked effectively, I am now trying to make it so the gravity changes at the push of a button, which presents its own set of pros and cons. I should be able to make more progress with the scripts now that I no longer have to balance the either/or with Raycast, and am still updating the script I'm using. The Raycast script from before proved ineffective, but now I am working on the gravity change script. I should have a working rough draft of the script by the next update.
Subscribe to:
Posts (Atom)