joelsandberg's Forum Posts

  • I see, have you began recoding it?

    I'm really interrested in this one!

  • I don't know if I'm doing it correctly. I want to center the position around the users location, but whenever I use the 'Locate' function, nothing happens.

    I've put it in on GoogleMap creation event. Have I made something wrong?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ah thank you!

    I'll try this out!

  • hm, I didn't really understand the links you gave me.

    But I uploaded a .capx file of what I want to do.

    owners.capx

    I know I could just copy the X-position onto another object. But if I want to use alot of different instances of the same object, and lots of variables, this will be a pain.

    Is there any way of using what I like to call owners?

  • The title is messed up... But I have a problem.

    I want to store the unique ID of an instance in a variable, and then use that variable to get the position of the instance whom ID is stored.

    I know how to store the other instances ID, but when I want to use it I get an error saying my variable isn't an object name. I don't want it to be an object name!

  • Ah okay I see! Well, I'll keep working on my game, and hopefully there will be WebGl and other performance boosts for mobile devices soon! ^^

  • I tested with a thousands of objects. The bullet behavior seem to be slightly better, not noticable though at lower scales.

    This doesn't really matter though as on the iPhone, the performance is way below the one on the pc in this test.

  • well I don't want to zoom in on the objects on the screen. So I'll use a low dpi?

    Also the Bullet behavior and the Every Ticket event didn't show any difference at performance ):

  • I don't really know what dpi I'm using, 72 I guess ?

    But I can basically turn the dpi down to 1, or can't I?

    I'll try out the bullet behavior!

  • Ah I see! How is a bullet behavior compared to the Every Tick-event in terms of performance?

  • I'm not sure about most of your questions, but you might want to try Appmobi. They claim using it significantly increases rendering speed, physics calculations and has multi channel audio. I haven't used it though, so I'm not sure about how easy it is to use.ppmobi seams interresting, however I don't want to spend loads of money on it, and it seems to be a bit complicated.

    Construct 2 is fairly easy to understand. Isn't there any way the developers will improve the performance? I mean, if Appmobi does it 5(?) times better than usual html5-apps, why can't construct 2?

    Yes you are correct(I think), the larger the canvas then FPS will drop a little. Also if your game heavily relies on physics then the FPS will drop.

    Its also to do with graphics, If you have graphics of a Higher DPI then if you have a every tick event and are manipulating that object, then its likely to be quite expensive in VRAM.Then I'll try using a resolution of 960x640.

    I always try to optimize the graphics also, but how does one optimize the DPI?

    And I know performing an action every tick isn't the smartest, but it seems to me it is the only way to go if you want f.e an object to constantly move in one direction? Or am I wrong?

  • My game runs at a steady 60fps on the pc. But on my iphone it's around 47. How would one optimize the game for better performance on handheld devices? Any tips?

    I've also heard that if the canvas is at lower dimensions than the iPhone screen, then it will be scaled to fit, which will have a huge impact on performance. Is this true?

    And would I in that case be recomended to develop my game in 960x640 which is the resolution of the iPhone 4+, rather than 480x320?

  • ah I see. Well, is there a way to move the entire Canvas down by let's say 10 pixels or whatever height that bar has?

    Still using the fullscreen option though?

  • doesnt work :(

  • I was wondering if there is any way to remove the top bar on the iOS?

    The bar with the clock and all?

    <img src="http://i.imgur.com/qfOHr.jpg" border="0" />