RayKi's Forum Posts

  • I was getting the same problem and ended up in this post. If anyone else shows up here to solve this you have to put the same password on all four fields. So Keystore and key password must match.

  • Klabundee, I am using C2. But alright then, I will test admob on android then. Thanks for the help.

  • Good afternoon my fellow developers.

    I am trying to set up some ads in my game, but every time I try to test them through the C2 local host I get nothing.

    At the moment I am using the Admob plugin. Is it possible for me to test this ads using the local host environment or the debug panel? Or should I export my to some other format to check if it is working as I want?

    Also, I am planning on releasing this game initially as a html5 web browser game only, can Admob display ads in this platform or do I need to look for some other plugin?

    Thank you all for the attention ♥

    Tagged:

  • Phonegap worked perfectly. Thanks Ashley

  • Hey guys, it is me again o/

    Today I manage to export my C2 game to xcode and then open it with no problems on my apple devices

    However, every time I fix a problem a new one appears. So let's go:

    I exported my game using Cordova, and uploaded it at ludei website and, finally, compiled it using Canvas plus. But is so happens that this Canvas Plus option does work with the button and textbox plugins that C2 offers.

    So I changed the compilation option from Canvas Plus to Webview Plus... and then I got compilation problems D:

    Does anyway have any idea how to fix this? Either make the Webview plus compatible with Cordova or iOS.

    Or maybe make the buttons and textboxes work with the Canvas Option??

    Thank you all for you attention.

  • Hey there guys o/

    How've you been ?

    I developed a new game using construct2 and I am trying to upload it to the App Store. But after exporting the xcarchive using cocoon the game seems modified. After the splash screen finishes loading, a black screen with the game logo on it appears and freezes. The weird part is that this black screen with the game logo can not be found anywhere in the project, it only appears after I export it to xcarchive.

    Testing the game on browser or as a .apk works perfectly.

    Weird right? I don't know if maybe I am using some inappropriate configuration or anything of the sort. After the splash screen I used to get a black screen and then the game would crash. I solved this problem by following the instructions here: https://docs.cocoon.io/article/construc ... een-issue/

    After changing this settings the black screen bug stopped but then unexpected screen started appearing.

    Maybe there are other settings I should change, or anything like that, If anyone have anything information to share about this, it would help a lot.

    Thank you all for your attention.

    Best regards <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Hello o/

    Set the magnetic field as an sprite, and every time the bullet is overlapping said sprite you move it in whatever direction you thing it should go

  • How to fix that? Don't do it

    Try working your way around it, physics will not only slow your game as it is not necessary to do most of the movements. What are you trying to achieve with this combination? Perhaps there is another way to do it.

  • Hello o/

    So recently (last Monday) I was trying to export a contruct2 game with Cordova and Cocoon.io.

    I found lots of tutorials and they all gave me hell until I export the game for Scirra Arcade and upload that file to the Cocoon.io, it gave me no problems it works just fine, and was much easier than any other tutorial i've tried so far.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello o/

    If you want the player to record the video of him playing so he can watch the experiment again in game, you don't actually need a video recorder. Just do like Nintendo did in those Super Smash Bros games and save the scene. Save the amount of objects and positions and stuff like that and then when the player wanna re-watch the experiment the game will just replay every thing he did.

    If you want the player to record the video as a video file so that he can export and upload on Youtube or whatever... well then then the next comment might help you a bit more.

  • Hello there o/

    I've been using construct2 for a few years now and I NEVER used the sprite editor lol.

    Just like you said, go to photoshop or any other tool you are comfortable with and use that, the sprite editor of the construct2 is just for small last minute changes or details.

    What you might wanna try is save the sprite with transparent backgrounds in different formats and see if it works. I usually save my sprites as .PNG and the background keeps transparent when I import it to the construct2.

    So yeah... stop using the sprite editor in game, and try to figure out what's wrong with your files instead o/

  • Hello o/

    What is the initial values of the RangedAttackX and Y ?

    I see you change those values when any demon is damages, still the timer might still be triggering depending on those values.

  • You are in the right path. Good job o/

    I think that a variable in the pick ups that tell if they are are on the floor or in the HUD can help you later on. But depending on how you use your layers that might not be necessary.

    Good work.

  • So I went for a walk and came back with a better solution, way less complicated than calculating the cg.

    You see, if you calculate the centroid every time a character moves the screen will adjust to the position in between them and that will just screw up the whole game because the screen will be shaking like crazy all the time.

    What i think you can do is :

    1 - set your game to be played like Kirby, the camera follows a main player and the other players just have to deal with it.

    2 - Set your camera to move depending on the furthest points. Compare the Xs and Ys of all characters take the smallest and biggest values and set the camera in the middle of those 4 points.

    3 - Set the players to follow the camera, just like those beat them up games where the camera moves independently. The camera shows a challenge, when the players are done with the challenge the camera moves to another area and the players have to keep up with the camera until it gets into a new area where it freezes again.

    4 - Set a camera fixed and work with boundaries. If ALL the players are to the right of the screen the screen will move to the right, if all of them are to the left, the screen follows. If the players are scattered all over the place, fix the camera and let them come to an agreement before proceeding.

    Hope that helps to give you some ideas o/

  • Ok the idea here is to apply a formula to calculate the center of gravity. Or the centroid.

    Between two points, as you said it's quite easy. Between 3 and 4 points it starts to get weird, and if you add 5 or more players... oh boy.

    Here, take a look: https://en.wikipedia.org/wiki/Centroid