lennaert's Forum Posts

  • Crud is generally outside of the scope of construct. As php files reside on a remote server accompanied with the needed mysql server.

    Common approach is to use the Ajax capability to request the php file with data in the request. And the php file should spew out the desired information which gets returned to your construct app and can be accessed by Ajax.Lastdata after a successful request.

    Involved databases generally get tailored for the app; often by phpmyadmin or the likes.

  • Nicely done.

    And yeah, decent sleep tends to help hehe. Many times I got issues solved by taking a well needed break ^_^

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you host a webserver with a PHP somewhere, you could perform an Ajax request to that file, with some PHP code that replies the country code.

    Example php file content:

    <?php
    
    $ip = $_SERVER['REMOTE_ADDR'];
    $details = json_decode(file_get_contents("http://ipinfo.io/{$ip}"));
    echo $details->country; 
    
    ?>
    

    The code uses a free service from IP info, should still work. (Been around for years)

  • Stuff like this requires the events to solve.

    You can email me the c3p/capx file and I will try to fix it for you.

    Removed

  • I did the same as with the hsl effect.

    Just copied and pasted the actions and adjusted a bit.

    Note i used a Boolean to flip between 2 frames.

    Update

  • Played a bit with it

    Note i also changed the origin of the trail.

  • Most new websites get launched ... working...

  • Great... just read the old private messages were removed a few weeks ago ....

    Not so great really ... had lots of messages with references in there....

    The forum is in shambles .... what a lousy transition .. this happened a few years ago to ...

    Perhaps hire a professional web developer? Ashley

    Because this is slowly killing of the appeal of the construct tools ....

    Namely ... a decent forum community ...

    Probably been said or mentioned ... but the search features for the forum are not working.

  • Suggestions:

    Run the project with webgl turned off.

    Try different architecture browser and or Construct (32bit vs 64bit).

    Check your drivers:

    Video

    Chipset (motherboard)

    Check your ram:

    Dual channel

    Same speed modules

    Ram check for faults

    Check for malware

    Adaware

    Malwarebytes

    Check your windows event logger for potential problems.

    (Application errors or system errors such as corrupt hard drive)

  • I found that these type of drops simply comes from the host machines' related running applications or hardware.

    1 I found a very common culprit; from the windows task manager, the Malware service executable.

    These, and other processes that come up unexpected; when they are actually expected to run, often cause overall performance dips.

    In combination with this, if your processor heats up, it can cause freezes too.

    As a test, you could have another computer run your projects to see if your computer might be heating up or having some other sort of cpu intensive activity going on.

  • Here, a bit more advanced example ...

    arrows move, space for weapon.

    EDIT:

    Note I added a cooldown timer to the player and make use of a boolean to detect being allowed to get hit or not.

  • The function looses its reference to which instance was involved and therefore executes the action on all gooe objects.

    The second gif you posted, the point where you hit the second gooe, you actually hit 2. (I see 2 gooes behind one another)

    Also, in your events ... you have a timer on the player, then perform actions when the timer runs out on the gooes. those will effect all gooes as there is no reference to an individual one.

  • here is an example in its most basic form

    test