Share and discuss custom SMBX graphics.
Moderator: Userbase Moderators
|
|
|
|
-
DarkShadeX
- Volcano Lotus

- Posts: 535
- Joined: Sat Jan 18, 2014 11:34 am
Postby DarkShadeX » Sat Dec 13, 2014 10:47 am
hacheipe399 wrote:Hey Dark did you found the offset for star count?
Do you mean the mem code to draw the current star count on screen?
EDIT:
If you mean ^^ then It's 0x00B251E0 accessed with "dw" mode
|
|
|
|
|
|
|
|
|
-
hacheipe399
- Swooper

- Posts: 64
- Joined: Mon Feb 10, 2014 12:29 pm
Postby hacheipe399 » Sun Dec 14, 2014 1:12 am
DarkShadeX wrote:It's 0x00B251E0 accessed with "dw" mode
Thank you! I've found the address 0x00B2C8E4 dw which is the score counter 
Edit: I've found also: 0x00E20E34 dw, the current Link bombs counter
|
|
|
|
|
|
|
|
|
-
MECHDRAGON777
- Pink Yoshi Egg

- Posts: 6422
- Joined: Fri Dec 20, 2013 6:40 pm
- Flair: Nuclear Queen of Reversion.
-
Contact:
Postby MECHDRAGON777 » Tue Dec 16, 2014 10:18 pm
How would you do Peach's health or the reserve?
|
|
|
|
|
|
|
|
|
-
hacheipe399
- Swooper

- Posts: 64
- Joined: Mon Feb 10, 2014 12:29 pm
Postby hacheipe399 » Thu Dec 18, 2014 5:39 pm
MECHDRAGON777 wrote:How would you do Peach's health or the reserve?
The offset of mount of Hearts is 0x16, so you can use the same method to display number of hearts in screen, or just add a HeartSystem which shows the HP in-screen. If you want to display the hearts like the normal HUD, it's a work a bit long...
|
|
|
|
|
|
|
|
|
-
MECHDRAGON777
- Pink Yoshi Egg

- Posts: 6422
- Joined: Fri Dec 20, 2013 6:40 pm
- Flair: Nuclear Queen of Reversion.
-
Contact:
Postby MECHDRAGON777 » Thu Dec 18, 2014 5:45 pm
hacheipe399 wrote:MECHDRAGON777 wrote:How would you do Peach's health or the reserve?
The offset of mount of Hearts is 0x16, so you can use the same method to display number of hearts in screen, or just add a HeartSystem which shows the HP in-screen. If you want to display the hearts like the normal HUD, it's a work a bit long...
I would like it in the far right, opposite of the life, stars, and coins! I also need to put the score on the right! Along with he moon coin spaces! Hanks for saying it is possible, but could you give the script?
|
|
|
|
|
|
|
|
|
-
DarkShadeX
- Volcano Lotus

- Posts: 535
- Joined: Sat Jan 18, 2014 11:34 am
Postby DarkShadeX » Fri Dec 19, 2014 9:45 am
MECHDRAGON777 wrote:hacheipe399 wrote:MECHDRAGON777 wrote:How would you do Peach's health or the reserve?
The offset of mount of Hearts is 0x16, so you can use the same method to display number of hearts in screen, or just add a HeartSystem which shows the HP in-screen. If you want to display the hearts like the normal HUD, it's a work a bit long...
I would like it in the far right, opposite of the life, stars, and coins! I also need to put the score on the right! Along with he moon coin spaces! Hanks for saying it is possible, but could you give the script?
This is the script for displaying the Health amount for Toad/Peach/Link:
Code: Select all #-1
// --> Load images with transparency color FF00DC (Pink)
LoadImage,1,0xDC00FF,0,0,0,Health_1.bmp
LoadImage,2,0xDC00FF,0,0,0,Health_2.bmp
LoadImage,3,0xDC00FF,0,0,0,Health_3.bmp
#0
//Health Amount:
OnPlayerMem,0x16,3,0,1000,1,w
OnPlayerMem,0x16,2,0,1001,1,w
OnPlayerMem,0x16,1,0,1002,1,w
#1000
PlaceSprite,1,1,0,0,0,0
#1001
PlaceSprite,1,2,0,0,0,0
#1002
PlaceSprite,1,3,0,0,0,0
|
|
|
|
|
|
|
|
|
-
MECHDRAGON777
- Pink Yoshi Egg

