LittleStain's Forum Posts

  • yea well I wanted to make it that big because I hate the repetition. .. I guess there is no way to make it move with the wheel.. anyway thanks for the help!!

    If you guess there is no way, you are guessing wrong..

    There are many ways, simple and less simple, but all will require some effort on your part..

    There are many ways to prevent repetition..

    But like this blog tries to explain: Remember not to waste your memory

    As you see, some effective programming and use of images can get you a long way..

    Making a game will often consist of making it look like there are no limits, while working within limitations..

  • Without seeing at least your event sheet this question can't be answered, but maybe you can answer it yourself..

    What is the difference between starting the layout directly and starting it from another layout?

    Are there changes in global or other variables?

    Are there global objects that could be interfering?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Would you need the layout to be scaled or the layer?

    Is the player centered (scrollto)?

    What is the scale it should scale to when overlapping?

    The events would be something like this:

    Player is overlapping castle

    Scale > DesiredScale

    subtract something from scale

  • Making the tiled background IMAGE 10000 by 512 is ridiculous..

    Why would anyone use images that big?

    10000x512x4 = 20Mb of memory-use while playing

    if you use a 512 x 512 image and stretch it to 10000 it will work..

    https://dl.dropboxusercontent.com/u/485 ... rking.capx

  • because I tried to make a background of 10000 width but something went wrong!!

    Could you explain what this "something" was?

    Maybe we can solve "something" for you..

    Using tiled background it shouldn't be an issue making the background that big, but you could also choose to create and destroy instances of it when needed..

    It all depends on what you want to do, the result you want to get.

    There is not one solution that fits all circumstances, although there are "solutions" that fit none..

  • If your player is global you could use an instance variable on the player which you check to see if the player has a certain power, it will be carried to another level.

    If the player is not global you could also use a global variable for this.

    To make a random character appear you could have an instance variable/ global variable and set it to : choose("person","lion","firebreathingdragon")

    and have an event if variable is "person" system create person, etcetera..

  • Using fullscreen in browser crop and setting scale on the layers that need it, it's actually not that hard to achieve, depending on what your game needs offcourse..

    I've been working on/with adaptive layouts since I started this app:

    WatIsOpen

    It works on all devices from the smallest iPhone to the largest Desktop.

    For my new app/game I'm improving upon this by adding maximum/minimum width and height and scaling..

  • Wouldn't this be as simple as setting default controls to no and either adding the condition is on floor or is not jumping and is not falling to the events with the actions: simulate platform pressing right and simulate platform pressing left?

  • You could use a global variable to store the info and save it to local storage..

    Then on start of any layout you check if the item exists and set the global variable to it's value and set the player to the global variable..

  • There's an example with swing in there too, I know, because I linked it in one of the topics..

    I've searched this forum before..

    • Post link icon

    If someone can create a game like "Mortar Melon" with it, which has more than 750.000 downloads on the windows store, I guess it might still just be a toy, but a great one..

  • The search function on this forum turns up some results?

  • Ok..

    So why not stretch the tiledbackground to cover your whole layout and setting parallax to 100,100?

  • Did you set the animation speed to 0?

  • LittleStain haha what a shame, I didn't know it was an expression, can you simplify it by providing a screenshot or something?

    there is not much to simplify..

    system every tick

    set score : floor(player.x/7.2)

    It's as simple as that..