| Sprite/Block/HDMA/ASM Code Library |
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Sprite/Block/HDMA/ASM Code Library |
|
Pages: 1 2 3 4 5 6 ... 9 10  |
Thread Closed |
|
|
|
|
| Posted on 2008-05-23 07:49:31 PM |
Link |
|
|
Wouldn't the Wiki be the perfect place for things like this?
|
|
| Posted on 2008-05-23 11:38:00 PM |
Link |
|
I'm not sure if the custom sprites section is the right place to submit this, that's why I didn't approve that submission (but someone else did).
... but I don't see anywhere else to submit it to (besides making a wiki article), so I guess it's ok.
I could make a subroutine section, but I didn't get the coder position (nobody did). A subroutine section would be nice, though. I have many things to submit to it.
EDIT: nevermind, that wouldn't be a good idea at all
|
| Last edited on 2009-08-03 03:20:14 PM by edit1754. |
|
| Posted on 2008-05-23 11:55:46 PM |
Link |
|
Originally posted by smweditI could make a subroutine section, but I didn't get the coder position (nobody did)
That wouldn't be a good idea, even if you were a coder. When newbies see all those sections, they probably think "Oh, I want to add subroutines in my hack, they'd look cool!" and stuff.
Also, I don't see why it has to be a downloadable .zip when it's just a text file. You could make an article in the wiki or upload a text file to someone's webspace, and write all the codes in it.
Anyway, this is great for ASM beginners like me. Thanks!
|
|
| Posted on 2008-05-24 12:47:01 PM |
Link |
|
Originally posted by SmallhackerWouldn't the Wiki be the perfect place for things like this?
I kinda forgot the wiki existed while making this... It do seem like a much better idea than filling the custom sprite and block section. a subroutine section would probably the best but the wiki is fine enough
I will leave this thread open for a while to allow others to voice their opinion
|
|
| Posted on 2008-05-24 12:54:58 PM |
Link |
|
My opinion is that it may be good to leave this thread here as a locked sticky and have a link to the wiki page. That way more people will know it exists when they come looking for information (I mean, after all, Bio said it all when he stated "I forgot the wiki even existed".
One thing I would suggest with things like this:
This is pretty detailed stuff for a beginner. I can make blocks, but I am new to sprite ASM. I just started learning it a few days ago, and most of it is well documented in the information that came with Sprite Tool, so it is easy to pick up since I know some basic ASM. With more advanced codes like this cape thing, there needs to be documentation and comments in the code so we know what to do with it, and how it works. Maybe include some basic examples of how the code would look in a real situation for those of us who are visual learners.
[?]
|
| Last edited on 2008-05-24 12:58:36 PM by 1524. |
|
| Posted on 2008-05-25 02:47:15 PM |
Link |
|
|
As you can see here, my attempt to add it to the wiki got a lot of weird problem(if anyone can delete it, do it), so I decided I would just host them on my noob freeweb site
|
|
| Posted on 2008-06-04 05:34:29 PM |
Link |
|
*puts in <nowiki> tags*
ok, I fixed the wiki, but I don't know why it wouldn't work without the tags o_O
|
| Last edited on 2008-06-04 05:34:46 PM by edit1754. |
|
| Posted on 2008-06-07 05:22:00 AM |
Link |
|
|
It didn't work properly due to some rows beginning with a tab instead of a space.
|
|
|
|
| Posted on 2008-09-07 07:52:54 AM |
Link |
|
|
yay, this thread is up and running... Let me find some code templates and what not.
|
|
| Posted on 2008-09-07 12:11:11 PM |
Link |
|
Breaking/shatter code for blocks
LDA #$02 ; Replace block with blank tile
STA $9C
JSL $00BEB0
PHB
LDA #$02
PHA
PLB
LDA #$00 ;set to 0 for normal explosion, 1 for rainbow (throw blocks)
JSR $028663 ;breaking effect
PLB
It messes up with certain 'acts like' settings, though. If it's set to 25 and is glitching, try setting it to 1E6.
(This is already in a page that Bio linked, but there's some info he missed.)
|
| Last edited on 2008-09-07 12:14:00 PM by Azure. |
|
| Posted on 2008-09-11 10:19:36 AM |
Link |
|
Finally finished disassembling the change in the next map16 routine used in many blktool block, wich for some strange reason, nobody bothered to disassemble yet
here
the routine is very large and not fully documented, but it should be easy enough to do variation wich affect nearby block and change to any map16
this also mean the map16++ patch is now mostly useless.
next is using the stripe image table in custom sprite...
|
| Last edited on 2008-09-11 10:20:35 AM by Bio. |
|
| Posted on 2008-09-11 07:57:50 PM |
Link |
|
Originally posted by BioFinally finished disassembling the change in the next map16 routine used in many blktool block, wich for some strange reason, nobody bothered to disassemble yet
here
the routine is very large and not fully documented, but it should be easy enough to do variation wich affect nearby block and change to any map16
this also mean the map16++ patch is now mostly useless.
next is using the stripe image table in custom sprite...
that is going to be very useful. thanks bio
|
|
| Posted on 2008-11-16 09:31:17 PM |
Link |
|
I ripped the contact routine for contact with fireballs. It should be useful for custom boss HP.
Fireball Contact Routine
|
|
| Posted on 2008-11-19 03:23:05 AM |
Link |
|
I have a question to the random number generator: Where can I adjust what's the max number? I want either 0, 1, 2 or 3.
1024: THAT'S WHAT I'VE SEARCHED!! Thank you!
|
|
| Posted on 2009-02-12 07:48:44 PM |
Link |
|
|
This is extremely useful. I wish there were a bit more routines, but hey, this is already great.
|
|
| Posted on 2009-02-28 09:45:21 PM |
Link |
|
VERY useful. Thank you, Bio, Smallhacker, edit1754, et al. I have two things to ask, though:
1) If I want a block to change to the PREVIOUS Map16 block instead of the next one...
clc ; |Set map16 number to change to current's +1
adc #$0001 ;/
...should I just replace CLC and ADC with SEC and SBC in this part of the code? (And, now that I think of it...does this routine only change the block's graphics, or does it change its properties to those of the next Map16 tile as well?)
2) What are all the block numbers for the Map16 tile-generating routine at $00BEB0? It appears that #$02 is a blank block (tile 25) and #$0D is a brown used block, but I don't see any pattern there. What about all the other possible values? Is there a list of these anywhere?
|
| Last edited on 2009-05-01 12:05:59 PM by imamelia. |
|
| Posted on 2009-03-09 07:29:24 AM |
Link |
|
|
I can't acess SMWWiki, and in the backup I didn't find it so... Does someone have the Fireball Contact Routine?
|
|
| Posted on 2009-03-13 07:25:03 PM |
Link |
|
|
I need a copy of the fireball contact routine if anyone has it. It's not in the SMWiki backup.
|
|
|
Pages: 1 2 3 4 5 6 ... 9 10  |
Thread Closed |
|
|
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Sprite/Block/HDMA/ASM Code Library |