[Mari0] Repulsion Gel Bug

Problems running games? Right in here.
User avatar
QwertymanO07
Posts: 1151
Joined: 05 Oct 2012, 07:58

Post » 01 Jun 2013, 23:00

If you fall from a flagpole onto some Repulsion Gel, this happens:
Image
I'm running vanilla Mari0 1.6, Windows Vista.
EDIT: This is what I mean by falling from a flagpole onto some Repulsion Gel:
Image
Last edited by QwertymanO07 on 01 Jun 2013, 23:05, edited 1 time in total.

User avatar
Firaga
Posts: 931
Joined: 02 Jul 2012, 16:05

Post » 01 Jun 2013, 23:01

Because your not supposed to use repulsion gel after a flagpole.
Faith plates work (I think) past the finish though.
400th post.

HAPPYFACES
Posts: 521
Joined: 02 Jun 2012, 03:40

Post » 01 Jun 2013, 23:16

I think it's because the animation of Mario going into the castle is a different type of Mario than in the normal game.

User avatar
Firaga
Posts: 931
Joined: 02 Jul 2012, 16:05

Post » 01 Jun 2013, 23:21

HAPPYFACES wrote:I think it's because the animation of Mario going into the castle is a different type of Mario than in the normal game.
Actually, I think the physics change or something when you touch the flagpole, and walk towards the castle.
Could be wrong about this though.
But I highly doubt the 'animation' thing would cause the game to crash. It would just glitch the sprites if anything.

With Faith Plates, the height you jump is already set, so using them after the goal shouldn't be an issue.
With Repulsion Gel, the height you jump is determined with the force you jump from is. The physics probably can't calculate that.

User avatar
BobTheLawyer
Posts: 2232
Joined: 01 May 2012, 21:00

Post » 02 Jun 2013, 00:14

HAPPYFACES wrote:I think it's because the animation of Mario going into the castle is a different type of Mario than in the normal game.
Look at the screenshot of the error.

It has nothing to do with graphics.
It is about the gravity variable.

HAPPYFACES
Posts: 521
Joined: 02 Jun 2012, 03:40

Post » 02 Jun 2013, 00:17

I think you misinterpreted when I said "Animation of Mario is a different Mario." Of course the animation itself wouldn't cause the problem, but what's calculated behind that animation would.

However you already said this, so bleh, question answered. >don't use repulsion gel after flag.

Becauseninja:
BobTheLawyer wrote: Look at the screenshot of the error. blahblah
The animated Mario doesn't have physics, was my initial point. Not that herpderp the animation of Mario is causing the problem. You guys need to read a little more carefully.

User avatar
BobTheLawyer
Posts: 2232
Joined: 01 May 2012, 21:00

Post » 02 Jun 2013, 00:23

Anyways, with gel gun, this is a real problem that should probably be fixed.

Camewel
Posts: 2996
Joined: 02 Feb 2012, 21:32

Post » 02 Jun 2013, 00:28

This is already fixed in SE.

User avatar
Qcode
Posts: 1472
Joined: 05 Feb 2012, 18:00

Post » 02 Jun 2013, 00:30

If you need it right now it's a simple one line fix anyway.
Change line 1772 from

Code: Select all

self.speedy = self.speedy + self.gravity*gdt
to

Code: Select all

self.speedy = self.speedy + (self.gravity or gravity)*gdt