GeorgeZaharia's Forum Posts

  • What plugins are you using for c2? it might be that they are already converted to c3 by the community plugin developers.

  • jobel yes the paster plugin might help better, but not sure if is available in C3? if it is i think the tutorials for skew will help.

    sorry again, il try play around with it maybe i find some solution.

    anyway, if you somehow don't need all angles i just fixed 4 angles (0,90,270,180)

    but any other angle requires as i said 3d type of calculus and trigonometry. Even with paster that calculation for skew i think is still going to be needed.

    here is my 4 angle solution distort_sprite-Elipse

    Edited: modified the trajectory formula a bit, for me the loopindex thing doesn't work on C3, so i found a replacement for it...

    modified trajectory formula.

    create dot at qarp(a.x,(a.x+b.x)/2,b.x,(loopindex+1)/11), qarp(A.y, (A.y+B.y)/2-abs(A.x-B.x)/4, B.y, (loopindex+1)/11)

  • Hey, sorry mate, i tried looking at the cap file, i realized i know how to do cos rotation and stuff... but then what you are saying is perspective distortion, and that has stuff to do with qarp and lerp.

    i know rexrainbow or r0j0 had some formula for a dynamic trajectory that would do a bend like you need...

    if it helps here is the dynamic trajectory formula

    Repeat 10 times

    —- create dot at lerp(A.x, B.x, (loopindex+1)/11), qarp(A.y, (A.y+B.y)/2-abs(A.x-B.x)/4, B.y, (loopindex+1)/11)

    this works for 2 points A and B and it creates a dynamic trajectory... but im not sure how to use it for size distortion in your case... im not really good at stereoscopic projections, or fake 3d ... im actually curious about this result myself il keep playing with it... but is angle based calculus and trigonometry.

  • same problem, as before, try get shareable link and set permission, anyone with link can view.

    Edited: works now!

  • hi, link doesn't work, needs permission, u need to change the link settings for sharing view anyone with link...

  • When you buy a subscription there is a code you get, if i remember correctly on your account there is a subscription link/menu, that shows all ur subscriptions and you should have a code between the invoice buttons pdf/html and details. try using that. im not sure if that is the code u need to redeem. then ur friend needs to use that code while logged in.

    i kinda forgot how i activated my subscription.... but if there is a redeem code that is the only one i remember about...

    unless is automatically activated upon purchase then i have no clue... ask the support for more details, this is a thing you should be talking with the support not with the community forum (from various reasons).

  • hey sorry for the late response, no necessarily i used 0,1,2 because is easier to spot, but you can replace the numbers with groups as you did.

    the structure i made there is basically toggling 3 numbers, if is 0 is GameON if is 1 is GameOver if is 2 game is paused.

    now i used 2 buttons to toggle them, but you need to replace those conditions where i used the buttons to whenever ur player is losing the game or pauses the game. other than that they are all kinda the same structure in most of the Construct games. now u can use as i said above groups, but groups are just a fancy boolean with text over them. a group kinda is the same as a variable that u set it on or off. so u can use what u feel you understand better, just the conditional logic of the code needs to be something similar.

    if players dies set variable 1 if player pressed pause button set variable to 2 otherwise variable should be 0 and game playable.

  • Oh i see :D that is good to know! Thanks for explaining! dop2000 thank you too man! :)

  • try doing it like this instead

    Hi Eleanor The best Game developer in the world sup ^_^, quick learning purpose questions...

    Isn't (platforminfo.WindowInnerWidth/2) x (platforminfo.WindowInnerHeight/2) doing the same thing as the image you shown? why doing that way? Curious if there is a spacing reasoning behind it for different devices or something?

    oh sorry about that i seen /2 instead of %2 ... why %2? is that like a 2% margin ?

  • Hi there...... mate (xD)

    What do you mean by <varies> in instance variable? What are your trying to achieve?

    Like you want to define a variable that is random?

  • Hi, the bellow example might help, im not sure if it's saving on touch, but it will show you the structure that local saving needs to follow. To modify it for touched object you just replace the trigger that is saving in the example file and save after you made variable updates.

    So your conditional structure should look something like:

    On touched sprite :

    Action 1 add to score 5

    Action 2 localstorage set item "score" value = score

    Where the first "score" is the key name as text and the value is the actual global variable.

    localstorage+level C3 r139 i think, im not sure about the version used, should work with latest C3 though R139 or above.

    However if you are having the ability to tap multiple times to change the score variable, id suggest saving the score, every 1 or 2 seconds that way you avoid spams (think cookie clicker type of game, or tap to cash).

    You can also save every 10 seconds or when user goes back to main menu screen or has intent to close application.

    On the last suggestion the user might lose some data let's say battery dies out or he closes it by mistake, so the saving local has to be done for game progress, this method isn't meant for In App Purchases, for IAP's you need to update a online server store somewhere to make sure transactions are safe and out of the reach of malfunctions.

    The tutorial section on forum should have something about this.

    Hope it helps. Have fun!

  • That is odd, you sure you downloading an official Construct 2 setup? Which version are you trying to install?

    Edited: lots of rubbish i said.... bad me bad me...

    That is odd, indeed there is no folder selection, but probably cause it already detects you having a Construct version installed so it automatically picks the folder structure.

    A workaround would be to just copy the entire folder "Construct 2" from C:/program files/ and put it on the usb.

    Or where your program files is located.

    Not sure if that will have any downsides cause the Construct program on pc creates some registry key entries... but you can carry the executable with you. and install it on the new computer is only 70 mb.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, the collision box is the same area which will interact with your mouse.

    Ok, wasn't sure how you create objects, the way the image showcased was looking i was thinking you drawing the objects with canvas plugin, at which point the detection would have been a bit awkward.

    Awesome then. Have fun! :D

  • Interesting. Link to the API plugin for C2?

  • hi,

    Construct was designed to be the gateway to programming, not backwards, but if you learn any programming language you will understand the conditional thinking Construct is promoting, so it will help.

    I don't know about python and usage with construct, but i think javascript will be more compatible with Construct as Construct is javascript based on what i seen so far, on the SDK for plugins and behaviors.

    But then any programming language can be converted to work with Construct, of course you will have to re-write and translate the code from python to javascript or Construct sdk language.

    Hope it helps.