Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please read the forum rules before posting.



Check if you are posting in the correct category.



The Off Topic section is not meant for discussing Cookie Clicker.

Newbie dev looking for some help

ChristianHChristianH Posts: 2Member
I was wondering if someone out there had a little bit of in-depth knowledge into having multiple resources and clickables.

What I really need is a crash course in making sure that my variables stay in line, and some assistance on using 2 resources to create a 3rd resource

What I have at the moment is this:


Resources :
*Money
-named Money|Moneys
-displayed as %a money%s
-visible

*Thread
-named Thread|Threads
-displayed as %a Tread%s
-visible

*Fabric
-named Fabric|Fabrics
-displayed as %a Fabric%s
-visible

*T-shirt
-names T-shirt|T-shirts
-displayed as %a T-shirt%
-visible

Clickables :
*Maketshirt
-gives 1 t-shirt
-converts 2 fabric and 0,5 thread to 1 t-shirt
-visible
-named Make t-shirt
-picture : no picture yet

*Selltshirt
-converts 1 t-shirt to 50 money
-visible
-named Sell t-shirt
-picture : no picture yet


Can anyone tell me if i'm headed in the right direction with the ''convert'' function?
Money are used to purchase Thread and Fabric.... like so:


Buildings :
*BuyFabric
-"The finest fabric your kind can buy.. for now."
-costs 15 money
-gives 1 fabric
-named buy fabric|buy fabrics
-visible
-picture : no picture yet

*BuyThread
-"The finest thread your kind can buy.. for now."
-costs 2 money
-gives 1 fabric
-named buy thread|buy threads
-visible
-picture : no picture yet



Seeing as i'm completely new at this, and coding in general, I was hoping that someone could help me outline (Perhaps with colors or bold tags) the way that the variable names are connected across buildings and resources?

If anyone wants to skype about idle games in general i'm certainly up for that.

Thanks!

Comments

  • BrainstormBrainstorm Posts: 6,010Member ✭✭✭✭
    I've tried the convertion thing before, never really worked with me, only let me convert all units of resource to all units of another and not more, so I don't believe I have enough experience with this
    "Calm your caps, bro." -Brainstorm
    "You, young man, have increased the troll count by 1, troll thread count by 1, and countless other count counter counts by 1." -Brainstorm
    "We now have a perfect excuse to necrobump forum games." -Brainstorm
    I wonder what this is! Only the most epic link EVER! :o
    Pastebin statpage for Dungeon Maker: http://pastebin.com/mdPqPQVv
  • ViniVini Posts: 2,010Member ✭✭✭✭
    You could try the "requiring" function, but it's stupid glitchy as far as I know.

    How about...

    *maketshirt
    -gives 1 t-shirt
    -visible at 2 fabric
    -visible at 0.5 thread
    -takes 2 fabric
    -takes 0.5 thread
    -named I really hope this works but IGM is buggier than a hornet nest so

  • ChristianHChristianH Posts: 2Member
    Thanks for your time guys. I'm going to try my luck learning the Unity Engine for Idle games. :)
Sign In or Register to comment.