dazedangels's Forum Posts

  • oosyrag

    For this game I am using pathfinding, but it doesn't matter which behaviors you use. Pasthfinder is set to obstacles: solids and I gave the sprite a solid behavior.

    I've made several different kinds of games and solid objects always seem to go through other solid objects. Many times if a sprite is moving and it walks into a solid object it gets stuck there - half in and out of the object it's stuck in.

    I don't understand why solid doesn't mean 100% solid.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I keep the solid objects from going through other solid objects?

    If you look at the video below you'll see:

    Red walls are under faded gray walls - both are set to solid

    The alien is pinned to a faded blue square - both set to solid (That's 4 solids)

    The alien also has the pathfinder behavior.

    The collision boxes are as far out as they can go and still allow the alien to move.

    I've tried to offset the alien so when it gets near the walls it moves over - nothing changed

    I tried setting the pinned box to offset by several pixels - again nothing.

    I tried putting image points around the alien & the walls (desperation) - nothing.

    I tried to create a function that moved the alien over 45 degrees when coming into contact with the wall - nothing.

    Watch the video - it's like the alien goes out of it's way to pass through everything solid - why? It's as if the word 'solid' is only a suggestion. I think it's mocking me.

    Is there a fix for this?

    youtu.be/WYm6s5PUOBw

  • You do not have permission to view this post

  • Ok ready for this one?

    I removed the s from the https:// in my secure domain and everything is working.

    As long as I use http:// - the app works fine. Guess I'll figure that out tomorrow.

  • I don't think this is as much a C3 question as it is a Chrome question, but the problem is only with C3.

    I downloaded my demo as an HTML5 game. Uploaded it to my server. When I open the game in Chrome - it looks like it's missing the css. BUT when I open it in Firefox it's fine. When my daughter opens it on her laptop in Chrome it looks fine. When I open it on my phone in Chrome it looks normal-ish (but that's a whole 'nother question)

    I have Web Developer extension added to both Chrome and Firefox, but I haven't used them yet. The laptop is 4 days old. I have rebooted. Refreshed the browser using Shift+Ctrl+R. Cleared all 4 days worth of cache - same problem.

    All the other sites in other tabs in Chrome are fine. AND when I do the Preview from the C3 program in chrome - also fine. It's only when I download the program as an HTML5 game and upload it to my server do I have this issue.

    Again, I'm assuming this isn't as much a C3 issue as a Chrome issue, but I'm worried that Chrome is picking up something that's wrong, where all the other browsers maybe just letting it slide - you know how that is.

    Any thoughts?

    iticka.com/10Prepositions

  • Oh dop2000,

    What would I do without you!

    Thank you.

  • This is one of those issues where most of the time there isn't an issue, then there is an issue 4 or 5 times in a row and then it's fine again.

    The child or therapist opens the game, clicks on Step 1, then the child answers the questions - it's pretty simple - it's made for disabled children learning to use prepositions.

    Anyway, when you get the answer right (and in the first step it is literally impossible to get it wrong) some times the happy face and positive feed back animations loop instead of randomly displaying 1 of the animations - But it doesn't do it every time.

    Issue example:

    iticka.com/10prepositions

    c3p file:

    drive.google.com/file/d/19kRFJpJZ11owtURxYqo567DjXodQh_Ym/view

    Thoughts?

    Thank you in advance.

  • Yeah! That makes sense. Thank you.

  • I need a fresh pair of eyes.

    When the correct word is placed on the invisible block the animation is set to random(0,7) and then made visible.

    That works, but whenever anything is touched or clicked after the fact, the image changes again and again and again. I tried trigger once while true, but that didn't work.

    The same thing happens with both the correct word and the incorrect word (different faces)

    Anyone see my mistake?

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

  • It's obvious I've been sick for a week and haven't touched C3 - I can't remember anything.

    I'm making a little app to help my daughter learn sentence structure. She needs to drag the correct word to the space. When her finger comes off the text object it needs to tell her if she's wrong or right.

    Here's the problem, I can't remember how to program it. I need it to read: when the little finger comes off the text object and text instance 3 is overlapping the invisible object show the text correct.

    Else show Try Again.

    I'm trying to minimize the code so the text with the instance of 3 will always be correct, it will just be located in a different order each time.

    I know this isn't difficult, but for the life of me I can't remember how.

  • I'm not a programmer as much as I'm a code cobbler.

    I am cobbling together the "Word Game – Fill In The Missing Word In A Sentence" Demo AND the "drag objects on the map" Demo to create a sentence structure app to help teach my autistic daughter how to speak in sentences. (Huge vocabulary, no ability to use it)

    So glad I talked you into this (:

  • dop2000

    Thank you - Offset! Have to learn that.

    Also, another cool demo. Seriously Dude, you need to let me build a site for these.

  • dop2000

    Thank you for the reply.

    Well, I added a bunch of collision points to no avail then attempted to use physics - also a no go. So I decided to add the bullet behavior and bounce the darn things off the walls and make it part of the game lol I can't beat'm so I'm going to join them.

  • klabundee

    Thanks for the reply

    The alien doesn't have drag n drop and it went straight through the wall into the middle of the solid box.

    When I run it on mobile, (before I put in the drag n drop and after I removed it just to make the video) they both went, at least partially, through the walls if not completely through the walls.

    I don't get it, sprites either go through the walls are get stuck to the walls. It's every game.

    How do I get the game to understand that solids shouldn't go through solids?

  • I had a similar issue awhile back, but I was getting stuck on walls. Now the disk is sliding down the walls just fine, but it's getting stuck on the corners of the walls.

    I don't get it. I tip the phone to the right, the disk goes to the right, but if it hits the corner of a wall it gets stuck and I have to tip the phone in a different direction and then right again to get it unstuck.

    I want it to work like it does in real life. If I had a disk on a board and tipped it to the right, it would slide into a corner of a wall, it may stop, but it would slide off to the side and keep sliding.

    I expect it to slow down (though I wish it wouldn't), maybe bounce off to the side, but it gets stuck.

    Like I said I can get it unstuck by tipping the phone in a different direction and then back to the right to get it moving again, but that's not going to work for the game.

    How do I get it to slide off the corner and keep going in the right direction and not get stuck?

    Video Example:

    youtube.com/watch

    .c3p

    drive.google.com/file/d/1jADwOma84IGqyoGrL8JmQ-w1-HDNLH2T/view