lennaert's Recent Forum Activity

  • Not sure how your looking to apply it, but distance works like:

    distance(a.X,a.Y,b.X,b.Y)

    this gives the ditstance between a and b

    Applying it could be something like

    Compare variables

    distance(a.X,a.Y,b.X,b.Y) < 100

    action: stop moving

  • I will try and build some testing methods

    there is also the other option, having game mechanics preventing such a situation from happening in the first place   ^_^

  • Drag and drop object

    on touch set x,y start points

    on release set x,y end points

    get angle(start.x,start.y,end.x,end.y)

    get distance(start.x,start.y,end.x,end.y)

    To determine speed for object through something ike impulse applied:

    with a simple approach, use the distance as a reference for power. ie The longer someone dragged, the bigger the impulse applied.

    Or you could do something fancy, like, setting begin and end time of the drag too and comparing to distance traveled, then apply impulse proportianally.

  • Looking at the principale of the chain links, wouldnt it only require your creating a revolt joint on the two ends of the chain ?

  • mindfaQ have you tried something similair without families ?

  • Thinking out loud:

    Say yo have lots of units and lots of levelobjects you want to test collisions with.

    disable collisions on those units.

    add a for each for units

    distance unit to levelobject < varible : enable collisions

    distance unit to levelobject > variable : disable collisions

    Not sure if this works as I have in my head, but in theory, the space < variable, should create a void in collisions detection, which might reduce load more then the load generated by the for each loop, giving a performance increase.

    Just theory, you would have to try it out to see if it works ....

  • Hmm, it looks to be the same what I suggested,   take a look at tankracer

    Start the first game round,   you can see the auto zoom effect during game play when you speed up (speed up zoom out, low down zooms in), but as you can see, my hud in the top left (rounds info) remains where its positioned.

  • Sounds like both problems stem forth from the layer your using/placing things on, and their respective scale settings.

    for instance, with problem 2,

    Add a new top layer, set scale 0, and paralax 0,0

    add an item in the box with dashes somewhere (top left on your layout, the project viewport), then add anchor behaviour to that object.

    I believe for the background its something the same.

    Perhaps disable the paralax, or even turn off the scale.

  • I am having a lot of erros in the arcade.

    For my game TankWars

    In firefox I get a pop up:

    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

    Script: static1.scirra.net/arcade/games/11347/c2runtime.js:1283

    I get these errors on more games...

    In Chrome, also Tankwars, I get:

    y.min.map.

    static1.scirra.net/js

    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    And get this with more games ...

    My IE11 says everythings peachy ... but shows no game, black screen ...

    In Safari, it works    -,-

    I updated plugins and disabled them, browsers, windows, cleaned cache, data, junk, house, etc...

    Updated game today with latest release, 64b, win 8.1

    But the errors where there before too.

    Scirra

    Lennaert == sad panda

  • <font size="4">UPDATE</font>

    Tank Racer - PLAY HERE

    Multiplayer race modes

    Host a game and start when 2 or more players entered.

    Battle Arena Maches

    Continious 10 minutes round resets, kills and death scores per round

    New map: Battle Arena

    Battle arena Death Match

    Play solo in perpetual running rounds against everybody !!

    Every round keeps tracks of kills and death.

    Battle arena Team Death Match

    Play as a team in this version of the team death match.

    You automatically get assigned in a team and have to battle your opponents.

    New race course: ZigZag

    A new race course has been added, complete the crocodile course on intermediate to unlock this level.

    Controls

    Touch support added, also works with the mouse, touch the road in front of the tank to make it move.

    EDIT: For battle arena: after some early tests the controls have been improved to support faster stopping and better aiming on targets.

    In Battle Arena, if you are within the vicinity of another tank, you can click them and shoot. (you automatically slow down)

    If you touch your tank, it would be like clicking reverse.

    EDIT: perfomance sync tune, data information stream stops using old/lagged information.

    tests: I was able to play this on a cheap mobile phone versus a pc :)   (wifi ofc)

    ~~~~~~Info:

    After the Ludum Dare I decided to take a deeper look into socket.io for a higher level of multiplayer capability in construct 2.

    I used the modded plugin from ace/sheffield, but I will likely make my own version in some time.

    The tutorials didnt really work as there are some differences in versions and architecture such as linux vs windows, also, I believe some functions are missing in the plugin.

    I got access to a nice vps server last week, to test if I can make it work. I did, and it works quite well, to continue development I could really use some feedback on playability.

    There are some bugs left and right as socket.io is kinda new for me.

    There is a small bug with the tank start positions in the races, but that will comenext update.

    Give the multiplayer a try and please leave some feeedback.

    Try and play at the same time together with some friends and see if it works well.

    Thanks for trying, and have fun.

    PLAY HERE

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Didnt really went better then expected here, hehe

    Out of the toilet with the bat, died about 20 times before I hit that first creature .... then 2 foot further died again instantly ...

    The difficulty sucked big time ....

    I did like the caps on the mask selections hehe, I was an asshole ^_^ , and got drunk on the party, so .. wasnt a total loss lol

  • Perhaps you can use "is on mobile device" to distinct which balance should get tipped ;)

lennaert's avatar

lennaert

Early Adopter

Member since 8 Oct, 2013

Twitter
lennaert has 13 followers

Connect with lennaert

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

25/44
How to earn trophies