Flamewolf

Member
Oct 31, 2017
352
361
Cards don't have programmed ranges. The way it works is it's based on the order it's place in the cards in deck list. So if you want Face Sitting to show up later, there's two options. One is to place the Lezdom theme at the very end of the list of themes on the deck building screen so it's added in later,
Holy crap, I've been playing this game on and off for the last year or two and I never knew the order of the themes in that menu dictated when they showed up in the match, I too thought it was order based on how far your TF was. I just thought it only for what cards would be offered, "Oh I'm playing Futanari, better take out the 'Cock' theme and maybe the 'Bondage' theme".

On a similar topic, could you add the hover effect to the themes you don't have equipped so you can preview them? It's a little annoying that you have to equip the theme in order to see what your equipping.
 

vizix

New Member
Apr 26, 2018
4
0
It's a fun little bonus thing. The alternative is just losing the game when you play six witch cards in a turn.

Cards don't have programmed ranges. The way it works is it's based on the order it's place in the cards in deck list. So if you want Face Sitting to show up later, there's two options. One is to place the Lezdom theme at the very end of the list of themes on the deck building screen so it's added in later, or if you want to change the code, you can go into the HTML file and find "setup.themes.Lezdom" and change the card order in the theme. The name of the card in the image files is the same number as the one that references in the code, so Face Sitting is 239. You could swap that with a later card in that theme, or even make them all card 239 if you want.
Explains why I couldn't find where they were set haha. I should've trusted my instincts based on your iteration over the cards. Thanks for the info, and good job on making a fun and unique deckbuilding game.
 
Jun 23, 2017
81
54
Line 16768 <</if>
which should be closing the if statement reading <</if>> only reads <</if>
change it to
Line 16768 &lt;&lt;/if&gt;&gt;

You don't have permission to view the spoiler content. Log in or register now.


