dazedangels's Forum Posts

  • C3

    Yesterday, I could open files from the cloud using the desktop version of C3, BUT I couldn't open files from my hard drive using the desktop version of C3.

    So I Googled a bit and found this in the forum about NW.js: construct.net/en/forum/construct-3/general-discussion-7/construct-nw-js-desktop-app-131317/page-20

    I followed the direction and YAY! I could open files from my hard drive. I thought all was well, until 10 minutes ago when I found that NOW I can't open files from the Cloud using the C3 desktop version.

    So how can I open both the files from my hard drive and files from the cloud using the desktop version of C3. I use both, at the same time, every single day, Every Single Day! I need both to work.

    PS I would have posted this question in the forum post linked above, but the Forum wouldn't let me.

  • blackhornet von Perkele

    You guys are Brilliant! You guys need to make classes for C3, I learn so much from your examples and posts.

    Thank you sooooo much for all your help.

    You guys are amazing!

    Thanks again.

  • ,

    I spend at least a day researching online before I post a question on any forum. I don't know if you realize this, but it's actually easier if you can find the answers online. And it's obvious that I have done research since I posted a link to the video that first taught me how to do scrolling backgrounds.

    Unfortunately Construct makes it nearly impossible to find anything useful. If Construct would remove all the worthless C2 posts that are over 5 years old, all the posts with Dead Links and all the post where the images have been removed - than people would actually be able to FIND the answers when they Google their problems. If the forum was cleaned up then Google would stop indexing outdated posts and we could find what we need.

  • blackhornet bartalluyn,

    Thank you both. I think I finally have it working.

    You guys are amazing!

  • C3/Mobile Apps

    Today's Challenge: Implement a scrolling background when the background is larger than the screen size.

    I used this guys video to learn how to do a scrolling background a while back: youtube.com/watch

    If I follow along exactly, it works great, but .... what if I have a screen size of 960x500 and the background is 5000 x 500?

    (I'm using extremes, but that's how we learn the crazy stuff.)

    Question 1:

    How do I scroll a 5000 x 500 background when the screen size is 960 x 500?

    Question 2:

    How do I switch backgrounds while scrolling?

    If the screen size is 960 x 500 and the backgrounds (2 or 3) are 5000 x 500, how do I get bg2.png to scroll after bg1.png?

    As always I am using the flappy birds demo as the base of my crazy ideas.

    All events that call SCROLLSPEED have been disabled.

    The demo c3p with the 5000 x 500 background:

    drive.google.com/file/d/1Nf2v8_cO2gOROat8Act7VpH_9Hb0ynco/view

    I've tried different code, this is where I left off.

    PS

    I wish C3 made a daily challenge like this. We would have hundreds of demos, all with different ways of doing the same thing.

  • C3/Mobile App.

    For those of you keeping up - Yes, I am working on 3 games at once - I am also building 2 websites - I have ADHD - It's a superpower!

    I need to know if am I Close? Am I on the right track?

    Ok, so the toxic blobs are coming down the shaft and thanks to blackhornet, I'm able to grab them and move them around.

    When the blue toxic blob comes in contact with the green toxic blob the blue blob is destroyed. When the green blob comes in contact with the purple blob the green blob is destroyed.....

    .... and here is where it gets tricky folks .... I want the purple blob to be destroyed after the Second green blob hits it.

    The thing is there could be any number of red, green and purple blobs on the screen at one time.

    I thought of setting up an instance, but then I saw 'nth instance' and ..... well, am I close or not in the right ball park? Please see code below in the image.

    Thank you for all your help!

  • von Perkele,

    Thank you for your reply.

    The file opened, but it didn't always kill the blue ball when it fell on to the green ball, BUT it did give me an idea.

    I made each of the collision polygons a bit smaller around the balls. Then I set the amount that the balls move up to sprite.Y + the grid size. Now the collision polygons are smaller than the grid, so it seems to be setting them within the grid and not on top of each other.

    When I drop them in to the squares there are no grid size rules for the balls to follow so they fall straight down on each other. Thus far it's worked, but I'm going to do more testing tonight.

    I don't know if that's the right way to do it or if that's the sloppy way to do it. But I actually came up with the "sprite.Y + the grid size" on my own, so I'm taking today as a win!

    Thanks again.

  • von Perkele,

    Thank you!

    I will use blackhornet's method, it is smoother than animating.

    I wanted to know why the animated version was so funky before I moved on - one of those 'you learn more from failing' things.

    Thank you so much for explaining it and making me a demo so I can see it in action - that helped so much.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • C3/Mobile Game

    Can I get some help thinking this one through please?

    It’s a simple sorting game, but with a twist - the balls generate every X seconds from the bottom, pushing the other balls up. If the Balls reach the top, you lose. That part I’ve got - everything is populating well.

    What I need is when the blue ball is on collision with the green ball, the blue ball is destroyed - That part I got.

    BUT when the green ball is on collision with the blue ball, I need the program to do nothing.

    1. How do I tell C3: Don’t destroy?

    2. The other question is, as the balls auto generate every X seconds, how do I get the blue balls not to destroy if a green ball generates below them?

    Right now if a green or blue ball generates under a green or blue ball, the blue ball is automatically destroyed - I need that to stop.

    As I go, the green balls will be destroyed if they touch the red balls …. and I’ll be honest, I’m not sure how I’m going to destroy the red balls. I’m thinking if 2 green balls are destroyed on the red ball then the red ball is destroyed on the second destroyed green ball. But first things first.

    PS - All the sprites are giant/over sized/big - this is slapped together so I can learn how to do it.

    The C3: drive.google.com/file/d/1fLSIQo5nVof8rs0Xo7JDyeNfBg5YyAvK/view

  • WackyToaster,

    What do you mean by changing the image points and 9 patch? I've never heard of 9 patch before.

    I'm still playing around with it and I really want to know how to do it with image points as well as move to. (I need to learn everything)

    I messed around with the image point some more, but the thing still goes up in there air.

    I changed a bit of it and reuploaded it if you'd like to see what I've done since (messed up since)

    drive.google.com/file/d/15K2aOkcPutqi1mmGooQc5Kgx0BdVIAhg/view

    Thanks.

  • blackhornet,

    THANK YOU! That is so awesome!

    I have been trying to learn the Move To behavior also. I've taken a lot of Udemy courses, but they all cover about 5 basic behaviors.

    I wish there was a Udemy course that incorporated every behavior on some level (or several levels). A complete step by step walk through. Not those already made explaining videos. Those are good, but not as good as the follow along and lets do it together so you see and feel how it works.

    Thanks again.

  • blackhornet,

    Ooops cross posted. Thank you.

  • 1. OH tile background the arm - that makes so much more sense.

    You know, I'm not sure how to do that either, but I'll check it out. I know there is a growing tile background demo around here somewhere.

    2. The image point thing is driving me crazy. Is it the image point on the player? Or the image point on the arm sprite?

    How do I tell C3 that I want to us image point 1 on the arm sprite and image point 2 on the player?

    C3 seems to assume the image point for one of the sprite and allows you to choose the image point for the other sprite, but it doesn't indicate which sprite you get to choose. I'm assuming since I'm saying to pin it to the player sprite that I'm choosing for the player sprite, but I have no idea.

    But regardless of which image point I'm choosing - the player should never come off the ground for any reason. I want to freaking nail the players feet to the floor.

    Any idea, using the method I have now, what image points I need to pin to so the players feet stay on the ground?

  • blackhornet,

    Thank you for your reply - actually that's what's getting me in to trouble (:

    I'm trying to learn the whole grid movement / tile background thing - my player is now moving up and down - it's hilarious. The player is only supposed to move right and left.

    Want a good belly laugh? Here's where I am: youtu.be/yBLAyXO-ewQ

    I can't stop laughing. Where did I go wrong?

    drive.google.com/file/d/15K2aOkcPutqi1mmGooQc5Kgx0BdVIAhg/view

  • C3/Mobile app.

    When a finger is on the player needs to move and the grapple needs to stay down (I got that worked out)

    When the finger comes off the player, the arm needs to reach up automatically and move the grapple up until it hits an object, grabs the object and come back down - there will always something to grab. (I only got about half of that worked out.)

    How do I get the arm to grow up?

    First, I animated the player. 10 images of the player with the arm going up, but that was hard to grab and hold the different items.

    Then I tried stacking the arm sprite one by one, but that gets a little crazy with the pinning and unpinning and the grabbing and holding on.

    What's the best way to grow the arm? Any good demos for growing things?

    Anyone know what it's called? I keep googling and searching, but all I'm getting is how not to stretch an object.

    Thanks.