bad_wolf's Recent Forum Activity

  • I found the following maze tutorial on Youtube which explains a recursive maze creation method:

    https://www.youtube.com/watch?v=Y37-gB83HKE

  • Hello Lionz,

    Thank you so much for your help which solved my problem. I successfully loaded the JSON file into the array.

    Wish you a lovely weekend and all the best!

    Chris

  • Hi Lionz,

    I try to resend the screen capture here:

    Hope this succeeds.

    Chris

  • Hello Lionz,

    Thank you so much for your reply, which I do appreciate.

    I tried your solution but failed to load the array with ajax.lastdata.

    In one of my former replies (which failed because of a time out error) I included a screen capture which contained the events and actions.

    At this moment I have to go to bed because it is late. I will try again during the weekend and share the results here.

    Chris

  • Hello all,

    Please, can you help me with a mistake I made?

    I want to use arrays in my game. So I right-clicked on "Files" then "New" and then "Array". Then I set up the dimensions and filled those array elements manually with the data, which during the program cycle, does not change.

    The problem started when I wanted to check the contents of the created arrays. I added a simple text object and in the "Start of layout" I wanted to show the content of a particular array element in that text.

    The problem is that I do not know how I can reference that json array so that the content of a cell inside the array is shown.

    I double-clicked the layout and chooses "Array" however, I cannot manually add content as I did with the json array.

    I looked on the Internet, and the manuals and found a lot of information, but nothing that I am looking for.

    Can you please, tell me how to reference the created json arrays so I can show the content into the text object.

    Thank you so much for your help which is appreciated.

    Chris

  • You do not have permission to view this post

  • Hi all,

    Can you help me finding a tutorial written for children (our daughter will be 12 soon) which teach them how to create games in Construct 3?

    For example, board games or educational games or labyrinths and so on. Please, no fighting games because she is much too young for that.

    Ideally, it would be a tutorial which results in a game so she can find out that working hard to learn new things can be very beneficial.

    Please, can you give me some suggestions to find suitable turorials?

    Thank you so much in advance.

    Chris

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all,

    Can you give me some advice on how to play over the internet? On this moment I am separated for a very long time from my Motswana family because of Corona. Therefore I like to create a board game which I can play with our small daughter of 11.

    I am thinking of games like Mancala, Monopoly or Sorry! which we enjoy to play when we are together. I also like to track the game progress, so we can pick up where we left. So I like to save progress at some location on the internet. Speaking of the Internet, the connection is very slow and poor. So after an interruption or disconnection, I like the game just to take up as nothing has happened.

    So I am thinking of placing a file containing the moves, actions onto that location which gets interpreted by the other players game version. Then C3 checks the move/action and show that on the players board.

    So this game will have the following sections :

    A module which draws and setup the board locally on each computer and etablish the players information (name, game piece, starting point, ...). This modules will also carry out the actual moves and actions.

    A module wich collect the data coming from the module above and save/send it to the internet location. This module will also listen for the other playes input and deliver that to the module above.

    Can you advice/tell me which method I best use and how. I know Scirra has a server setup for this kind of games with C2 but I do not know if that is still available with C3. I also intend to play this game in the browser only so maybe publish it on one of my own website spaces? On this moment, I do not know of the best option to use.

    Your help/advice will be very much appreciate. Thank you in advance.

    Chris

  • You do not have permission to view this post

  • Thank you so much Dupuqub for your nice and encouraging words. I will try your suggestion and experiment with JSON too. I will post the results and finding in this thread.

    This afternoon I was thinking about the text file structure. I came up with the following structure :

    <chapter> *** This marks the start of the chapter (record)

    <ID:197012242030> *** Chapter ID: YYYYMMDDHHMM

    <ct>A wonderful Christmas evening</ct> *** Chapter Title

    <cb> *** Start chapter body text

    Here comes the chapter body text with HTML styles

    </cb>

    </chapter> *** this marks the end of the chapter (record)

    I also experimented with the iFrame object which looks promising. In this way, each chapter will be its own HTML5 file and based on the choices of the reader will we shown to the user (or not). With this method, I think I can easily integrate the interactive C3 games too.

    I need further experimentation and planning before making my final decision. However, I will follow your advice and use JSON format files. I will share my findings here.

    Thank you again for your input which is much appreciated.

    Chris

  • Last night I experimented with using text files with Construct 3. Actual the Youtube tutorial I watched you can find here:

    youtube.com/watch

    which is made by James Q Quick. It is a very good tutorial. This tutorial is about reading records of scores into an array and extract the individual score.

    In the tutorial, the AJAX object is used. You also need a text file named "TextData.txt" in the following format:

    John;

    10;

    #

    Betty;

    20;

    #

    Kate;

    30;

    #

    Where the ";" separate the fields inside the record and the "#" marks the end of the record. However, you can use any character as long as they are not present inside your text.

    You also need to place a "Text" object onto your layout and name it "FeedBackText". Also, an Array with the name "ScoresArray" with a width of 10 and a height of 2 is needed. Here is a screen capture of the event sheet containing the necessary events:

    In the map "Object Types" you find all necessary objects you have to add. The last event is just a tryout of mine to use JavaScript to end my experimentation.

    When I watch the ScoresArray Inspector when I debug, this is exactly what I need to create and use the timeline for my interactive story. What I observed when making changes to the imported textfile is, that it is not automatically updated when something change and is saved. Also, make sure the imported file is in text format (extension .txt) otherwise you get a lot of unnecessary information which makes a mess of your file.

    Question: Is there any way I can reflect the saved modifications automatically inside the "Text" file? Thank you for your help in advance.

    I am surprised how easy it is to learn Construct 3 and its event system. However, I have still a very long way to go and it will not remain that easy I am sure.

    I share my experiences here in case somebody has the same problem and doesn't know where to start. I do appreciate the very helpful replies.

    Chris

  • Thank you so much Dubuque and Mrcgkh for your advice and suggestions which I appreciate.

    The timeline does not contain any graphic. I am thinking about the timeline as an array, containing references to the linked text. Every event in time has its own unique ID. In this ID is already information about the year - month - day - unique number.

    For example :

    YYYY#MM#DD#unique number

    1350#11#05#0001

    1350#11#11#0002

    1350#11#11#0003

    The array itself will have the following structure :

    Column 1: Unique timeline ID

    Column 2: Chapter title

    Column 3: Reference where the chapter can be found

    I am thinking of storing all the chapters in one text file. Each chapter will start with its unique timeline ID mentioned above. The computer only has to look up the unique timeline ID, look to the reference, show the chapter title to the reader with the accompanying text which is connected by the unique timeline ID.

    I can also connect the inline games and puzzles with a unique timeline ID to the period when they were popular.

    Also when I use global variables for the family, I can create a form where the reader can change the standard names to the ones of their family. So when a reader read the story, he/she read their own names.

    Your input was of very good help to me. I need to work this out more in detail to present it to the project coordinator which has the final decision.

    I am going to look in the tutorial section and also on Skillshare for a C3 course. For this project, I am sure I gonna need more knowledge than my very basic C3 understanding. But we are never too old for learning something new.

    Have a nice day!

    Chris

bad_wolf's avatar

bad_wolf

Early Adopter

Member since 14 May, 2017

None one is following bad_wolf yet!

Trophy Case

  • 7-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

12/44
How to earn trophies