wertt22's Recent Forum Activity

  • So you have 1000 frames with different heads? Why don't you split them into 100 different sprites with 10 heads each?

    Keep all these sprites on a separate (unused) layout, so that they are not loaded automatically.

    Add all 100 sprites to a family, say "HeadFamily".

    Then on start of your game layout create an instance of the sprite with the head you need.

    For example:

    System Create Head58

    HeadFamily Set animation frame 3

    This way only one sprite with 10 frames will be loaded into memory.

    thanks good idea,do you know how to hot unpdata data.js if my game have a new Edition

  • from frames you can make a video instead of a 1000images-sprite, otherwise you can edit images in bundle lowing resolution (decrease MB but you have to scale in in-game) and decreasing color palette (but those metod you can lost graphic detail..).

    i think video at 20fps is better choice in those cases.

    thanks,but i do not need a animation,the 1000 frame is used for 1000 different heads,i want make a game whit many actor,so i can change frame to change actor

  • Hey wertt22!

    If it is one text object, you can't make part of it visible and part invisible. But you can mask the text to show just what's inside the box, like you mask any layer. See below an example:

    https://www.dropbox.com/s/qg2hgaxm9rtuo ... .capx?dl=1

    The only differenece is you'll be masking a text, not an image.

    Hope this helps. Cheers!

    thank for u answer ,it,s usefull,

  • You can load the data from the site and adjust the format manipulating the string. If you show us the format the site uses, I can help you with the conversion.

    Cheers!

    you mean write code like this?{“c2dictionary”:true,“data”:&site jsondata&“}”

  • i have a sprite has 1000frame, when i debug game,i only use one frame of sprite,but the sprite est 200mb imagememory!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i use ajax to load it,no response!

    some one said must use fomate like this {"c2dictionary":true,"data":{"score":"5","high_score":"315","game_token":"xyzabc"}}

    but the online api site not give this fomate??????????????

  • i mean when text Outside the border set text invisible,and set text visible inside the border

  • when touch a sprite ,i want show effect like Bubble scale change ,use sine behavior is Too troublesome,any one have easy way?

  • when set use high-dpi display to NO, really Display blur on mobile phone!I can't even see the words clearly in mobile!!!!

  • when i see The Next Penelope video ,it,s really beautiful,any one have the sample capx about to make effect like The Next Penelope thank you!!https://www.scirra.com/construct2/games/the-next-penelope !http://store.steampowered.com/app/332250/The_Next_Penelope/

  • Hey ThePhotons client need use onOperationResponse to get data,but i can,t find the cnds in photon plugin

    here is unity example

    public override void OnOperationResponse(OperationResponse operationResponse) {

    base.OnOperationResponse(operationResponse); // important to call, to keep state up to date

    switch (operationResponse.OperationCode) {

    case OperationCode.Authenticate:

    if (operationResponse.Parameters.ContainsKey(ParameterCode.Data)){

    var data = (Dictionary<string, object>)operationResponse.Parameters[ParameterCode.Data];

    }

    break;

    /*

    ...

    */

    default:

    break;

    }

    }

  • when i add a tile by Pencil Tool in edit time ,the tile solid is enable

    but when i make tile by set tile action in runtime,the tile solid is disable

    and in debug mode the tilemap solid behavior is enable

    thanks

wertt22's avatar

wertt22

Member since 29 Jan, 2016

Twitter
wertt22 has 2 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies