Pages: 1
Posted on 07-20-11, 10:09 pm (rev. 1 by ImageBot on 11-21-16, 02:08 am)
Fuzzy
Full mod

Karma: 1183
Posts: 67/785
Since: 06-28-11
So what exactly do I have to do to get these guys to work right. Mine always jump into the ground for no apparent reason...


Posted on 07-20-11, 10:17 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 372/4456
Since: 06-08-11
I think you have to fill the empty space under the ground.
That's the behavior they have jumping up and down rows of ? blocks and bricks.
Posted on 07-20-11, 10:49 pm (rev. 1 by ImageBot on 11-21-16, 02:08 am)
Birdo


Karma: 3304
Posts: 66/2021
Since: 06-28-11
Posted by Piranhaplant
So what exactly do I have to do to get these guys to work right. Mine always jump into the ground for no apparent reason...



I think they either can jump up or down whenever you positioned, so I guess using spacing? I have too the same problem. It seems that their behavior is random...
_________________________

Posted on 07-21-11, 04:27 am
Roy Koopa


Karma: 4011
Posts: 223/2722
Since: 06-26-11
You could try to copy a hammer bro. from a original desert level. If there's one in a desert level...
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 07-21-11, 04:56 am
Fuzzy
Full mod

Karma: 1183
Posts: 68/785
Since: 06-28-11
The hammer bros are only used on 1 level in the original game, which does happen to be a desert level, but both of the them have all 0's for sprite data so it wouldn't matter. I think the problem is that they have to be in an area with only three rows of blocks.
Posted on 07-21-11, 08:00 am
Birdo


Karma: 3304
Posts: 67/2021
Since: 06-28-11
Posted by Piranhaplant
The hammer bros are only used on 1 level in the original game, which does happen to be a desert level, but both of the them have all 0's for sprite data so it wouldn't matter. I think the problem is that they have to be in an area with only three rows of blocks.


How about the ones that spawn at midpoint or beginning of the levels?

_________________________

Posted on 07-21-11, 01:21 pm
Fuzzy
Full mod

Karma: 1183
Posts: 69/785
Since: 06-28-11
Yeah, there are those, but I meant hammer bros that are there every time you play the level.
Posted on 07-21-11, 08:42 pm (rev. 3 by ImageBot on 11-21-16, 02:08 am)
Ninji
Retired staff

Karma: 601
Posts: 58/229
Since: 06-30-11
I was having some issues with Hammer Bros in the last contest we did. I had the first star coin protected by a Hammer Bro, but it acts weird.

I spent some time just now trying to crack the code, and I think I've figured it out.


When the Hammer Bro is standing on the ground, he throws hammers a bit, and then will randomly jump UP, or jump DOWN. There is only one situation where the hammer bro will never jump down, and that's if there are only two tiles between him and the bottom of the view. Also, if the block under the Hammer Bro is within the view, but is empty (meaning the camera won't pan into it), he will not jump down asuming there are only two tiles between him and the bottom of the block. I haven't tested if scroll-control sprites will factor into this.

You know what I mean?

If not, check out this image:



He will not jump down from the base level, but if you watch him, he will jump up and down randomly between the other ledges.


Here are a couple more notes:

- The distance between ledges in the image is the max distance the Hammer Bro can jump up.
- If you make the upper platform more than one tile high, there will be a bit of a glitch when he jumps down from it.

Posted on 07-21-11, 10:56 pm (rev. 1)
Fuzzy
Full mod

Karma: 1183
Posts: 70/785
Since: 06-28-11
Thank you! They actually stop if there are 2 tiles between him and the bottom of a 16x16 block, not the bottom of the view.
Posted on 07-21-11, 11:14 pm (rev. 1)
Ninji
Retired staff

Karma: 601
Posts: 60/229
Since: 06-30-11
Does the 16x16 block under that have to be empty?

Edit: Nope, he just wont jump down below the crease of a 16x16 block. Interesting. I set him up close to the top of a block, and it watched it for a little bit. It seems like they don't like jumping up and out of blocks, either.
Posted on 07-21-11, 11:19 pm
Birdo


Karma: 3304
Posts: 69/2021
Since: 06-28-11
Thanks for the info

So I guess its not a good idea to put a hammer bro in a place which is 3 or more blocks higher?
_________________________

Pages: 1