lennaert's Forum Posts

  • With the facebook plugin, you can send your scores to the facebook server, where you can use them in your game.

  • place an invisible sprite in the middle, lets call it "Axis"

    Give the rotating behavior to the axis.

    Add pin behavior to your platform.

    Pin platform to your Axis, position only.

  • No, not really.

  • If you mean if it's under 100 events, then yes it is. How would I go about testing it?

    The easiest and quickest approach: use wifi access (change the preferences of c2 to point to your computers IP and start c2 as administrator.)

    Start the preview in construct 2 and open your computers ip adress with port on your android phone in a chrome browser.

    There are also various tools to make APKs of html5 apps/games: Intel xdk being a popular one.

  • As long as your project is within the limitations of the free version, then yes.

  • How I do it:

    Open the projects in construct 2.

    Copy paste the objects first to be copied from the old project to the new project first.

    Then create an empty event sheet in the target project, and copy paste the content of the event sheet from the old to the new project.

    I do this for all the event sheets.

    You could also try and work your way through with some svn like approaches .. but I'll bet you will be tinkering longer with it to get it working then the previous mentioned manner.

  • Matching is generally done based on experience.

    As to logic, for my suggestion, simply add to experience for various actions, such as kills.

    As to implementation, whether based on games played or experience, you could have the host set a room name, involving his games played amount, or experience level.

    Like, host creates a room called: "deathmatch-10" (set room name: "deathmath-"&user.experience)

    when sorting the room lists, you can check the value of the experience level ( int(tokenat(roomname,1,"-")) )

    Then you can see the games host experience level before joining .... from there you can either directly allow if your level is higher or equal, or have a range allowed (host level + or - 5)

  • Your right.

    Hmm, the option says it wants to replace the current displaying animation frame.

    Have you tried adding a blanc frame, show that animation frame, then replace ?

  • That is expected behavior from what I can tell.

    Seeing as you change the sprite, all of its instances would change to that new sprite.

    You would simply need another unique/cloned sprite for the second image. ie sprite2

  • Yup, I use that approach too.

    If your moving objects between different scaled layers, keep in mind this can cause errors, the likes of "drawing instance on wrong layer" ones.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > :)

    >

    > zoom out

    > set layoutscale = lerp(layoutscale, (viewportRight("hud") / layoutwidth), 0.5*dt)

    >

    > zoom back in

    > set layoutscale = lerp(layoutscale, 1, 0.5*dt)

    >

    lennaert: Tried this. You have keep clicking the zoom button over and over and over. Needs to be in a loop I guess.

    make a boolean somewhere boolean zoom, toggle it with your button

    event

    every tick

    sub

    zoom.active = true

    layoutscale > 0.37

    action

    set layoutscale = lerp(layoutscale, (viewportRight("hud") / layoutwidth), 0.5*dt)

    sub

    zoom.active=false

    sub

    layoutscale < 0.97

    action

    set layoutscale = lerp(layoutscale, 1, 0.5*dt)

    else

    action

    layoutscale = 1

    something along those lines

    the checks are to prevent the tiny itty bitty zooming

    edit:

    lol no worries

  • zoom out

    set layoutscale = lerp(layoutscale, (viewportRight("hud") / layoutwidth), 0.5*dt)

    zoom back in

    set layoutscale = lerp(layoutscale, 1, 0.5*dt)

  • Ashley

    I would really like the feature to set a room state, or some method so people in the lobby, but not in the room can see the current state of the room. (awaiting peers, open, closed, running, over etc etc etc)

    Right now, I have a nice lobby system with selected region options, and once joined the host can select the country (layout) to have the battle in ....

    But, once the game started, it still shows up in the lobby list because I do not have enough players according to the max, which could lock it, and prevent it from being seen in the lobby.

    Now, players can select to join a running game and enter the pre game lobby/room. Which is very undesirable.

    Atm I have no option to indicate whether or not players are allowed to join a game in progress which have less then the maximum allowed number of players.

    Some feedback would be nice ..

    I'm getting to the point where I am going to tell my webserver through ajax the state of a room and store it in a DB, and retrieve that .... but I will have to jump through many loops with room timeouts and none existent rooms in the background this way ...

    Options ? suggestions ?

  • Gearworkdragon

    Various methods been mentioned in the thread.

    But the whole idea is to support multiple floors in the same layout.

    This can add more dimension and litterally extra depth to games.

  • elisamuelps

    drop box link

    Its been updated a couple times and I had removed older versions.

    This version has some performance issues which have already been solved, but the newer version is not ready for testing yet.