#Joker Studio - Create your own custom Jokers as you play!
1 messages · Page 1 of 1 (latest)
Wow that sounds unique, do you have more screenshots of how the mod works exactly?
Yeah, I'll grab some quickly
The mod adds a new consumable type that prompts you to create a custom Joker when used
Did not expect Balatro to feature a drawing tool, this looks all neat
Is this better depending of the tier?
Yep, each tier has better values than the previous tier, and some conditions and effects are gated behind higher tiers (xMult requiring tier 2)
^-^
The ui.lua file scares me
fear the UI modder
jesus
Will give this mod a try 👍
It scares me too
Wow
the fact that you can DRAW
How did you went to do it, just off of the vanilla code or you had knowledge in Lua/Love2D prior to that?
oh wow i wanted to do this for morefluff but it's probably better as a standalone joker mod
90% of my Lua knowledge comes from Balatro modding lmao
Damn, this is inspiring
praise the code
Wait this is so silly I love this
What coding experience did you have prior
would giving the jokers custom names be doable(?)
instead of just "Custom Joker 1" (unless this is already a feature)
Few years of C# in Unity, and a little bit of Godot
YEARS
years
Definitely, all the Joker data is stored in the mod config, so it'd just be adding another field there
Possibly, I haven't looked into it yet
Btw looking at the code, there's only 5 custom jokers possible?
It's a fairly modular system, so I could probably add secondary effects eventually
Yeah, that's just an arbitrary value I set. Could bump it up to any value
i think its possible to even add infinite effects if you use calculate_effect and main_end to add to the description box :p
this is REALLY impressive, i still dont understand how you added the painting part 😭
Admittedly, the painting is pretty clunky unfortunately, as it can only add pixels when you click. There's no dragging to draw at the moment.
maybe this?
crash on run start
Hm
Was about to say yea
changing the mod folder name to Workshop fixes this bug
This is silly
it's always the naming
having to click every time feels bad but if that's what has to be done that's fair enough
I'll look into fixing this rq
Should just be some path I hardcoded
Global that saves my mod path my beloved
I'm open to alternatives, this was just the easiest way I could find to detect mouse inputs without spawning an array of 71x95 buttons ._.
Also looks like some debug logs weren't removed
Damn, my bad
yeah there's a lot of debug logs
also as a qol thing you should probably set screenshake to zero when you enter the painting thing(?) and then set it to whatever it was before when you exit
Noted
Are there shortcuts like ctrl+z and such on the drawing tool?
Not yet sorry, I do have an Undo button on the to-do list though
same
how to name them 💔
i'm assuming more effects and triggers are planned for later versions?
Haha you're my joker now
NOO

