CTucker1327's Recent Forum Activity

  • Hello everyone, I'm a developer that has mostly worked with Unity and simple WebGL engines such as Phaser and I'm wondering if it's possible to create something that would be considered a "Prefab" in Unity. A prefab is basically a re-usable object that can have different settings.

    For example, I like to create idle games and a very common occurrence for me is going to be to have a bunch of elements that do the same thing. For example a basic idle function would look something like this:

    const idleObject = {
     name: 'Lemonade Stand',
     purchased: false,
     purchasePrice: 100,
     level: 1,
     modifier: 1.07,
     generates: { value: 1, modifier: 1.04, currency: Currency#type },
     ticks: 30,
     sprite: "lemonade-stand.jpg"
    };
    

    It would be nice to be able to just customize the configuration on an object like the one above and not have to worry about setting up all of the addition events in Construct such as `onTapObject::Sprite->TryToUpgradeOrPurchase` and `Every X seconds add Y Currency#Type` but as of right now I have to go in and set these all manually, which is a huge drag.

    I'm really looking forward to giving construct a try, but I would like to know how to get a little more advanced with re-usability. If I could just supply a list of data and have these items accessable for rendering automatically via some sort of template engine, that would be amazing.

    I spent my time writing out an idle-engine in javascript that does everything I want, but I was getting highly annoyed with the limited UI flexability of Phaser and wanted to try out Construct before resorting back to Unity.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
CTucker1327's avatar

CTucker1327

Member since 14 Nov, 2018

None one is following CTucker1327 yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies