CaesarSalad's Recent Forum Activity

  • Here you go:

    https://www.dropbox.com/s/f0952pplmsucm ... .capx?dl=0

    I tried to make it simple as I understand you are new to this.

    Of course many things can be optimized there because both layouts are very similar and share most of the code.

    You can move repeating pieces of code to functions, or you can even make both layouts to use the same event sheet.

    Thank you so much, I'll check it out <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

    Edit: I'll update in a day or so if I can get this working in my game, thank you so much for taking your time to do that I didn't expect it to have so many events.

  • How do you store this number?

    If it's a variable on your event sheet, just make it Global, it should be visible to both layouts.

    You can also create an array or a dictionary and store your number there, or you can add an instance variable to some object accessible from both layouts.

    The dictionary would probably be the best solution.

    Capx Example by any chance?

  • Basically in Layout 1 when you click an object it's supposed to update a number in layout 2, but doesn't. I tried to put the number in the same layout and that worked, but I want the number in a separate layout.

  • No problem

    Here's the correct download link ufile[DOT]io/kwr70 (Only up for 24 hours)

    So there's a bunch of complicated stuff with multiplayer in here that isn't currently working, bu that's not what I'm focused on. Again just to clarify I want the player to respawn back to the beginning and the camera to reset to the beginning as well without restarting the entire layout.

  • You shared a caproj file. You must save it as a single file and share the capx file.

    Whoops, my bad, I created that download yesterday in a rush for something else. I'm on mobile and will fix it soon. Patience

  • It's a bit hard to understand what is hapenning without a demo or capx. Are you using scrollTo after you move the player? I can't really understand what's going wrong on this case... Sorry.

    Here is the Capx uploadfiles[DOT]io/e93x0

    I want the player to respawn to the beginning and the camera to start back at the beginning, NOT have the layout reset entitely. This capx contains alot of Photon server stuff which is unnecessary, just focus on the events outside the folders.

  • dop2000

    CaesarSalad

    I need any method, because it can not be recharged all the time to cocoon io.

    How WIFi works? Should I install something?

    Google “WiFi Preview Construct 2” and the Guide should show.

  • Bump.

  • There’s a WiFi preview but I haven’t used it personally, it’s meant for specifically what you want.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Basically in the autorunner everytime you die the layout simply resets, in my case, I don’t want the layout to reset so I need the player to be moved back into the beginning position when they fall off and the screen needs to be focused on the player so they can play again.

    I have it so when they fall off the MoveTo Plugin moves the player back into position, but the screen doesn’t focus on the player so the game gets soft-locked. I’ve tried various different things but can’t get it to work. How do I reset the bullet Angle?/focus the layout back in the player?

  • There is a similar plugin - RandomPlus.

    But I recommend Seed Random - the beauty of this plugin is that it modifies the built-in random generator in C2. You simply install it, define the seed and don't have to change anything else in your code.

    Both Dropbox files are gone.

  • Instead of "true random" you can use Seed Random plugin:

    If you generate the seed based on the current date and then generate level, it will be the same for all players.

    You just need to take into account possible time difference (maybe use GST or UTC time instead of local time on player's device).

    Sweet I’ll check this out, also time zones may be a minor problem but I have it covered.

CaesarSalad's avatar

CaesarSalad

Member since 2 Sep, 2017

None one is following CaesarSalad yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies