Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - How can I make Bowser's Cannon Ball touch the ground in a normal level?
  
User name:
Password:
Reply:
 

UserPost
Rain Man
Posts: 4/378
i believe the bowling ball creates an invisible floor itself. I tested this out and if you place the sprite in a level, it will hit an invisible floor at y=a. (On the top sub-screen boundary)
Atma X
Posts: 139/801
Oh yea, I wasn't saying that you knew or should have known (sorry if I made it sound like that), but I was just saying that it would be nice if the Cannon Ball had gravity-like properties so that it could be useable, instead of trying to find something that's similar (my only problim with using the Mega Mole is that you can step on him with out getting hurt, and he's the wrong size).

I might actually consider the Mega Mole in a different area of my game, but I really hope that I can have both sometime in the near future.
Keikonium
Posts: 53/-2459
i know atma (didn't know you thought of the mega mole thing though). I was trying to thiunk of the biggest 'falling' enemy and thats the only one i could think of thats big and falls. I was going to say that huge bullet, banzai or something but he doesn't fall.
Atma X
Posts: 138/801
I thought of the Mega Mole idea before, but I don't know if I'll actually use it, because I wanted the Boulder to be a little bigger (The size of the Giant Cannon Ball, 3 16x16 Tiles Horiz. and Vertic.).
Escherial
Posts: 14/90
The ball does absolutely no collision detection, as far as I know -- i.e. no matter what sort of block you place in front of it, it's always going to fall and roll in precisely the same way. Technically, it's not even "falling" or "rolling" as we'd understand other things to move in the game world; its path is completely pre-programmed and not subject to change.

The Mega-Mole's not a bad idea, though
Keikonium
Posts: 50/-2459
this is just a though so don't flame:

The ball is a spirit right? right
there are blocks that will allow mario to go through but not spirits right? I'm not sure

If there are blocks that do that can't you use the blocks and set them up in the path of the ball so when the ball hits them it fall? OR use YY-CHR to edit the mega mole (or bigger spirit) and use the cannon ball GFX. tHEN when you use a mega mole in the game it will look like a ball and fall of stuff and hit solid grounds?

Let me know if you think any of this might work.
Atma X
Posts: 137/801
How much work do you think it would take to make it interact with gravity and Layer 1?
Or is it even possible to program that kind of fuction with the little bit of Sprite Hacking info that is currently known.
HyperLamer
Posts: 452/8210
Well I just ran a test and it hit nowhere near the subscreen boundary.
DarkStryker SP
Posts: 4/5
Alright now... To make sure I've understand this, I've done a few tests on my hack. Like what Golden Yoshi said about using it in his hack and shifting it upwards, it hits the invisible floor on a Sub-Screen Boundries. Unless the level was a Bowser level, using it in regular levels result with the balls hitting the Sub-Screens. and all...
Atma X
Posts: 116/801
It would be really cool if it acted like the Chomp Rocks in Yoshi's Island, except it would be 48x48 pixels wide (the same size as Bowser's Cannon Ball in SMW)instead of 32x32 and would not be pushable by Mario, and also would hurt Mario if he landed on it while it's rolling at high speeds.

BTW: Would it be easier to reprogram the Null/Unused Sprites, or easier to just program a whole new one?
Golden Yoshi
Posts: 39/693

Heh, I remember I used Bowder's Bowling Ball in my first hack in a normal level, but they only worked at the top of the screen, so I just shifted my level upwards. Although it doesn't seem you're doing it my way, I did manage to do it somehow.
HyperLamer
Posts: 371/8210
Just hack their code. Unless the level is the Bowser battle, run some code (that you add) for hit detection and skip the hardcoded drop distance.
DisruptiveIdiot
Posts: 12/147
Well than, that means you'd have to make a new sprite than to use the balls of death?
BMF98567
Posts: 125/1261
Originally posted by DisruptiveIdiot
Hmmm... Is that where they hit the ground in the final battle? Maybe where they land is hardcoded.
I'm 100% certain it's hardcoded. Since the sprite was never intended to be used in a normal level, the programmers could save ROM space and processing time by programming it to simply stop at a certain height and roll to the side. It probably has no real gravity or object interaction at all.
DisruptiveIdiot
Posts: 11/147
I just set the Cannon Ball at the very top of the Level, and it lands after it drops 9 spaces whether there is ground or not

Hmmm... Is that where they hit the ground in the final battle? Maybe where they land is hardcoded.
Alastor the Stylish
Posts: 478/7620
Great, I went through what Atma said and then went to post something and found out there was an easier way by reading what was after it ;-;
Atma X
Posts: 115/801
Well that's a lot easier than what I was doing, thanks a lot Fu.

Anyone know how to fix the Cannon Ball's Ground Detection problim (for Layer 1's ground, or even Layer 2's ground)?
I don't know if this would require some simple hacking, or a lot of reprogramming.
But I do realize that it will need some extent of ASM hacking. I also know that the Sprite Engine has not been figured out yet, but I can't remember if learning the Sprite Engine is only required for making New Sprites from Scratch, or if it's required for both the Programming of Completely New Sprites and the Reprogramming of Older Sprites that currently exist in SMW.
FuSoYa
Posts: 24/255
Atma, you can just use Edit, Insert Manual to put the bowling ball in...
Atma X
Posts: 113/801
The Invisible Solid Block Sprite doesn't affect it.
I just set the Cannon Ball at the very top of the Level, and it lands after it drops 9 spaces whether there is ground or not, (With Vertical Scroll Enabled) but it still obviously won't drop off of ledges, it keeps going in a strait line. So I got it to 'sort of work' if it's at the very top of the level, but it's still very far from working the way I would prefer it to.


(This Sprite doesn't appear in any of the Sprite lists in Lunar Magic)
So if you want to try this for yourself, you'll need to set any sprite in the level you want the Cannon Ball in, then look at the PC Address that the Level is being saved at (either when saving, or after saving and then go to "File, then Open Level Address", and look at the number that is shown in that window. Note: Every time you save a Level, Lunar Magic changes the PC Address that the level is saved at)
and it'll have a number that's in Hex. Then open your game (make a Back Up first incase anything goes wrong) in a Hex editor, and find the Address that LM told you (the one that specified where the level was being saved at), then look for the Sprite number that you set in the Level (The Sprite you set will be near the end of the Data for that level, it would be easiest to find Sprite # DF AKA: Green Shell at the bottom of the "Standard Sprites" list), and change it to A1 (A1 is the # for the Cannon Ball). Then save it, and Switch Back to Lunar Magic and Reload the Rom (you don't have to close LM for the changes to take effect, you can just Open the "Most Recent SMW Rom List" [which is the picture with a bunch of Files stacked on top of each other], and open the top most file [which will be your currently loaded Rom]. Also note that LM [u[will show the Sprite correctly, even though LM won't allow you to select it from the Sprite list).
Juggling Joker
Posts: 73/1033
That's assuming they stop whenever they hit a sprite, which hasn't been concluded yet.

Though, there might be a way to create the sprite that we DO know they'll stop on when they hit, and changing the 8x8 tiles it uses to blank tiles. Crude, but effective.
This is a long thread. Click here to view it.
Acmlm's Board - I2 Archive - Super Mario World hacking - How can I make Bowser's Cannon Ball touch the ground in a normal level?


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.048 seconds.