svd91's Forum Posts

  • Any idea? Its really important for me

  • Ah yes of course, im an idiot

    Thank you very much for your help, I really appreciate it

  • I located the error:

    It was caused through the now disabled action. But i dont know why, it worked the last couple of weeks just fine.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Problem Description

    After i changed the physics engine from Box2D Web to Box2D asm.js i get a javascript error when i preview my game. I also changed Collision disabled to many of my objects because i read it would boost the performance. It worked fine before, and changing it back doesnt fix the error.

    Any idea what it could be?

    Construct 2 Version ID

    r195

  • Okay, thanks, guess i will go with Intel XDK for now. Any idea what could be wrong with the ads? Either test ads nor real ads show something

  • Hello,

    im trying to build for android and i want to ask whats the best way to do it? Export as cordova and than Intel XDK cocoon or phonegap?

    And how do i include admob ads? I added an admob object and created an event on start of the layout -> show banner on bottom. When i test it i dont see any ads.

    I also tried the "Admob Ads" tutorial in the manual, but no luck.

    Thanks i advance

  • Hello,

    I'm trying to create a Scoreboard for my game. This is what i have now:

    it does work so far. But my Scoreboard looks like this:

    What i want is to set Score and heigth accordingly.

    Score is the points the player collected in the game, heigth is how heigth he jumed and final is Score+Heigth(for now).

    How would i do that? I cant create two extra arrays to store the other values because of the sorting.

    Any idea?

    Thanks i advance

    Sven

  • Wow great, thank you very much Works like a charm

  • Great, that works, thank you

    I have an other problem, maybe you can help me with that too:

    [attachment=0:zvh5zbuv][/attachment:zvh5zbuv]

    This should let the player reappers on the other side layout if he is outside. I took it form the "Template: Infinity Jumper".

    After the player reappers on the other side, he just falls down. Like he losts his force. Any idea how i can change that?

  • Hello,

    following event:

    [attachment=0:38e3ugnv][/attachment:38e3ugnv]

    Set angle and Physics enabled works, but the force doesnt. The player just falls down because of the gravity.

    The only thing i notice is if I set force to a high number like 1000, the Players spins very fast.

    Any idea why this is happening?

    thanks in advance

  • Ah, I was suggesting this as a replacement for the ScrollTo behavior. For it to work right, you'd need to remove the behavior and set your new scroll event to run every tick. It should smooth out that jump you were describing with a little tweaking. Unless I misunderstood what you're trying to do?

    Ah great, it works now

    [attachment=0:3qf3ey3k][/attachment:3qf3ey3k]

    Thank you very much

    Almost perfecty, just a little "jump" is left. If anybody got an additonally idea, please let me know.

  • Like this?

    [attachment=0:25qlknqn][/attachment:25qlknqn]

    Seems to work better, thanks

    But not perfecty, any way to optimise it?

  • add an invisible object with scroll to behaviour and let it move to that point, for example "on collision with cannon"->player.scrollto disable, set cameraobject.position to player, cameraobject.scrollto enabled, cameraobject.bullet set speed 5, set angle to angle (object, cannon)

    Thanks, but it doesnt seem to work well. If i enable the bullet behavior the cameraobject moves and doesnt stop(which is the supposed to happen for a bullet). It doesnt really solve my problem. I need a "Move towards position(Cannon.ImagepointX(0),Cannon.ImagepointY(0)) i guess

    I like to put my scrollto behavior on a separate invisible object and then just lerp it's position to the players.

    I only use it if I need screenshake or want to track multiple objects, though. If you don't need those it's easier to just go through system and lerp your scrollx and scrolly values to the player (or anywhere else) directly.

    I already tried a seperate cameraobject but coundnt get that to work. How would I learp exactly?

  • Hello,

    im making a small game where the you can shoot your player character from one cannon to an other.

    I added a ScrollTo behavior to my player. So far so good, but the problem is that the camara "jumps" sometimes. Im pretty sure its because of this event:

    [attachment=0:1f5v7fjz][/attachment:1f5v7fjz]

    This leads to "teleporting" the player 50px. And the camara does that to.

    Any idea how i can fix this?

    Thanks in advance

  • Ahh i figured it out. Thanks again for your help

    Also I have the tiles getting a new frame when they are moved.

    The only thing I want to do now is to create the level a little less random and more like an actual level. I guess thats what the events at "bilinear interpolate" do. I find that quite complicated, is there an easier way to archive a similar effect?