lennaert's Recent Forum Activity

  • Suggestion:

    Start your preview in debugger mode

    Then, on your right side of the debugger, click profile

    Then keep an eye on the % which your named processes take up.

    Obviously, the ones hogging most processor performance could likely do with some tuning/tweaking.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Add an event: compare 2 variables

    enemies.Count < 10

    this will check if the total of enemies objects is lower then 10

  • The destroyable ground is masked from a background image tile.

    thus the destroyable ground is made by an image.

  • there was a thread some weeks ago with pixel destruction of terrain.

    I believe one of thelast example made a simple mask of the original background.

    this thread

  • like lemmings digging a tunnel ?

    <img src="http://www.mojang.com/notch/j4k2k6/miners4k/screenshot.gif" border="0" />

  • That 400 is because you request the page through ajax at the start of layout and places it in your text.

    The page shows the 400.

    Just visit your test page directly:

    cubacafelv.com/ajaxtest/getresults.php

  • Also, be aware that laptops can present a problem if you're using WebGL in any way on those layers. I had a game I made in C2 where the game ran really slowly at random points and I couldn't work out why.

    Turns out that when the game was running slowly my laptop was running off the battery. When that happens, many laptops disable the 'higher level' graphics chips to save power. This is worth keeping in mind both for debugging and for when considering distribution.

    Is there a way to get round that, now that I think about it?

    yes, in your energy power savings / performance, set it to maximum performance.

    It will cause your laptop to runn full power regardless of batteries or net power.

  • change

    int((Item8*100)/100)

    to

    int(Item8*100)/100

    Same goes for the entry for item7.

    capx

  • You need to replace the backslashes for forward slashes in the URLS

    In the second post you need to place your double qoute propper:

    "http://cubacafelv.com/ajaxtest/getresults.php?action=&Results"

    change to

    "http://cubacafelv.com/ajaxtest/getresults.php?action="&Results

    And very ikely, you need to place:

    header('Access-Control-Allow-Origin: *');

    At the top of you PHP file right below <?php

    This will make it work from PReview mode.

    If you do not add it, it will only work once you exported and uploaded to that cub site of yours.

  • 64 bit here too, without problems.

    Have you tried re-installing ?

  • yeah as soon as I put something in it seem didnt work.

    At least it appeared so, the forms are not getting passed as regular post or get calls, but instead being passed as OPTIONS. (cos of your header)

    I get this in the BROWSER console in firefox (CTRL SHIFT J)

    Request URL: lennaerthohe.nl/ajaxtest/index.php

    Request Method:      OPTIONS

    Status Code:      HTTP/1.1 200 OK

    Request Headers 17:40:25.000

    User-Agent:     Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0

    Pragma:     no-cache

    Origin:     http://localhost:50000

    Host:     lennaerthohe.nl

    DNT:     0

    Connection:     keep-alive

    Cache-Control:     no-cache

    Access-Control-Request-Method:     POST

    Access-Control-Request-Headers:     x-number,x-token,x-usermail

    Accept-Language:     en-gb,en;q=0.5

    Accept-Encoding:     gzip, deflate

    Accept:     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

    Response Headers ?124ms

    X-Powered-By:     PHP/5.4.24

    Vary:     Accept-Encoding

    Transfer-Encoding:     chunked

    Server:     ngx_openresty

    Expires:     Wed, 12 Feb 2014 16:40:42 GMT

    Date:     Wed, 12 Feb 2014 16:40:42 GMT

    Content-Type:     text/html

    Content-Encoding:     gzip

    Connection:     keep-alive

    Cache-Control:     max-age=0

    Access-Control-Allow-Origin:     *

    Seems like they are being set.

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