AlKanadi's Forum Posts

  • 14 posts
  • I am having performance problems with my game. What did I do wrong? It is hosted on Google Drive right now. Here is a link:

    googledrive.com/host/0BxgJG6tRgKx1QU05OGE0b2JpcE0/index.html

    The bottom left corner has the fps, which should be at 60 but for some reason it is at 30.

    Thanks

  • I made my game 1280 x 720. I used this because it is a 16:9 ratio resolution.

    I tried uploading my game to the Scirra arcade but I got the following message:

    "Sorry :( This game is too wide. Max width is 800px"

    If I try to change the window size then the display is zoomed in too much. How to I shrink the entire game but keep the aspect ratio the same so that it is not zoomed in too much?

  • I never knew audio was such a big deal. I don't like mp3 anymore.

    Anyway, this tutorial says that wav files should be in PCM encoding:

    scirra.com/tutorials/181/adding-sound-a-beginners-guide

    How do I know if a wav file is in PCM encoding?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How can I check that every instance of a sprite is invisible?

    Or,

    How can I check if every instance of a sprite is destroyed?

  • Does it depend on the pixels because either way the system will have to render it?

    If I create 50 instances of a sprite, there will be an empty space in between each one. If import them into a png file, there will be transparent pixels in between each one.

    Maybe, empty space is better than transparent pixels???

  • What is better for rendering:

    A - 3 different tree sprites repeated so that the total number of instances is about 50

    B - 1 Large sprite with all 50 trees inside the image

    In other words, should I use an image editor to create one big sprite with all the trees that I want to incorporate, or should I just make lots of instances of the trees inside the Construct editor itself?

  • Do you just want to increase the size of a sprite at a constant rate? If so then try this:

    for loop

    -increase size of object

    -wait 0.1 seconds

    I am not 100% sure what a bloom function should do but I am assuming that you just want to scale the object at a constant rate.

  • In the layout pane:

    • Place the ammo in the margin (not in the layout itself)
    • Give the ammo a bullet behavior
    • Set the speed

    In the shoot event that you will create:

    • if instance variable is ammo1
    • spawn ammo1
    • set angle of ammo1 (angle of the turret)
    • else if instance variable is ammo2
    • spawn ammo2
    • set angle of ammo2 (angle of the turret)

    You can spawn by using the "create an object" under system

    I hope that helps

  • Question 1: When I add a sprite, the "collisions" property is set to "enabled" by default. Should I disable it for object that will never need collision detection? For example, text that appears on the screen will never need to check for a collision. Will this save memory or should I simple not worry about it.

    Question 2: Also, when I was in University toke a course on game making. They said that the more collision points that an object has, the more processing power is required by the cpu. The book was old (like 5 years old) and so maybe this doesn't matter anymore? Or, should I try to minimize the points of my collision polygons?

    Question 3: What about for mobile platforms?

    Thank you very much.

    Note: I have already read the portion of the manual dealing with memory usage and best practices. I am just a bit of a perfectionist.

  • How do I use an OR Statement? I don't want to duplicate code, if I can avoid it. I have several events where I want to run the same actions. Thanks

  • It would be nice to have a "sign in with google" button

  • I have already read the best practices and performance portion on the manual.

    Is it better to create a new layout for each level for a game like Tetris, where each level is almost identical.

    For a game like Zelda, should I create a new layout for each section that the character goes to? Or should I just create one massive layout for all the areas? What is better?

    Are all layouts loaded at the beginning or are they loaded based on an event?

    Thanks

  • It must be my graphics card because I tried it on a different computer and it works fine.

  • I just downloaded Construct 2. I am testing it out before I pay for a personal version. I started on the first tutorial scirra.com/tutorials/37/beginners-guide-to-construct-2

    I tried to insert a tiled background but it didn't work. I can't see the tile on the layout sheet. All I see is white. When I run the program, the result is that I get one huge tile that covers the whole screen, rather than a bunch of small tiles repeating.

    What am I doing wrong?

  • 14 posts