AnD4D's Forum Posts

  • Are you running two C2 versions at the same time?

    Yes, that was it! Local:0001 and Local:0002 when I previewed. Phew! Thanks!

  • I know WebStorage has been depreciated, but I have no choice but to use it for now.

    My problem is that when I load one of my projects in debug mode, and look at the webstorage object, I can see the save data for multiple projects.

    However, when I open a different project, and repeat the process, I can't see any data at all saved in webstorage. Shouldn't I be able to see everything in whatever project I'm using?

    I haven't updated to a later build recently, so it's not that... I am using the same browser... I can't figure it out. For the data to just vanish doesn't make sense...

    Anyone know what I might be missing?

  • AnD4D

    text boxes do not dynamically grow, so you must have made one of the boxes bigger than you want. You can change the Wrapping in the properties from Word to Character. If it is set to Word and your text has no spaces, then it will display nothing if the text doesn't fit.

    You could also truncate the text, or edit it in some other way when you insert it into the text box...

    without seeing more about what is happening, it is hard to say...

    That's what I thought, but my game is begging to differ. When I set the sprite text box to a fixed width, then repeatedly add text, the text doesn't stop appearing, but will flow over and spill into the surrounding areas to the right. That's if I don't use any spaces. If I use a space, it'll appear correctly.

  • In my game, I have 2 text boxes. If I over fill them both, one of them just stops displaying characters, while the other continues to display characters outside of the provided space.

    Is there a specific reason why this happens? Is there a way I can set it to NOT overflow, and stop displaying the characters that spill over?

    Thanks in advance.

  • Is the screenshot not appearing for people?

    I should point out, the light source is coming from that ship.

  • As the topic... do shadows work when scaling layouts? It looks as though the system doesn't recognize that the object is in view, even though it's being rendered, the shadow isn't.

    The light height and radius is set to 0, and the object that's casting the shadow is convex.

    It was really hard getting this screenshot, as a split second later, the shadow is there. It's just really obvious when it appears. This happens every time you move fast when the screen is scaled out.

    The shadow you can see below it is the rock to the left of the missing section.

  • I'll bump this for you... as I have a similar problem. For you, I'd try increasing the shadow caster height to about 100 or 1000.

    My understanding was that 0 was infinite, no matter the height, but apparently not.

    For me, I have the camera scaled out slightly, and when a shadow casting object comes in to view, for a split second, it doesn't render the shadow, then suddenly does. It's very jarring to see what's behind a wall for a second.

    No idea how to fix this, as none of my tweaks work.

  • R0J0hound Ah, I see... Well what you've done is greatly appreciated

    I have noted what might be a bug if you're interested. I tried to change an objects mass using runtime, and an error message popped up. Perhaps this isn't a bug, but it seemed strange. I'll need to figure out another way to achieve this effect.

  • Might there be any chance of us getting angular dampening included in the near future? I know we can manually do it by having an opposing angular force, but it's just nice having it as a feature in box2d.

  • Is there a way to reduce the wobble on elastic out? I understand it's based on distance, but I'd like my objects to come into the screen and have a slight wobble upon reaching their destination.

    At the moment they almost fly right of the screen again. Can I "tighten" that elastic band?

    Also, when I have them at their destination, and then I change it, they smoothly travel to their destination with no wobble. However, when I tell them to go back to the previous destination, they're all wobbly again.

    Not fully grasping this plugin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I still don't understand the force and impulse section.

    Say I want to have an object spawn randomly on my layout and then launch itself at a random impulse value toward a random location on the layout...

    Can anyone tell me what do I use to do that? Rect or Polar?

    And what does offset mean? I'd like to make the shift over to this, rather than standard physics, but this one part doesn't seem too user friendly.

  • newt Thanks, but yeah... I guess I have to keep doing what I'm doing. Due to memory issues, I needed to split my game up into multiple projects. I just wanted to be able to export them as something other than "Index.html"

    Not to worry! Thanks for the ideas!

  • newt That's an interesting idea... so then, the game would look for sub folders. Not sure whether or not that would have a knock on effect to the data.js and the C2runtime.js though... They'd still be pointing at the original, I'd have thought.

  • Hi all,

    Does anyone know of a way to have the game automatically export the game as something other than index.html?

    I've had to split my project up into multiple html files due to a memory issue, and I have to go through an annoying process of changing all the file names. I hope there's a way, as it'll save me hours of work.

  • I don't even remember this... so probs not.