- Posts: 6422
- Joined: Fri Dec 20, 2013 6:40 pm
- Flair: Nuclear Queen of Reversion.
-
Contact:
Postby MECHDRAGON777 » Fri Dec 19, 2014 3:19 pm
DarkShadeX wrote:MECHDRAGON777 wrote:hacheipe399 wrote:
The offset of mount of Hearts is 0x16, so you can use the same method to display number of hearts in screen, or just add a HeartSystem which shows the HP in-screen. If you want to display the hearts like the normal HUD, it's a work a bit long...
I would like it in the far right, opposite of the life, stars, and coins! I also need to put the score on the right! Along with he moon coin spaces! Hanks for saying it is possible, but could you give the script?
This is the script for displaying the Health amount for Toad/Peach/Link:
Code: Select all #-1
// --> Load images with transparency color FF00DC (Pink)
LoadImage,1,0xDC00FF,0,0,0,Health_1.bmp
LoadImage,2,0xDC00FF,0,0,0,Health_2.bmp
LoadImage,3,0xDC00FF,0,0,0,Health_3.bmp
#0
//Health Amount:
OnPlayerMem,0x16,3,0,1000,1,w
OnPlayerMem,0x16,2,0,1001,1,w
OnPlayerMem,0x16,1,0,1002,1,w
#1000
PlaceSprite,1,1,0,0,0,0
#1001
PlaceSprite,1,2,0,0,0,0
#1002
PlaceSprite,1,3,0,0,0,0
Thank you, and how would you do the reserve?
Should I give you my world script for you to see if it is right?
|
|
|
|
|
|
|
|
|
-
Sambo
- Snifit

- Posts: 211
- Joined: Fri Jan 24, 2014 6:43 pm
Postby Sambo » Thu Dec 25, 2014 3:38 pm
This only works for lunadll.txt.
Is there a way to make it work for lunaworld.txt, so it won't be necessary to make a copy of my custom HUD image for every level in my episode?
Also, I'm just curious. How many resource slots are available for loading images?
|
|
|
|
|
|
|
|
|
-
PixelJustice
- Spiny

- Posts: 27
- Joined: Sat Oct 10, 2015 3:25 am
Postby PixelJustice » Thu Oct 15, 2015 12:13 am
All the templates are no longer available. Would anyone happen to have any they could repost? Specifically Link's HUD if possible.
|
|
|
|
|
|
|
|
|
-
OJMan2011
- Goomba

- Posts: 1
- Joined: Tue Aug 30, 2016 7:48 pm
Postby OJMan2011 » Sat Sep 17, 2016 2:18 pm
Can i remove HUD?
|
|
|
|
|
|
|
|
|
-
loop
- Ninji

- Posts: 984
- Joined: Sun Apr 17, 2016 5:56 pm
- Flair: i may be dumb but im not stupid!
- Pronouns: he/him/they
Postby loop » Sat Sep 17, 2016 2:33 pm
OJMan2011 wrote:Can i remove HUD?
With a makeshift method, possibly. I have little coding knowledge though.
|
|
|
|
|
|
|
|
|
-
PixelPest
- Link

- Posts: 7111
- Joined: Sun Jul 12, 2015 5:38 pm
- Flair: Tamer of Boom Booms
-
Contact:
Postby PixelPest » Sat Sep 17, 2016 3:46 pm
OJMan2011 wrote:Can i remove HUD?
LunaDLL is deprecated; use LunaLua instead. And yes, via LunaLua for sure it's easily doable with a command
|
|
|
|
|
|
|
|
|
-
RhysOwens
- Nipper

