Ubivis's Forum Posts

  • many thanks, this is a really good idea...

    I will try myself first, but thanks for the capx too :)

  • not?

    scirra.com/manual/126/system-expressions

    Scroll down to "math" :)

  • you can use the function "floor" to round the result.

    floor(Self.XP_MAX * 1.2)

  • Hi all,

    I am playing around with Physics at the moment and trying to build something like a bungie rope.

    This is what I made so far and works quite well:

    ubivis.de/bungie

    The rope parts do stick together as they should (added Physics revolute joints) and the elasticity is doing the rest, but one thing I can't find a solution is to set the size of the middle part of the rope that the rope looks like it is not cut into three separate parts.

    What I tried was, is to set the size of the middle part every tick, but what I can't find is an indication of the force that works on the elasticity.

    I do hope, that someone has an idea how to get around that?

    Many thanks in advance

    CapX so far: gogwiki.com/temp/bungie.capx

  • all you need for this is to add a new sprite (can be without and image) in the middle of the screen and attach the scroll to behaviour to it, instead of the player character. At the events, add the move to instruction for the new sprite and you are ready to go.

  • was just an idea... I don't use dropbox at all, but I can live without this feature... would just be a nice to have ;)

  • Hello Devs,

    just a suggestion. Would it be possible to add a functionality to upload a published game directly to an FTP-Directory in Construct2?

    At the moment, you need to export it locally into a HTML5 Website, heat up a ftp-client, connect to the server, upload everything by hand.

    Would be really nice to have everything in just one tool :)

    Yes, it is just a request for my lazyness, but would be great anyway ;)

  • you are amazing rexrainbow...

    Just wanted to look into it myself, if I can figure this out, but now I can relax and just wait for your awesomeness as usual :)

  • I will sign the petition... this would be really helpful :)

  • Hey all,

    I have played around with this behaviour a bit and it is indeed really useful, but I do have a problem. I think this has been flagged already, but I am not sure, so I give it a try ;)

    My Capx

    I managed it, to spawn new mobs that instantly get an own Path, but when. This works well for the first mob on each spawn point, but after the first one, each additional mob does show up at the spawn point and jumps automatically to the coordinated 0,0.

    Any idea, how to fix this? If possible at all? :)

    Update: Managed it to fix the most of the problems but one. After each generation of a mob, the game hangs for some seconds before it resumes. Any idea?

    The main problem was with the Demo I used:

    instead of:

    Lerp(self.PathFinder.getCtXPathList(floor(self.iteration)-1),self.PathFinder.getCtXPathList(floor(self.iteration)),self.iteration-floor(self.iteration))

    I used:

    Lerp(self.PathFinder.getCtXPathList(floor(self.iteration)),self.PathFinder.getCtXPathList(floor(self.iteration)+1),self.iteration-floor(self.iteration))

    My new capx

  • I dropped a project I worked on years ago.

    Graveyard Manager:

    • Somehow a Tycoon Game, where you have to run a Graveyard.
    • You must keep the graves intact
    • You must take care of zombies
    • You need to have an eye on your money (you can sell Hot Dogs, and do other crazy stuff)
    • You can go out to kill people to get new clients

    Was way too much for me alone :)

  • there is not really a tutorial needed. A quick look into WebStorage should help you out :)

    scirra.com/manual/120/webstorage

    If you like to store the data on your server, you have to deal with a Server Side Script made yourself (PHP, Perl, ...) and run scripts using Ajax:

    scirra.com/manual/107/ajax

  • I would suggest just to add an additional text field as the three fields I have already created. Name it LapsTotal and add a local variable to it names "total".

    At the event page, add a new event that runs every tick.

    set the text of LapsTotal to |"Total: "&lap1.timer+lap2.timer+lap3.timer|

    I have not checked it, but should work :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sure... all you need to do is to add up all the variables:

    lap1.timer + lap2.timer + lap3.timer :)

  • I am pretty sure, that there are better solutions for this, but I am happy that I was able to help you :)