RolGD's Recent Forum Activity

  • You do not have permission to view this post

  • dop2000I very apreciate the help! It worked! I had not read much about local storage because of the new game save function, but looking at the example you sent I got how it works.

  • Hello!

    I load a JSON file in an array on the start of one layout. The data of this array pass by changes during the game, but when I start that layout the "on start of layout" reload the JSON file on the array, erassing the game progress related to this array, so I want to change the json file (save it with the new data of the array).

    I dindt find an option to save, just dowload (what is not the point) an load (array.AsJSON) but its not working, I dont know how. I want some help with some thing I'm not understending on this point, to save the json with the new data of the array, so when "on the start of layout" load the json file into the array it will load the right data.

    Tagged:

  • Interesting, maybe in a moment I will research on the topic.

    (About the image, when trying to link, only a numeric code like this img = 340xx between [] appeared.

    But for me the issue of the topic has already been resolved. I appreciate the help.)

  • I apreciate the help.

    I get in doubt about the measurement unity, if is pixel. Like the Screen size unity, and the sprite height and width. Because I dont know how a sprite 1 height and 1 width can reproduce a circle and grandient so well as are reproduced.

    I attached a image.

  • Try Construct 3

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

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

    A sprite made in Photoshop with, for example, 10x10px was used in my project. At 100% scale I thought it was at its original size and every square there was a pixel. But by decreasing this sprite to 1% scale there was no distortion, all the painted pixels were there, raising the question: what is the displayed size, because a pixel could not be even smaller.

    The same happened with a degraded circle (made in larger proportions). By lowering it to a size smaller than the 10x10 pixel art for example, it continued a great, non-pixelated circle and with a great gradient. this at the minimum scale size of the Construct properties window, and smaller thant my 10x10 pixel art, what give me the impression that a lot of pixels ( necessary to make a circle and a degrade) is fiting in a one pixel space.

    So I'm not understanding the size parameters and how its really works in the layout.

    Tagged:

  • One way to do this is to create an X timer and every time a button is pressed that timer starts (with 0.1). Among the conditions for pressing this button you set: timer X is running and reverses this action (button i) (so it will look like: timer x is not running).

    So:

    space key pressed + timer x is not in execution + screen object /// perform action 1 + start timer x

    space key pressed + timer x not in execution + object NOT in screen /// perform action 2 + start timer x

  • fredriksthlmYes! I already consulted this license. But the fact that I don't run the font software within the program, just use the font sprite and to display score data, or prices set by the primary user (me), leaves me wondering about active use or embed in a mobile or desktop aplication.

    Embed is the question and if sprite font is considered embed or not, And Active use by a non licensed user or not.

  • brunopalermoYes!That's what I thought. And for my specific case I believe it will work.

    I greatly appreciate the help

  • I contacted Adobe. when possible I'll update the case.

  • dop2000I greatly appreciate the help.

    Just to clarify, yes it is an object belonging to a family: a set of different characters to be played (indentifier would be the number of each in its name: player_1). And the value would be the price of the character chosen to be unlocked.

    So as I understand it is not possible to do this the way I was trying.

    In this case I will resort to other methods and appreciate the suggestions.

    In my case maybe just calling the family is enough for the system to hit the variable instance "price" of the character in question (because only the selected character is "created" in the layout).

    I don't know if I understand exactly what you said, so if I let something go let me know.

  • How to do that? I have many object_x and want to have the value of a variable of this objects. So I use:

    "object_"&indentifier.value

    ("object_"&identifier)all this is my object and (.value) the value I want to know of this object. Composing my object reference a variable that complete the name.

    The problem is that I dont know how to write this parameter a way that run.

    Just to make clear:

    indentifier: is a variable like "selected player"

    value: is a variable that I want to obtain the value with this expression

    So I have to know the "value" of the "object"_"x".

RolGD's avatar

RolGD

Member since 16 May, 2019

None one is following RolGD yet!

Trophy Case

  • 5-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies