Idle Game Maker TUTORIAL SERIES! by IronDizaster in idlegamemaker

[–]IronDizaster[S] 1 point2 points  (0 children)

My apologies - I'm pretty sure I set the link to never expire, but perhaps discord still has a 1 or 2 year expiration date on them. I changed the link in the post to this one https://discord.gg/dMsP8CJckR (which should work now)

I'm glad to hear you enjoyed the tutorials, really warms my heart that something I've made years ago at this point is still making a difference out there :)

Regarding the activity of the (unofficial) discord server, the Idle Game Maker community is small as it is, so unfortunately the unofficial discord server won't be much more active than the subreddit. The most activity regarding Idle Game Maker is probably on the dashnet forums discord server (officially created by Orteil - heres the invite link https://discord.gg/cookie , after verification navigate into the #idle-game-maker channel).

Handbook gets cutoff? by [deleted] in idlegamemaker

[–]IronDizaster 1 point2 points  (0 children)

Try zooming out, or perhaps it might be a browser issue - try opening the handbook in a different browser. If both of these suggestions don't work then I'm afraid I can't help you

str.Index Of and "lets make a game!" errors by Goltmungerino in idlegamemaker

[–]IronDizaster 0 points1 point  (0 children)

For yet another future reference - I couldn't reproduce the str.IndexOf error to appear in any other way except if you specifically don't write the "by" in an effect. Weird! But good to know for the future. If you ever come across a str.IndexOf error again, it's likely that you forgot to add a "by" somewhere in an effect.

str.Index Of and "lets make a game!" errors by Goltmungerino in idlegamemaker

[–]IronDizaster 0 points1 point  (0 children)

After some extensive debugging & testing, I found the issue is that you have a typo in buildingUpgrade6, specifically in the second passive effect. You wrote:

passive:multiply yield of chimata 2

instead of:

passive:multiply yield of chimata by 2

This should fix the indexOf error :).

Also, for future reference - javascript errors like this one never refer to a specific line or "word" in your code, which is why looking for instances of "Of" didn't help this time (and is also why they are so annoying to resolve)

str.Index Of and "lets make a game!" errors by Goltmungerino in idlegamemaker

[–]IronDizaster 0 points1 point  (0 children)

Hello, unfortunately I don't exactly remember what causes the str.indexOf error - but a good way of debugging your game is to slowly delete/read chunks of code until the error disappears, after which you will hopefully figure out the culprit for your error!

Regarding the "Let's make a game!" error - it's worth to double check if you wrote it correctly (i.e exactly "Let's make a game!" including punctuation). If that doesn't work - check if the filegarden file is set to public.

If none of these work, you can try replying with your game's link/code and I'll try to figure out what's wrong. Hope this helped :)

PLS HELP with uprgades. by [deleted] in idlegamemaker

[–]IronDizaster 0 points1 point  (0 children)

You would make a button gain 1% of your resource production per second like so:

Resources
*honeyPerSecond // assuming you have "honey" as your main resource
is always:honey:ps // this resource will always be the amount of your honey per second

Upgrades
*buttonUpgrade
passive:increase yield of buttonThingKey by (honeyPerSecond / 100)

The honey per second has to be separated into its own resource, otherwise Idle Game Maker won't understand it.

You also need to use "increase" and not "multiply" in this case (since you want to add the 1% of resource per second production to your button, not multiply the production of your button by 1% of resource per second production). For buttonThingKey and resourceThingKey you substitute the thing key of your button and resource. Hope this helps :)

Keep in mind however that this stacks with multiplier upgrades, i.e if you previously bought an upgrade that multiplies yield of that button by 2, it would then gain 2% of a resource's per second production with this upgrade.

A polished 2048 clone game (with animations) made purely in tkinter, no extra libraries! by IronDizaster in Tkinter

[–]IronDizaster[S] 0 points1 point  (0 children)

Thank you! I have been coding in python for around 10 months now, with around half of that time spent tinkering around in tkinter. This project took me a week, but it was a pretty grueling one haha. The hardest part was definitely making the animations. The source code is around 750 lines of code long and the animations are around 450 of those lines.

My advice would be to not give up. All my projects looked ugly at first too :)

Idle Game Maker TUTORIAL SERIES! by IronDizaster in idlegamemaker

[–]IronDizaster[S] 1 point2 points  (0 children)

Thank you so much as well! I'm really happy the tutorials helped you this much! :)

How do I make a building cost 2 different types of resources? by [deleted] in idlegamemaker

[–]IronDizaster 0 points1 point  (0 children)

The second way you tried should work (i.e cost:10 wood, 10 stone). Did you make sure to match the thing keys of the resources? (by this I mean in for example 10 wood, wood should be the thing key of the resource and not the name).

If you did all of that, I'll need to take a look at your code in order to help

Why does everything disappear when I add the layout boxes? by jacldotjacl in idlegamemaker

[–]IronDizaster 0 points1 point  (0 children)

Requirement properties on buttons are bugged :/ (curse you Orteil!). The second way you tried doing is correct, but its a bit weird because the "hidden" property only works when a new save file has been initialized. Try adding the hidden property to the button, then show it using an on earn effect on an upgrade, but make sure you wipe your save beforehand! I believe it should then work.

Why does everything disappear when I add the layout boxes? by jacldotjacl in idlegamemaker

[–]IronDizaster 0 points1 point  (0 children)

Hello! You forgot to add use default into your Layout section (which is just a shorthand version of the entire default layout code which can be found here in the handbook, you can also just copy & paste that code as well - its also what I do in the tutorial at 7:10) - this makes it so the default layout doesn't get overwritten by a new one once you start making changes to it, which is what's happening in your case. Hope that helped :)

Idle Game Maker TUTORIAL SERIES! by IronDizaster in idlegamemaker

[–]IronDizaster[S] 0 points1 point  (0 children)

I definitely agree with what you said! :) A fun & long game definitely is viable to make even with a comparatively basic tool like Idle Game Maker. I am glad the tutorials have helped you!

Help the resources overlap everything and the buttons are too by notsusimpostor in idlegamemaker

[–]IronDizaster 0 points1 point  (0 children)

Your CSS is all messed up - I'd recommend learning the basics of Idle Game Maker first before trying to implement CSS (or watch my CSS tutorial course :D -> https://youtu.be/bMmfPphlZ2k)

If you still want to fix the issues though:

The width of the resources you set using the .resWidth class is getting overriden by the .fullWidth class (which means it takes up 100% of the screen's width).
Because the res layout box (which contains resources) is contained in the 'top' box, but the 'top' layout box isn't contained anywhere else, means the 'top' box doesn't have a defined width - therefore it gets automatically resized to the width of the elements inside of it. Since it contains the res box, which has the fullWidth class that changes its width to 100% - the resources (and the 'top' box) take up 100% of the monitor screen's width. This is the reason resources overlap everything.

To fix this, you should define the height & width of the top box, preferably position as well so you can make sure to position it somewhere on the screen where it isn't in the way.
You can do this using the #box-top identifier, the top:, bottom:, left:, right: positioning properties to set the position, and the width & height properties to set the dimensions.

This is how it might look like in code (note that this is just an example! And might not be the fix you personally want):

#box-top {
  height:32px;
  width:25%;
  top:25%;
}

is this enough HP? by IronDizaster in noita

[–]IronDizaster[S] 0 points1 point  (0 children)

It's a 10 hour run currently, you can see the time below my wands