GeorgeZaharia's Recent Forum Activity

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

  • 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

  • Try Construct 3

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

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

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.