Rnamon's Forum Posts

  • I didn't know that until now - thank you very much! I will definitely use it! I really appreciate your help ^__^

  • It is so amazing!

    But it creates perfect square cubes - what if I want to create a nicer background some sprite with rounded edges that looks better?

    For me to find out the size so that I can create a sprite that I will place in the background of the text

    Anyway this is great progress for me thank you very much!

    I just need to understand how I can know the information I need to put in the background of the text cubes background like in the examples I gave

    thanks again

  • hi hi!!

    I'm building a game that displays a lot of text boxes.

    How can I make it so that when I create the text boxes, the system detects how many characters are in the text box, changes the size of the text box according to the number of characters and lines there are, and creates a background for the box in a size that matches the created text box?

    I create a text cube and in it is written:

    "HELLO

    BOB"

    I want to create something that will check what is in a text box:

    1- How many lines are there? (2 In our case)

    2- What is the length of the line that has the most characters (in our case, line 1, which has 5 characters compared to line 2, which only has 3 characters)

    Now that I have this information I want the text cube to change its dimensions to the size of the row that has the most characters, and to the height that contains the number of rows.

    After that I want and creates a background for the box in a size that matches the new size of text box

    how do I do it?

    Here's an example of what I'm trying to achieve (pictures taken from a game called Lil' Guardsman)

    I thank you from the bottom of my heart

    Tagged:

  • It works great! Thank you very much!!!

  • Thanks for the response but...I didn't quite understand...

    Could you please expand?

    Thank you very much appreciated

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello Hello

    I need your help please.

    I'm writing a game that displays a lot of text boxes (which I write)

    And I want to check how many characters are in each text box. Then it will give me an output (for example that text box has 20 characters)

    Is it possible?

    Thank you very much this will help me a lot

  • Here is my version

    I can't believe you took what i wes able to produce in 23 lines of code and reduced it to three. This is amazing (I didn't know MAX existed at all)

    There is only one thing I have trouble with and that is the last line. which displays the name of the random variable. I can't understand the line.

    The part I didn't understand is: mid(list,random(len(list)),1)

    After we have created a list of all the variables that are equal to the largest number (MAXX)

    How does the random selection from the list happen here?

    My ultimate goal is that in the end the some STRING variable will receive one of the options:

    apples, pears, oranges, coconuts

    (Then of course I can play with it for my purposes)

    I would appreciate your help on this matter.

  • Thank you all for taking the time to give me answers.

  • Hello Hello!

    For the project I'm doing I need to compare four variables - apples, pears, oranges and coconuts.

    You enter a certain number of each fruit, and then when you press a button - the variable that you have the most of is saved as a new variable (we'll call it "biggest") and then you have a variable (biggest) that tells you what you have the most of (and then of course you can do whatever you want to display with it as text or image, etc., etc.)

    How do I create a comparison between four variables??

    Here comes the tweets - what if you have 2 or more fruits that are in a tie for the highest number? Let's say there are the most apples and oranges. How can I tall "biggest" to save it as variables and then say "show one of them at random"???

    Thank you. I'm trying to crack it and couldn't get to the answer!

    Tagged:

  • Hi hi!

    Thanks to our great community here I've been able to build a few games and I'm planning to build a mobile game for the first time - an endless runner game.

    I would be very happy if you could share your rich experience with me about what basic things I need to know - and mainly:

    - How do I make my screen fit different devices? I read the guide at this address - construct.net/en/tutorials/supporting-multiple-screen-17 - but it's from 2017, is it still relevant? Are there new and better ways? This, I admit, is one of my main problems...

    Which aspect ratio is better to choose? 16:9?

    - How do I put my game on Google Play? There's a tutorial here https://www.construct.net/en/tutorials/publish-mobile-apps-26 but it's from 2018, it's super old...maybe there's something updated?

    It's the second things that mainly worry me at the moment, I'm sure I'll have some outstanding questions, but right now I want to research the issue in depth before I dive in and not find out that I worked and then I have to spend hours and hours to fix things....

    I thank you very much!! Thank you!

    Tagged:

  • hi hi!

    I would like to play a video inside my game. I am having the issue of the video just being a white screen and not playing it.

    When I run PREVIEW it works great.

    But once I export it (windows) it does the problem of the white screen.

    At first I put it all as MP4. It did not work. After that I tried to split and did different versions (gov and wabv) and it also did not work.

    The videos do not weigh much (maximum size is 13MB)

    I have read the Video tutorial searched the forums but i couldn't find anything that actually solves the problem I did find one topic with the exact same problem as mine from 7 years ago and it didn't help.

    I'm enclosing my file here - maybe you can take a look maybe I did something wrong?

    https://we.tl/t-sfsi8lPSzR

    I really appreciate your help! Thank you very much in advance!

    Tagged:

  • I thank you from the bottom of my heart!

    It solved my whole business like magic (the problem was really in "Room 0")

    I appreciate it very very much! Thank you very much!

  • Thanks so much for the comment I appreciate it

    But unfortunately I tried it and it does not work - he puts me in the first room, then he does not go through the door to the next rooms he just ... there ... in the worst case he also gets stuck ....

    I tried to read about the random but could not understand - probably it's too sophisticated a language for me ....

    Should I put it in every EVENT SHEET or in the general one I did (which of course I add to everyone using "include EVENT SHEET")

    Thank you! Appreciate it

  • Hey! ^_______^

    I create a Roguelike game where my character enters a room, performs actions in it (defeats all the enemies) and then a door to a new room opens for her.

    I created the rooms (room 1 room 2 room 3) and I want to make him every time he walks in the door he comes to a random room out of the three I created.

    I also want to create that once he enters the room and completes the task in it - he will not be able to enter this room again.

    For example my character went into room 2 - defeated all the enemies in it and came to move to another room - I wish he could now randomly enter only room 1 or 3 and not room 2 again.

    Say he entered room 1 after that - defeated all the enemies in it and now he has to get to another room - now he will only be able to enter room 3 - because rooms 1 and 2 he has already passed.

    I would be very happy if you could explain to me how I do something like this. I just can't figure out how to make something like this happen.

    Thanks so much in advance I really appreciate it!

    Tagged:

  • Hey friends!

    I'm currently building roguelike, and I'm trying to create the mechanics - and here I need help.

    I want to create that every time a death occurs the character returns to the beginning - but - and that's the main part, I want some of the parameters to remain.

    Because doing a reset for the whole game is not a problem, you just use the command "RESET GLOBAL VARIABLES" - but there are variables I do want to keep (as for example, what if the character bought a constant upgrade for all the runs - like... adding life, I do not want something like this to be reset)

    How can I save only certain variables?

    But such a preservation will not only be for the play of the game, but also for future sessions of the game even after I have arranged it (I do not want my players to have to start all over again every time)

    Thanks so much for the help and very much appreciate it