klabundee's Forum Posts

  • I'm not sure if its possible.. if its suspended, its suspended..

    You probably need to compare and simulate it on every resume for example..

    On resumed, get the amount of time suspended..

    Lets say 3 hours.. ok, so 3 hours means 3 weather changes, so for each hour, random (sunny, cloudy) and simulate the result of these hours suspended.

  • The old function system was more rudimentary but in some ways a lot more flexible. I used to take full advantage of the fact that you could call a function willy-nilly just using a string and the fact that parameters were not restricted to number/string/boolean.

    Now if I want to build the same kind of flexible functionality for my scripts I have to use a much more elaborate and clunky build.

    My question is, would it be safe enough to switch back to the old system? And by that I mean starting my projects in Construct 2 and then converting them to Construct 3 but without the new functions. My fear is the old functions will become completely deprecated in the future and I'll have to switch back to C3 functions anyway.

    If im not wrong, old style functions are only available on C2 runtime..

    So, it will not receive any updates/upgrades..

    Some plugins/behaviours only work on C3 runtime and also you are losing performance staying on C2 functions..

    See more here:

    construct.net/en/blogs/construct-official-blog-1/construct-3s-new-redesigned-1059

  • Like this?

    Yes,

    first condition has 5% drop rate, second one has 10%

  • I think this is correct, it is doing what I want it to do :)

    Instead of double random, if you have a random between 1-100, it means that each number has 1% of drop chance, so for multiple itens you could use like:

    If random result is >=1 and < 5 = Drop item 1 (This means that you have 5% drop rate)

    and a second condition

    If random result is >=5 and < 8 = Drop item 2 (This means that you have 4% drop rate)

    ..

    If random result is = 100.. Drop item 80 (This means that you have 1% drop rate)

    Using just 1 random and multiple comparations

  • I see,

    And if you disable all behaviours on player an change his Y position

  • Store the players life on a variable and

    Is variable = 0

    For each (object with solid enabled, like floor and wall) -> Set solid disabled

  • en.wikipedia.org/wiki/The_Tetris_Company

    "In May 2010, lawyers representing The Tetris Company sent Google a Digital Millennium Copyright Act Violation Notice regarding Tetris clones available for Android. Google responded by removing the 35 games listed in the notice as it was legally obliged to do, even though, according to one developer, the games contained no references to Tetris."

  • Are you using C3 Mobile Advert?

    If yes..

    First lines of the manual:

    The Mobile Advert plugin allows a game to use Admob Banner, Interstitial and Rewarded Video adverts on Android and iOS. This plugin does not provide advert services for HTML, Arcade, Desktop or Windows UWP exports.

    Adverts can only be shown in Android or iOS apps. Adverts will not show in local preview, remote preview, or with any export option other than Android or iOS.

    You have to export it and try on a device or emulator.

  • Can you share the project?

  • Have you tried increasing Jump Straight?

  • You can install plugins using the menu

    View->Addon manager

    but c2 plugins are not same for c3, you need to find the c3 version of the plugin.

  • Hello guys/girls. How are you.

    I am trying to implement in my game, a voting system, where people decide who is the best. How do I do this?

    You mean like a global voting system between users?

    MySQL + php.

    Firebase.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, i am using "on every tick" for camera position.

    It should just work.. make sure that you dont have other instances of the WarriorPlayer, run it on debug

  • I put a "Scroll To" behavior" on my camera sprite

    and set camera position to

    lerp(self.X, WarriorPlayer.X, 0.03)

    lerp(self.Y, WarriorPlayer.Y, 0.03)

    and its not following the Warrior sprite.

    Are you using "on every tick" for camera position?

  • Ooh, they have to be on a different event sheet?

    I've splitted it in another event sheet to trigger the "on start of layout" only on the layout 2, this was not the main issue..

    You created the global variable class as number and was comparing it as string

    You was not setting the global variable as warrior or mage after select the WarriorIcon or MageIcon, so after change the layout it was always comparing the global variable and was always = 0