- Posts: 423
- Joined: Fri Apr 22, 2016 2:53 am
Postby RhysOwens » Sun Sep 18, 2016 4:33 pm
Has anybody got a repost of the images?
Why didn't he or she use imgur?
|
|
|
|
|
|
|
|
|
-
Emral
- Cute Yoshi Egg

- Posts: 9890
- Joined: Mon Jan 20, 2014 12:58 pm
- Flair: Phoenix
Postby Emral » Sun Sep 18, 2016 6:38 pm
RhysOwens wrote:Has anybody got a repost of the images?
Why didn't he or she use imgur?
This tutorial is terribly outdated. Instead of LunaDLL you should use LunaLua. You can toggle the vanilla HUD and load/draw new custom graphics with functions provided here, though I suggest starting with the basics of lunalua.
If you just want to replace the HUD's images without changing the layout or anything, take a look at this page.
|
|
|
|
|
|
|
|
|
-
Gaming-Dojo
- Tweeter

- Posts: 126
- Joined: Mon Jan 25, 2016 9:20 am
- Pronouns: he/him
-
Contact:
Postby Gaming-Dojo » Sun Dec 11, 2016 4:21 pm
For me, the spoilers don't work somehow. Please fix.
|
|
|
|
|
|
|
|
|
-
loop
- Ninji

- Posts: 984
- Joined: Sun Apr 17, 2016 5:56 pm
- Flair: i may be dumb but im not stupid!
- Pronouns: he/him/they
Postby loop » Sun Dec 11, 2016 4:22 pm
yoshiegg wrote:For me, the spoilers don't work somehow. Please fix.
The thread is outdated anyway. Hardly anyone uses LunaDLL.
|
|
|
|
|
|
|
|
|
-
Gaming-Dojo
- Tweeter

- Posts: 126
- Joined: Mon Jan 25, 2016 9:20 am
- Pronouns: he/him
-
Contact:
Postby Gaming-Dojo » Mon Dec 12, 2016 2:17 pm
Jayce 777 wrote:yoshiegg wrote:For me, the spoilers don't work somehow. Please fix.
The thread is outdated anyway. Hardly anyone uses LunaDLL.
Ok,I See.I don't use it either but thought that it would work with LunaLua in the same way.Can anyone tell me whether I'm right.An updated tutorial about making a custom Hud with LunaLua would be nice if not.
|
|
|
|
|
|
|
|
|
-
PixelPest
- Link

- Posts: 7111
- Joined: Sun Jul 12, 2015 5:38 pm
- Flair: Tamer of Boom Booms
-
Contact:
Postby PixelPest » Mon Dec 12, 2016 10:01 pm
It doesn't. LunaLua is based on Lua and DLL on Autocode
|
|
|
|
|
|
|
|
|
-
timocomsmbx2345
- Foo

- Posts: 853
- Joined: Sat Feb 06, 2016 1:44 pm
-
Contact:
Postby timocomsmbx2345 » Sat Dec 17, 2016 1:00 pm
It appears all the images you uploaded is replaced with "Pic-Upload.de"
|
|
|
|
|
|
|
|
|
-
loop
- Ninji

- Posts: 984
- Joined: Sun Apr 17, 2016 5:56 pm
- Flair: i may be dumb but im not stupid!
- Pronouns: he/him/they
Postby loop » Sat Dec 17, 2016 1:03 pm
timocomsmbx2345 wrote:It appears all the images you uploaded is replaced with "Pic-Upload.de"
The screenies were deleted long ago. Nobody uses LunaDLL Autocode anymore (except for a select few, one of which made a level using it recently).
Bottom line: The topic is outdated.
|
|
|
|
|
Return to “Graphics”
Users browsing this forum: No registered users and 2 guests
|