Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+2)(-1)

You know, deleting commets with questions about a suspicious obfuscated JS fragment in your game isnt good. Just clarify what the hell this code is. Unless youre doing some shady shit, you shouldnt have any problems with that.

(+1)(-1)

I just woke up so I thought you were the one sus. Idk what you mean about suspicious obfuscated JS. It's just so people don't look at my js code cuz I'm shy about it. There's nothing deep about it. If you want my raw JS, just ask instead of jumping to conclusions and immediately treating it as suspicious

Honestly, I'm not even sure what kind of shady thing you want me to do with a html story game anyway?

(2 edits) (+3)(-1)

Well, actually, you (not personally you,ok)can do A LOT with html and a bit of javascript, which is why I commented in the first place. Ive seen a lot of twine games, and was surpised this one didnt allow me to copypaste text into a translator - my english isnt so good, I need it sometimes. Then, since I have some programming knowledge myself, I got curious and discovered this giant piece of code on line 1130 - not just a code, but obfuscated one (by obfuscation I mean obfuscation in the programming sense, it is not a readable bare func), which is clearly not a typical thing for textgames. Knowing how much harm can be done with JS, I really wanted to clarify this moment. If all this fuss was just because you didnt want people to see your code - well, ok, do your thing, no problem, but its better to leave a comment in the code or something, so it dont look so shady. Because, if we talk about games maded with twine (and, honestly, anything that is not the commercial grade custom engine), there is no way to really hide your code from expirienced codedivers, and there may be questions raised. To be honest, seeing  the code structure, I didnt really assume that you were trying to parce my browser cache or something - obviously, it requires a knowledge that makes using those templates not needed, but better safe than sorry. Thats all. Sorry if it sounded rude, didnt mean to.

(+1)

Yeah, I forget every time to remove the code in my css that prevents people from dragging the text. Will change that for the next update. I'll also add a comment in my java script, because while obfuscation might not hide from experienced people, I feel less embarrassed about my code, haha

Again, sorry for biting your head off before even trying to understand where you were coming from—thinking it was an attack rather than a valid question.

(+2)

Aight! Took some time to calm down—sorry for the way I reacted. I looked it up a bit on google about why it might be considered suspicious and saw that obfuscated code can sometimes be used to hide malicious stuff, so I get why it looked sketchy. That's on me for not knowing. I didn't actually think it'd be used this way, honestly. And I sure as hell ain't using an obfuscator for that purpose.

I used obfuscator.io to obfuscate my js, but if you still want the raw js code, I can share it. Dk how to do it with the link like you did tho, so I'll need your help for that, lol

I genuinely thought you were some kinda scam at first, with the link and all that, so that's why I removed your first comment. Kinda feel silly for reacting that way, so I hope I didn't come off too strong.

(+1)

Dont worry, Its just my professional deformation. You have no idea how much stupid, but effective scam starting like that - simple thing carrying a malicious inject. Or, in example, those scammers with links. No raw code needed, I think your answer is enough. Cheers.

(+1)

I'll die less dumb, hahaha. Thanks for the heads-up and the explanations ^^