paulscottrobson's Recent Forum Activity

  • Multiply it by 100, this will convert 33.1 to 3310 ; then the pre decimals part is everything up to the last two digits (33) and the post decimals the last two (10)

  • It does work - I use something similar in my Jam game - I think there's a fault in your code. Setting the animation itself I think undoes this.

    I would also make it an instance variable of Character, as it's a property of it.

  • If you have a look at my blog, the asteroids game has a high score table in localstorage, and the code can be accessed via github.

  • Not the C2 debugger, the Javascript one. Most browsers have one, and they allow you to see what is going on under the hood - so if you are (say) loading an enormous file it will show this.

  • Forget about thinking where the things are in terms of x and y coordinates, and think in polar coordinates, do the movement in polar coordinates - in this case, rotating the object around the circle is easy, just change the angle - this is different to the rotation angle obviously.

  • Have a look at basic physics equations involving s, u, a, v and t - especially velocity and acceleration.

  • I'd take a look at JSON.

  • It's an unanswerable question as it depends on how big the typefaces are, how many characters there are on each etc. Also, I believe C2 uses PNG format throughout, and some things compress better than others.

    Probably your main issue is going to be the amount of graphic memory that there are on some older phones. I would seriously suggest having fewer typefaces - maybe use effects if you want different colours, and not having sprites that big. Can your sprites be broken up into smaller sprites that can be reused ?

  • So is this like a ferris wheel, where the objects are on the edge of a circle ?

    If so, you might want to consider moving from x,y coordinates to polar ones - angle from origin and distance - put these in your objects (family ?) and update the position using basic trigonometry.

    I'm not clear exactly what you want to do.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, first question is it if load that layout without going there from the start menu, does it still take 10 seconds. If you are loading something, have a look at the Javascript debugger, which should give you some clue as to what is going on - if it is loading a big file, there is usually a tab showing network access. My initial thought was that it is trying to load something it can't find and the 10 seconds is timeout maybe ?

  • I'd be inclined to have an object which is not actually visible to the player which defines the wave, then write a function which launches that wave. The difficult bit is (3) ; for that I would have a string in the object which is a function which is called which calculates an objects position. If you put all your enemies in a family it should work okay.

  • Probably the best way to do it is rather than use 8 direction, test directions individually and apply acceleration in that specific direction.

paulscottrobson's avatar

paulscottrobson

Member since 11 Mar, 2015

Twitter
paulscottrobson has 6 followers

Connect with paulscottrobson

Trophy Case

  • 9-Year Club
  • x4
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Email Verified

Progress

12/44
How to earn trophies