Rable's Forum Posts

  • Hi,

    Is there a way to simulate a mouse click, in the same way we can do it with the 8 direction behavior?

    Here is what I'm trying to achieve : to go through dialogs in my game, one has to click to pass to the next phrase. But I'm now implementing Gamepad controls. I'd like to make it so that when pressing button A on a gamepad, a click is simulated so that it launches the next phrase without having to rework my code.

    Possible?

    Thanks!

  • Works perfectly! Thanks a lot!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I would like to add a sine (size) behavior to an object so that its size varies from 0% to 100%. Is there any way to do this?

    Up to my knowledge sine (size) always consider that the normal size is 100%, so I can make it vary from 0% to 200% but then the quality gets too low. Setting the scale to 0.5 before activating the sine behavior doesn't help either. Any idea how this could be achieved?

    Thanks!

  • Oh, I wondered what SID was about. I will remember that for the next time.

    Thanks!

  • To keep you updated, I manage to do what I wanted. And if someone ever needs to do it, I'm going to explain how I did it.

    What I had was an array with 40 X entries and a number value in each of them. I wanted to create given object from a family based on this value. For this I created an family instance number variable and assigned a different value for each object in the family.

    But as blackhornet told us that doesn't work, as we can't create a given instance from a family based on a variable. The instance created will always be a random object type from the family.

    It was possible however using rexrainbow 's plugin Nickname. Instead of defining a number instance variable for each object type in the family, I added a family behavior Nickname, and entered a different string (A, B, C, D, ...) for each objet type in it.

    I then stock these values in the same array as previously but as strings.

    Then the below event just creates an instance from the family (placementTrumpet) which has the same Nickname than stocked into the array at curX.

    Exactly what I wanted to achieve, thanks a lot rexrainbow for the awesome plugin!

  • rexrainbow

    Thanks a lot! This is a very interesting plugin and the capx linked helped a lot in understanding it!

    It's still a bit mysterious for me at the moment but I can definitely see the potential. I'll see if I can manage to use it properly in my code.

  • I downloaded and tried the Nickname plugin, but I still don't see how it could help me select a given instance of a family based on a number variable.

    Sure, I can assign a nickname to each object, but I don't see how it makes it different in my case than just creating each different object.

    The problem is that the family's name needs to be a string : "one" instead of 1.

    In the latter case I would be able to call the nickname based on the number variable, but I don't see how to do that with the string.

    Am I missing something? Or is there any other way to achieve this?

  • Thanks a lot Looking into this plugin now.

    It looks like once again rexrainbow will come to help me.

  • Hi everyone,

    I would like to create a given object from a family based on a variable.

    However, the manual says : "[When creating an object] if a Family is chosen, a random object type from the family is picked, and an instance created for that."

    To be very clear, I defined a family instance variable "uniqueNumber" and gave every object in the family a different value for it in the properties. Now I would like to create an object from that family based on this variable.

    Is there any way to do that?

    Thanks a lot!

  • Hey SparklingAir,

    I didn't do any iOS exports for one year now, but bere are a few ideas :

    • DO NOT add a space next to the commas when you define your products IDs (this one got me stuck for months!)
    • Restore purchases never worked for me.
    • Make a very simple test to be very sure what's working or not.
    • Not sure they are still useful, but see the related topic I posted about one year ago when I was trying to make my game to work on iOS. It wasn't easy.
    • Hang in there! You'll do it!
    • Support my game on Kickstarter with the link below (this one is completely unrelated to your problem, sorry ^^' )

    I will try to see what's still possible later today when I'll have more time available.

    Good luck!

  • Thanks a lot for the solution StaticCloud , I will create a bug report in the bug forums.

    What do you mean by "No transparent PNGs in the game" ?

    There should be no transparent PNGs in the game? I guess I misunderstand you, as most games are using transparent PNGs.

  • Thanks for the report. I have the same experience as you. :-/

  • glerikud

    Thanks for replying. I read that somewhere too, that's why I announced my game for PC only at first. :/

    Any news on the Mac export with NW.js? Is it supposed to be working?

  • Thanks a lot for your kind words! I'm so happy you liked the game!

    It's also very kind to tell people around you about the game, it will help me a lot! Much appreciated!

    C-7

    Doing my best, but now that I reached a plateau I need to find new ways to communicate about the game. Definitely not easy!

    Thanks for cheering me up!

  • Hi guys,

    My game runs perfectly on PC, but the Mac version (same NW.js export) has a big bug : the game doesn't even pass the loading layout.

    One of the testers gave me thir error message :

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 io.nwjs.nw.framework 0x000000010f90b561 0x10f41f000 + 5162337 1 io.nwjs.nw.framework 0x000000010f9245f7 0x10f41f000 + 5264887 2 io.nwjs.nw.framework 0x000000010f92484d 0x10f41f000 + 5265485 3 io.nwjs.nw.framework 0x0000000113d31312 0x10f41f000 + 76620562 4 io.nwjs.nw.framework 0x0000000113d30252 0x10f41f000 + 76616274 5 io.nwjs.nw.framework 0x000000010f8f4af9 0x10f41f000 + 5069561 6 io.nwjs.nw.framework 0x000000010f8f0896 0x10f41f000 + 5052566 7 io.nwjs.nw.framework 0x000000010f422127 0x10f41f000 + 12583 8 io.nwjs.nw.framework 0x000000010f422391 0x10f41f000 + 13201 9 io.nwjs.nw.framework 0x000000010f8c0fbf 0x10f41f000 + 4857791 10 io.nwjs.nw.framework 0x000000010f8c07de 0x10f41f000 + 4855774 11 io.nwjs.nw.framework 0x000000010f421992 ChromeMain + 66 12 io.nwjs.nw 0x000000010f1bad52 main + 530 13 io.nwjs.nw 0x000000010f1bab34 0x10f1ba000 + 2868

    Binary Images:

    0x10f1ba000 - 0x10f1baff7 +io.nwjs.nw (11.7 - 11.7) <FACF2B61-1E72-3E7D-AE6F-78D470902B48> /Users/USER/Downloads/healer'squest.app/Contents/MacOS/nwjs

    0x10f41f000 - 0x1155dc0e7 +io.nwjs.nw.framework (49.0.2623.87 - 2623.87) <1F8CF553-8A24-3A68-9C68-8C14764B14AF> /Users/USER/Downloads/healer'squest.app/Contents/Versions/49.0.2623.87/nwjs Framework.framework/nwjs Framework

    0x115bde000 - 0x115ce5ff7 +libffmpeg.dylib (0) <A8863D99-513A-3462-A638-1A6DB939CB3C> /Users/USER/Downloads/healer'squest.app/Contents/Versions/49.0.2623.87/nwjs Framework.framework/libffmpeg.dylib

    0x115dd3000 - 0x115e0afff com.apple.audio.midi.CoreMIDI (1.10 - 88) <4A755EA1-3CF5-32A6-8939-8D2998577406> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI

    0x115e33000 - 0x115e4cfff libexpat.1.dylib (12.20.1) <AA76E4CF-52F5-3CF9-907B-FBB80BAFB125> /usr/lib/libexpat.1.dylib

    0x7fff6437e000 - 0x7fff643b5007 dyld (360.19) <9D05FDF4-65CE-3B53-86D4-ABE1A5BF35F3> /usr/lib/dyld

    0x7fff85082000 - 0x7fff850bcff7 com.apple.DebugSymbols (132 - 132) <BDF57386-2881-35BD-9310-36904C764E93> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols

    0x7fff850bd000 - 0x7fff850c9ff7 com.apple.OpenDirectory (10.11 - 194) <5409AC27-3B83-3F35-8EB5-51228B4604AE> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory

    If you want to try the Mac build for yourself, here is the link.

    Any idea of what it could be, or should I put an entry in the bugs forum?

    Thanks!