Space war

Posted By: tompo

Space war - 05/23/07 14:29

OK... I've made this for last couple of days
And sorry... I'm terrible 3D artist
W/S - speed
mouse - movement
LMB - fire
M - create new ships as many as You want to (You are nautral for them so you can shoot to everyone and they will not attack You)
Space - make your ship straight

Here it's a demo
LINK


Posted By: frazzle

Re: Space war - 05/23/07 19:24

This isn't bad, nice mini game tompo
Btw, the graphics are oke

Cheers

Frazzle
Posted By: tompo

Re: Space war - 05/23/07 19:43

It's just the beginning of something a much more bigger
Finaly... maybe in view years it will be a something like FreeLancer
For now press "M" several times and look how they fight... and of'course You may shoot too
Waiting for replys
Posted By: Germanunkol

Re: Space war - 05/24/07 13:02

good start! i how the canons turn: very well done. how'd you limit the amount of turning?
also, the AI seems to be partway done, good work!
what I don't like is the lasers. don't ask me why... maybe it's just that you should use better images, ones that fade to black on the sides, for example. Or change the sound?
The explosions also look bad, work on those.
It's kinda hard to figure out who's friend and who's foe ...

But I like the canons a lot, and the rest is good!!
Posted By: ambe

Re: Space war - 05/24/07 19:07

the ai looks good, how much scripting whent in to it ?
Posted By: tompo

Re: Space war - 05/24/07 19:41

AI... this is just the beggining of AI but... about 200 lines of code with follow the path
Posted By: Germanunkol

Re: Space war - 05/24/07 20:06

path??
how would that work... do you define a path and follow it???

Micha
Posted By: tompo

Re: Space war - 05/24/07 20:09

no... I mean when they are not fighintg, they are moving along the path
Fighting... all is randomize
Posted By: Nems

Re: Space war - 05/24/07 20:10

Great stuff tompo, Freelancer is still my favourite game after all these years.

I see you have solved the prob of maintaining a beam weapon even while moving, I'm a little envious now .

Flying AI need not follow paths but can operate and rely on if statements but I think you already know that..
Posted By: tompo

Re: Space war - 05/24/07 20:16

effect with beam is only the trails behind the player...
lasers... it's just a 5x5 pixels bmap scaled and with moving u/v
player fire is model but will be replace with bmaps as the rest of ships have
Posted By: PlayStefan

Re: Space war - 05/25/07 15:56

Hey,

I really like your game, it looks nice and the models, graphics are fine too.
Keep on coding...
Posted By: tompo

Re: Space war - New Demo - 05/30/07 12:25

NEW DEMO !!! NEW DEMO !!! NEW DEMO !!! NEW DEMO !!!

W/S - speed
mouse - move
LMB - fire
space - ship straight
M - create new ships
R - find closest target and follow him

LINK
Waiting for replys... ideas... etc
Posted By: MathewAllen

Re: Space war - New Demo - 05/30/07 17:05

can you please share how you got the freelancer style ship movement? I've tried that many different ways and I always have a problem with the ship's pan rotation when tilt is at an extreme angle, and using c_rotate caused stranger problems.
Posted By: tompo

Re: Space war - New Demo - 05/30/07 17:35

use c_rotate but with use_axisr mode
I use somethin like:
c_rotate (me, vector(mouse_hor,mouse_vert, 0), USE_AXISR);
mouse_hor and vert are =(pointer.x -((screen_size.x )/2)) and the same with Y of'course.
Hope it will helpfull
Posted By: MathewAllen

Re: Space war - New Demo - 05/30/07 20:06

hm. that looks a lot like I was doing except for the vector definition inside the c_rotate. But thanks, ill definetly try somemore to get mine working. Incidentally, where are you planning to take this project, really making a freelancer clone?
Posted By: tompo

Re: Space war - New Demo - 05/30/07 20:11

Will be nice... but it's to much work to do for one person i'm afraid
For me... Freelancer is still one of the best space game ever... even if it's made by Microshit... I mean Microsoft
Posted By: MathewAllen

Re: Space war - New Demo - 05/30/07 20:20

hmm the following is the code I used to test such a camera
function ForumControls()
{
while(1)
{

mouse_pos.x = pointer.x;
mouse_pos.y = pointer.y; //updates the pointer bmap position
wait(1);
mouseXDist =(pointer.x -((screen_size.x )/2)); //gets distance of pointer from center screen
mouseYDist =(pointer.y -((screen_size.y )/2));
c_rotate (me, vector(mouseXDist,mouseYDist, 0), USE_AXISR); //hopefully prevents stupid turning issues


}
}
...and nothing happened to my ship. And yes I have everything set up properly, I just substituted this function for my old one that didnt use c_rotate. (which worked except at extreme angles of tilt)
Posted By: tompo

Re: Space war - New Demo - 05/30/07 20:37

wait(1) is in wrong place.. should be at the and of this code
Posted By: MathewAllen

Re: Space war - New Demo - 05/30/07 20:41

didn't make a difference
Posted By: tompo

Re: Space war - New Demo - 05/30/07 20:45

check PM
Posted By: EX Citer

Re: Space war - New Demo - 05/31/07 15:25

very nice.
Posted By: Zelek

Re: Space war - New Demo - 06/02/07 01:52

I really like your ship movement code, it has a great feel to it. It's really weird, because I just started playing Freelancer again a week ago, and started working on some Freelancer-style 3DGS code. There must be something in the air!

I have some basic movement setup, but have mostly been working on other aspects like Freelancer's great looking 3d planets and skycubes (which I've replicated fairly well). I hope I can get my movement code working as well as yours
Posted By: tompo

Re: Space war - New Demo - 06/02/07 06:43

I'm glad to hear this
Quote:

There must be something in the air!


or in space
That's true... maybe summer?
Freelancer is old one but it's true... planets, skycubes, fogs, particles... are great in this game. And all is made with dx8
Maybe after this years explosions, models and skins looks not so good but... we'll make them better
BTW... Maybe show us some screens or video or demo of Your project?
Good luck and happy "hard" working
Posted By: Zelek

Re: Space war - New Demo - 06/02/07 15:07

Quote:

BTW... Maybe show us some screens or video or demo of Your project?



edit: will move these screenies to a new post instead
Posted By: Germanunkol

Re: Space war - New Demo - 06/03/07 10:41

just my opinion: make the one side a LOT darker. when you see a planet in space, one side's nearly black. other than that: looking very cool.
Posted By: tompo

Re: Space war - New Demo - 06/03/07 12:13

Nice... but not mine
Create new post about your freelancer-style game
and make some demo
I want to see your progresses
Keep coding... looking nice
© 2023 lite-C Forums