RayKi's Forum Posts

  • So at first I uploaded the x86. Now I changed it to armv7 and the amount of compatible devices increased from 3% to 84%. Having 16% off is still annoying, but I am glad with the improvement. Thank you very much.

  • Can I upload the 2 builds in the same app? or should I create a new app for the other build?

  • I see you are really exited to start developing your ideas, we all are. But slow down a bit, your are not achieving anything jumping steps like that.

    Extremely beginner, this is where you start: https://www.scirra.com/manual/1/construct-2

    If you read the manual, and the answer is not there. Please come back here and we will help you with whatever you need ♥

  • Hello o/

    There are probably many ways to do that, so I am going to tell you what I would do and then you see if it works for you, if it doesn't just come back here later and let us know because someone else might have a better idea.

    Well if the player will fill the slots from left to right, and then use the items at the same order, all you need is a variable to tell which slot is currently being used. If variable is 0 goes to the first slot and then adds 1 to the variable, and so on. And after you use the item just destroy it and subtract 1 from the variable.

    However, if the player can use the objects in any order he wants, then this means that the player can collect 3 objects, use the one at the second slot, and then you can't place the 4th item at the 3 slot again, nor at the forth.

    If that is the case you will need to select your slot object and on the object settings on the left you gotta set a Instance variable. This variable will tell if the slot is being used or not. Then when the player collides with a object you can set "system>pick object by comparison" and then you compare if the value of the variable of the slot (something like this slotName.instanceVariableName) is the same as the value that tells it is empty. The game will then select a slot that is empty and move the object there.

    Keep in mind, however, that this might result in objects being placed inside random slots and not in order from left to right.

    For it to be in order I would do something like, set another instance variable for the slots that works as their ID so they can be organized from 1 to 5.Then and set another instance variable, but for the objects this time, that tells if the object is at a slot or not.

    Then every time the player collects an object you go "system>for" set it from 1 to 5 and then compare if the object is at a slot and if the slot that has the same ID as the loop.index. This will check all the slots in order every time the player collides with something, and then once the object is in place the other checks will be false.

    I don't know if I'm being clear enough, but try and work with instance variable and loops, and if you need more details just ask o/

  • Well, if you set the bullets and the spaceship facing the same direction on their original sprites, i think you can then set the projectile angle to the player's angle every time you create one. If you are already doing that and the behavior is still weird like you are describing maybe you should upload part of your code, or even better a capx. so we can take a better look on what's going on.

    Now, for the bullet to gain the same directional movement as the player. You could try and add some X and Y variables inside the bullet object and set them to zero, and then change them to specific values depending on the keys the player is pressing. And while they are on the screen you change their X and Y position values every tick. So for instance, the player is pressing to the right, the X would be 5 and the Y 0 so every tick the bullets fired would move to the right.... This might work weird depends how the ship moves, but I suggest you to start from there and improve it later.

    Hope it helps o/

  • Hello o/

    There are many ways you can do that, and the best way to do it depends on what you are looking to achieve on the rest of the game. So I will give you a few ideas, and you try to see if any of them works with what you are trying to do, and if they don't you come back here and try to be a bit more specific on what's going on on that game of yours.

    First thing I would try is a "system > for each" and make the slot spawn the object. This will select each slot once and spawn the object for each one of them.

    Another look would set at the slot properties a variable to define if the object is occupied or not. After that every time you want to spawn something you go "system>pick by comparison" and compare the variable of the slot with the value that tells if it is occupied or not.

    And another way, that I wouldn't suggest that much, but it can still work is trying to check if the slot is overlapping the object you want it to spawn, and if it is not then spawn it.

    Again, see if any of this helps and if it doesn't just come back here o/

    Good luck

  • Hello everyone o/

    I have uploaded all the games I've made so far either to newgrounds or scirra arcade, so this is my first time trying to develop an actual apk using contruct.

    I tried following the tutorials on Intel SDK but it seems to be out of dated and as far as I am aware of intel SDK is not exporting apk anymore since last month.

    So I researched a lot and managed to export the game into apk using cocoon.io and publish it at the google play store (yay \o/)

    But then I get this:

    here is the link in case the image doesn't open: https://www.dropbox.com/s/eq76t71pryfiz ... tled-2.png

    Anyway, how do is change those numbers? What can I do to increase the number of supported devices? So far I've tested the game throughout browser and it works just fine at all mobiles I've tried it so far, but when I export to apk suddenly only 3% of the mobiles can handle it. Not even my own phone that I used to develop the game supports the apk.

    Any suggestions?

    Thank you all for the attention ♥

  • Try testing you game using the debug layout, and check if there are only 12 objects created. You can be creating objects outside the layout or one over the other.

    Also I would try checking for destroying conditions, maybe there is a ambiguity in your code that is destroying the canvas after they are created.

  • Create a sprite with a solid color to be your box, and write on it with the text object or the sprite font one.

    You can use the same box and text for all dialog boxes in the game to avoid wasting unnecessary memory, just change the text and box size within your events depending on what you want to do.

    You can also destroy and create this same box and text object as many times as you need and changing their shape, size, location and text each time this happens.

    Since you want to use Japanese kanji you suggest you go for the Sprite Font object. You can check it out here: https://www.scirra.com/manual/166/sprite-font

  • Try creating a invisible object to detect the collision instead of the car and as you rotate the car you also rotate the invisible object.

    The collision box won't be as sharp as setting the collision points on each of the 96 frames, but at least it will rotate along with the car which is more accurate then setting a fix bound box to all frames.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can try and set a condition to check if the object on the top layer is overlapping the object beneath it.

  • What do you mean by strong ragdoll? Do you want it to move faster? To you want it not to break apart? do you want it to resist more before entering ragdoll state? Try being more detailed on what you are trying to do, we can't help you if we don't know the problem D:

  • What are you trying to do? Wait for the player to click? You don't need a loop for that.

    You can repeat a action with the system events "Every tick" or "Every Second". The loop you are going to use when you have a determined amount of repetitions you want to execute.

    Sorry if I can't be clearer but I didn't quite understand what you are trying to do LOL

  • Hello everyone

    So, recently I had some troubles with my computer and it just happens that I lost everything in it D:

    Every project I was working on, every project I've worked so far... all lost. (Shame on me for not backing things up, serves me right)

    But anyway, is there anyway for me to recover the .zip files I've uploaded to the arcade? Or is everything lost forever and I should start crying?

    Thank you for you attention