Page 3 of 15

Re: Undiscovered Online

Posted: Wed Dec 02, 2009 3:35 pm
by hallsofvallhalla
oh very nice!

Re: Undiscovered Online

Posted: Wed Dec 02, 2009 10:22 pm
by Last Known Hero
You should have a barrel roll feature, I hit a planet when testing and I ended up on the side of the ship, couldn't fly up, down or left. I could only turn right (made it difficult to do anything :P), but the second time I hit a planet I turned sideways but slowly went back to normal (which was awesome).. the first time might have been a fluke but just thought I'd say something just incase it wasn't.

Very nice so far!

Re: Undiscovered Online

Posted: Wed Dec 02, 2009 10:51 pm
by SpiritWebb
thats interesting...i will have to take a look at that...do you know which planet? So I can see if I have a collider on that one or not. On the roll, I am trying to figure that how to do that, I would like to have the ship bank as it turns, but I cannot figure out how to do that...

Here is the flight code:

Code: Select all

var flyingSpeed = 0; 
var minThrust : float= 0; 
var maxThrust : float = 1000; 
var Accel = maxThrust / 4; 
var Jumpspeed = maxThrust * 5; 

var turnSpeed = 10; 

function Update () { 

//Accelerate the ship useing the thrust button. 
if(Input.GetButton("Thrust")){  
flyingSpeed = Accel + Mathf.Clamp(flyingSpeed, minThrust, maxThrust - Accel); 
} 
//decelerates the ship till stop. 
if (Input.GetButton("Decellerate")){ 
flyingSpeed = -Accel + Mathf.Clamp(flyingSpeed, minThrust +Accel, maxThrust );} 

if(("Thrust")){ 
   rigidbody.velocity = transform.forward * Time.deltaTime * flyingSpeed; //Apply velocity in Update() 
} 
if (Input.GetButton("Jump")){ 
   flyingSpeed = Jumpspeed; 
if(flyingSpeed < maxThrust){ 
flyingSpeed = maxThrust;} 

} 

// Turning commands. 
 if(Input.GetAxis("Horizontal") > 0.0){ //if the right arrow is pressed 
      transform.Rotate(0.0, turnSpeed * Time.deltaTime, 0.0 * Time.deltaTime, Space.World); //and then turn the plane 
   } 
   if(Input.GetAxis("Horizontal") < 0.0){ //if the left arrow is pressed 
      transform.Rotate(0.0, -turnSpeed * Time.deltaTime, 0.0 * Time.deltaTime, Space.World); //The X-rotation turns the plane - the Z-rotation tilts it 
   } 
   if(Input.GetAxis("Vertical") > 0.0){ //if the up arrow is pressed 
      transform.Rotate(-20.0 * Time.deltaTime, 0.0, 0.0); 
   } 
    
   if(Input.GetAxis("Vertical") < 0.0){ //if the down arrow is pressed 
      transform.Rotate(20.0 * Time.deltaTime, 0.0, 0.0); 
     } 

}
I dont know if you are messing with Unity...but if you are and can figure out how to bank and roll it with that script (javascript) would be much appreciated!! :)

Re: Undiscovered Online

Posted: Thu Dec 03, 2009 4:27 am
by Last Known Hero
I know close to nothing about Javascript but i know a bit about coding now (the basics, thanks Programming Class) and I'll check it out more tomorow. But for now I will pitch this, could you maybe make the ship always be centered onto a pivot point right in the middle, having the Z-axis pointing to the front of the ship, and rotate it along the z-axis? If you did it that way, the Z would be roll, x would be up and down, and y would be left and right..

Re: Undiscovered Online

Posted: Fri Dec 04, 2009 6:20 pm
by SpiritWebb
So I was playing around with the GUI in Unity, and created a menu system. Though the background sucks, and there is only 1 button that says start game, its a step in the right direction.

After you click start game, the game is ready to go and the top left button will exit the game back to the main menu. So I know I got the coding right there!! :)

Well, have a look for yourselves: http://scorpiusgroup.host22.com/test/testrun.html

I have also added a ticket system: http://scorpiusgroup.host22.com/support

Re: Undiscovered Online

Posted: Fri Dec 04, 2009 11:23 pm
by rockinliam
Dude this looks awesome! im really loving the concept and the game itself looks very promising. Lol today i was walking home n the stars had just come out n i looked up n thought i would love a game where i could go to space n do cool stuff, and Bang here it is :) , so in short, sign me up, cause i am sold!

Re: Undiscovered Online

Posted: Sat Dec 05, 2009 5:26 am
by SpiritWebb
New screenies...

The updated Main Menu was built in Blender and imported into Unity. The Username and Password fields do not work yet, they are place holders...also check out the newly formed nebula, I am trying to build...and view the new engine trail...

http://scorpiusgroup.host22.com/test/testrun.html - Note, you may need to refresh the screen after you load it, to verify all the NEW stuff has been loaded properly!! :)

Re: Undiscovered Online

Posted: Sat Dec 05, 2009 5:41 pm
by Last Known Hero
Love the new main menu! The trail that follows where you have travelled I feel is a tad too long though. Looking great SW. Want to see more!

Re: Undiscovered Online

Posted: Sat Dec 05, 2009 6:41 pm
by SpiritWebb
I have updated the menu system, included a new addition to the menu before starting the game!!

I have also shrunk down the ship trail.

Give it a shot now: http://scorpiusgroup.host22.com/test/testrun.html

Feedback welcome...

Re: Undiscovered Online

Posted: Sat Dec 05, 2009 7:04 pm
by Last Known Hero
Ah yes, I like that trail much more. I also like the nwe screen. Create a character?! I sure hope that means ship, I've always wanted my own spaceship! ;)