Project X Forums



It is currently Sun Nov 10, 2024 7:17 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Spitfire
PostPosted: Fri May 24, 2013 7:14 pm 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
Attachment:
spitfire.jpg
spitfire.jpg [ 244.41 KiB | Viewed 16626 times ]


Based on the Helicopter lib, I made the Spitfire :) It's quite basic at the moment, and I would love to have some features added but I'll need some help since I can only do basic stuff in EAX.

- First off it would be awesome if the plane could do loops, while still being in control while the loop is going, or, when the key for looping is unpressed before half-loop, the plane falls out of the sky, or loses significant height. (I'm gonna make pseudo-3D sprites for the plane while in loop)

- It's a WWII warplane, so, a Machine gun and dropping bombs is just a necessity ;)
-> Each plane has (3) bombs.
-> Emulate real WWII bombs behaviour: Most bombs explode on impact, except some don't explode on impact; these 'bombs' explode when worm comes near (instant mine)

- Would be awesome if smoke cam out of the engine

For full effect, always use /ts
Anyway, have fun with it how it is, or better, help me improve it :mrgreen:


Attachments:
spitfire.rar [316.9 KiB]
Downloaded 767 times

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Last edited by -raffie- on Tue Jun 04, 2013 8:30 am, edited 2 times in total.
Top
 Profile  
Reply with quote  
 Post subject: Re: Spitfire
PostPosted: Wed May 29, 2013 1:14 pm 
Offline

Joined: Tue May 28, 2013 5:44 pm
Posts: 18
i just want ask . How did u do this ? Let me do practice ... Give me download link to create it ....

Loqman

_________________
YouR FriEndS

LOQMAN

Freedom Of Worms Armageddon Army


Top
 Profile  
Reply with quote  
 Post subject: Re: Spitfire
PostPosted: Mon Jun 03, 2013 4:01 am 
Offline
User avatar

Joined: Tue Oct 04, 2011 2:44 pm
Posts: 294
looks great raffie. it would indeed be awesome if it could drop say 3 bombs that do 25 damage each.

_________________
“If you can't explain it simply, you don't understand it well enough” - Albert Einstein.


Top
 Profile  
Reply with quote  
 Post subject: Re: Spitfire
PostPosted: Mon Jun 03, 2013 3:56 pm 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
I've updated the Spitfire to make it a little easier to navigate, it takes height alot easier now.

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Top
 Profile  
Reply with quote  
 Post subject: Re: Spitfire
PostPosted: Wed Jul 03, 2013 8:15 am 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
I've created some pseudo-3D sprites for the loop, shown here is an example of how it will look in game, actual sprites will off course be horizontal.
Attachment:
loop.jpg
loop.jpg [ 20.67 KiB | Viewed 16489 times ]


Probably it needs some more in-between sprites...

Maybe someone with more code knowledge can help me with the loop code cuz i'm not getting too far with that ;)

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Top
 Profile  
Reply with quote  
 Post subject: Re: Spitfire
PostPosted: Wed Jul 03, 2013 5:28 pm 
Offline
User avatar

Joined: Sun Apr 08, 2012 1:09 pm
Posts: 425
Location: Ukraine, Kyiv
Spritebuilder rotates sprites using script. + can play animations, for example it can be static pseudo-3D animation, like you did here. But to work correctly, need pseudo-3D up to 90 degree rotation (where we see top of worm`s head + top of wings faced to us and wheels are faced from us and invisible).

So it will work like.. Smoothly rotates sprite + plays frames of animation based on object movement. This will create full smooth pseudo-3d effect, like supersheep has, but without all those in-between frames.

_________________
Things to impress.


Top
 Profile  
Reply with quote  
 Post subject: Re: Spitfire
PostPosted: Wed Jul 03, 2013 7:15 pm 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
Good to know that it can be made with spritebuilder!

I'm not sure why you say there would be a top view needed. This is how i imagined the full loop:

Attachment:
loop-full.png
loop-full.png [ 38.27 KiB | Viewed 16479 times ]


Maybe you have a different idea of how it could look, if so could you explain where you think there should be a top view?

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Top
 Profile  
Reply with quote  
 Post subject: Re: Spitfire
PostPosted: Wed Jul 03, 2013 7:41 pm 
Offline
User avatar

Joined: Sun Apr 08, 2012 1:09 pm
Posts: 425
Location: Ukraine, Kyiv
Well i was thinking about control like supersheep has.. i mean when you can`t turn around immidietly. When u need to fly on other direction, u need make a cirlce - then we would need top view, its kinda simmetry point to flip sprite easely. Otherwise we will get "upside down" fly, like top part on your picture, when worm flyes ->> way.

Then i remebered that Spitfire flips the plane and change direction.. in that case yeah, we dont rly need top view. But if we can flip plane anytime, then such kind of sprites will be messy, i think..
Imagine if you fly horizontally, then fly up, hold Arrow up for that... but once you press "another side" arrow key, sprite flips and all your work goes to nowhere. Coz it will work as worm flyes backwards, i think.
So what i`m trying to say, that this kind of sprites will nicely work only with fly-behaviour similar to supersheep. And in that case we need top view. And that top view will be only on 90 degrees. other 270 degrees will be filled with those sprites by flipping it and playing then backward and forward.

Maybe im not rly understood your idea and how it should work, but for now i think it will work like i wrote above.

_________________
Things to impress.


Top
 Profile  
Reply with quote  
 Post subject: Re: Spitfire
PostPosted: Thu Jul 04, 2013 6:41 am 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
IC, yes ok, I understand, i'll make top view :)

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Top
 Profile  
Reply with quote  
 Post subject: Re: Spitfire
PostPosted: Thu Jul 04, 2013 7:40 am 
Offline
User avatar

Joined: Sun Apr 08, 2012 1:09 pm
Posts: 425
Location: Ukraine, Kyiv
lol ))
when u`re done, i could try help ya with integrating it to the game :)

_________________
Things to impress.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 111 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Skin by Lucas Kane