* *
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 17, 2018, 06:37:44 PM

Login with username, password and session length

Ladders, wall climbing/grabbing, Swinging?

  • 39 Replies
  • 12373 Views
*

Offline nedflandeurse

  • Hero Member
  • *****
  • 2139
  • Peace
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #30 on: November 09, 2017, 01:03:28 PM »
Testing dd mini in the latest openbor updates the stair climb fails.
Is there a way to fix it?

wait, not again?!!  ???
my game system. W.A. Project.

*

Offline jiam

  • Sr. Member
  • ****
  • 381
  • google translation
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #31 on: November 09, 2017, 02:59:45 PM »
This is the last one I have:
OpenBOR_v3.0_Build_4539

*

Offline Bloodbane

  • Hero Member
  • *****
  • 3213
  • Dark Dragon
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #32 on: November 11, 2017, 03:24:56 AM »
 I've found the problem and have solved it :)

 Since it would require multiple fixes, it would be easier to just download updated version of DD Mini here: DD Mini

*

Offline jiam

  • Sr. Member
  • ****
  • 381
  • google translation
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #33 on: November 11, 2017, 06:23:54 AM »
thanks Bloodbane, but there is still a problem.when the player is going up if hit he fails  :P

*

Offline maxman

  • Hero Member
  • *****
  • 1362
  • A.K.A. Ermax619
    • Atlas Productions - Cavern of Creativity
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #34 on: November 11, 2017, 05:17:32 PM »
Yeah, when player is on the ladder and the enemy attacks him there, he falls to the screen edge and loses his life.
Projects in Progress:
Dragon Duo (on hold)
Captain Commando (CPS2/MVC style) (on hold)
Unelmia (on hold)
Secret project (on hold)
Double Dragon Remake (in progress)
Castlevania Rebirth (on hold)

Misc.:
Openbor Tutorials (to be resumed later on)

*

Offline Bloodbane

  • Hero Member
  • *****
  • 3213
  • Dark Dragon
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #35 on: November 12, 2017, 05:00:54 AM »
 Thanks for the report, I've just made a quick fix. Here's the updated demo: DD Mini

*

Offline jiam

  • Sr. Member
  • ****
  • 381
  • google translation
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #36 on: November 12, 2017, 02:03:44 PM »
now if thanks, I'll see if I can use it  :)

*

Offline jiam

  • Sr. Member
  • ****
  • 381
  • google translation
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #37 on: November 25, 2017, 12:34:10 AM »
after many attempts and tests I realized that if I have activated "backpain 1" my character floats if he receives a blow on the stairs.
Do you know how to solve it?

*

Offline Bloodbane

  • Hero Member
  • *****
  • 3213
  • Dark Dragon
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #38 on: November 25, 2017, 10:45:22 PM »
 You need to set same script to BACKPAIN and BACKFALL animation from PAIN and FALL

 Here's the script for each:

Quote
anim   pain
@script
    void self = getlocalvar("self"); //Get calling entity
    void target = getlocalvar("Target" + self);
    changeentityproperty(self, "antigravity", 0);

    if(target!=NULL())
    {
      bindentity(target, NULL());
      damageentity(target, self, 0, 1, openborconstant("ATK_NORMAL"));
      tossentity(target, 1, 0, 0);
      setlocalvar("Target" + self, NULL());
    }
@end_script   

   delay   30
   offset   68 131
   bbox   61 76 20 56
   frame   data/chars/billy/pain1.png
      
anim   fall
@script
    void self = getlocalvar("self"); //Get calling entity
    void target = getlocalvar("Target" + self);
    changeentityproperty(self, "Subject_to_Wall", 1);
    changeentityproperty(self, "Subject_to_Platform", 1);
    changeentityproperty(self, "antigravity", 0);

    if(target!=NULL())
    {
      bindentity(target, NULL());
      damageentity(target, self, 0, 1, openborconstant("ATK_NORMAL"));
      tossentity(target, 1, 0, 0);
      setlocalvar("Target" + self, NULL());
    }
@end_script   

   delay   50
   quakeframe 2 1 8
   landframe   2
   offset   68 131
   frame   data/chars/billy/fall1.png
   delay   300
   frame   data/chars/billy/fall2.png
   delay   15
   sound   data/sounds/fall2.wav
   frame   data/chars/billy/fall3.png
   bbox   45 120 38 15
   frame   data/chars/billy/fall3.png

 The script contains code to reenable gravity and also to release grabbed opponent

*

Offline jiam

  • Sr. Member
  • ****
  • 381
  • google translation
Re: Ladders, wall climbing/grabbing, Swinging?
« Reply #39 on: November 26, 2017, 12:07:47 AM »
OK perfect thank you.
One last doubt about the stairs, to move right and left that I would have to add ?.Example double dragon arcade level two the fence

 

Recent

Members
Stats
  • Total Posts: 47992
  • Total Topics: 3294
  • Online Today: 32
  • Online Ever: 316
  • (January 04, 2013, 09:43:02 AM)
Users Online
Users: 3
Guests: 20
Total: 23