ganich's Forum Posts

  • Thank you so much everyone! It's all clear to me now and I have achieved what I was trying to achieve! Thank you for being such a great helpful community!

  • BUMP!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tell you what, tomorrow Ill try to put a small capx file with whats necessary. and Ill comment it.

    Cheers

    Thanks a lot! You rock!

  • the way I did it for my project was to have floor tiles that can have spikes. You can perfectly add the randomess factor to it.

    I added an intance variable called fSpikesID

    and I use system Pick to know which spike trap is being activated.

    I can send you images of the code if you want

    Dear FraktalZero, Can you send me the images of the code. It would be of great help since I'm experimenting with something similar.

  • Hi, I'm working on a project where three boxes will keep entering the viewport and each is colored differently. I want to use only three colors e.g Blue, Red, Green. The problem is I want to use the "Create Object" event to keep generating the three box sprites in those three colors but I don't want the color to repeat.

    If i use the random function to choose one of the three colors, there's a possibility that two boxes might end up with the same color. I want to know how to make it possible for my event system not to repeat colors in newly created three boxes. I'm new to this so I don't really have a good command on loops etc.

    Your help will be highly appreciated! It would be such a blessing if someone can quickly make an example file for me.

  • I'm making a cross-platform game and was wondering if I draw a considerable normal size level outside my window size (In the layout area) will have any effect on the performance. All the objects might have a bullet behavior. I heard there shouldn't be more than 100 objects on the layout. What are good tips to keep in mind designing a layout which extends your viewport's area. My aim is to keep the game as efficient as I can so it can run smoothly on low performance devices.

  • I saw the video and as far as I can see, there is no need for physics behaviour, that is why I asked..

    In Construct2 the bullet-behaviour and the platform behaviour also have gravity, but you said you set the gravity to 0 in your game, so even gravity wouldn't be a reason for the physics behaviour..

    A simple bullet- behaviour should work just fine in my opinion..

    Rotate 1 degrees counter-clockwise when pushing up

    Rotate 1 degrees clockwise when pushing down

    But if I don't use the physics behavior, how would I create the linear damping. Secondly, the platform scrolls and the player stays stable on the screen because I want to generate random obstacles.

    I have found the solution to my problem though. I used when key "up" is pressed > Rotate Toward Angle

  • Oh thanks a lot. If there are no performance issues then i can continue using intel XDK. Cheers

  • Is there a specific reason why you use physics behaviour for this and not bullet?

    Of you were to use bullet behaviour, I would just use rotate clockwise or counterclockwise, depeniding on up ot down pushed..

    Physics Behavior is given to create space environment because I wanted to set the gravity to zero. Watch the youtube video I posted at the end of my post. You can see how the rocket start turning up and down tilting it from the nose.

  • Hi,

    I am working on a project and I need some of you talented people to help me out a little. First Download and run the .capx file I'm attaching with this post to have a better idea of what i'm asking for.

    So Basically, My rocket is floating in Space where's there's no gravity. The controls are keyboard "UP Arrow" to fly upwards and Keyboard "Down Arrow" to fly downwards to avoid obstacles. I have added physics, set world gravity to 0 and added Linear Damping to my Spaceship so if you move upwards, you will keep going.

    However, I can't figure out one thing. I want to achieve this

    [quote:m509inac]1. Whenever I press and hold the direction button (Up or Down), lets say for example 'Up Arrow', I want the tip of the spaceship's nose to start tilting towards the marked point A on the layout. As long as I keep holding down the UP Arrow, the ship should smoothly tilt towards the A mark. Similarly, Holding down the 'Down Arrow' button should do the same but starting to tilt the nose of the spaceship towards marker B on the layout.

    I don't want it to be a sudden thing, I want it be in a flow and gradually start curving down as long as i'm pressing the button. If opposite button is pressed then the force of angle should shift upwards smoothly incriminating.

    Construct 2 Working File

    goo.gl/JAidbt

    I hope you guys understand what i'm trying to say. If not then download the .capx file and you will be absolutely clear on what I want.

    Screenshot

    Full Screenshot: s17.postimg.org/sapc3pp7z/Capture.png

    Construct 2 Working File

    goo.gl/JAidbt (Dropbox Download)

    Example Game

    youtube.com/watch

    Watch it from the middle when the rocket is flying. However, in my game there's no gravity so the ship should only turn downwards when down arrow is pressed.

    Any help will be greatly appreciated.

  • Thank You guys! That really helped! cheers

  • Both the Intel XDK and PhoneGap Build can compile the Cordova export from Construct 2 with Crosswalk. It's basically what you're doing with Android Studio, except it's better supported. You should not use the HTML5 export option in an app because that mode expects to be running in a browser so probably some features will be broken. You can do what you like with the Cordova export option, such as building it yourself with Android Studio or using the Cordova command-line interface, but we officially recommend using the Intel XDK or PhoneGap Build as the easiest options for non-programmers, since they're easier to set up than all the cross-platform SDKs you'd otherwise need.

    Ashley, your reply has been really helpful to me. I have a few questions.

    1. Can you guide me or link me to a tutorial where I can learn how to embed Cordova exported project into Android Studio? I need to learn how to build APK's using android studio for best performance.

    2. How would it improve the performance of the application? Will it make the application Native if I export it to cordova and build it with Android studio?

    3. Can I easily add loading screen, icons, etc using Android Studio? I can easily do that in IntelSDK.

    Many people say Construct 2 is not good for you in the longer run because of performance issues. I love working with Construct 2 as it makes my life so much easier. For me time is everything and construct makes me save time. It would be really helpful if you can answer my above questions. You should write a complete tutorial on it.

    Looking forward to your reply.

  • I have been looking for something same. I hope someone helps

  • Hi! Yes you can make a game like Crossy road. This game uses the mechanics of Frogger.

    Source: With much ingenuity you can do the same in an isometric view.

    Yeah that's what I said that you can gameplay like that but we cannot give it that 3D effect in Construct 2. I might be wrong but that's what I think.

  • yeah please post the download link again. It's not working.