ur pfp reminds me of rihart
im drawing the chicken man
based
Yep, hoping to have upwards of 10 conditions, with 4+ effects for each by version 1.0
this is a very well put together proof of concept though, i'm excited to see how this moves forward
Coming down the line
jokers
NotMario but he's Mario or something idk
I'm surprised there's only been 1 crash 💀
will the jokers be put into the main pool at some point? i feel like that would be a good idea
then you could have the studio types map to the rarities
i think the "When this Joker scores, gives X1.5 Mult" can just be condensed to "X1.5 Mult", but its just a personal opinion (im used to shortening descriptions as much as i can) :p
considering the descriptions are modular it makes sense
thats true
-# Customizable Description
this mod reminds me of Scratch ❤️
That's fair, I opted for this kind of description because it's sort of mix and match.
Compact descriptions could be something I look into though
making turing complete software in balatro
the way you put together effects seems really fun, i wonder if its possible to input a custom number into those +Mult, XMult yet?
They initially were in the pool, but I took them out while I was deciding on how to acquire the consumable cards.
Not yet, but that could be fun as a Legendary-equivalent tier
i see i see
maybe something like a cost system where different modular parts cost different amounts. 1.5x mult is 10 units of cost but on the condition of each played wild card? 2 units of cost
what are the jokers so far?
You make them
how?
^
great.....
No way..
perkeo 2????
(my finger hurts now lol)
yeah that's my one real complaint
I'll need to find an alternative to constant clicking
he’s real
Wait WHAT
I ❤️ this so much, this is cool asf🫶
probably holding a key from your keyboard and then drag?
Ideally, there's a method to just click and drag, but I'll keep this in mind
oh you actually draw to files??? wow
cheater
-# They don't know each Joker is a seperate atlas
i mean i guess how else would you save the drawings
Damn Perkeo 2 really told me to kill myself
This reminds me of Draw a Stickman Epic 2, for some odd reasons
Real ones will remember Drawn to Life
love that game
True...
Wait will there be more custimisation options planned instead of having custom jokers? Like custom consumables, booster packs, tags, etc...
Can't promise I'll add anything customizable beyond Jokers, but I won't rule anything out
Ok!!😋👍
Is it constant fps drops, or when something specific happens?
Constant, haven't noticed when it happened tho
Odd, I'll keep an eye out.
Isn’t the mouse button a key
Or is the issue dragging the canvas?
you could do some stuff with Game:update but that would probably get laggy quickly
The issue was that I couldn't figure out how to check if a mouse button was being clicked, but if it counts as a key, then I could look into that
does https://www.love2d.org/wiki/love.mouse.isDown not work?
Nice
Sound Peak
Ty for the win NotMario it was all you
no problem
Huh, I forgot this existed
I'll see how easy it is to use this instead
it'd be annoying since you'd have to check whenever the mouse moves(?)
The bois
I have to try this mod out one day
Currently, it just checks to see if the canvas is clicked, then gets the closest pixel through some jank maths.
If I can check if the mouse button is clicked, then I could probably throw this into the update loop (but only have it check, like 4 times a second instead of every frame)
you'd have to make it draw a line between the points to make it feel less bad
Right
I'll tinker with this, see if I can get something like this working first, then find a configuration that feels satisfying without tanking performance
I appreciate the feedback from y'all!
Jank maths?
I had code to track the mouse’s position relative to the center of a card
It’s not too complicated but I did need to correct the position by the room’s position
That's more or less what my method is, but to get the center of the card, I ended up finding some constants that acted as the bounds for the card. I don't fully remember the implementation, so I'll need to look through it again.
It has some inaccuracy at the edges of the card though
https://github.com/EnderGoodra/Joker-Studio/releases/tag/v0.0.2
Fixed the startup crash, removed several debug messages, and allowed custom jokers to appear in the shop once created.
GitHub
Fixed a startup crash caused by hardcoded paths.
Allow custom jokers to appear in the shop pool once created.
Removed several debug messages left in the code.
How to install?
Download the Source C...
I also had to find the center of the card but I didn’t notice anything particularly weird
I can tell the math is jank, because when you draw near the corners it seems a bit off? Might just be me
Although if you change the size of the Joker in some way they might desync’ed
I can notice that happening with my artificially enlarged Jokers
Like these
They’re artificially bigger so they don’t detect the edges properly when clicking
Yeah, edges and corners have a slight offset, not just you
Did you use the main menu method to make the Joker bigger?
...why does the release have .lovelyignore in the folder
Wait, does it?
yeah
Apologies for the messy mod releases
Instead of being a card object, the editor instead uses a Sprite object, based on the collab credits page
Apologies if that doesn't answer the question, I'm not familiar with the main menu method
WHATT
THIS IS NUTS
@granite cedar @keen mulch DUDES CHECK THIS OUT
the deathcards are actually possible
oh my god crossmod support with INSCRYBED would be so cool
DebugPlus's eval command is Turing complete
Holy beans
This is fucking amazing, I love it
this mod is actully insane
wait i didn't realize how crazy this mod is
what if: you can publish a drawn joker to some db/github repo from within the game, then it shows up in other people's runs using the mod
Art-wise it'd be nice, effect-wise if it's to end up with the same ones eeeh
Also you have to be careful with allowing people to just upload images because someone is going to upload something inappropriate
Who’s been drawing dicks?
The famous quote from one of Joel’s videos..
original stream: https://youtu.be/Yy318EfvbCM
this seems like such a unique idea, i like it
Drawing a penis should kill the run
drawing a penis should be automatic win!
It replaces itself with an eternal obelisk
NOOOOOOO
ooooo, I've gotta check this one out
1 am gaming time lol
I can't wait till there's more effects and stuff in here, hehe, this is pretty cool
I think it would be nice if there were more conditions and triggers avalable, which, were stricter, but came with bonus effect power
we need a simple "When [suit/rank/enhancement] is [scored/held in hand]"
crossmod
Ok but can I color on it? 
unfortunately not
unplayable
Next update will have have a few more conditions and effects added. Played/held suits have been something I’ve considered for a while now, so those will probably be added
why i can't draw? i clicked everywhere, on every color and pen size but it doesn't work
also blueprint writws incompatible with custom joker that gives 15 mult when scored, bus still copies it
also tier platinum can add tier vip joker if its in one of 5 slots that was created before
Forgot about blueprint, my mistake
For now, this is intended, but this behavior may change in a future update.
Hm... when you tried to draw, were you clicking and holding to draw on the card? Currently, the only way to draw on it is individual clicks.
Clicking and holding won't actually do anything.
yes, i clicked too but nothing worked. also these 800 you see on screenshot from debug plus actually popped up when i clicked
I should say, there's a function added in my mod that creates a Studio card.
CreateJSCard(card_area, quantity, force_spawn, force_key, stickers)
There's a dedicated function for it, because of a voucher set that raises the minimum tier of all received Studio cards.
What mods do you have enabled?
Also, that 800 is likely a debug message I forgot to remove, I'll have that fixed in a patch later today.
these, blueprint+ and brainstorm
and joker studio of course
I'll download them and see if there's some incompatibility issue
I've downloaded all those mods, but it doesn't seem to be causing any issues.
Would you be able to send your Game, **Video **and **Graphics **settings?
Copied all those settings, yet it still seems to work. Are you using keyboard & mouse, or an alternative control scheme? Are you using Left-click to draw?
i'm using keyboard and mouse, i tried right clicking, left clicking, both holding, but nothing changes except message 800 in debug
What version of Balatro and Steamodded are you using?
it's 1:46 am in my country so i'll go to sleep now. Ping me if you need something more and i'll reply tomorrow
Screenshake has been disabled while the paint tool is active
Patch releasing sometime later will contain:
- Crossmod support for More Fluff (effect for obtaining colour cards)
- Card Sleeves support
- 4 new triggers, and a handful of new and existing effects for each
- Existing effects have been somewhat rebalanced (will be subject to further balancing in future)
Note: Cards made before this update may break or have different effects and conditions.
Chat modder is cooking here, so insane
have to try this
When selecting from 1 to 5 before drawing if i just select between 1 to 5 if i wait long enough the joker becomes an edition
intended?
Does it just happen when pressing the 1-5 repeatedly, or when adding the Joker to your Joker area?
What platform are you using? Windows, Mac, Linux, etc?
https://github.com/EnderGoodra/Joker-Studio/releases/tag/v0.0.3
New patch has been released
it crashed
Fix will be available in a few minutes
Yippie, I'll see if i can't draw in this version too
Also, it says here that i can just place zip into mods folder, but i always unzipped them inside. Did i install all my mods wrong?
You've installed your mods correctly if you unzip them, that may just be poor wording on my part
What operating system do you use? Windows, Mac, Linux, etc?
Let me know if the painting does or doesn't work
Yeah sorry it doesn't keep edition when drawing
Just to make sure I'm following, did the card on this screen randomly have an edition?
ui modding
still doesn't work
Nothing like some good ol' ui modding
I added those error messages in the earlier patch to try and narrow down the issue
It seems like the mod can't access the card sprites to modify
idk, in files it seems normal
I'll probably start that sometime over the next few days, yeah
how possible is it to add cross mod abilities
I'm really not sure what could be causing this, is your mods folder inside AppData/Roaming/Balatro?
At the moment, abilities are kinda narrow in scope, but I'll likely add some way for other mods to add their own abilities, probably a method of some kind
yes
You could make it like an api type thing
Probably will, tbh.
Currently, it's pretty easy for me to define cross-mod abilities though, like I've done with More Fluff. Having an API to handle that would be ideal.
Peak
Damn, I'm running out of ideas for what could be causing the issue then.
Are you able to try with just Joker Studio enabled?
yes, wait a minute
Until I get an api sorted, I'm more than happy to add in cross mod abilities manually, if you're interested
yooooo it works now
ill try enabling 1 mod at a time to see what caused it to not work
Ye ye, sorry currently outside so my grammar skills are questionable at best. But yes I thought it would stay the edition that it shows after but doesnt
No worries, you're ok! It's not supposed to show an edition on that menu, so I'll need to fix that soon. Thanks for letting me know!
with debug plus its normal
fusion jokers too
card sleeves too
prism too
aha, found problem, its brainstorm mod
@paper wadi Did you actually just straight up turn Balatro into a mix between a custom card creator and Mario Paint?
That is amazing lol
All it's missing is a fly swatting game
And that oh so iconic jingle lol
i want to add rhythm game to balatro but i haven't gotten started yet
Try updating your copy of Brainstorm, see if that fixes it. I've got brainstorm as well and it doesn't seem to cause any issues.
I've previously added Baba is You to Balatro, but I never finished the mod lmao
BalatrOSU would be incredible
i downloaded from code > download zip, but it still don't work
are we talking about same brainstorm?
Yeah, that's the same version I have
can you send me file of brainstorm you have? on github its 2.0.0 alpha 1. And when i downloaded brainstorm from code it says this
Did you try downloading the latest release, on the side?
GitHub
What's Changed
Fix: fast-reroll now correctly applies current stake to challenge by @OceanRamen in #8
Full Changelog: v2.0.0-alpha...v2.0.0-alpha-1
downloaded now and it still writes this
ill try disabling everything except joker studio and brainstorm
doesn't work with only joker studio and brainstorm either

