Chadori's Recent Forum Activity

  • SecretaryBird - Local storage should work.... Can you show the rest of the event, especially the part when you set the score value to the local storage? But providing a .capx is better.

  • The local storage is only active so long as the app is running. If you close the app the local storage is cleared.

    No. This is wrong. The local storage data persists even if the app is closed.

  • Here, i made a sample .capx : https://1drv.ms/u/s!AjcW2ueud6qp1RG4IWecWhcLlC3x

  • frayt - The answer is quite simple actually. Remove the "for each" condition. And then you are done. The character map will only change to the EnemyCharacter that is selected.

    Hmm.... But assigning each scml, It's not that simple anymore... You need to add an instance variable for the scml... For example, ''ownerUID''. And that ownerUID instance variable set it to the enemycharacter's UID that it belongs to. I suggest using 'For Each' on that process.

    I believe this will be easier with a .capx . I'll do it for you if you want but i will still need a .capx . You can PM me or if it's too confidential you can contact lucid (Spriter Developer) here: . He can be trusted with your .capx .

  • Eltondrknss

    Well, first you need to give me a sample case... I don't know whether it's only for visual representation or it is an event based program you are trying to make. I honestly don't like guessing.

  • Artain - (Fixed .capx) https://1drv.ms/u/s!AjcW2ueud6qp1RCljm-6cl6SIgn7

    I just moved the event (on the image) above the other event that cancels out the condition of the event on the image.

    Remember : The Event sheet is being read by the computer / cpu from up to down. So it is still possible to cancel a later condition if the above condition contradicts a later event.

    And also a little advice, it's very inefficient to move buttons around for different actions. It's a very bad practice, reminds me when i was still starting using C2.

    The most efficient way to use is either global or instance variable but i prefer instance variables in your case.

    I can show you if you want... But it's better if you self learn it:

    Here are the links to get you started:

    Event variables : https://www.scirra.com/manual/83/variables

    Instance variables : https://www.scirra.com/manual/73/instance-variables

  • Over 5000 objects would probably be pushing it for low end machines, and large layouts should be fine (there's no memory/cpu usage proportional to layout size so it essentially doesn't matter how big a layout is). The only issue is objects store their position in single-precision floating point numbers, which means they might start getting inaccurately calculated at really big X/Y co-ordinates - it should be OK within 100,000 pixels of the layout origin though. You could always experiment with a slow moving object at (100000,100000) and see if it still moves OK (use unbounded scrolling to save having to make a layout that big).

    You'll probably get better performance with smaller levels with less objects: currently, construct has to check every object in the layout, no matter how far away it is from the screen, to see if it needs to be drawn or animated. This incurs a tiny performance penalty, but in theory having over 10,000 objects in a layout could slow down the game purely because those objects exist.

    - Read the bold sentence above that Ashley said from 2010 .That is what I meant by usable & accurate layout size. That is 100,000 px

    Reference:

    i'm sorry but i dont know what accuracy your talking about ..... i just know whenever layout settings are set manually (i guess this means usable with accuracy?)

    the min is automatically set to 2px if u try to do 1 or 0

    and maximum is automatically forced to 100,000 pixels if u try to type something more then 100,000 pixels (100k/ one hundred thousand)

    i know image is about project window size... same applies to layout sizes manually

    i have no idea what happens if u set it by events......

    hope no wild Lorax will appear.

    the margin (unusable size doesn't count)

    Okay, i get it. I can see that you also don't know the layout size true limit..... Look at my image below:

    It's 1,000,000 (a million px height & width).

    Ashley is the layout size limit dependent on the computer's capability?

  • 100,000 pixels max

    2 pixels minimum

    Min: 2 px

    Max: 1,000,000 px

    Layout size limit.... I think you are talking about the usable (with accuracy) layout size.

  • Good afternoon!

    A better way to do this would be just changing the variables or creating several buttons!?

    I think that will suffice.

    Edit: And add loops for auto-generated flow charts. Arrays will also be helpful for advanced purposes.

  • There is actually more to it than just using the action "save game" for example the "no save behavior" so I suggest you read this:

    https://www.scirra.com/tutorials/526/ho ... -savegames

  • how is the file the problem? Adjusted how? I know it's very short and small. I may want to use or at least try that file. An open-file action should not hang an application. There should be some sort of error checking so I don't have to End Task on C2 and lose unsaved changes.

    You are right that there should be checking & warning, i didn't say i disagree.... And what i'm only trying to say is that your file can't be read by C2 for some reason and the only way for you to use it now is by readjusting it using audio editors like Audacity.

    Here, i tweaked it for you:

    https://1drv.ms/u/s!AjcW2ueud6qp1Q-5JGEJcRHu8Acx

    C2 should be able read it now.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The image doesn't cover the entire event. Can you screenshot the entire event with all the conditions & actions. But it will be better if you had a .capx .

    Based on your explanation & image. It's either the sprite or the action the one causing problem.

Chadori's avatar

Chadori

Member since 10 Oct, 2014

Twitter
Chadori has 49 followers

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

24/44
How to earn trophies