Aphrodite's Recent Forum Activity

  • You do not have permission to view this post

  • I tried on my tablet, I had the same as ramones, without webGL hiwever, I had only white instead of the brown object.

    did you intalled the directx websetup after exporting? (even though there is not much hope for that I would say)

  • Time to lerp!

    unlerp(340, 480, Sprite.Y) will return 0 if sprite.y is 340,1 if sprite.y is 480, and interpolates with a affine function between those values (0.5 will be for sprite.y of 410)

    lerp(0.8, 1, A) will return 0.8 for A =0, 1 for A =1, and interpolate with an affine function between.

    combined with lerp, you can do:

    lerp(0.8, 1,unlerp(340, 480, Sprite.Y)), which should return 0.8 for sprite.y being 340, 1 for sprite.y being 480, 0.9 for sprite.y being 410.

    hope I am correct

  • you are reffering to "v.1.190", where did you see that version number?

    last time I checked, C2 only had either versions like "r190" or "Version 19000" for references, nothing like v.1.190., so it is normal to wonder (unless the installer mentionned it?).

  • export using the "cordova" (or "android", depending on the release you are using) should remove that warning.

  • the app added size should always be the same (like, if it adds 13MB on a little game, it will always add 13 MB when the game become larger), due to the fact it ships with it an entire browser engine to read the game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • alexhui without talking about breaking changes (as some might say it is a breaking change, which would basically negates entirely the demand) with no reason, an invisible object just means it is not rendered. As for the manual, it does not state either that non rendered object do not respond to touch and mouse inputs.

    however, having a "respond to inputs" kind of state for objects in C2, could simply do that trick, As low priority as it can be, I am more into the "respond to inputs" state addition rather than modifying what "invisible" means really.

  • Yes.

    Now i have code like so:

    on start layout => Activate Group "Group1"

    condition ^ once => Deactivate Group "Group1"

    So, a group of events/actions included in Group 1, are only active from the beginning of the layout until a condition holds.

    I think it would be nice if an activate or deactivate condition could be entered in the group itself. Right now, the only condition available is active when layout starts.

    Dan

    IIRC, you can also include an event sheet under a condition, which means it will be read only when the condition is met, not sure however how that works with triggers. That may help you organise things a little.

  • well, they could, but in most cases the capx posted have issues in them or are incomplete (I personally recommand to post a description of the issue, and the capx with altered graphics, or another capx with the same issue so there is no stealing risks), however to make profit out of it, they would need a C2 license and working on your codebase to complete the game, which takes sometimes more time than doing the game themselves.

    however be wary if your project is something you do not want to share the entire source.

  • I'm importing a wav sound file. It converts successfully to ogg and m4a but the wav itself isn't inserted into my project. Do I need to change something.. or do I not need the wav file itself?

    The wav file is not needed for the game to work, and I think C2 is not keeping them inside anymore (before it did), do not worry, as long as you have both the ogg and the m4a, you should cover all platforms that C2 supports.

  • is the 2.7 GB the memory said at the bottom by C2? if so, remember this represents the layouts where, from the lyout view perspective, have the most memory usage, so if you have a dump layout where you put everything, that will say a very high value I guess.

    Animations with 50+ frames, I wonder, are they nessecary, if you can get by with reducing them, it can help.

    also

    "optimize your pictures - 2^n x 2^n for your sprites."

    well no, it is (2^n -2) as C2 will add 1 pixel all around each frame. but you can check if you used the crop option of the image editor for your assets (since you have quite a lot, it may make a big difference). also not using high quality downscaling but medium (you did not mention it, so I guess it is to medium, which is the default).

    could we see one of the 2048x2048 spritesheet to have a better feeling of "can this be striped down with some other techniques" (like if you have 50 frames to represent a spinning ball around a ship, it will be better to make a separate ball, that will be spinning around the ship via events).

  • I do not have C2 rigt now, but lets try.

    first, if needed, you disable your list with the set enable action(as there is no choices until the text file is loaded)

    Then you request the file with an ajax request, I will assume the file is in this format:

    Item1|item2|item3|item4

    when the request is completed, you have access to the content of the text file with AJAX.LastData, so:

    conditions

    On Ajax Request completed

    system>repeat tokencount(AJAX.LastData, "|") times

    actions

    List>Add Item tokenAt(Ajax.LastData, loopindex, "|")

    then you enable the control, that should work.

Aphrodite's avatar

Aphrodite

Member since 20 Dec, 2011

Twitter
Aphrodite has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies