How do i show simulate ship cargo items using array?

0 favourites
  • 2 posts
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • Hi,

    I'm kind of stuck at the moment in one of my major game aspects: the flow and transfer of items or cargo.

    So I want to buy 100 fuel on the player market at a space station.

    Once purchased, I need to transfer the fuel to my ship (1 of 3 different ships I own).

    Once it's on my ship I need to somehow get the game to recognise that the fuel is on the ship and is available to use.

    Does anyone know how best to simulate this kind of activity withour being too overcomplicated?

    Thanks in advance for any tips.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If it's a general resource called 'fuel' then you can just use variables. 'Fuel' is a global variable and if it's transferred to ships you can have further global variables for ship1, ship2, ship3 or use instance variables if the object is important to the game.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)