dazedangels's Recent Forum Activity

  • dop2000,

    You're brilliant - every time - I don't know how you do it.

    Now just have to figure out how to keep the phone from falling asleep without the player touching the screen - It's always something (:

    Thank you!

  • dop2000

    Thank you for your reply.

    I know you used "deadzone" in a demo - I'm going to look that up for pointers.

    What I don't get is why it is only a problem with the direction that is on the top.

    If I move 'Gamma Orientation < 0' (Down) to the top, moving Right starts to work the way it's supposed to and Down starts having issues. It's only the direction at the top of the list, the other three directions work fine.

    https://emailedee.com/wp-content/uploads/2020/03/moveRight3.png

    For testing, the phone must be locked in landscape mode. I have to use an app called 'Lock Screen Rotation'. I am told, that once I export, the actual app will lock the screen into landscape itself and this won't be an issue - fingers crossed.

    I use 8-Direction because beta/gamma has never worked without it, but I'll check again, maybe I don't need it. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, that's odd. It seems the problem is which ever directions is on top.

    When I move the go right directions to the bottom of the list, the go down directions moved to the top.

    Now go right works fine, but moving down only works when it hits a wall first.

    c3p file: drive.google.com/open

  • Since I learn best when dissecting demos, today I'm dissecting the pacman demo provided by C3.

    I made the template twice wide. Copied and pasted the entire layout to the right. Worked fine with the key controls.

    Then I changed the controls so the phone tipping moves the disk.

    Up, Down and Left work Great! But Right only works if the disk hits a wall first.

    I setup the tilt controls as I have in every other landscape tilt the phone game I've made. It is in landscape. I locked my phone in landscape mode. But the ball really doesn't want to go right unless it hits a wall first.

    Other than changing the controls, the event sheet is the same as the pac man template on the start screen.

    Any thoughts?

  • oosyrag,

    Ok, I understand the cell boarder -1 bit, but if I set it to 0 or 6 as you suggest, how do I get the alien to move? The alien doesn't move unless the cell boarder is set to -1.

    When I set the pathfinder behavior, C3 automatically set the cell size to 30 cell boarder -1. Nothing worked. When I set the cell size to 32 - everything works exactly the way I want it to, Except the solid alien goes through the solid walls. When the settings are changed the alien doesn't move.

    The grid is set to 32x32, with 64 pix between each wall. The alien is 45x45px, 64px is more than enough room for a 45x45 sprite to go between the walls, but even when I make the alien 20x20 it will only move if the cell boarder is set to -1.

    It all words great Except the alien doesn't seem to understand it's not supposed to go through the walls.

    How do I tell the alien - do everything you're doing - except don't go through the walls?

  • oosyrag

    Here's a link to the project: drive.google.com/open

    I'm using pathfinder.

  • 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.

  • 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.

dazedangels's avatar

dazedangels

Member since 5 Jun, 2019

Twitter
dazedangels has 1 followers

Connect with dazedangels

Trophy Case

  • 5-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies