DUTOIT's Recent Forum Activity

  • Thanks Dutoit, that tutorial is nice but it uses arrays for storing the doors states...and I dont use arrays :/

    I suggest you start using arrays or at least dictionary.

    Game have lots and lots and lots of data, and you can't store everything into variables.

    Think 100's of variables and the nightmare it becomes.

    Anyways, caiorosisca gave great explanation.

    Edit: You don't have to create new event sheet each layout. Create 1 event sheet. And include it into each layout.

  • Extremely in depth Tutorial

    Simle answer. Store in global variables or webstorage etc.

    So door1 = 0 (locked)

    player unlocks

    door1 = 1 (unlocked)

    If door1 = 1

    do something etc etc

  • rozpustelnik

    Oh, so you want to load objects (images on a per level basis?)

    Use external image files

    [quote:7wz3xlup]If your project has a lot of large detailed images which add a lot to the download size, you can make your game load quicker by adding them as project files instead. That way they won't need to be downloaded before the game starts running. You can then load them at runtime using Sprite or Tiled Background's Load image from URL actions - just enter the name of the image as the URL, e.g. "mylargeimage.jpg". You know they've loaded when the On image URL loaded trigger fires as well. This means you can request large images on the start of each layout that needs them, and show some kind of "Please wait..." message until they've loaded.

    The last part is important. Create a fake or real loading screen while images download for that level.

  • Never wanted to start anything ....still waiting for BeaverliciOUS. That would be a hell of a system!^^

    That wood be a dam fine system!^^

  • You can use C2 on a Mac if you install Bootcamp and a Windows version. Works super fine!

    would never use something different than Mac anymore....Stable as hell!

    Lol, how to start a OS war

    Mac vs Windows vs... This is preference.

    Mac hardware vs (I take anything but a mac) I can build 3 x better machine for a 3rd of the price. Agree with sargas, Mac is overpriced - period.

    But as an OS it isn't bad.

  • Love turn-based. Actually trying to implement the new multiplayer plugin into my existing turn-based game. Very exciting stuff indeed.

  • Click where you want to put break. Right click and hit toggle breakpoint. Now run in debug mode. and it will run up till that point.

  • If you are serious, and want to improve. The only way - and I mean this in all honesty is to actually use the software, to actually make things.

    Watching and doing is completely different. You cannot learn programming by watching (ask any programmer).

    You will have to spend 1000 plus hours to build a firm foundation.

    Best way is to build small things.

    What game you going to make?

    Does it need a welcome screen. Build just that.

    Does it need a options screen. Build just that.

    Does it need a character to move left, right, up, down. Do just that.

    Build your game in sections.

    Smaller sections are easier to digest, to optimize. I would do, I mean actually make the example games you find in

    Open C2. Click new. Browse down the list to all those wonderfull juicy examples. Build them. Learn their sequence, see how they did it. Don't read/look at the code. Actually open a second instance and build it switching between the too.

    Writers do this. THey write out word for word other great writers text. Thereby learning the rythme, structure of the other writer.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't have the most updated version of Construct?

    What zenox98 is saying is you posted in the construct classic (old old old open source version, the grand-daddy of construct2) he wants someone to put this in the construct 2 section

    Nice example by the way.

  • part12studios

    Here is an example I did for you. It is bloated so that you can see what is happening. Feel free to use less objects and place data directly into desired location (removing variables) I just wanted you too see as much of the process as possible.

    Oh, It is using array not dictionary. Dictionary is easier, so thought I would do one in array so you can see. Also array allows for easier multi data usability.

    So you can have joke, punchline, category, whatever.

    Easy way to edit json file. Save as project and go to files. Open the json file in your favorite editor and see structure and edit.

    Hit button on left to generate random card data.

  • ,and gold lining

  • Tutorial

    Basically it is simple.

    In tut it is loading xml.

    Attached image is loading json into dictionary.

    Now when something happens...

    Now you can set text to dictionary.get(whatever you want to get like random(1,39) )

    Well, something along those lines.

    If I have time I will do some example, but its weekend, and I am away from pc most of it. So maybe monday. But you will probably figure it out. It isn't that complicated. Array yes, but simple dictionary or xml shouldn't be a problem.

    The manual will give you want you need. And the image is what is needed to load data into dictionary

DUTOIT's avatar

DUTOIT

Member since 17 Jul, 2013

None one is following DUTOIT yet!

Trophy Case

  • 11-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

14/44
How to earn trophies