LuciusCD's Forum Posts

  • 15 posts
  • Thanks, I'll read again and try to understand better than already have.

    Best regards,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you for your attention, LittleStain!

    I have found out that if I configure the project to "Use high-DPI Display" to "Yes", all images are perfect in the mobile as they are on PC, however the game get a lot slower because of that. I'm trying to understand how I can mix high-DPI Display with image files that will not be so heavy on the memory usage.

    Actually, memory usage is still a little of a mistery to me. For example, after the layout loads an image, is there any away to get rid of that image in the memory usage without changing layouts or is it impossible?

    I'm working on a Visual Novel, and worried about quality I'm using sprites as characters with a size of 1100px width and 1800 height (I have being reading about setting two different sprite groups - one for PC and one for mobile - and I'll try to learn more about that because it seems the fastest way to create a game to host in a site and to mobile devices as well).

    Probably, if I can manage to make smaller character' images keeping a high definition, it would weight a lot less in the memory.

    LittleStain, could you please tell me your best practices when you try to have detailed images and best performance as well?

    Thanks again for your time!

  • I have read the manual and some articles even outside C2 and I still can't figure out how all mobile games have amazing images in the screen of my Moto G and the images of my game are perfect on my PC but get 'pixel' like in the mobile. I believe it has something to do with downscaling. I tried High Quality Downscaling but didn't get the desired result. I imagine it has something to do with finding the perfect image configuration for mobiles (like ppi, size, and any other thing I'm probably missing).

    Could you please share here how you treat the image files you are going to put in your game and you want to be pretty detailed in mobile devices?

    If you know where I could read or learn more about it, please share as well.

    Thank you for your time!

  • Hi orache,

    In the case you still didn't find out, you can change the properties of textbox with the action textbox -> Set CSS style. On the Property name, write "font-size", and in the Value, you put something and try it out. Right now I'm messing around with trying the value WindowWidht/40 & "px" , but you may choose a permanent size like "30px" if you want. Just try around and see what fits you most.

    All the best,

    Lucius

  • Hi rexrainbow! Amazing plugin!

    Just a question: when I load a .csv file to an array, all strings that had a special character like â,ã,é and others like this had those characters changed to a "?" symbol in the array. In the .csv file, the characters are right, even in Project Imported Files of C2, but when they fill the array using your plugin, they change to "?". Is there any way to keep them as they are after loading them in the array? Anything I should write in the .csv file so the string is kept intact?

    Anyway, thanks for the great plugin!

    All the best to you!

  • Got it!

    It is a combined use of he Array condition "For each element" followed by the "Compare Current Value" and he will get the all the instances at value 1. The problem now is that he doesn't respect the condition "if global variable r<=16, call function at instances with value 1" . He keeps calling the function even if r>=16. But that is another matter. This doubt was solved!

  • Hi,

    I have an (7,7) array with instances with values of 1 or 0. I need to apply a function based on all instances that have a 1 value on them. I tried tokenat, Compare Value, Compare Current Value, For each element, but couldn't find a way to say:

    For each instance with value 1 --> get the X and Y of each of them

    --> set variable a to X

    --> set variable b to Y

    --> Call function (that uses each a and b obtained)

    My objective: if an instance of the array has a value 1, all instances around it must get a value floor(random(0,2)). If it turns out as 1, the process repeat again until a limit (a global variable) is achieved. If the limit is not achieved, the process needs to repeat again at each instance with a 1 value.

    Do you have any idea of how I could manage that?

    Anyway, thank you for your time!

    Best regards,

    Lucius

  • Hi spinatenpower,

    Yes, it is possible to do all that and a lot more. Since a lot of this was already discussed and explained here, I'll just give you the link to those and lots of other questions that may arrive while you work with C2.

    There is no easy way to learn all that. Time to read

    If, after reading all the posts and the manual details related to your questions, you still have any doubts, please ask and we will try to answer the best way we can.

    Cheers!

  • Hi mindfaQ

    Just wanted to thank you and congratulate you for this great job! It will help us Game Developers that are willing to do VN with Construct 2 a lot .

    Wish you all the best!

  • Thanks for the replies. I'll definitely be watching the development of this template and I look forward to see the improvements you will make on it.

    Best regards,

    Lucius

  • Hi Magistross,

    Thanks for the reply. One more question then:

    I have 3 different reputations, like A, B and C, each one increases accordingly to choices made by the player. Using your template, can I "fork" the three of them and get only the highest reputation answer? I mean, if A is 80 and the others are lower, can I program it to show only the answer of the highest reputation in your template directly? How could I do that?

    Best regards,

    Lucius

  • Hi Magistross,

    I got interested in this template because my game will have hundreds of dialogues. Just some questions for now, probably newbie questions, but better be sure than sorry:

    Can we customize the dialog window and cursors to other objects?

    Can we use any font we set to it, like SpriteFont?

    Thanks for your time.

    Best regards,

    Lucius

  • Hi korbaach,

    Thanks for the help. I'll still figure out the "font-size" but your help to problem 2 solved it completely.

    All the best to you,

    LuciusCD

  • Hi everyone,

    I read the manual, researched the forums but couldn't find answers for two matters:

    1) the auto-scale property of TextBox doesn't fit the need I have for a custom size accordingly to different screen sizes. It is too small. If I set "font-size" to "2em", it will be too small for some devices but ideal for others. I think I could create some kind of condition based on the size of the WindowWidth, but there is no other way like putting "font-size" equal to "(WindowWidth/50)em" ? I tried this equation and others like "(Sprite.ImageWidth/20)em" but nothing worked. I think it has something to do with CSS, that I don't know, but then isn't there any way to get a custom font size for TextBox, other than Sprite Fonts?

    2) I have a TextBox to the player put his name on it, but even if I set the Keyboard "When any key is pressed" to set an Instance for it that sums 1 each time a key is pressed, nothing happens when the keyboard is pressed on the TextBox and so I can't check if the player have put a name at all so he can begin the game. The Instance only adds when I press Enter or Esc. Does someone knows what I am doing wrong and how to solve that?

    This is my first topic and I have solved other problems researching the forums and reading the manual, but those were above me. If you have any idea about how to deal with that, I would really appreciate the help.

    Thank you for your time reading and I wish you a nice day.

  • Hi, Scirra Community,

    I would prefer call you the Dreamers Community, as games are ultimately made of dreams that we fight very hard to bring to this world the best way we can, and many times the results will not meet our imagination, but this is a fight that only Game Developers can fight for the sake of fun on this world.

    I am LuciusCD, CD from Creative Director of a game with a team of one programmer, one graphic artist, one audio composer and, very recently, one singer for our theme song. As my programmer is set to Canada, I'll need to take care of the programming as well, and Construct 2 seems pretty able of doing the game we are willing.

    I have acquired the Personal License so far, waiting the first USD$5.000,00 earned to buy the Business License, and I'm pretty sure that this day will come. As Game Developers, we need a great deal of confidence, and even a greater deal of wondering if our game is going the most fun way it should go. We may doubt that our games are not perfect right now but we can't doubt what we do and why we do, and even less we can doubt the reason for being game developers. This is a way of life. If you are not truly committed to it, you will just give up later upon all hardships you will face, but if you learn to love being a game developer, someone that strives to bring a little more fun for our broken reality, than even your own "Pac-man" will be a dear symbol of resistance and commitment to the gamers of the world, and you will feel at peace with yourself, but only after you did your best to do your games, not a single second before.

    But enough lecture, I just wanted to show my beliefs on being a game developer and say that I'm still having lots of problems to learn to use all the complex parts of Construct 2 and I would appreciate any help I could get. I didn't make any topic requesting help and will not do until I have read all the manual and saw lots of tutorials, but surely I'll be posting after that, as well as trying to answer the questions I've found the answer already.

    So, this is me, Lucius, the Creative Director of a game, like many of you, that is trying to bring the newest and funniest experience to gamers around the world.

    Nice to meet you!

  • 15 posts