bad_wolf's Forum Posts

  • Hi all,

    Please, can you help me with the following problem?

    I have a layout which is 3072 pixels wide and 1920 pixels high. My viewport is 768 pixels wide and 480 pixels high.

    I placed my viewport in the left-bottom part of the screen with the following line:

    System --> On start of layout

    Action --> System: Scroll to (cintStartPosX_Laby01, cintStartPosY_Laby01)

    This moves the viewport to the location bottom-left.

    Now on the right I have an opening in my layout and when the player goes through that opening, the next room on the right has to move into the viewport.

    So I have the following event/action:

    sprPlayer --> Is out side layout

    Action --> -> System: Scroll to (cintStartPosX_Laby01-768, cintStartPosY_Laby01)

    cintStartPosX_Lab01 constant value is 0

    cintStartPosY_Lab01 constant value is 1920

    So I assume that this event will move the viewport to the other room on the right.

    However, nothing is happening.

    I searched but cannot find what I am looking for.

    Please, can you tell me how I can detect that my player is outside that opening and How can I move the viewport in a way that the first room slide to the left until the new room is fully in position?

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

    Chris

  • It's like the "origin" point for the sprite object, right? I do not think that is possible.

    But you can centre the content of the HTML element object horizontally and vertically. Also, by using CSS-Grid, and relative sizing, you can make sure your balloon is always in the middle and visible.

    This is just my thinking, how I should do it. Maybe it is worth a try?

    Chris

  • Was it really necessary to post such a hate message? Please, be professional or just keep quiet. Let's respect each other!

  • Hi all,

    I just found out that by using "shift" + "Enter", you get a new blank line in your comment. So this is the multi-line comment I was looking for.

    I solved my central "Notes" page by creating a new Event Sheet and just calling it "Notes". I will put my separate multi-line notes here without any events. In this way, I can have my dedicated "Notes" page. I can also give my notes different colours so I can see in an instant which notes belong to what section.

    I apologize for my short distance thinking.

    Chris

  • I think it is best you contact Scirra directly. Russian colleagues of mine (working here in Europe) cannot send any money to their families in Russia because of those sanctions. Some of them, make money transfer over China but I have no idea how they do it. Your transaction will go in the other direction.

    Despite the fact this is very unfair, we as citizens can't do anything about it.

    Therefore, I think your best option is to contact Scirra and explain your problem. It is very regretfully, that those innocent people also get affected by those sanctions.

    Hope you can solve your problem and buy your license.

    Chris

  • Hi everybody,

    I have many multi-line comments or I want to create notes on their own page. I document my code inside the project very extensive. Therefore, I like to have a page where I can bring those notes together.

    I cannot find anything to accomplish this.

    Please, can you tell me if this is possible and how I do that?

    Thank you so much for your help.

    Chris

  • 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

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post