j0schi's Forum Posts

  • Just wanted to leave this here:

    Ive litterally acepted nothing haha

    Kind Regards

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • one way would be to place a text object over the box and then ad an event "each tick" or "every x seconds" set text to "$" & GLOBALVARIABLE

  • that is far to less information to give an helpfull advice...

    you should post the capx or screenshots of your event sheet and specify the problem further!

    regards

    Patrick

  • Hi, that should make it clearer

  • Hi Braus,

    here is one way to do it:

    please note that the imageurl.txt has to contain the url to the actual image. you can also request php files this way whcih gives out another image depending on the url request. there are several other ways too...

    you can also check with the Browser Object "is online" but i think that would not be necessary as you want to handle any connection error...

    i hope that this point you in the right direction

    regards

  • there are several ways to archive this.

    one would be to move it to a layer were the paralax is 0,0 and if you release the key move it back to a normal layer.

    another way would be to determine the current absolute screen position and hold it.

    My suggestion would be look into those 2 topics

    Kind regards

    Patrick

  • Hi Braus,

    you can request external file contents with ajax from an URL (i think that is what you mean with external?)

    Take a look at the ajax object https://www.scirra.com/manual/107/ajax request from URL.

    [quote:w0w1sf2b]Request URL

    Send a GET request to retrieve the contents of a URL. A tag is provided to match it up with the On completed, On progress and On error triggers.

    The contents could also be a link to an image.

    You can then set the AJax.lastData to the sprite you want to load the image to.

    [quote:w0w1sf2b]Load image from URL

    Load an image from a given URL. The current animation frame will be replaced with the image. It is not shown until the image has finished downloading, and On image URL loaded triggers. Images loaded from different domains are subject to the same cross-domain restrictions as AJAX requests - for more information see the section on cross-domain in the AJAX object. Data URIs can also be passed as an image, e.g. from a canvas snapshot or webcam image. The Size parameter sets whether the Sprite object will be set to the image size when it loads, or whether to keep its current size and stretch the image.

    If you want to test locally dont forget to enable ajax requests from all sources in your hosting

    [quote:w0w1sf2b]If you want AJAX requests to your server to work from any domain, or in preview, you can configure it to send the following HTTP header:

    Access-Control-Allow-Origin: *

    I hope that helps <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Haha thanks so far all people who played it like it...

    i am not so sure what to do with it now ^^ will see

    currently i am working on my next project what is quite more complicated... but i am planning on doing updates on this one in the future with more levels and an "egyptian world"

    Edit: the game is playable at the scirra arcade now: https://www.scirra.com/arcade/sports-games/platform-golf-1333

    Regards

  • Anonnymitet tryed it short... to be hornest, thats absolutely not my kind of game haha i think i stay with 8bit fiesta

  • really amazing!

    i also would be interested in how you did the lighting. also the map reveal is quite amazing...

    most times i get big problems with the fog of war because of to many collision checks and when to despawn it. also with the line of sight despawn... didnt figured it out so far.

    kind regards

    Patrick

  • this game will be so awsome! just tested the latest single player level, love it! give me more!

  • Hi,

    make a check if the music is aleredy playing, if not, play.

    example:

    the music should then continue playing till end / restart. you can do this "on start of layout"

    kind regards

  • Update: released a gameplay video

  • This game looks so freaking amazing! Will play the final version for sure!

  • Hey, great idea!

    i would also like if the drones destroy the solders when they explode over them