Page 1 of 1
The new Core Demo of SpaceMerc! Need feedback!
Posted: Thu Mar 24, 2005 8:35 am
by Mitth'raw'nuruodo
Hey,
Well I finally got myself away from Unreal Tournament 2004 yesterday, and did some coding...enjoy and comment please!
What I did:
-Fixed Stick of walls with your ship. (I just divided the vector + reversed it when it hit a wall)
-Made enemys shoot, prepare your eyes!

-Made you shoot less frequently.
I will be doing collision detecting next.

I made an easy max 8 IFs per two any-sized pics collision dectecting routine awhile ago, I'll just modifiy it.
SpaceMerc
Posted: Thu Mar 24, 2005 11:12 am
by Rattrapmax6

Quick comment:
Nice work, but it seems to have a problem moving right, had nothing to do with the wall as I still have a problem, but its from tring to move right... Left is fine, but its like a tractor beem pulling it that way.. if you get my drift.. no right, idles fine, left is okay...

Posted: Thu Mar 24, 2005 11:49 am
by Levi
No, the movement seems to be an interesting spin on movement through space.
Since there's no friction in space you'd have to totally counteract initial movement before you can start in the next direction and this appears to be what's going on.
Because after getting it to move left, it refused to move right and yeah that's how it behaved.
Nice work, I like how the enemies seem to fly in small squadrons rather than on their own. Makes it very realistic.
Posted: Thu Mar 24, 2005 3:37 pm
by Rattrapmax6
Eh, no, to test this I restarted the game, and tried to move right b4 I moved left.. wouldn't go.. then I reverted to left, and it acceled right (realy left) to where I wanted it...
Posted: Thu Mar 24, 2005 3:49 pm
by Mitth'raw'nuruodo
Thank you.
It should run faster once I put in some collision dectecting, and you can kill some enemies....or they kill you.
I had to spend a lot of time debugging it, I was making a stupid mistake. I was passing the Sprite for the Heavy Plasma Burst (big yellow thing) to the erase sub instead of the Mask of the Sprite. Heh, so instead of erasing it it was drawing it again....go figure

.
Meanwhile the deal on that circle-like enemy, I made it so that you will absolutley despise them. They shoot AT you. I made it by doing linear interpolation. Bascially in lame man's terms:
yVector = (yourshipY - enemyshipY) / StepsToMakeToDestination
xVector = (yourshipX - enemyshipX) / StepsToMakeToDestination
Well, To make the bullets go faster make Steps less.
Next step:
Collision detecting