Scofano's Forum Posts

  • Yay! It worked. Thank you!

    Now, I'm going to try and figure it out how to detect collision (circle) without the collision points, for the ship not to be "crashed" inside the planets. The journey begins.

  • Hey, thanks goku.

    I've seen this other post before posting this one. Fact is I don't want to use plataform. If I just could use bullet it would be better for me.

    I tried to set the angle of motion using your code but... didn't work.

    My capx: https://www.dropbox.com/s/4blgnpv1uy6qdc8/liquid.capx?dl=0

  • Hey, how are you?

    I'm struggling with a question here and I'd love if you guys could help me out.

    I'm making a game like Drill up - "https://play.google.com/store/apps/details?id=com.ketchapp.drillup". And for that I'm using Bullet for the ship. When the ship lands, I pin it to the planet.

    Problem 1 - the planets are rotating and when I activate the bullet again, I can't set the proper angle.

    Problem 2 - Even setting both planets and ship to solids, ship is not looking like "landed", he looks more like "crashed" into the planet. I mean, they should not intersect, but I believe C2 collision points (not circle) is the problem for that.

    help?

  • suntemple - Arg for the life of me i cant get this working.

    When using your example file and entering in my tracking ID (i tried setting it up as both a Web page and mobile app)

    I see on the analytics page that there is 1 user on the page, and the Event Category has "Game" listed with "Event Action "StartLevel" triggered each time i refresh the page

    but no matter what i try when adding new events in the test scene, those events wont show up at all in google analytics.

    I've got the same problem here;

  • And where is the demo link again?

  • Good call! I support this idea

  • Dude, if you want the easy way, think about it like this:

    1---2---3---4

    The whole sprite is this long

    <----------------->

    and you check collisions using collision points. Why do you need to really move it around?

    Make a variable positionNum and subtract 1 when you press left and add 1 when you press right (since it doesnt get <1 and neither >4) and player.setframe = positionNum

    If positionNum =1 it will look like this

    <------------------> (this is the width of your sprite, with blank space, just use collision points to make it collidable where you want, each frame) and I think your problem is solved with 3 or 4 lines of code.

  • Hello everyone,

    As many know, those of us that are developing apps and games for mobile (Android & iOS) have had big struggles with C2 for years with 3rd party compilers like Phonegap, Cocoon.io, and Intel XDK.

    Right now, we can't make apps and games for iOS 10+ due to crashes caused by music and audio.

    - and many other problems on android!

    This is a plead and petition to let Scirra know that many of us really want to have a native exporter/compiler in C3 to make up for the subscription plan.

    Anyone who would like this feature in C3, please leave a comment and lets hope they will hear us one last time and maybe reconsider.

    Like they would hear...

  • Happy new year, guys!

  • > I noticed I should find a way to reset the sequence from a certain point.

    >

    > I mean, if i touch the screen, soccer player will go frame 1 (kick) and if it is colliding, he must kick the ball to the other side. Problem is, that ball will always go forward until it touches A.x A.y. Is there a way to interrupt it earlier? like if the ball has hit a wall?

    >

    just add overlapping with wall or on collision with wall change a variable and use that as a condition. im not sure what you have as a game, but if its simple enough u can post it here if its more complicated and u want to protect it send a capx to my pm. il look at it! and explain the changes i do.

    Nothing complicated, here it is https://www.dropbox.com/s/7us4eom03dtglyx/kickball.capx?dl=0

    I just want A to kick the ball back and to be able to change the speed with a global variable (that I will random).

    Notice that everytime A or B kicks the ball it changes the arc.

  • Let me try to help.

    I don't think I understand it correctly, but for this game style, I think you could do something like this:

    positionNum, that can be 0, 1, 2, 3 or 4 (the number of images you have).

    positionNum = 2;

    Every tick

    • Set frame = positionNum;
    • sprite.set x = 300+(positionNum*1.2);

    if you press left, subtract 1 from positionNum (if it is higher or equal zero), same logic for right

  • I noticed I should find a way to reset the sequence from a certain point.

    I mean, if i touch the screen, soccer player will go frame 1 (kick) and if it is colliding, he must kick the ball to the other side. Problem is, that ball will always go forward until it touches A.x A.y. Is there a way to interrupt it earlier? like if the ball has hit a wall?

    I tried to try out with the t variable but without sucess. I see on debug t just counts up and down, so the every tick would have priority over anything I set.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi my name is Jazz813 and I have some troubleshots about my little project. First of all let's start from the beginning of my problem, I want to create a Game & Watch like game, I can move the player but in 5 differrent Layouts and here comes also my problem, here a picture from my game so maybe everyone can make a better image of the problem.

    So my problem is that when I move my player from left or right the birdscrap will disapear when the next frame jumps to the next Layout what's logical, I also tried to work with more Layer in one Layout because I think that if everything plays in one Layout it should work, but also there I encouted problems and it's when I tip it in the event sheet that the Player will move when I press the left or right button from the keyboard for example, it work for one frame but maybe I don't know the option to do it so , but I can't say the programm that if I press the left button anew the player move to the left agian and the last picture disapear...

    Could anyone help me on this problem ?

    Thanks very much

    Jazz813

    Hey dude, I think you should create a new topic.

  • I noticed I should find a way to reset the sequence from a certain point.

    I mean, if i touch the screen, soccer player will go frame 1 (kick) and if it is colliding, he must kick the ball to the other side. Problem is, that ball will always go forward until it touches A.x A.y. Is there a way to interrupt it earlier? like if the ball has hit a wall?