GeorgeZaharia's Recent Forum Activity

  • wow you've been busy haha, cant wait to see how those will turn out

    dont worry about my request take your time i know its going to be awesome

  • awesome

  • i presume your bullet speed is autoupdated on everytick based on car movement thats why it accelerates as the car... try setting the bullet speed relative to the car movement only on spawning of the bullet or rocket what ever it is. that should fix it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is not okay, sounds more like a bug. Then it might skip the "Wait 0" action too, lol. There's nothing in the manual or tutorials about skipped actions because of a framerate or anything else.

    No it cant since "wait 0" action is delayed, as the post you shared says, to the end of event sheet and then performs it.

    But when you have 10-20 actions under a condition or is a very cluttered area of conditions and actions in your event sheet and you dont have the "wait 0" between them,and based on your computer performance or browser performance there are some times slow downs of performance.

    Maybe because of browser plugins/framework maybe because of your computers outdated drivers, sometimes we have high usage resources and the browser may slow down even for 1 second or less ... at that moment since C2 system is directly responding to how well our computers can run HTML5 and this sort of issues might happen.

    This issue was also mentioned many times by Ashley and other developers over the years in the forum posts. The skipping is not directly mentioned in the manual but the performance and optimization is, and its suggesting the slow downs might skip 1 action or the actions might not perform as well as they should. And thats why Wait 0 was implemented. At least thats how i see it and understand it so far from testings and the course of C2 development announcements.

    But its not something that C2 can fix. Its more of a Hardware, Software(not only C2 but all dependencies that C2 has), and user usage mix problems.

    Which C2 is developed and patch so often to avoid bad performances like this.

    Another example that is based on performance and the limits of HTML5 are the jitters that always pops up around forum, that are caused by the html5 platform and how well the Math is made in the Core's Engine.

    But this pushes the topic back to the eternal conflict between developers on having to choose from HTML5 or flash. Since immediately flash is/was a bit faster but still has more problems then HTML5 itself.

    In a few more years maybe all this will be behind, with the technologies and the software that is continuously updated. Till then we(the normal inexperienced flock of users) cant do nothing but wait. And submit bug reports or performance issues.

    And then another short note on user usage of software ... most C2 developers tend to not have a clean code... keeping their event sheet all unoptimized and having blank conditions under blank conditions under functions over functions that basically do nothing just delaying the system and then as mentioned above issues pop up.

    And the unoptimization of a code it can bring performance down quite visible in some cases even close to unusability of an app.

    Because 1 condition in blank its another maybe 0.001 % tick delay based on the amount of conditions and actions we have in our event sheet, and on large scale games that 0.001% can get pretty high stacking.

    I'ved seen capx's that where like the above example ... having 10 functions under 10 blank conditions and at the end 1 action that was calling another cluttered useless function that was basically repeating same hierarchy just calling another action or condition ... which did not make sense at all.. and the app at that moment tested was performing really bad maybe 1% of what it should have been.

    So it all comes down to all this things that combined kills performance, on a newly platform called HTML5 that still has years to be developed in order to get perfect and fast enough. Even though, i personal consider it fast enough at this point for what most people use it for on the side of C2.

    I could go on... but im way off-topic and this kind of talking wold be better discussed in open topic then C2 General.

    Im not sure if you still understand now why "action skipping" might happen. And why "wait 0" wont be skipped. But you already shouldve noticed all this by now ... since your not a new C2 user lol ... have a great day all

  • as other developers said, c2 can handle large layouts max layout size is stacked at 100 000 pixels by 100 000 pixels however above 500 sprite objects moving and updating you may encounter fps drops and high cpu/gpu consumptions which on mobile platforms means large battery consumption and sometimes crashes.. on pc however ... on a newer rig you can run a C2 game with around 15,000 sprite objects at a 24 FPS but since not everyone has its rig updated i wold not place more then 1000 active objects in a layout.

    Active meaning ... updating positions changing effects parameters and other stuff.

    if they are just static objects(they dont do nothing just stays there as a bg image or hud elements) then you can add around 2500 of them. so you can have usability above all.

    this info is based on my personal rig

    CPU

    Intel(R) Core(TM) i5-6400 CPU 2.70GHz

    Maximum speed: 2.00 GHz

    Sockets: 1

    Cores: 4

    Logical processors: 4

    Virtualization: Enabled

    L1 cache: 256 KB

    L2 cache: 1.0 MB

    L3 cache: 6.0 MB

    Utilization 3%

    Speed 0.78 GHz

    Up time 8:17:45:30

    Processes 54

    Threads 798

    Handles 25203

    Memory

    8.0 GB

    Speed: 2133 MHz

    Slots used: 1 of 4

    Form factor: DIMM

    Hardware reserved: 47.4 MB

    Available 5.4 GB

    Cached 1.8 GB

    Committed 3.1/9.3 GB

    Paged pool 295 MB

    Non-paged pool 155 MB

    In use 2.6 GB

  • Save as project saves the entire project uncompressed with its entire hierarchy folder

    Save as a single file saves the project under the .capx format which is basically a compressed .zip

    if you change the name of the capx to zip and then extract it you will get same thing as extracting a .capx file or by saving a Save as Project option.

  • Edited:

    here is my solution Capx Example v2 updated

    let me know if you need something else...

    Ashley i found a bug when i try duplicate a button then renaming it and changing the text info ... C2 editor crashes (use original capx in the first post)

    steps to reproduce :

    duplicate button named Add Heart

    change name of the new duplicated button

    change text of the new duplicated info

    on pressing enter after text is changed or clicking the layout so the text its saved C2 Crashes. r228 x64 Win8

    Edited : in my capx now it doesn't do it anymore after it crashed around 3 times... first time it crashed was due to the name length i think... i'll retest and submit to the bug section properly once i pin down the cause. sorry for rushing on reporting and in such a inappropriate topic.

  • 1 bolean or variable on the item

    tripple condition :

    Trigger once

    is bolean X inverted/variable=0

    cash =>500

    action --> subtract 500 from cash

    ------------> set bolean true /set variable to 1

    this should solve it.

    i placed bolean and variable with a / so you can choose the way you want it... it doesnt require both just one of the solutions.

    here is a capx example using mouse and instance bolean

  • So essentially I cant make it where the enemies view is the only way i can be found and i was thinking of making it where i could backstab the enemy sneakily and that would be the only to kill them

    well you can, you basically can reproduce the LOS behavior by event sheet, the code i gave as a example is only measuring the distance to trigger the follow action.

    For "visibility" or cone view effect, you need to calculate the direction the AI is facing... however it might be you are using LOS wrong and thats why it breaks. take a look at the RTS example in the default templates of C2 that might help you understand better the LOS usage.

  • http://imgur.com/GPFfzbe

    :O wow just wow... 110% more efficient ... cant wait to see this at work <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Tic Tac Toe - multiplayer is turned based so ... yes multiplayer turn based games are possible.. i have no clue how C2 server system works... its rather complicated and doesn't make sense to me personally

    but it should work....

  • LOS sometimes has its own mind or breaks.... instead of LOS you can use the system expression compare two variables and calculate the distance as this :

    distance(ai.x,ai.y,target.x,target.y)<100 ---->actionfor AI sprite{set angle towards position (target.x,target.y) } / action2 for AI sprite{ moveforward 2px+(60*dt)............}

    the 100 acts as the visibility... however this has no view cone as los has its automatically 360 view.. so even if you come from behind it... will still follow the player.

GeorgeZaharia's avatar

GeorgeZaharia

Member since 30 Jun, 2014

Twitter
GeorgeZaharia has 35 followers

Trophy Case

  • 10-Year Club
  • 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
  • x9
    Popular Game One of your games has over 1,000 players
  • x21
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies

Blogs

  • Construct For Dummies - Simple Tutorial Collection

    I scour the Construct forums for users tutorial requests, and create small quick and simple tutorials using Construct's defaults features so anyone can use and apply them.

  • My Dev Logs

    Thinking on games 24/7 is fun and waste of time and unproductive if we don't bring those game ideas to life. In this blog im bringing my game ideas to life and log their development process.