mercuryus's Recent Forum Activity

  • Add the particle object as a container object of the tank...

    Select the tank object

    Properties: Container -> [Create]

    Choose the particle object

    this will create a particle object for each tank object.

    (but do not destroy the particle object, because the tank then will be destroyed also)

  • You can use arrays of relative coin positions.

    eg an array [container_id] [coin_id] [pos]:

    // coin 0 of container 0

    array[0][0][0] = 0 // relative x-pos

    array[0][0][1] = 0 // relative y-pos

    // coin 1 of container 0

    array[0][1][0] = 10 // relative x-pos

    array[0][1][1] = -3 // relative y-pos

    // coin 2 of container 0

    array[0][2][0] = 22 // relative x-pos

    array[0][2][1] = -6 // relative y-pos

    // coin 3 of container 0

    array[0][3][0] = 36 // relative x-pos

    array[0][3][1] = -10 // relative y-pos

    ....

    you can create different shapes for the container with the relative coin ositions.

    then create the (random) container coins relative to the initial position.

  • Would it be possible the provide the overlapping region for (each) collision?

  • clever solution but a bit too 'fuzzy' for my needs

    Ashley: please add this event/function/property to the tilemap object.

  • This returns the cell of the colliding sprite but not the cell the was hit

  • Hi,

    how can i calculate the hit cell (col/row) of a tilemap (on collision)?

    mercuryus

  • How are the 'important people' classified (for the player)?

  • Let me explain

    This simulation is made to simulate survival strategies depending of the cells genes (tap gene).

    There are four colors (groups) for cells (and their proteins).

    Any cells follow the same logic - but related to the individual genes (setup): create protein (ATP, Inflammasome)

    Any cell spawns proteins with the cell color.

    Creating proteins:

    Each protein needs to have a base energy level to be spawned (gene=energy protein). A protein consumes energy while life time.

    If the proteins energy level falls below zero it dies.

    The type of protein spawned is set with the factor gene=ATP%INF

    (the more ATP the more energy will return, but the less defending Inf. for the cells are available [and vice versa]))

    Proteins behavior:

    ATP

    flows arround (with speed gene=speed) and if a food particle is in range (gene=range) it turns to the food and collects energy until the food is gone or the protein is saturated (gene=energy max).

    Then the ATP-protein returns to it's mother cell and transferes the energy to the cell down to the proteins base energy (gene=energy protein)

    And so on...

    Protein Inflammasome:

    Inflammasome

    flows arround (with speed gene=speed) and if a cell/protein of an other group is in range (gene=range) it turns to and 'attacks' this object (reducing it's and the own energy) until the object dies or the protein itself dies.

    Like the ATP an Inflammasome collects energy (in the same way).

    An Inflammasome can heal a cell of it's group when overlapping it and the cell's health <100 transfering energy to the cell.

    An Inflammasome detects an attack of a cell of it's group within a range*2 (gene=range) and moves to the attacker.

    Cell splitting:

    If a cell's energy raises to a level gene=energy split it split into two with 25% of the splitted cell (50% loss for splitting) and populates it's gene settings (opt. with little random mutations - see setup genes).

    If a cell's energy falls to zero it reduces it's health until new energy arrives (health will not be refilled by ATP energy but by Inflammasome energy).

    If a cell is attacked it loses energy and - if energy level = 0 - it loses health (health<=0 = dead).

    The clue of this simulation is to play with the cells genes (you can set each individual cell genes or spread it to all cells of a group).

    Chaning the cells genes will not change the existing genes of it's proteins - only the new proteins follow the new gene settings.

    Spawning food(energy):

    The imulation spawns periodically a small number of energy particles to keep the simulation alive.

    But you can manually spawn new food to change the conditions.

    You can drag n drop cells or kill them (double tab).

    You can create new cells and change the simualtion speed from 0(pause) to *10...

    click to enlarge: http://www.gameus.de/c2/energenes_big.jpg

  • Thank you.

    This is a very simple simulation what is happening a billion times within our body (and each other animal)

    Cell nucleids collect energy with proteins (namend ATP) and defend their life with other proteins.

    And - philosophical - it's also how the whole world is working - Individuals struggle for life...

    And each ressource based game work like this - produce, collect, defend, expand.

  • mobil(yes) or pc(maybe no)?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Finished ENERGENES

    a cell simulation.

    Each cell has its own genetic (you can change - tap on cell)

    With this settings cells generates proteins (Adenosintriphosphat[ATP], Inflammasome).

    ATP collects energy and return to the mother cell to feed it.

    Inflammasome attacks/defends other cell groups.

    One a cell reaches its split energy it split into two with the same genes.

    play here: http://www.gameus.de/energenes/

    Youtube: https://youtu.be/rxX6R3OFU4U

  • A cell like simulation.

    The cells creates two types of proteins :

    • adenosintriphosphat (ATP) to collect energy
    • inflammasome (to attack/defend)

    the ATP have a range detecting energy, collect and feed the mother cell to create new proteins.

    Each protein itself needs a little energy to stay alive.

    If a cell reaches a high level of energy it split into two cells.

    Who will survive?

    -> http://www.gameus.de/gol2/

    youtube:

    https://youtu.be/hn88cn7w-rc

mercuryus's avatar

mercuryus

Member since 26 Nov, 2013

Twitter
mercuryus has 1 followers

Connect with mercuryus

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Email Verified

Progress

13/44
How to earn trophies