tarek2's Recent Forum Activity

  • Governador cool I'm glad it helped you

    I see what you mean, just a quick note Construct2 will render only the sprites that are on the screen, the ones that are off the screen will not affect performance, example you had 5 enemies on the screen and only those enemies + 5 "MetalGear" will count for performance, the only time you will notice the effect of performance from all the sprites together is when you first load the layout "at the start of layout" as it has to load all the sprites into the memory but after that only counts the sprites that are on the screen. but hey as I'm not an expert I could be wrong and perhaps you picked the right path

  • Governador

    What was wrong with the >>>set "MetalGear" invisible and visible? I think that set up you had was better for performance than create/destroy.

    Anyway here is a capx changed to create/destroy see if that helps you: to open the capx you need the latest beta of construct 2

    https://www.dropbox.com/s/zhcadzjhc4izbrl/Alert%21Alert%21.capx?dl=0

  • Hi,

    I've just bought the C3 license since I use C2 for many years and I think its great, however in the first minutes using it I miss the C2 preview on LAN that its very important for my workflow, its fast and it auto-updates on code changes, the new Remote Preview is good for some remote play testing, but its very slow for local development compared with C2 LAN preview, please bring this feature back if possible!

    +10

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That is definitely a grate Idea, and indeed it should be already implemented as mobile games are totally different worlds and optimizations, especially if you have no experience.

    in the past, I use to get very confused as all the info, tutorials. how do you do, etc... it was mixed up so I couldn't distinguish what you could use in mobiles and what not, as the mobiles need a lot of optimisation for what I see and you cannot put many of those things in there, so it was really stressful trying to filter the info and stuff. if you wanted to learn about mobile platform.

    with one section on the forum especially for that, it will be really helpful and it can save a tons of time and research for a lot of people, plus like you said even for learning new tricks for optimisation, monetization and all those staffs, will be definitely something that everyone can benefit from, And the most important everything thing that you find in there you know it is 100% related to Mobiles.

    so from me its a must

    +1000

  • Never mind I found it, it was hiding in the extra options, I just activated (Background Graphics) and its working now

  • Hi,

    I wanted today to print some Events and is working fine but the only problem it prints only on a plain black & white text, it will be really helpful if it can print on color exactly like it shows in the Print Setup page, as it is easier to read for me this way, is it possible??? perhaps maybe I missed any settings???

  • Bravo 99Instances2Go really Nice tutorial and really interesting Topic, I was interested in learning more about this topic for a long time, and now I have more clear Idea, thank you for sharing with us your knowledge

  • tarek2

    Thank you!

    Unfortunately I can't use the families due to my version being free, but I'm glad you spotted the error!

    Ouch I see!! no problem man,

    Here is another one without families

    Capx: https://www.dropbox.com/s/hhapu54au6o736d/MenuOptionsOriginal2.capx?dl=0

    I noticed that you had two Play buttons, I'm not sure if it was intended or not, just to let you know I removed one of them on this capx

  • HenriqueWilbert

    its working now

    https://www.dropbox.com/s/6fkdo3litobktpw/MenuOptions.capx?dl=0

    The problem was that once you enter in the options section,

    1-The option button it stayed permanently Variable "selected" to true

    2-So when you overlap the BackBTI button to go back the BackBTI also fires the variable "selected" to true, so you end up with both buttons selected to true,

    3-Both groups (Options Click) and (Options) have the same actions "on any click" >> Action : activate the other group so that's why you stayed in the same place as both groups had the "on any click" Actions true like ping pong

    4-You could fix it by adding to both of the groups on the events "on any click" at the end of those actions make the button that was select=true to false

    Example: on the group (options click) you have the event:

    On any click

    second condition: is the options button selected

    Actions

    at the end of those actions: add set options button selected to false

    And the same for the other group

    5-I changed, now it uses Families to have it more organized

  • Hoo looks awesome Good Job Scirra keep up the good work

  • The solution is perfectly what I was aiming for, tarek2 it couldn't be better. Selection through UID is kinda next level for me but, I'll be exploring more options for game mechanics with UID and how can I use it better in games.

    Thanks once again for your help.

    iGamersBox cool I'm glad it helped

    You probably will have many planets and will be a pain to link manually all the Indicators to their planet, so I thought I will update the capx to show you one of the ways to do it, just in case you didn't know. it is just two more lines of code.

    Capx to assign in auto mode: https://www.dropbox.com/s/qykbfd9utqqlwgk/GravityPlanets2.capx?dl=0

    Yes Selection through UID it helps simplify the code and it's more convenient, you should also have a look to combine it with Family's it helps in performance if you have many objects, and if you feel adventurous even with Functions too.

    Here is a simple Example to get you started, it uses Families and Functions: https://www.dropbox.com/s/jeq49flgj1wrq1w/Create%20Healh%20bars%20to%20multyple%20instances2.capx?dl=0

    Here is a good tutorial to know more about UID:

    1-: https://www.scirra.com/tutorials/361/understanding-uid-iid-health-cards-and-rocket-smoke-trail

    2-:https://www.scirra.com/tutorials/556/understanding-picking-with-respect-to-families

tarek2's avatar

tarek2

Early Adopter

Member since 26 Jan, 2016

Twitter
tarek2 has 12 followers

Trophy Case

  • 8-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
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x5
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies