GeorgeZaharia's Forum Posts

  • instead of pick all instances id use for each coin and then compare two variables distance(coin.x,coin.y,character.x,character.y)<500 Set coin magnet true

    that should do the trick.

    also are you sure that coin on top is a normal coin? and not a UI coin? make sure all coins have the Boolean Magnet on them.

    it might bee also because your movement condition is triggering for each coin but then u block it on trigger once.

    here is an example coin-magnet with the code above in it. and i removed all the behavior dependencies you have in the code there is simpler on my capx less complicated.

    I updated the file added the powerup magnet on player pick also so its easier to understand how to apply to your case! :) if you have problems with your post "waiting for moderator" just edit it and re-post it again.

  • Take a look at the turret behavior beginner example in C3 and predictive aim example, they are using turret and all you have to do on turret is set the parameter property that says first in range to nearest.

  • OH yea C3 has that feature... Was thinking he needs it in C2, since its in C2 how do i section ... then my reply would make sense.

    Forgot about C3 :D above one fixes ur issue if your using C3.

  • But this is obviously not scalable. Imagine that code with 50+ enemies. So I'd like something like this:

    > var x = 2

    > spawn(enemy with id x)

    >

    Is there anyway to do this on construct?

    Currently no, since the create or spawn action in construct is forcing you to visually pick an object.

    However if you really have multiple objects and the familly is just for the purpose of giving it 1 variable type of thing you can try instead of multiple sprites in 1 familly have 1 sprite in the familly, and multiple animations on that sprite named anim1,anim2,anim3, etc... and then when X = 3 spawn sprite at x y and set sprite animation to anim&X

    thats the only way i can think of that this might work.

    There is also this 2 year old post that kinda talks about the same problem, they seem to been solved it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Logically it should act exactly like you specified, however not sure if thats how they are working. So i checked this two manual entries and they seem to say something along those lines that you are thinking of...

    Global instances

    Persist behavior

  • fur just mirroring the animation left and right based on current position of the character you can try this C2 file, the last 3 condition events are for mirroring the animation, there are no plugins needed. however you might need the plugin to move ur character automatically unless u want to code it manually also.

    And you can achieve that by giving the character u want to move in a loop a variable called moveto and set it to 1 or 2

    and that would continuously move ur wanted character left and right, combined with the animation events from the capx above it should look pretty smooth without any plugins, but then you would use some extra events that you previously saved with the plugins/behaviors.

  • YouTube Reference is Megaman 4 Dr. Cossack Stage 3 (from 0:17):

    /watch?v=tplNELIi7J4&t=88s

    Not sure if that is exactly what you want for your game camera to do.

    Didn't tried your capx, and would'v been pointless to.

    If you want that you need a continuously moving camera. (to move the camera left or right depending on the stage progress End target line... u just set scroll position X to scrollx+1 or -1 on a everytick condition)

    If you don't want that, and you only want the camera to follow the player when the player is near the edge of the camera/visible screen then try this capx.

    Edited: to be more clear, if you want the movement from the 0:17 seconds, at start camera doesnt move but then the player moves past the middle screen and camera starts rolling to right, to do that you create a variable that will act as a trigger, and say something along the lines

    if character X >= 400 lets say is the middle of screen, set variable trigger to 1

    if trigger =1 (system expression) scroll to X position ... scrollx+5

    I updated the capx above is written in C3 now even though is a capx files, try open it with C3.

  • There are plenty of services for automated privacy policy one of them that has a bunch of feature is

    iubenda However they do not have a free plan, but their features are insane every aspect you need they have it. they have plans for 9$/month or a year never used it but i tested their generation process just now while i was googling for the free version bellow and i found it to be amazingly good. However if you want a free privacy policy generator use this link freeprivacypolicy They have a few options those being website / app and for collection data they have google analytics which is what ur ads would usually use, and cookies to track user location, simple checkbox process and questions. That should get you started easily.

    You can always check google analytics and swap the names and respective links of the analytics to what ur 3rd party is using.

    Another service that is free i think by trial, would be RocketLawyer . They are like a official US lawyers that do documents online, from business stuff to policy and stuff and their automated.

    For more complex services ... click here Google Search

  • Tom Why i keep getting notifications about this topic when somebody is posting something im not even following the topic i posted 1 year ago in here or maybe more. And im definitely not following the people that posts in here outside newt... which i didn't got a notification for... but i got for the last 3 comments... which makes no sense.

  • You do not have permission to view this post

  • htdocman ads only show on mobile instangame platform which is facebook messenger, if u go to normal facebook it won't work.

    Ads should show even without ur app approved, but ul get test mode ads. If u did the right implementation, on the facebook dashboard.

  • So when a number is at 10000 it shows as 10,000

    and to take it further how do I show 10m 490k 17b etc. for millions thousands billions and others beyond?

    1t 017b 890m 742k for example

    What i usually prefer to do is create a conversion system so any number that is between a value is converted to my custom show needs for example:

    Compare variable Coins > 10^3 < 10^6 = set text to Coins/10^3 &"K $"

    Compare variable Coins >= 10^6 < 10^9 = set text to Coins/10^6 &"Mil $"

    Compare variable Coins >= 10^9 < 10^12 = set text to Coins/10^9 &"Bil $"

    Compare variable Coins >= 10^12 < 10^15 = set text to Coins/10^12 &"Tril $"

    And so on.

  • Hey, just tested your apk file, on my device is working flawlessly.

    It might be your device, i do not have a expensive device to test on, im using a Galaxy A3 from 2014-2015 and i see no problems, regarding the ball movement, all is smooth, no jiggers no snapping movements, only when it hits the walls does a weird recoil(meaning when the ball hits a wall, it kinda jumps a bit for like 1 frame worth of time but is stabilizing after a while and doesn't do it, it might be a pre-loading issue not sure) but i think that is the way you coded it.

    You might want to debug your apk build for errors or stuff like that.

    If you wonder what the device is i posted a picture bellow:

  • You do not have permission to view this post

  • Hello, currently i have slow internet connection right now so it would be better to just ask than research. to let you know that i already have the construct 3 license.

    1. so what now after this?

    2. do i get download notice or what?

    3. where could i download the construct 3? ( i did not find any)

    4. what it's mean run offline benefit? it is just like construct 2 where i can offline for whole day, week and month? and how to do that?

    5. what happen if my licensed is expired? can i still run construct 3?

    This is my personal opinion and response, not a official response quote.

    1) now you should learn how to use Construct 3 ... id go to the manual or tutorial area and see how to setup your first new game. After you understand that, id go testing game ideas, or even replicating already existing once so you get a taste on how the "programming" logic blocks work in C3.

    2) Usually yes, bottom left corner after u run C3 for the 1st time your browser should say after a while, that construct 3 is updated and ready to work offline if you didn't got that notice you have to clear ur browser cache(on mobiles u can do that from history/clear cache, on desktops depending on browsers chome shift+f5 / mozzila ctrl+f5 or ctrl+r ) and refresh the browser to get it re-downloaded, thus re-activating the offline notice.

    3) it should automatically download on ur browser cache, but you can also get a windows x64 version available to download here.

    4) Because you have a license, you will have to connect to internet once a week, so the license gets validated again. If you are a free users u don't need to do that, it will work offline forever however with the limitations that comes with having no license. point 4 and 5 is explained here

    5) If your license is expired, automatically C3 falls-back to No license mode and you will be using it offline as much as you want however, as above, under the no-license agreement and features. So basically it will automatically downgrade you to the free edition.