NN81's Forum Posts

  • Sorry I cant, cose I dont know how

    To get the .Capx file just open your project on construct2 and then click file> Save as a single file.

    This will generate your capx file, save this file on any folder of your dropbox account or any other domain, right click on it, select "get public Link" and then send me the link via MP

  • I forgot to wrote some important thing. When I open that .capx on other laptop picture display is fine.

    can you append the .capx please?

  • If the majority doesn't, it's not because it's better, but because the majority is probably not skilled enough to do it properly, I guess..

    yes, this is the point.

    I think the answers are also given taking into account the context, but the fact that the author of the post has doubts about how to do or not do some kind of game shows that he is not an expert. And that he may not be able to handle the type of programming you are referring to.

    And we must also keep in mind that on 100 gamedevs on the forum, who are experienced are a minority (maybe 10?) and therefore better give generic but safe responses to the standard procedures that are most sought after in the community, and let the experts go to the advanced ones .

    sorry my english.

  • Appen a .capx?

  • NN81, I never said that having all objects from 100 levels dumped on 1 layout is the right way!

    Read my comment again please.

    On start of each level I create only those objects that I need on this level, using the data from CSV file. It works fast and the memory usage is the same as with having separate layouts for each level.

    Also, you can potentially have a million levels with just 1 layout if you do it properly! Can you create a million layouts in C2? I don't think so

    the important thing is that we understood. in general, however, at each level it is well suited to its layout. for a thousand valid reasons. statistically speaking the kind of games you refer to is a strong minority.

  • Hi,

    I have problem when I try to add background or sprite big size(500x500 or more). I dont see full image, but when I run layout I see that in normal size.

    I have intel hd graphics 3000 on windows 10. I am update driver but problem is the same. Any solutions?

    https://imgur.com/a/jWVCQ

    try to click on "Make1:1" size on sprite properties

  • Thank you

    here (https://www.scirra.com/manual/183/memory-usage) are sayd

    "Construct 2 only loads the images for the current layout. This avoids loading the entire project in memory which would be slow and consume a great deal of memory. When starting a layout, all images for the objects placed in the Layout View are pre-loaded. This includes all frames in all animations of any Sprite objects. (In other words, Sprites are either fully loaded in to memory, or not at all - they are never part-loaded.) When the layout ends, all images that are loaded but not used on the next layout are released from memory."

    in this sense I meant that it might affect performance (sure, unless you want to make 100 empty or equal levels ..), I also think that more layout uses better organize the job, opposite at what dop2000 says

    imagine having one hundred levels on a layout and do not even know where to look for anything, or have them organized with their layout in numerical order.

  • Sure you can

  • thanks for answering!

    that first issue was embarrassing, how did i not figure that out, ugh.. but much appreciated!

    but so, the second issue. ill try and keep it simple for the sake of discussion:

    right now i have that max 500 units for global var. (stamina).

    i was thinking of making another global var, lets say "level up".

    every 10 enemies killed levels up, global var sets to 0 again. no problem so far.

    that level up adds, say +50 to that 500 globar var, so the first level up would be 550.

    the problem is:

    to regenerate the stamina bar over time, i have a condition/action as follows:

    always--> if global var (stamina) is less than 500 ---> add 2 to global var (stamina).

    that becomes a problem if im going to level up the max stamina over that initial 500.

    basically this is the whole issue im having here.

    Use two variables, DefaultHP (initial value set to 500) and LevelUPsHP (initial value set to 50), then:

    NB: you have to remember to "update" when your Hero increase Level adding "tot" at the LevelUPsHP value

    EX: on level2 reached -> set LevelUPsHP to 100

    on level3 reached -> set LevelUPsHP to 200

    ecc

  • if with Crosswalk works, maybe it is not a R247 bug.. maybe some incompatibility with Phonegap? have you try with Cordova CLI?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1. insert a condition: if GlobalVar <0 set GlobalVar to 0

    2. yes you can but i need to know more details about it

  • dop2000 performance i mean, obviously depends on the game, that in general every level requires something new assets ecc..

    so Zion, unless you want to do 100 similar/equal levels, using more layouts is the wiser choice.

  • best platform for what? for selling?

  • both options, but for best performance i think is better 100 layouts for 100levels

  • Hey..

    I made that when a Player collides with walls to the left or right, his Platform X and Y vectors are turned to 0 ( which makes him slide down slowly ), and when hit jump, his vectors are just returned to normal..

    But now I need some sort of collision to make him do that on certain types of walls, and not any wall..

    just made another sprite wall with solid behavior that don't do anithing in events conditions when you collide with them.