NN81's Recent Forum Activity

  • so there is no way of doing this?

    "On Mac OS X, there are actually several files inside the app package that need to be executable. The easiest way to preserve the permissions is to copy the exported project using OS X instead of Windows. If you network a Windows and OS X machine together, log in to Windows, and copy the files to the OS X system, it isn't aware of the file permissions and can lose the execute permission, causing the resulting app to fail to run on OS X. However if you log in to OS X and copy the files from the Windows system, it preserves the permissions and should produce an app that can run."

    this is the standard procedure, if don't work open a "BUG" discussion

  • I have created a memory game (drkoops.nl/memtest/) that uses frames from an animation to show the cards.

    Now I would like to make this available to teachers. I want to allow them to use their own animation.

    I would like to make the program such that it takes the sprites from an /animations directory.

    Then the teachers can upload their own cards (png images) to the directory /animations, and adjsut the game to use their won sprites.

    Is this possible in Construct 2?

    Kind regards

    Martijn

    hi Martijin i'm not much expert but i think it's impossible to do, when you make a project Construct create spritesheets for "texturing" all sprites, then when you execute, i supposed they are loaded into memory and displayed in "real time" on every layout that call him

  • prntscr.com/h40xel

    abusing "else".. you have programmed that when value lamp go to 1 (due to press R key) the system set it automatically to 0

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

NN81's avatar

NN81

Early Adopter

Member since 9 Feb, 2017

None one is following NN81 yet!

Trophy Case

  • 7-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

9/44
How to earn trophies