VIKINGS's Forum Posts

  • Sigh, guess I have no choice then but to leave it in and hope that most people that end up playing it won't notice/won't be bothered by it..

    Oh well, thank you for trying to help guys.

  • K, I made your capx work eli0s and it seems to work pretty much the same, still has some... I guess micro stutter is what you would call it?

    I'm using Waterfox, a 64-bit browser to preview the game, if that matters. And I olso created a new Template: Auto-runner just to test, and that one works fine.

  • eli0s The playerbox object and the character object are on the same layer(a 100,100 parallax layer) and as far as I can tell they don't cross over.

    I don't have any residual srollx code or any forgotten scroll to behavior.

    I can't check your capx at the moment because I have version 178 and your capx was made with v 180+ so it won't load it. And sorry, but I'm not upgrading to beta versions.

    Any other info you need let me know please.

  • As a matter of fact Elios I do have different layers and one of them does have a different parallax value. The sky layer has 50,50 parallax the others have 100,100, I did that tho give the illusion of the sky being far away .

  • Can't post a capx at this point eli0s, too far into development. The events look exactly like I wrote them there, here I'll post a screenshot of em.

    The scroll to behavior didn't work with the rest of the game DUTOIT thats why I ended up with move forward and scroll to position every tick.

    The forth event is disabled while I was testing the pin behavior that someone mentioned a few posts above. Doesn't matter if I use pin to or set position, the game behaves the same. I'll probably stick with the pin to as I'm guessing it takes a bit less processing power?

  • All of those questions can be answered if you read my first few posts DUTOIT .

  • I guess that makes sense DUTOIT ty. What about the problem with my game hanging, any more ideas guys?

  • Bump.

  • Ok, I tried the pin behavior LittleStain, seems to work pretty much the same. Are there any advantages/disadvantages to using the pin behavior instead of what I was doing?

  • I tried using dt like you suggested R0J0hound and the game doesn't hang anymore, instead now it kinda "skips" back and forth(very fast, both movements in like a split second) where the hangs would be. Suggestions?

    LittleStain I thought I already did that. As you can see from my events the character doesn't move, the invisible playerbox object has the movement on it, while the character just adjusts it's position to the playerbox object every tick. Is that what you are reffering to when you say "pin" or is it something else all togheter?

  • Hello World,

    So I need to make a smooth following camera, at the moment my game keeps hanging for like a split second once in a while. And I can't use the "scroll to" behavior on my character so I can put lerp on it. I don't remember exactly why I can't use "scroll to", but I do remember that way back when I started working on the game I tried "scroll to" and it didn't work with my other systems.

    So right now my scrolling is done with the "move forward" action on every tick. Is there any way I can use lerp with that? Or maybe something else for "move forward" to make it smooth?

    Here's how things are set up:

    Event: Character is on layer

    subevent: every tick; action: PlayerBox move forward 1.3 pixels

    subevent: every tick; action:set Character position to PlayerBox(image point 0)

    Event: every tick; action: scroll to(PlayerBox.X, 400)

    PlayerBox is just an invisible sprite I attached the character and movement to.

  • Yeah, increasing the margin seems to work, it only goes up to 10k, but it is way better then before. Thank you guys.

  • Hello World,

    Ok, check the picture below guys, the red rectangle is my level, the black ones are assests I wan't to add to my level, ignore the blue ones.

    Now as you can see where I pointed that arrow I am already scrolled max to the right, and already zoomed out quite a bit. But I need to make my level longer, without zooming out. If I zoom out even more I do get more space, but I can't see what I'm doing, my level is hand crafted so I have to be zoomed in when I try to aling stuff, etc.

    So any way I can scroll further to the right please? I really can't switch to auto generated levels so far into the development process, and at this point if I can't get more space my levels are gonna be awefully short, like under 1 min, maybe some even less then 30 secs....

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh, thats strange, wonder why they didn't do the same thing for forum posts... Anyway thank you, I now have over 500rep and I've finally been able to reply to that guy who sent me a private message in february...

  • Thanks for the info, I had no idea about that. I still maintain that some of these measures are a bit drastic, but at least those badges are something.

    By the way am I just totaly blind or wtf is that bloody upvote button?! I wanna upvote your comment, but I can't, for the life of me, find it...