The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

219 평점
HUD API
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
파일 크기
게시일
업데이트일
2.506 MB
2020년 4월 10일 오전 5시 27분
2024년 8월 26일 오전 8시 49분
변경 사항 33개 ( 보기 )
이 아이템을 사용하려면 DLC가 있어야 합니다.

다운로드 위해 구독하기
HUD API

☢ Nato Potato ☢님의 1 모음집
NatoPotato's Binding of Isaac Mods
아이템 110개
설명
Using this mod you can create and use your own custom HUD layouts.

You can go to the Mod Config Menu to change the HUD, or you can press H at any time during a game to cycle through all the available HUDs.
(hotkey can be changed in the config menu)

In the config menu you can also set which HUD should be applied by default after starting a game.

Some example HUDs are included:
FakeDefault - Looks like the regular HUD, why would you want this? Mods can't render sprites over the regular HUD, they can if you use this.
Flash - Nostalgia. (assets shamelessly stolen from the Reflash mod, check it out if you're a fan of the original game)
TextOnly - Learn to read.
UpsideDown - For all the fellow Australian players out there.
Jittery - Clearly this HUD has had way too much coffee.
SPEEEEEEN - Because why not?


The mod has global functions that allow you to make and manage your own HUDs, basically you need some sprite anm files and a table that lists them, along with fields for position, orientation, etc.
The sprite table can also include functions that should be run while rendering the sprite, really helpful if you want to display dynamic data like stats or health or your own custom variables.
You can check the lua files for more info, it can get a bit complex but it's a lot easier than trying to implement a custom HUD from scratch.


Using the Mod Config Menu you can also enable a few extra stats (this should work for all up-to-date HUDs without needing them to include the extra stats in their code), currently there is a check for Planetarium room chance (repentance only), a counter for blue flies, one for blue spiders, enemies killed, damage taken, rooms explored, pills used, cards used and a counter for deaths which carries over between runs (and can be reset in the config menu).



Mods that render stuff on screen can also check the current HUD if they want to reposition them to fit different HUDs, all HUDs aside from the regular default one add the 'No HUD' seed effect so if you don't want to add support for different HUDs you can just only render stuff if the nohud seed is not active.
(it's also just good practice to do that as it will allow people to hide everything for good screenshots and it prevents sprites from being rendered over the mod config menu)


I didn't mess with maps and inventory stuff since those have already been done by other mods, so if you want visible minimap and inventory for custom HUDs subscribe to MiniMAPI and reHUD.


HUGE thanks to Temmie for the Deal API that can accurately calculate your angel chance. (and letting me re-purpose the code for this mod)
Now the HUDs should all have devil and angel chances, you can also use the config menu to switch the implementation of the chances from the weird 'chance for a special room & chance for that room to be angel' to the ACTUAL odds of each room appearing.
인기 토론 모두 보기(1)
6
2021년 5월 19일 오후 2시 00분
Repentance Updates
☢ Nato Potato ☢
댓글 32
Grym 2024년 3월 18일 오후 9시 55분 
@Fanrail do you have Immortal Hearts by Team Compliance on? I went through my whole mod list and found that that mod was the issue
you 2023년 9월 17일 오전 8시 06분 
Mod wiped my health off the face of the earth
it's gone, what do I do
Fanrail 2023년 8월 20일 오전 11시 52분 
Also, the game lags A LOT when the hud with this mod is not Default or None.
Fanrail 2023년 8월 6일 오전 8시 53분 
This mod makes the floor name appear as just "I" instead of, for instance, "Burning Basement I", if the hud is other than Default (apart from when it's None, in which case nothing of the hud is seen, obviously).
river 2023년 5월 9일 오후 10시 47분 
this mod lags my game when i kill an enemy
Teriyakiliver 2023년 2월 27일 오후 6시 14분 
I have no idea why but it only works when i set it in main.lua Thx for the help tho.
☢ Nato Potato ☢  [작성자] 2023년 2월 27일 오후 5시 58분 
just did a check and it remembered which hud I had set as the default and applied it when I reopened the game, so it's not failing to load settings, maybe it's being reset while you're playing somehow? or maybe it's something on your end.

next time you're playing the game could you open the config menu (F10) go to hud api options and check that the default hud option (second one from top) is set to something other than 'default'? if it doesn't load whatever hud you set are you able to check the debug console?
Teriyakiliver 2023년 2월 27일 오후 2시 59분 
hey there, im also having problems keeping a hud active on repentance, can you offer any help?
Rocketarm 2023년 2월 7일 오전 2시 55분 
I'm having trouble keeping one of the premade HUDs active on startup
Jakyle 2023년 1월 27일 오후 4시 25분 
Hello, I play with Fiend Folio and Repentance plus and I noticed that the hearts in the HUD do not render with this mod. from what I understand, they both use the "Custom Health API". Is there any plans to also support the Custom Health API or would the mod authors have to write something to support the HUD Api, Thanks in advance.