Hmm
I'll try redownloading it, see if the issue pops up on my end
Doesn't seem to cause errors on my end.
might be a permissions error?
Could very well be, but it only happens when Brainstorm is enabled, and I can't replicate it on my end
i guess i'll just play without brainstorm, your mod is way cooler
I'll have to have a proper look at brainstorm eventually, see what might be causing this
crash happened when I tried to swap to the other effect of End of Round
Already got a fix for that on the way
is the drawing only able to be done by click or can i use it as a brush, because currently i cant drag to draw?
Drawing can only be done by click for now, I'm looking into adding support for dragging to draw soon
Aww man, how am i gonna make a realistic rendition of male genitalia as a balatro joker if i have to click to draw!
with much effort
and sheer willpower
funny mod, but unbalanced with money, also button Add to Joker can make Vip joker with platinum and lower
I'll be tweaking the values of effects every now and again, to find something that's at least partially balanced.
As for the issue with 'Add Joker', that was an intended feature, but now that Custom Jokers can appear in the shop once made, the option will likely be removed in a future update.
for a number balance suggest, I feel like "Last Played Hand" should be stronger than "First Played Hand" to encourage it's use more
I think opposite, until the last hand, you can upgrade other jokers or $$$
this mod is so cool, is there ever a possibility itll allow for more than 5 custom jokers at a time? it would be interesting to be able to only be able to play with custom jokers, or even as a seperate idea allow the creation of a joker on death to appear in the next run, inscryption style
if im able to make me and my friend into jokers, then i consider it to be peak modding
also, am i meant to be able to hold down the brush? because it doesnt let me, overall this mod is really cool but could usesome more touches
Rn you can only click to draw
Imagine the minor spelling mistake gif here
Holy let's go
awsomesauce
Oh damn, yeah lemme get this added shortly
https://github.com/EnderGoodra/Joker-Studio/releases/tag/v0.0.4
New release, including API support
you're the goat
I'm not too familiar with your drawing code but it seems that you can get the current frame at G.FRAMES.MOVE and you can probably check in your drsw function if the last draw was on the last/current frame and if so draw a line from the last point
can you not draw in the drop or, because its not letting me draw at all
What mods do you have enabled?
Is there any kind of error message when trying to draw?
let me check
okay, i deleted the mods and it works
let me add them back one by one until it stops working
yea, no idea, i think it might be one of my malverk textures somehow
ill look deeper into this after class
Alrighty
Im getting an error that says "could not get file data 800" and "could not get file data 1223"
There was a similar issue reported a day or two ago with those same error, and the culprit turned out to be Brainstorm, which didn’t seem to work with Joker Studio on their system.
i have it disabled, should i remove the file fully?
no, wait, i dont have it installed
Is it seemingly Malverk that causes the issue?
ive turned off malverk still happens, let me try trance
it seems to be trance that causes it
turned off trance and now it works
I’ll download trance and see if the issue arises on my system later. Thanks for letting me know!
Of course!
oh yea, if i may ask, in the future, can there be an option to have it apply the outline like how Oops! All six has the white border around the card?
Might be able to sort something like that out for a future addition, yeah.
thanks!
I’ve thought about having stencils that when enabled, limit the drawable area (for example, a stencil that only leaves the “Joker” text editable, so you can easily add the text if it gets messed with).
Having a stencil for the border could then be easily done with a system like that.
I’ll experiment with drawing lines between the positions sometime through the week
idk why this happens when I try to draw
What mods do you have enabled?
There have already been 2 cases of this happening, one was caused by Brainstorm, and the other by Trance. If you have either of those enabled, does disabling them fix the issue?
is there a way to name the custom jokers?
This one is crazy
This is fucking fire
Yeah this one is insane
Naming Custom Jokers may come at a later date, but there does seem to be interest
I forgot to follow up with you, did removing Trance fix the issue?
I'll release a hotfix later today that should fix this issue.
I left the game and went back and the custom joker art I did during the run reverted to the three dots
Is this a known issue?
I haven’t tested it yet
One moment
yep trance caused it, not sure why
I didn’t really use Trance at all so it’s pretty much a non-issue, but thanks for the hotfix anyway
btw I think it'd be really nice to have an undo button so we don't accidentally draw over something we didnt mean to draw over
There's a config option that resets custom Jokers when starting a new run and this can be disabled in the config.
Did this occur when continuing a run?
It was something involving how I was handling error messages. It should work properly in the upcoming hotfix.

Not sure why Trance caused it to happen, I think Trance uses an old version of nativefs
It happens when I close the game during a run after I’ve made the joker which tbf I guess won’t be happening very often so it’s an easily avoidable issue
As long as you don't reset/start a run, it shouldn't be happening anyways, so I'll investigate that soon
https://github.com/EnderGoodra/Joker-Studio/releases/tag/v0.0.4b
This patch should fix any issues caused with Trance (and hopefully Brainstorm in that one case) being installed
rip
Is this mod abandoned? It seems like it has a lot of potential
it is
Life’s picked up a bit, and left me little time to work on things. I may revisit this in the future, getting to a stable 1.0 release would be nice.
These are quite fun I must say