Gravity Duck
-migrated-
Gravity Duck
Submitted By:
Launch Trainer!
Duck Gravity Pixel Platform Puzzle

Wondering where the hacks are at? Register or Sign In to find out!


Wondering where the sol files are at? Register or Sign In to find out!

Gravity Duck

-migrated-
Last Updated: 10/19/2010 20:44

Gravity Duck

-migrated-
Last Updated: 10/06/2010 17:50

Sorry, there are no badges available for this game.

Game Dscription
Your god has sent you on a mission to find him some golden eggs. Your only tool is the ability to flip gravity. Use gravity wells to further alter the direction of gravity. 40 levels.
Gravity Duck Posted on: 10/06/2010 4:47pm
Quote Post
http://www.kongregate.com/games/Wobly/gravity-duck

Good game, but most levels are too easy with the occasional slightly harder level thrown in. I got bored with dying on the last level.  The only problem is falling off the screen, which requires pausing, returning to the main menu, and restarting.

Immortality
d0 30 60 db 02 66 ec 04 4f 0e 00 d0 27 68 c8 03 d0 24 1d 68 c4 03 5e c8 05 24 00 68 c8 05 d0 27 68 b8 03 5d 81 02 60 a3 05 60 a5 05 24 01 4a 81 02 03 80 81 02 d5 d0 66 ba 03 d1 4f 9c 05 01 47 =>
d0 30 60 db 02 02 02 02 02 02 02 02 26 68 c8 03 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 26 68 b8 03 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 47

I probably replaced more than I needed too here, but it works. If someone could simplify this I'd appreciate it. This was the original code. I changed alive and inControl from false to true and removed everything else, although it wouldn't have made a difference if I just NOPed those as well.

Code: [Select]
public function takeHit() : void
        {
//d0
_as3_getlocal <0>
//30
_as3_pushscope
//60 db 02
_as3_getlex Main
//66 ec 04
_as3_getproperty soundHandler
//4f 0e 00
_as3_callpropvoid playDieSound(param count:0)
//d0
_as3_getlocal <0>
//27
_as3_pushfalse
//68 c8 03
_as3_initproperty inControl
//d0
_as3_getlocal <0>
//24 1d
_as3_pushbyte 29
//68 c4 03
_as3_initproperty frame
//5e c8 05
_as3_findproperty alpha
//24 00
_as3_pushbyte 0
//68 c8 05
_as3_initproperty alpha
//d0
_as3_getlocal <0>
//27
_as3_pushfalse
//68 b8 03
_as3_initproperty alive
//5d 81 02
_as3_findpropstrict Explosion
//60 a3 05
_as3_getlex x
//60 a5 05
_as3_getlex y
//24 01
_as3_pushbyte 1
//4a 81 02 03
_as3_constructprop Explosion(param count:3)
//80 81 02
_as3_coerce Explosion
//d5
_as3_setlocal <1>
//d0
_as3_getlocal <0>
//66 ba 03
_as3_getproperty objectLayer
//d1
_as3_getlocal <1>
//4f 9c 05 01
_as3_callpropvoid addChild(param count:1)
//47
_as3_returnvoid
        }// end function
Re: Gravity Duck Posted on: 10/06/2010 4:53pm
Quote Post
System Bot
You could just change true to false, which would be quite laggy though, since the animation would loop, everytime it detects a hit.

Either that, or you could simply remove the hit detection from the player, regarding everything that kills you, of course not the egg.

66 f3 04 4f a6 03 00
66 f3 04 02 02 02 02

Code: [Select]
//66 f3 04
_as3_getproperty player
//4f a6 03 00
_as3_callpropvoid takeHit(param count:0)


This post was imported from an account that no longer exists!
Previous Name: phreneticus
Re: Gravity Duck Posted on: 10/06/2010 5:43pm
Quote Post
Quote from: "phreneticus"
Either that, or you could simply remove the hit detection from the player, regarding everything that kills you, of course not the egg.

Heh, I knew it could be simplified. Removing hit detection was one of the first things I tried, but the egg was the problem the way I originally did it.
Re: Gravity Duck Posted on: 10/06/2010 5:50pm
Quote Post
System Bot
Quote from: "cirape"
Quote from: "phreneticus"
Either that, or you could simply remove the hit detection from the player, regarding everything that kills you, of course not the egg.
Heh, I knew it could be simplified. Removing hit detection was one of the first things I tried, but the egg was the problem the way I originally did it.
You get 7 results in CE when searching only for the hitTest function. One of them is the one with the egg. If you change all of them, you also can't collect the egg, so you have to "specify" your search. With my above AoB you'll get 6 results, which exludes the egg one. :-) You only don't hit the objects that will kill you.

This post was imported from an account that no longer exists!
Previous Name: phreneticus