You don't have permission to view the spoiler content. Log in or register now.
I came here to try to report the bug caused by this code (I can't select the error text for copy paste). Your solution worked perfectly.
 

jacq2e

Newbie
Sep 16, 2019
33
25
It's a fun little bonus thing. The alternative is just losing the game when you play six witch cards in a turn.

Cards don't have programmed ranges. The way it works is it's based on the order it's place in the cards in deck list. So if you want Face Sitting to show up later, there's two options. One is to place the Lezdom theme at the very end of the list of themes on the deck building screen so it's added in later, or if you want to change the code, you can go into the HTML file and find "setup.themes.Lezdom" and change the card order in the theme. The name of the card in the image files is the same number as the one that references in the code, so Face Sitting is 239. You could swap that with a later card in that theme, or even make them all card 239 if you want.
I'm pretty sure they do have one. When you move your mouse over a card, the range is shown.
1649289977185.png
 

DuniX

Well-Known Member
Dec 20, 2016
1,205
797
I was just randomly adding packs without a clue, but all this makes the early game much more strategic.
 

jacq2e

Newbie
Sep 16, 2019
33
25
That's the range of the card this game based on the deck generated by the themes you put in. If you put the theme in a different slot that number will be different.
Fun fact: When I answered the comment about cards range, I did not realize/notice that the comment about range was made by the dev of the game himself...

I feel like an ass :ROFLMAO:
 
  • Like
Reactions: saddict

ninjahedgehog

Member
Oct 23, 2018
269
183
I love the Deck building games and this one is surprisingly really fun especially once I understood the degree of customization to one's strategy. I will say though is that rather then mod transformations, I'd love to be able to set up my own Gifs for playing cards so that eventually all non basic cards play a gif, or add to the pool of gifs myself.
 

ninjahedgehog

Member
Oct 23, 2018
269
183
I imagine in order to do that you'd need to reverse engineer the code. Like i've said before, i'd settle for applying more gifs myself. Especially for hentai mode
 

ninjahedgehog

Member
Oct 23, 2018
269
183
Although if some sort of mod kit or easy to use scripter came out I imagine fans making card paxks for every porn tag XD. Don't know how hard it'd be for someting like that to be made but i'd honestly pay a month of patreon for that
 

Apollo Seven

Active Member
Game Developer
Sep 15, 2018
801
3,291
Although if some sort of mod kit or easy to use scripter came out I imagine fans making card paxks for every porn tag XD. Don't know how hard it'd be for someting like that to be made but i'd honestly pay a month of patreon for that
People have added new cards to the game, but the problem with doing it in the current system as that cards are all referred to through numbered lists, so new content will overwrite your cards and you'll have to change things around every update. The best way to implement it would be some kind of "blank" cards that I set aside for mods and read their effects and such from some kind of mod file, so it would be safe from future updates.
 
  • Like
Reactions: ninjahedgehog

Viixby

Member
Dec 19, 2019
358
567
Apologies if this was already answered, but those gifs and stuff that play when you play a card, will it be possible to add in more of those to add more diversity. Or if it's already possible how/where do I do this?
 
  • Like
Reactions: ninjahedgehog

ninjahedgehog

Member
Oct 23, 2018
269
183
actually been meaning to mention this but the setting to play the gifs "top of the playfield" doesn't seem to work. they continue to play below the played cards area. anyone else?
 

subli

Member
Jul 30, 2020
473
292
People have added new cards to the game, but the problem with doing it in the current system as that cards are all referred to through numbered lists, so new content will overwrite your cards and you'll have to change things around every update. The best way to implement it would be some kind of "blank" cards that I set aside for mods and read their effects and such from some kind of mod file, so it would be safe from future updates.
I think that should be solvable by not giving mod cards a hardcoded number but instead looping through and giving them numbers dynamically. Say the last vanilla card is card 30 then the first mod card gets 31 the next gets 32 and so on. If 10 more vanilla cards get added then the mod cards start at 41 and so on.
 
Jun 24, 2018
44
56
I think that should be solvable by not giving mod cards a hardcoded number but instead looping through and giving them numbers dynamically. Say the last vanilla card is card 30 then the first mod card gets 31 the next gets 32 and so on. If 10 more vanilla cards get added then the mod cards start at 41 and so on.
I had a look at modding this game and doing something more dynamic, the issue is you cannot read the filesystem at all in JS (despite what some bs online tutorials claimed. I tried them all, they don't work). So the html needs to know the path of all the cards, pictures etc ahead of time. That's why cards have a value for how many gifs they have, and there's code that determines what the filename is and only the browser itself can then load it.

I'm thinking of ways around it, such as loading all the possible image names for card gifs and counting how many actually display by checking the height of the resulting frame, but unless you hardcode the mods into the html or run the game in a web server and try loading via ajax or have mods include their own script that the main code somehow knows the name of and calls there's just no easy way to do it in the current game engine.
 
  • Like
Reactions: ninjahedgehog

Apollo Seven

Active Member
Game Developer
Sep 15, 2018
801
3,291
I had a look at modding this game and doing something more dynamic, the issue is you cannot read the filesystem at all in JS (despite what some bs online tutorials claimed. I tried them all, they don't work). So the html needs to know the path of all the cards, pictures etc ahead of time. That's why cards have a value for how many gifs they have, and there's code that determines what the filename is and only the browser itself can then load it.

I'm thinking of ways around it, such as loading all the possible image names for card gifs and counting how many actually display by checking the height of the resulting frame, but unless you hardcode the mods into the html or run the game in a web server and try loading via ajax or have mods include their own script that the main code somehow knows the name of and calls there's just no easy way to do it in the current game engine.
Yeah, not being able to access the file system is the real problem here. I had an idea that maybe you could just try and load stuff and just pick a different number if the loading failed, but never actually tried to implement it.
 

subli

Member
Jul 30, 2020
473
292
I had a look at modding this game and doing something more dynamic, the issue is you cannot read the filesystem at all in JS (despite what some bs online tutorials claimed. I tried them all, they don't work). So the html needs to know the path of all the cards, pictures etc ahead of time. That's why cards have a value for how many gifs they have, and there's code that determines what the filename is and only the browser itself can then load it.

I'm thinking of ways around it, such as loading all the possible image names for card gifs and counting how many actually display by checking the height of the resulting frame, but unless you hardcode the mods into the html or run the game in a web server and try loading via ajax or have mods include their own script that the main code somehow knows the name of and calls there's just no easy way to do it in the current game engine.
In what passage is the card data saved? I might have a look at it.
 

ninjahedgehog

Member
Oct 23, 2018
269
183
Welp, made this pixel Vanilux transformation folder off of a gif by paul robertson only to find out the mod function doesn't work in the current version. gonna put it here regardless to not feel like I wasted my time if anyone wants to do a full on replacement. Really hope you reinplement it and make a noob friendly gif adder
 
4.50 star(s) 57 Votes