Ajbael's Recent Forum Activity

  • Every time I update to the next "stable" version of Construct 2 I have capx files that worked perfectly fine in the previous version but won't run properly in the updated version. Most of my projects will run but with lots of minor bugs that didn't exist previously, some won't run at all, returning errors stating things like the cpx file is missing.

    When I didn't have as many projects, and when my projects were simpler, it was easy enough to debug or rebuild, but it's starting to get seriously annoying. Is anyone else having this problem, is it something I'm doing wrong?

  • dop2000

    Gotcha, thank you

  • https://drive.google.com/open?id=18guiF ... OEeMo_JcD3

    The animation loops seamlessly in Spriter, but when it plays in game it skips like its starting halfway through the cycle every time it loops. It's probably something simple, but I haven't been able to find anything online about it.

    Importing Spriter entities seems simple and clear cut with very few steps involved. I've read/watched multiple tutorials and followed every step to a T, so I'm really confused as to what I could be doing wrong. What makes things more confusing is that this entity has multiple animations, some of which work fine and some have this skipping problem.

  • You can move left/right by holding a/d keys to make the walk animation play.

    https://drive.google.com/open?id=1iB4HO ... JTvypGlA82

    I'm not exactly sure what is going wrong, the animation loops seamlessly in Spriter. Whenever it plays in game it looks to be starting half way through the cycle every time it loops. It's probably something simple, but I haven't been able to find anything online about it.

  • dop2000

    R0J0hound

    Thank you both, this is a big help!

  • Eh, I'm no Yoda but here is a way to do tweening:

    http://dl.dropbox.com/u/5426011/examples%208/tween.capx

    http://dl.dropbox.com/u/5426011/example ... imple.capx

    http://dl.dropbox.com/u/5426011/example ... 2011-12-28 06:34:51

    The links 404'd, but I could really benefit from them. Could you reload them?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Actually, I just plugged the code into the game I'm working on and it runs flawlessly. I'm baffled, definitely inspired to learn as much as I can about arrays.

  • R0J0hound

    Absolutely amazing. Should be a snap to build my own version of this as soon as I learn arrays!

  • R0J0hound

    Perfect, thanks!

  • R0J0hound

    Is it possible to achieve smooth transitions like you have demonstrated if the player character has physics applied to it?

    I'm working on a different approach to cylindrical world maps where if the players goes beyond X:5000 their X is set to 100. It works perfectly except obviously when this happens they loose their X.Y and Angular Velocities.

    I have it setup so that these velocities are recorded when they hit X:5000 and reapplied when they hit X:100 but there is a "hiccup" where the player character is froze for 0.1-0.2 seconds. I figured it must be a time related thing, so then I added in that time would be speed up by 100x for 1 second after they hit X:100, but now matter how I play with these numbers it never has any significant impact on the "hiccup".

  • cool dude.

    yea, if you are serious about making this sort of game,

    or in fact serious about becoming a game dev full stop

    then just drop everything and go learn arrays and all the things they can do for you.

    then you will be like "yea I wanna reverse time, that be easy....."

    I never actually understood why arrays are even used at all, they just seem like a really confusing way to store data. Most of the information I've tried to digest about them is very beginner level, so the examples given on what you can do with them are always things that would be easier to keep track of with a labeled variable.

    I do understand that arrays are "powerful" I just don't know why. Definitely have a lot of learning to do... Maybe I should search this forum for arrays so I can see what other people are using them for and why.

  • For starting off, (just to understand) I would suggest simple test platformer (without physics)

    Then just make a 2 x 120 array (this will give you two seconds of rewind)

    and every frame populate the array with the x y position of the player sprite.

    probably use the push pop method for this.

    push adds the latest value to the top moving everything down and pop removes the oldest value from the bottom so the array does not keep growing.

    I'll definitely give it a try. Since you're hoping I do, I'll send you a .capx if I'm able to pull it off, but it will probably take me some time just to figure out how to populate the array with data.

Ajbael's avatar

Ajbael

Member since 21 May, 2017

Twitter
Ajbael has 1 followers

Trophy Case

  • 7-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies