puzzele's Recent Forum Activity

  • I just killed another hour trying to make this little red box go up -- be being lifted by the silver piece that is going up in my capx. Both have physics. What the heck am I doing wrong? Why doesn't the red box (that lays on top of the silver lift) not go up??

    I'm sooooooooo confused.

  • I am making a game with a car - side view. Hence, I have the front wheel as one sprite, and the back wheel as the second sprite.

    The objective of the game is to get the car to be completely stopped over a particular platform. Hence, I TRIED to set up a condition for the following 2 conditions:

    1. If front tire collides with platform (basically parked on top of the platform)

    AND

    2. If back tire collides with platform (basically parked on to of the platform)

    However.. I do NOT see how to set up a single condition for BOTH of these options.. once I tell it to detect if there is a collision with the front tire, it does NOT let me set up in the same condition to also check about the back tire.

    Any ideas?

  • Its a loooooong story, but I've simplified the entire problem in the attached capx file. I've removed virtually everything I could think of to solve the problem but I'm once again stumped.

    Basically, I cannot figure out how to get the 'scroll to' feature to work. I've gotten it to work in the past, but I must have changed some type of setting in the attached capx file that does NOT let it auto scroll... and I just can't seem to figure out what I did.

    Basically, as you will see, the ONLY thing in this capx is grass (physics, nonmovable). And I added a red square (physics, scroll to).

    When I hit the right arrow, the red square will correctly get pushed to the right side of the screen, BUT WHY ISN'T IT SCROLLING TO THE RIGHT AND KEEPING THE RED SQUARE ON THE SCREEN? Instead, the red square is getting blown off the screen -- basically, the 'scroll to' feature of the red square isn't working. What the heck did I do?

    I've starred at this for an hour and CANNOT figure out what the heck I did. Thank you sooooooo much.

  • Yes. I ran into the same snag but figured it was just something I did wrong...

    I have a single sprite on the screen which is a picture of a car. I added the physics behavior to it. I wanted the car to go from the right side of the screen, and then wrap back in from the left side of the screen. Once the car leaves the screen on the right, it totally flips out -- sometimes you could very briefly see the car appear on the left side of the screen but it is totally flipping out (i.e. spinning, not useable, etc).. then you have to restart the level all over again.

    If there is a simple solution to all a car with the physics behavior wrap from one side of the screen to the other, I'd love to hear it because I'm once again stumped. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • RamPackWobble: Tooooooooooo funny. And NOW you see how much of a novice I am, how bad I am at math, and how confusing I find these friggin' degrees.

    I updated my brilliant chart -- since I'm obviously clueless on the issue.... I THINK I got it right this time. If I goofed again, just let me know.. I did check online for clipart having a similar chart -- I figured it MUST be common... but oddly enough, I didn't find one that matched.. most of the charts I see online have the '90' at 12 o'clock. I dunno why... but whatever.. whatever make C2 happy is what I will use.

    Thanks again.

  • RamPackWobble: Thanks VERY much for your patience and in answering even more of my questions. That certainly helped a LOT. In fact, the ONLY way I could put my brain around the concept of 0 degrees being on the right is to write down your great example of a clock.

    Here is a crappy little diagram I made. Perhaps it will help other novices like me to understand where the heck the stuff is on the screen. If somebody said '720 degrees', I wouldn't have a clue where that is on the screen.

    I will certainly keep fiddling with Construct 2... so thanks in advance for your ongoing help. Very much appreciated.

  • Doh! I thought I was going NUTS because I just spent the last 30 minutes trying to create the spinning effect from scratch... I could NOT get it to work... this is what I did:

    System -- EVERY TICK -- axe -- pin pin to sprite <-- this did NOT work

    Instead, out of desperation since the above didn't work, I had to change it to:

    Start of layout -- axe -- pin pin to sprite <-- this worked.

    How come the pin doesn't work for every tick? Just curious... because now I'm stuck using 'on start of layout' and so now I'm forced to re-do the 'pin pin to sprite' every time the sprite dies and is thereafter spawned again. What am I missing?

    PS: Here is a video on youtube. this shows that it SHOULD work with every tick.. but it didn't work for me and I watched this video a gazillion times:

    https: //

  • RamPackWobble: Doh! I have no idea how I missed your posting the first time. I didn't even see it until you posted your follow-up message. I am definitely going to download it later when I get home so I can take a closer look at it. For example, I'm still not sure what the 'mirrored' thingy does and the "90 and 270 degree" distinctions confuse me. Is there perhaps a chart somewhere that displays the different degrees? For example, if I want a graphic to go from the bottom of the screen to the top, I sit there and say, "Is that 90 degrees? 180 degrees???"

    Also, I have to ask, what is a good way for a novice like me to become better with C2? I could have sat there forever and starred at the screen and I NEVER would have figured out the 'pin' feature that you guys are using. Geesh.. I was sitting there with animated .gifs because I was so desperate.

    I did look at the manual but that is a quick summary and definitely not good for a novice like me. I also floated around on youtube and pretty much watched all the tutorials I could find. I prefer video tutorials better. Some of the tutorials were really good, but others confused the heck out of me. For example, there was a tutorial about a card matching game. Well, the tutorial spent sooooooo much time using math just to figure out the right number of cards to display on the screen that I gave up... and never made it to the actual tutorial. I used less math throughout my education than this person used in this tutorial just to display the right number of cards.

    I similarly looked at the samples in c2.. such as the 'angry birds' clone example... but I just don't get how the mouse mechanism works in the game -- where you launch the stuff to the right...

    So if you have any recommendations about a good way for a novice, make that a sloooooooooooooooow learning novice like me, to learn C2, that would be great.. I've got some of the basic stuff down (i.e. making breakout, pong, asteroids, flappy bird) thanks to some GREAT tutorials on this website... but I'm not sure where to go from here.. again.. I NEVER would have figured out the 'pin' solution.. so perhaps there are more tutorial resources available that I'm not seeing? Any advice would be much appreciated.

    Thanks again for everyone's help. Really is appreciated.

  • blackhornet: You did it! Thanks soooooooooooooooo much. NOW I understand what everybody was trying to explain to me when they mentioned pin.... I never used the 'pin' before.. but now I FINALLY understand. MUCH appreciated. Thank you everybody that helped.

  • I can't thank you guys enough for your patience.. and I know you are going to definitely roll your eyes and hate me, but I still do NOT get it.. the examples above do successfully make the axe spin, but it is NOT going towards the wood.

    Here is a link to my capx file. PLEASE see if you can modify this capx file so that the axe spins. In my capx file, the axe does follow the moving 'wood', but I can't figure out how to get the axe to spin.

    Once again, thanks soooooooooooooooooooo much for your ongoing patience. I honestly don't know what else to try to get the hang of this. Here is the link:

    https: // <--- I put spaces by the // because this website doesn't let me include links.

  • You guys are going to HATE me, but I'm STILL confused... for example, I looooooooooove the spinning effect that you made with the Axe. HOWEVER, if I move the log (sprite4) to a different location, the axe does NOT spin while going towards the log... the axe only spins while going across the screen... I want the axe to spin while going towards the log (wherever the log is -- which eventually will be moving).

    I TRIED to add the bullet behavior to the axe, and I TRIED to say:

    System - Every Tick - axe - set angle toward (wood.x,wood.y) -- but this stuff didn't work.

    .. But again.. I could NOT get the axe to spin around while going TOWARDS the wood. I'm sooooooo sorry to be slow with this, but I just don't get it.

    PS: It also seems like a LOT of work in the worksheet.. I would have hoped for something like, "spawn axe", then aim at the axe at the wood.. but I'm stumped.

    Sooooooooooooorry.

  • Sorry guys... I'm still confused. The ONLY way I could figure out how to get the axe to be shot towards a moving target is:

    In the bullet properties, I MUST do the following:

    Set Angle = YES

    In the Event Worksheet, I MUST do the following:

    System - Every Tick - sprite1 - set angle toward (sprite2.x,sprite2.y)

    PS: Sprite 1 = is the axe picture & Sprite 2 = a picture that I want the axe to hit which is moving.

    The above is the ONLY way I could figure out how to get the axe to be shot towards a moving target... but I still CANNOT figure out how to get the axe to spin around while it is being shot. I even tried:

    System - Every Tick - Sprite1 - Rotate 5 degrees

    Any ideas? Sorry... I'm a novice and am really struggling trying to understand this mumbo jumbo but your efforts are GREATLY appreciated.

    Unless I do this, the axe will not shoot towards another object

puzzele's avatar

puzzele

Member since 20 Jan, 2014

None one is following puzzele yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Email Verified

Progress

12/44
How to earn trophies