[Possible?][Needed?]Integrated Circuit

  • baizuo
    1st Jul 2012 Member 6 Permalink

    Introduction

    IC chips (*.cis files or any extension else) are similar to normal saves, but they can be embed to normal saves to make several use.

    When embedded in normal saves, they looks like a square of normal element

    *If we made it a special form area in game, it's indestructible

    *If we made if by additional element(PCB for board, ICPT for ports), it's breakable, once it's melt, damaged, destroyed, the chip is useless.

    The only thing can transfer between IC chips and main save is SPRK.

    Chips used in main save also saved to the main cps file.

    When running, chips are running background(More chips = need more powerful cpu), all visual effect are disabled, only basic simulation, for better performance.

     

     

    Possible Implement

    IC chips in main save:

    This is a 1x1 chip(4x4 pixels) with 4 ports. A simple OR gate

    You can check the chip design by click on it(or other method to achieve this):

    Then this is the chip design, a simple OR Gate

     

     

    Bigger chip is larger, but has more ports to use, up to 12 ports

     

     

    In game, chips edit is EXACTLY same with normal saves, except there are port zones that remind you where to set output/input

    If you're selecting 1x2, 2x1 or 1x1 mode, a boundary box will appear to remind you the valid chip room(Look the image above, it's under 1x1 mode). You can still place anything you want out of the box but they will have no effect when run as a embedded chip, and will be totally ignored for better performance.

    img title="[629×426][/]http://i.minus.com/ibrJ4lSCjqDGAT.png" src="http://i.minus.com/ibrJ4lSCjqDGAT.png" alt="" />

     

     

    After editing, you can choose to save (to local drive or online) as normal saves or chip, they can be convert to each other easily later. But remember, only SPRK can transfered to main save, so a non-electronic save 'chip' is totally useless.

     

     

    Usage in Game

    1. Place chip (special area or additional elements or other method developers think proper)

    2. Click the chip (as above, or other method developers think proper)

    3. Choose proper chip (I mean proper size) then confirm

     

    4. The chip is online! It's only 4x4 pixel but havs the same function as a complicated electronic save, for example, CPU. Then you can connect the ports to make use of it.

     

     

    Of course, a save with 9 chips will hurt your machine like you're running TEN TPTs at the same time :)

     

     

    ----------------------------------

    Another possible size mechanism:

    Chips are always a whole save large, but you can choose the port numbers, which will determine/requires the responding structure size in main save.

    For example, a 4-ports (1 at each edge) chip requires 4x4 pixel chip element/special area in game, while a 16 ports (4 at each edge) need a 16x16 square in game to import.

  • MaksProg
    1st Jul 2012 Member 0 Permalink

    oh, this is a good idea, but think about perfomance. I think, size of chip save must be less than normal save. And we don't need simulate heat, pressure, melting, gases, etc in chips. So perfomance can be good. I think that better to make for every chip new theard.

  • Xenocide
    1st Jul 2012 Former Staff 1 Permalink

    I would think this is doable, probably not as you described but near enough

  • R3APER
    1st Jul 2012 Member 0 Permalink
    @baizuo (View Post)
    Too complicated. Explanation please? This doesn't make any sense.
  • Xenocide
    1st Jul 2012 Former Staff 0 Permalink

    He basically wants to add the ability to make Logic Gates as a seperate, importable simulation. Which would essentially give you another tpt running inside tpt but limited to electronics.

  • baizuo
    1st Jul 2012 Member 0 Permalink

    @Xenocide (View Post)

    What's your idea? I'm interested.

     

    @Xenocide (View Post)

    Yes, an alternative way to including more things into one save without change the resolution... well if we can just simply make the save resolution changeable, this topic is useless.

  • Pilihp64
    1st Jul 2012 Developer 0 Permalink

    Well this idea isn't new, I remember it a loong time ago.

    The 'lag' wouldn't be that bad really, the chips only need to update if they are active, when recieving a SPRK. The particles would have to be stored somewhere else in another map, so as to not mess with the max particle count and things.

    I don't think we'll get this with the current version, but maybe the C++ version...

  • R3APER
    1st Jul 2012 Member 0 Permalink
    This defeats the purpose of making interesting electronics with the alloted space on the screen. Sure it would be interesting but I have yet to see a save that requires more space to operate. I could honestly say most electronics based saves only use about 15% of all screen space anyway. Why complain about needing more space?
  • baizuo
    2nd Jul 2012 Member 0 Permalink

    @cracker64 (View Post)

    Great, I'll keep waiting

     

    @R3APER (View Post)

    Yeah, kinda

    But with the powerful elements is coming, we can make more complicated things (look those in the FP!)

    Then the screen size is TEH limitation

  • Xenocide
    2nd Jul 2012 Former Staff 0 Permalink

    My thought was another electronics section with PCB, OR, AND, XOR, OPUT, etc type elements. PCB would check around for the components, then based on which signals were recieved, sent a SPRK to OPUT.