Ubivis's Forum Posts

  • Wasn't this one shared already here?

    Anyway, I like this one:

    A war game where you overanalyze restaurants and there's a terrifying monster slowly making its way towards you during the whole game.

    Includes everything: Strategy, Simulation and Horror

  • Some questions:

    • What mobile have you tested your game on? (Specs required)
    • How detailed are your images?

    Some suggestions:

    • Don't put all object at once, but let them create before they should enter the screen and have them destroyed after they left the screen.

    To get proper help, I would suggest to attach the capx of your game. Then some experienced C2 users can have a look and can tell you what may cause the most problems.

  • Sure it is possible, but a huge security risk for you, if you don't secure it properly.

    Unfortunately, you will need a server side script (PHP, Perl, ASP) that will handle the upload/file write routine.

    This is very advanced, and if you don't know anything about programming I would strongly advice to keep away from such advanced stuff until you know more about server security.

    Just an example:

    Imagine, that you don't check the file that gets uploaded and don't secure the upload at all. Someone could easily upload an script that will be executed on server side.

  • https://www.scirra.com/tutorials/1032/g ... creen-play

    Hope this example capx will help, as it seems to be exactly what you are looking for.

  • I edited my post above with an formula that is language independent, I just googled the formula for you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hope this helps:

    function aimAngle(target, bulletSpeed) {
        var rCrossV = target.x * target.vy - target.y * target.vx;
        var magR = Math.sqrt(target.x*target.x + target.y*target.y);
        var angleAdjust = Math.asin(rCrossV / (bulletSpeed * magR));
    
        return angleAdjust + Math.atan2(target.y, target.x);
    }[/code:ypau5ukx]
    
    At this link is an even more detailed formula:
    [url=http://www.reddit.com/r/gamedev/comments/16ceki/turret_aiming_formula/c7vbu2j]http://www.reddit.com/r/gamedev/comment ... la/c7vbu2j[/url]
  • As you have only sent the file to scirra, you might have to wait a while until you get help. If you post the capx here, the community would also be able to help.

    From what I saw, it seems to me that you have just invalid angles set for shooting.

  • If you have a php script hosted, you can use AJAX to send the content of the text box to that script and let it send the mail.

    But you should be very careful with your script, otherwise someone could exploit it.

  • Or if you have a couple of duplicates of an object and you only want to trigger something once for each single object (and also creating new objects during runtime). Easiest would be to add a boolean variable to the object and change the value while you trigger that specific action (+ having a check on the status of that variable in the condition).

    You see, there are hundrets of possible solutions. If you tell us more about what your goal is, we might be able to help you better with an appropriate solution.

    > I am almost certain that angry birds could be made in under 100 events. Maybe not the menu or some of the different power-ups, but certainly the core gameplay.

    >

    Definitely in under 100, more than likely including power-ups, .

    Signed. You literally only need 2 events for up and down movement.

    For the powerups: 1-2 events per power-up.

    As I never played the game myself and don't know what you can do in the menu, but a maximum of 10-20 events should be sufficient.

    Edit: Sorry, forgot... you don't have a down movement, only up

  • I do have my badge, but why not enable to add the SteamID to the forum profile using the authorisation API from Steam? Doing this, you can easily validate automatically if someone has the Pro or Business Version added to his account.

  • A good start for this is:

    -> Go to "Tutorials"

    -> Search for "Loader"

    -> Real Ashleys Tutorial about Custom Loading Screen Link

  • According of what you are saying in your previous posts, you are clicking on the "Layers" Tab which is incorrect:

    [attachment=1:282v2jqd][/attachment:282v2jqd]

    You have to click on the actual layer you want to rename:

    [attachment=0:282v2jqd][/attachment:282v2jqd]

  • no, you can't ... a json file is just a simple text file with content. Being able to make changes to the file on the server would mean that you have a very big security issue (everyone would be able to just access it and make changes, even outside of your app).

    I'm sorry to tell, but you will need a PHP, Perl, ASP, ... Script in order to make changes on server hosted files.

  • you need two variabled: current health + Max health

    width = (Current Health / Max Health) * Max Size of Bar

    For example, if you have 30 HP left out of 50 and the bar has a max width of 150 pixels, the bar will be 90 pixels wide.

    hope this helps you

    EDIT: Sorry, was a mistake in my previous formula.