Starmade Logic simulator/emulator v2.4.2

    What to do next?

    • Fix the grid while mouse dragging

      Votes: 1 33.3%
    • Fix the lighting

      Votes: 1 33.3%
    • Fix the weird connection bugs

      Votes: 0 0.0%
    • Add in saving / loading

      Votes: 2 66.7%

    • Total voters
      3
    Joined
    Dec 29, 2013
    Messages
    6
    Reaction score
    2
    • Legacy Citizen
    Hi guys! I am a 15 year old guy who likes to code and likes to draw and so on, I am known as "EEVV", "0EEVV0", "LeftHandedGuy" or even "LeftHandedGuyPlays"... (Enough about auto-biography)
    It was really confusing where to post this, I found this subforum the most relevant.

    I have create a program over the past ~5 days that mimics or emulates or even simulates Starmade logic, this program was supposed to be bare-bone, and it's for those who don't like waiting for Starmade to launch just to try something cool. This program is in 2d.

    Why don't you watch this video:

    For those of you who didn't want to watch the long video, here is some text for you to stare at indefinitely;
    (Some thing about the program)

    The program has 4 logic gates;
    1 - And (Max 4 inputs)
    2 - Not (Max 2 inputs)
    3 - Or (Max 4 inputs)
    4 - Xor (Might be removed)

    And 1 white lamp.

    Here are some controls :p
    w - move up
    a - move left
    s - move down
    d - move right
    left shift - move faster

    left click - place an activation modules / buffer
    left click + 1 - place an and gate
    left click + 2 - place a not gate
    left click + 3 - place an or gate
    left click + 4 - place an xor gate
    left click + 9 - place a white lamp

    middle mouse + mouse movement - drag the screen (move around using mouse)

    c - select block
    v - connect selected block to the block under the mouse cursor
    x - removes current blocks connections

    and some more :D
    "-" or "_" - zoom out
    "=" or "+" - zoom in
    g - toggle grid
    b - select multiple blocks (work in progress)

    And i'm nearly finished typing, what a relief *exhales
    I hope you enjoy using this program as much as I have enjoy creating it.

    Downloads:
    Download for Windows (Current version = v2.4.2)
    For linux you will have to wine it, it works perfectly (I have used wine1.7, and ironically i prefer linux)

    What I will do, and what I wouldn't do:

    Would:
    I will add sleep gates / timer gates
    I will add more lamps
    I will add a simple inventory system (think of minecraft styles)
    I will add wireless logic
    I will add multiplayer support
    I will add public schematic support (share it to the world)
    I will add saving very soon
    I will change the logic to be more efficient yet more responsive
    I will recode everything from scratch and give it some textures
    I will add a proper main menu
    I will add some options for the lower-end pc's
    I will add user selective logic optimization

    Wouldn't:
    3d - just not going to happen, starmade already did that, I wanted to make it kind of bare-boned
    4d - are you kidding me 0.0
    ships - this is just a logic emulator
    (I guess that's all ?)

    Performance:
    On average using only buffers / activation modules I get
    ~ 400 fps
    While building a 2bit adder I got down to
    ~ 30 fps (Blaming procedurally generated text)
    You see for now the blocks use text instead of textures, which is generating text realtime
    all that number crunching causes lag.
    Now you might think that's bad, here is some optimistic text to get some hope back;
    Don't believe my earlier text? Place alot of buffers, about 50, or more. And the press f3,
    suddenly your fps plummets, why? Because it shows all the ID's of the blocks, it also is an aligned text, which also does more number crunching, this can make your precious medieval toaster explode (aka everything not responding pop ups)

    here is my sweet toaster rig:
    Acer aspire x310 (I believe)
    Modfied windows to support Gt 630 Nvidia (power failures)

    CPU: 2 core (1 thread each) 2.7GHz
    GPU: 96 cuda cores, 700MHz


    Changelog:
    Coming soon (It's comming soon, I promise, I promise...)

    Post for any features I could add in, full credit will go to you, don't worry !
    [DOUBLEPOST=1435739356,1435739323][/DOUBLEPOST]Please don't tl:dr spam this v.v
     
    Last edited:

    Reilly Reese

    #1 Top Forum Poster & Raiben Jackpot Winner
    Joined
    Oct 13, 2013
    Messages
    5,140
    Reaction score
    1,365
    • Legacy Citizen 8
    • Thinking Positive
    • Purchased!
    Thanks :D...
    But I don't have any cookies...
    [DOUBLEPOST=1435811603,1435811524][/DOUBLEPOST]
    If you don't understand, while holding shift and w,a,s,d you move 5x times faster :eek:
    I don't think you know why I quoted that part.

    Shit instead of SHIFT
     
    Joined
    Dec 29, 2013
    Messages
    6
    Reaction score
    2
    • Legacy Citizen
    OMG HIDE THE EVIDENCE!1!!1!
    To be honest that wasn't supposed to be intended nor is it appropriate, I will remove, but thanks for alerting me about this misspelled word, I'm surprised I haven't discovered it after reading the text 2 times, I guess the tl part of tl:dr got me o.o
     
    Joined
    Dec 29, 2013
    Messages
    6
    Reaction score
    2
    • Legacy Citizen
    Hey guys if you are wondering what I am currently doing... Well let me answer that for you!
    I am currently developing Starmade logic simulator under a new and hopefully permanent name,
    overhauled the emulator 2 times now, added textures, no logic yet, and main menu with saving will be a go! :D
     
    Joined
    Dec 29, 2013
    Messages
    6
    Reaction score
    2
    • Legacy Citizen
    Another update:

    I haven't posted anything in a long time...
    And thats because I have been learning java, I use Ubunut 14.04 as my primary operating system, and I want full support for Windows, Linux, Mac OS. It's been a few weeks, but I have learned just about everything, and development will continue on a new and much more powerful project.

    Learning java for me will be worth the wait, well atleast learning opengl, lwjgl (maybe).
    But java is on average 20x faster than lua, that means I can create much more features, without worrying about splitting my code, creating support for another operating system.

    But if anyone cares (probably no-one :P)
    I have skype, pm me with your name if I don't add you, my skype is on my signature.
    I will be online from time to time; timezone: GMT+2

    I can help with your lua projects!