make mario levels make mario levels make mario levels make mario levels make mario levels

[12E] B, R, Y

Half a jump is still a jump
Post Reply
DesRie
Posts: 11
Joined: 5 years ago

[12E] B, R, Y

Post by DesRie »

Yes dragon coin

2 exits

NO kaizo
Attachments
JUMP_00000.png
JUMP_00000.png (10.75 KiB) Viewed 4419 times
B, R, Y.zip
(910.39 KiB) Downloaded 48 times
User avatar
xfix
:)
Posts: 1046
Joined: 12 years ago
First name: Konrad Borowski

Re: [12E] B, R, Y

Post by xfix »

I'm not sure why I bothered (but I guess it bothers me seeing backgrounds from Kirby's Dream Land 3 without HDMA), so I went, and implemented most pointless piece of ASM ever. (video of HDMA)

Code: Select all

level12E:
	!freeram = $0EFA
	!hdmametatable = !freeram+12
	!hdmatruetable = !hdmametatable+4
	!bgposfin = !hdmatruetable+15

	LDA $9D
	BNE .over
	LDA $13D4
	BNE .over

	LDA #$DB
	CLC
	SBC $20
	STA !hdmametatable+0

	REP #$20

	LDX #$00
	LDY #$00
-
	LDA !freeram,x
	CLC
	ADC .increments,x
	STA !freeram,x

	INX #2
	CPX.b #.endincrements-.increments
	BNE -

	SEP #$20

	LDX #$00
-
	LDA !freeram+1,x
	CLC
	ADC $1E
	STA !hdmatruetable,y

	INX #2
	INY #3
	CPX.b #.endincrements-.increments
	BNE -

	LDA $1E
	STA !bgposfin

.over
	RTS
.increments
	dw $20*5
	dw $20*4
	dw $20*3
	dw $20*2
	dw $20*1
.endincrements

Code: Select all

levelinit12E:
	!freeram = $0EFA
	!hdmatable = !freeram+12

	LDA #%00100
	STA $212C
	LDA #%10011
	STA $212D

	REP #$20
	; Channel 3 pseudo-hires
	; Pseudo hires (#$33)
	; 1 register, write once (#$00)
	LDA #$3300
	; Channel 3 HDMA ($XX3X)
	STA $4330
	LDA #.pseudohireshdma
	STA $4332

	; Channel 4 parallax
	; BG2 Horizontal Scroll (#$0F)
	; 1 register, write twice (#$02)
	LDA #$0F02
	; Channel 4 HDMA ($XX4X)
	STA $4340
	LDA #!hdmatable
	STA $4342

	SEP #$20
	; Table looks like this
	; Anything marked XX can be pretty much anything.
	; $DD is for distance, $ZZ is horizontal position.
	;
	; db $DD, $XX, $XX
	; db $gg, $ZZ, $XX (5/8)
	; db $gg, $ZZ, $XX (4/8)
	; db $gg, $ZZ, $XX (3/8)
	; db $gg, $ZZ, $XX (2/8)
	; db $gg, $ZZ, $XX (1/8)
	; db $XX, $ZZ, $XX (0/8)
	; db $00
	LDA #26
	STA !hdmatable+3
	LDA #19
	STA !hdmatable+6
	STA !hdmatable+9
	LDA #11
	STA !hdmatable+12
	STA !hdmatable+15
	STA !hdmatable+18
	STZ !hdmatable+21

	LDA.b #.pseudohireshdma>>16
	STA $4334
	LDA.b #!hdmatable>>16
	STA $4344

	; Enable channel 3 and 4
	LDA #$18
	TSB $0D9F

	JMP level12E
.pseudohireshdma
db $40, $00 ; No pseudo HiRES for status bar
db $01, $08 ; Pseudo-HiRES for Layer 3
db $00
DesRie
Posts: 11
Joined: 5 years ago

Re: [12E] B, R, Y

Post by DesRie »

Added the HDMA
Attachments
B, R, Y_v2.zip
(911.51 KiB) Downloaded 45 times
DesRie
Posts: 11
Joined: 5 years ago

Re: [12E] B, R, Y

Post by DesRie »

Modified the HDMA (Level 1FC)
Attachments
B, R, Y_v3.zip
(911.63 KiB) Downloaded 72 times
DesRie
Posts: 11
Joined: 5 years ago

Re: [12E] B, R, Y

Post by DesRie »

Several Parts of difficulty downgraded
Attachments
B, R, Y_v3.1.zip
(911.67 KiB) Downloaded 47 times
User avatar
ft029
m/m wannabe
Posts: 537
Joined: 5 years ago
Location: U.S.

Re: [12E] B, R, Y

Post by ft029 »

Sorry for not asking first. I decided to make major changes to your level to make it more acceptable, easier, and fun. I hope you're okay with it.

Level is attached.

Note to aterraformer: I didn't put the ASM in the folder. I did not change any ASM.
Attachments
B, R, Y ft.zip
(868.72 KiB) Downloaded 46 times
Mosts Awards:
Image
Image
DesRie
Posts: 11
Joined: 5 years ago

Re: [12E] B, R, Y

Post by DesRie »

modified based on comments ft029.

I really didn't know how to make.
It really sorry.
Attachments
B, R, Y_v4.zip
(912.27 KiB) Downloaded 46 times
User avatar
ft029
m/m wannabe
Posts: 537
Joined: 5 years ago
Location: U.S.

Re: [12E] B, R, Y

Post by ft029 »

No, it is perfectly fine! I loved working with the gimmick that you had as there is so much opportunity! It was a very enjoyable experience. Thank you, DesRie! Also, I'm glad the palettes are fixed now. (I changed the palette because my eyes cannot see in the darkness with Lunar Magic.)

If anyone is completely stuck on any of the puzzles, here's a video: (SPOILERS AHEAD!) https://www.youtube.com/watch?v=HgBPvaDhk_M
Mosts Awards:
Image
Image
DesRie
Posts: 11
Joined: 5 years ago

Re: [12E] B, R, Y

Post by DesRie »

After watching the aterraformer's broadcast, I knew my level was short of time.
So I changed it to 0 seconds and added a palette file and a message.

B, R, Y v5
https://drive.google.com/file/d/0B1Eltj ... NOanM/view
User avatar
aterraformer
Posts: 331
Joined: 10 years ago
Location: The Astral

Re: [12E] B, R, Y

Post by aterraformer »

I believe I have 0 problems with this level now. I like it a lot in fact.
raocow wrote:the plan is to wait for Jump to be released and then replacing the graphics without telling anyone involved with Jump.
Image
Image
Post Reply