Project X Forums http://px.worms2d.info/forum/ |
|
Spitfire http://px.worms2d.info/forum/viewtopic.php?f=13&t=632 |
Page 1 of 2 |
Author: | -raffie- [ Fri May 24, 2013 7:14 pm ] | ||
Post subject: | Spitfire | ||
Attachment: spitfire.jpg [ 244.41 KiB | Viewed 15158 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
|
Author: | loqman4686 [ Wed May 29, 2013 1:14 pm ] |
Post subject: | Re: Spitfire |
i just want ask . How did u do this ? Let me do practice ... Give me download link to create it .... Loqman |
Author: | Twicken [ Mon Jun 03, 2013 4:01 am ] |
Post subject: | Re: Spitfire |
looks great raffie. it would indeed be awesome if it could drop say 3 bombs that do 25 damage each. |
Author: | -raffie- [ Mon Jun 03, 2013 3:56 pm ] |
Post subject: | Re: Spitfire |
I've updated the Spitfire to make it a little easier to navigate, it takes height alot easier now. |
Author: | -raffie- [ Wed Jul 03, 2013 8:15 am ] |
Post subject: | Re: Spitfire |
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 [ 20.67 KiB | Viewed 15021 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 |
Author: | PyroMan [ Wed Jul 03, 2013 5:28 pm ] |
Post subject: | Re: Spitfire |
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. |
Author: | -raffie- [ Wed Jul 03, 2013 7:15 pm ] |
Post subject: | Re: Spitfire |
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 [ 38.27 KiB | Viewed 15011 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? |
Author: | PyroMan [ Wed Jul 03, 2013 7:41 pm ] |
Post subject: | Re: Spitfire |
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. |
Author: | -raffie- [ Thu Jul 04, 2013 6:41 am ] |
Post subject: | Re: Spitfire |
IC, yes ok, I understand, i'll make top view |
Author: | PyroMan [ Thu Jul 04, 2013 7:40 am ] |
Post subject: | Re: Spitfire |
lol )) when u`re done, i could try help ya with integrating it to the game |
Page 1 of 2 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |