Darklinki's Forum Posts

  • you could insert google analytics

  • If have done something like this before:

    + Every 2 seconds

    ++ For each platform order by distance ascending (distance(player.x, player.y - Variable, self.X, self.Y))

    -- Platform Spawn Enemie on Imagepoint(0)

    -- stop loop

    + = Condition

    • = Action

    Variable = A number which says how much the platform with the enemie must be away from the player

    Is it clear now ?

  • export the files via phonegap exporter in c2 than it should work

  • Trough cordova (has an emulator) or if you use ubuntu directly with the sdk, the apps can be used on the pc and on the phone ;)

  • Yeah thats currently not possible you need to take the hash table plugin and on ajax complete you do:

    • Load hash table from Json string AJAX.LastData

    After that you can acess the informations via Hash.At("c2array")

  • How do you execute the javascript ? With the Browser Object or do you work with websockets ?

    Edit: Sry read to fast I see you use Websockets

    try wss instead of ws

    and set the header right, looks like your server dont accepts a UTF-8 message

    Wiki

  • Wiki Exspression

    Your Distance Calculation is false it should be (x1, y1, x2, y2)

    But if you want just check the horizontal distance better do:

    + System compare abs(x1 - x2) >= 20

    + Trigger once while true

    • your actions

    you dont need any every tick for that

  • I just develop on my ubuntu, works fine with wine. I�m not sure if the Settings are the same between Linux/Mac but I could post you what I changed

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • + On Key press "P"

    ++ Pauze Number = 0

    --- Your Actions

    ++ Pauze Number = 1

    --- Your Actions

    + = condition

    • = actions
  • Failed to load resource: the server responded with a status of 404 (NOT FOUND)

    which file does he not find ?

    • press f12
    • go to the network tab is there something red ?
    • go to console, in front of the error it should be a black arrow click on him and look which files are missing
  • + While platform is moving

    • System: Scroll to Player.X, Player.Y
  • In the current release some works, some not. You can already access things like the device rotation, the most installed apps and the gps data. This things I tried.

  • There is currently no tutorial about a farm game(or?) with c2. You should start with an automatic creation of a isometric Tile Map

  • Realistic would it be with gravitation, but you could do it also do it with an calculation.

    I could make an small example if I have some time.

  • No tip, I tried some basic native html5+javascript animations with 500 objects on ubuntu touch and it worked very fine 81fps(On an real device I think something between 30-50 should be possible).

    You don�t need phonegap to export to ubuntu touch ;) It works fine without it.