KiratTheKop's Forum Posts

  • Thanks! I looked up For Each in the manual. (it's in 7.1)

  • Ha, this used to drive me nuts. Being an professional programmer I felt frustrated and dumb that I could not figure out such a simple thing on my own. I ended up quitting Construct 2 for a year. :P

  • Try Construct 3

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

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

    I saw a .capx in the FAQ and few posts about how to make the slash effect from Fruit Ninja. But I didn't find anything helpful for generating the fruits. So I tried to make one and if you can help me fix it then maybe it can be added to the FAQ.

    Here is the dropbox link.

    dl.dropboxusercontent.com/u/19981154/fn.capx

    What does it do?

    1. Updates the variable Random_int every tick.

    2. Every y seconds, if Random_int is above a constant threshold then create a new fruit below the canvas.

    3. The x-coordinate origin point of the new fruit is randomized using choose().

    4. Hit each new fruit with an upward impulse. The impulse is randomized by choose() so the flight paths are different.

    5. Fruit is destroyed if it falls below a certain y-coordinate.

    Problems and Questions (need your help):

    1. The fruits are spinning like crazy. I have set Angular Damping to 1 but they are still spinning too fast. I found an alternative: set Prevent Rotation to 1 and faking the rotation by setting Angular Velocity. But I rather figure out how to rotate using impulse.

    2. How do I disable collision? I don't want the fruit to run into each other.

    3. Changing the size of the sprite and collision box changes the mass, which requires adjusting the size of the impulse through trial and error. Otherwise the fruit just flies off the screen or goes no where. Is there another way to determine the impulse strength?

    4. I care about performance because I want to release this game on mobile devices. Is there a more optimized way to create and destroy the fruit? Better way to randomize the fruits' origins?

    Thank You,

    K

  • Hello,

    On a Windows Phone, is it possible to access the camera functionality, take a picture, crop the picture, and then use the picture in the game?

    I can look up the phone APIs for the camera and picture. My question is how to get those APIs to communicate with the Construct game.

    Thank You,

    Kirat

  • 2) The current method will be better if I could have more control over the speed. I know I can set it to x pixels per 0.y seconds, but I rather control the numerator. Does Constructor support x.x pixels per tick? For example, 3.5 pixels per tick or 3.6? How precise can it be?

    Sweet! Constructor moves the monsters at different speeds even if the speeds are only 0.1 pixels/tick apart.

  • Hello,

    Drop box link here: dl.dropboxusercontent.com/u/19981154/Monstermovement.capx

    I wrote some event so the player and monsters in my game can move like the characters in double dragon. The conditions are:

    1) Player can move in all 8 directions, but only faces left or right.

    2) Monsters move toward player, but only faces left or right depending on relative position to player.

    Right now, my monster has no movement behavior. At every tick, it's position and angle are caculated by an event.

    My questions are:

    1) Is there a smarter way to move the monster? Right now it moves x pixels per tick.

    2) The current method will be better if I could have more control over the speed. I know I can set it to x pixels per 0.y seconds, but I rather control the numerator. Does Constructor support x.x pixels per tick? For example, 3.5 pixels per tick or 3.6? How precise can it be?

    3) In the capx file, event 8 is used to describe this monster's movement. If I want most monsters in the game to have this behavior, then is there a way to apply it universally? Or do I have to copy and paste it for each sprite?

    Thanks for reading!

    Edit: here is a follow up question. How do I set the angle/mirror state of each monster instance? Right now when I set one, all of them change.

  • Thanks for the help guys! I think I will start with paint.net, it should hold me over for a while. And I will try to save money for Photoshop too. :)

    Thanks for the links to the audio programs. I will try them all out.

    Man, I have so much stuff I need to learn. Feeling a little daunted, but mostly excited. :D

  • Hello!

    Downloading constructor is literally my first step toward doing anything game related. My current workstation is a 2011 MacBook air running bootcamp with one external monitor. And I am interested in gathering some tools to help me build games. What are some easy to use and cheap/free software that can do the following?

    1) Draw stuff. I am perfectly happy making simple art--as if it came out of MS paint. But I am looking for something slightly more powerful as MS paint doesn't allow free rotation (it's by 90 degrees only). Also, I would love to be extract faces/people from photographs. Yes, my friends agreed to let me put them into the game. <img src="smileys/smiley4.gif" border="0" align="middle" /> <img src="smileys/smiley4.gif" border="0" align="middle" />

    2) Record sound. I do have a record on the MacBook, and I think it would be funny to generate some of the sound effects with my vocal cords, e.g. "Pew pew pew!" What is the best way capture recordings and convert them to the appropriate file types? Though, I'd be interesting in knowing how more advanced sounds and music are made too.

    3) Record game play. I've seen lots of neat demos on Youtube from the Constructor Community. How did everyone capture their videos? I have Microsoft Expression suite at home, so something similar would be great!

    By the way, I'm super excited to have found Constructor. <img src="smileys/smiley2.gif" border="0" align="middle" /> I love how the software and the tutorial let me make a game in one day without any previous experience. Though, I learned that I literally missed the sale by a day. Do you know how often the software gets discounted? Of course, I have zero qualms about supporting Constructor. But finding savings is always great. <img src="smileys/smiley9.gif" border="0" align="middle" />

    Thanks in advance!