Project X Forums
http://px.worms2d.info/forum/

My PX trampoline lib (Looking for someone to fix it)
http://px.worms2d.info/forum/viewtopic.php?f=13&t=441
Page 1 of 2

Author:  ravander [ Thu Jun 28, 2012 3:29 pm ]
Post subject:  My PX trampoline lib (Looking for someone to fix it)

Hey!

As some of you may know, the px trampoline is made by me (Ravander = tuomatz).
It quite works, but I've heard about situations that made the game crash because of the tramp.

Bug 1) If roping worm collides with it, the game sometimes crashes.
Bug 2) Jetpacking worm collides = crash.
Bug 3) I haven't seen this happen but I've heard that if worm falls from too high distance and collides with tramp it sometimes crashes the game.
Bug 4) Objects sometimes get stuck under trampoline.
ALL FIXED!!

I hardly ever use trampolines, but I have been asked to fix it, but I haven't been coding for ages. Fix it and you will get famous! xD

Author:  StepS [ Thu Jun 28, 2012 6:38 pm ]
Post subject:  Re: My PX trampoline lib (Looking for someone to fix it)

hey, i'll try to look into it ;) from the first instance it's not as easily understandable, I'll try to find solutions, or, if required, to do a full rewrite

Edit: ok, this was causing the crash (thanks to the unknown guy with the mysterious library):
Image
as about other things, i'll see if they still happen, I also may add some features (like the jetpack bounce).

Author:  ravander [ Fri Jun 29, 2012 2:26 pm ]
Post subject:  Re: My PX trampoline lib (Looking for someone to fix it)

StepS wrote:
(thanks to the unknown guy with the mysterious library)


Unknown? :D Thx much..

E: Hope you don't steal the credits this time! xD

Author:  StepS [ Fri Jun 29, 2012 2:28 pm ]
Post subject:  Re: My PX trampoline lib (Looking for someone to fix it)

ravander wrote:
Unknown? :D Thx much..

i mean, some guy that i don't know has applied this fix, and i confirmed that it doesn't crash now :lol:

ravander wrote:
E: Hope you don't steal the credits this time! xD

Which year is it now? ;)

Author:  ravander [ Fri Jun 29, 2012 3:39 pm ]
Post subject:  Re: My PX trampoline lib (Looking for someone to fix it)

Quote:
Which year is it now?


Seems like a year of StepS! Long waited messiah has come to fix our bugs. Sticking his little fingers in our hardwork.
Hahahaha! Just kidding, steal anything, fix everything, njoy! It's all yours bro.

Author:  StepS [ Fri Jun 29, 2012 3:49 pm ]
Post subject:  Re: My PX trampoline lib (Looking for someone to fix it)

Here the library is :lol: now the jetpack also bounces (without losing jetpack)

still if a mine gets stuck under trampoline, it will roll - and i am working on this. Currently the fix only works for one trampoline.

Attachments:
trampoline.rar [25.01 KiB]
Downloaded 772 times

Author:  ravander [ Fri Jun 29, 2012 4:51 pm ]
Post subject:  Re: My PX trampoline lib (Looking for someone to fix it)

Thank you StepS! You made many tramp fix requesters happy! :)

Author:  StepS [ Sun Jul 01, 2012 3:08 pm ]
Post subject:  Re: My PX trampoline lib (Looking for someone to fix it)

WARNING: dont use trampoline together with antiglitch! It will crash the game in some circumstances!
For the stuck objects fix, I'm going to do a workaround (almost found the way ;) )

Update: if you want to use antiglitch, use this revised antiglitch. This will make your game secure from crashes!

Attachments:
antiglitch_revised.rar [997 Bytes]
Downloaded 736 times

Author:  StepS [ Sun Jul 01, 2012 10:29 pm ]
Post subject:  Re: My PX trampoline lib (Looking for someone to fix it)

Hey :) I am happy to say that I have finally fixed the "mines/weapons/jetpacks stuck under trampoline" bug! :mrgreen: Now the Trampoline is set to play without any problems! Notice: if you want to use antiglitch in your scheme, use antiglitch_revised from the archive which is compatible with trampoline and works fine! :P
Thanks again to the tuomatz (ravander), the man who created this wonderful library (along some others) for the grownups to play with. :lol:

UPDATE: resolved the burning worms issue. :)

UPDATE 2:
  • Enlarged the mask of the trampoline - it fits the terrain now
  • Fixed the "ninjarope" crashes forever. The revised antiglitch isn't required now.
  • Heavily improved the checks for stuck mines/weaps/worms.
  • Now the trampoline is launchable from rope/jetpack/bungee/jump/etc. (you may need to update your pxscheme)
  • Added new sprites of worms holding the trampoline by raffie.
  • Now the worm is on front while the trampoline is on back.
  • Bungee doesn't bounce anymore.


Attachments:
trampoline.rar [61.38 KiB]
Downloaded 767 times

Author:  gexgeko [ Mon Jul 02, 2012 9:14 pm ]
Post subject:  Re: My PX trampoline lib (Looking for someone to fix it)

Looking good Steps, we tryed a few games and all looks well, however did not have the time to test completly in all cenarios but will later this week.
Thanks for all you're efforts with respect to tuomatz .

Thanks guys!

Page 1 of 2 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/