Attan's Recent Forum Activity

  • So ROJO, i reworked your .cap to make the verlet thing move through a loop for better collision detection, but for some reason it jumps a bit higher, even though it (as far as i can tell) should be exactly the same.

    http://dl.dropbox.com/u/930918/Jumptester.cap

    At first i tried to make it like:

    Always

    -run loop "up" ceil(distance) times.

    -set Y: Y+(distance-ceil(distance))

    Something like that, but it had some problems with floats that i couldn't figure out how to solve, so i used the workaround that is in the .cap right now. I'm not really happy with it though. I don't like the unexplained extra height, and I get the feeling it could be made in a more efficient way.

    Anyways, I'm going to implement it into my AI thingy and see how it works out.

  • The side-scrolling issues is nothing to worry about. I haven't cared much about the camera.

    So it seems like the problems are caused by the irregularity in the platform movement caused by timedelta then. Thank you very much for your post ROJO, very helpful. I'll try to make a version using Verlet.

    Another thing i thought about is if it's possible to use the timedelta expression in the jump-event to ajust the height for the platform movement. Don't really know how since i don't understand exactly how it works, but it would be great if it was possible.

  • Thanks for the tip quazi, I'll try and see how it affects things.

    I think i found some problems in the code messing up as well. Try this version and see how it does.

    http://dl.dropbox.com/u/930918/Jump2.exe

    edit: Here's with override timedelta. Seems like that fixed the randomness. Thanks quazi! Now the question is if I'll be able to build a good game on something that requires that box to be checked.

    http://dl.dropbox.com/u/930918/timedeltaOverride.exe

  • Yeah, that's really strange. I'm working on an alternative solusion now, using beizer curves for the jumps, but if possible I'd much rather use this method.

    If any of the programmers see this, please give me your thoughts about what the problem might be.

  • Might be a timedelta problem. I don't really understand fully how the platform movement interacts with the rest of construct.. that's pretty much what i need help figuring out.

    For most people it seems to fail at n.5.

  • So I'm trying to teach this square how to jump properly on it's own. I've got it working well on my computer, but it seems like it doesn't work for anyone else. So if you could try this thing and post the results I'd be very thankful. Press R to restart. (Don't mind the ones that falls into the gaps, if one guy makes it then it works.)

    I get the feeling the problems are related to the way the built in platform movement works. Anyone who knows what could cause this irregularity? Also, for me it works like 19/20 times with V-synced, but never gets to the end with fixed or unlimited framerate. I use a calculation to determine the strength of the jump, which shouldn't be able to fail as far as i know, but somehow it still quite big mistakes from time to time. I don't need pixel-perfect, but I'd like to know where the problem lies and how i can narrow it down to something i can work with. I'd really prefer not having to use a custom movement since it's going to be tricky with lots of enemies.

    http://dl.dropbox.com/u/930918/jumps.exe

    If you'd like to help me and need more info, pm me and I'll send you the .cap.

    Help is very appreciated.

    Jonatan

  • I hope you're right, because I'm in the same situation as you! Have been working on my dream project for about three years, but rarely have enough time. I've never felt like I'm going to abandon it even if it sometimes goes months without me touching it.

  • Arsonide, that sounds like something that could result in two things: A great game, or an abandoned game. The second one seems to be the most likely, but I'm hoping for the first one.

  • Finish the object folders so we can drag object out of them. The Object list gets quite nasty after like 50+ objects.

    2nd. Really important one.

  • A free buggy version would be more then enough for me, i just want to play what whas in the demo!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Looks great! Now you just need a game to put behind that nice graphical style.

    btw, like your name julmust go sverige!

  • Looks beautiful. Hope you get all the way to the release!

Attan's avatar

Attan

Member since 14 Nov, 2007

None one is following Attan yet!

Trophy Case

  • Email Verified

Progress

17/44
How to earn trophies