Is my game going to lag?

DanielAvniDanielAvni Member Posts: 114
edited November -1 in Working with GS (Mac)
Well i want to know is my game going to lag? Because if it is im going to take some classes in SDK and stuff like that and try to make a game from that. anyone know if my game will run good?
(theres about 7 levels, 28 monsters (spread out in huge levels, 4 ech level) main char, about like 20-30 different weapons that u kinda push to use)
Please help i need to know

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    There are ways to make a game like this have an acceptable frame rate. You can also tell apple that it is only for 3gs when you upload it to itunes connect. Here's what I would do. Use a magnitude rule for all of your moving actors (monsters) so that they do not do anything at all until they are within "reach" of the main actor that controls the camera. There is no need to have monsters pacing back and forth, growling, making dirty looks, or whatever else you may have them doing when they are outside of the viewable area.

    So make two game attributes called playerX and playerY. Then in each monster have an attribute (i think integer works fine for all of these) called distance.

    constrain self.distance to magnitude (self.position.X-game.playerX, self.position.Y-game.playerY)

    This will calculate the distance from the monster to the player.

    Then wrap all your monster rules in a rule that says when self.distance is < 300

    That way the monsters will start doing their thing just before they come into view and as soon as you move to a different part of the scene they will stop doing all of their movements, particles, animations, etc.

    Should be doable.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    there's no way to know until you test your game on various devices.
    there's too many variables.

    Are your artwork and animations optimized?
    Are your music and sound effects optimized?
    Is your code clean and elegant?

    GameSalad runs fast. It's what you do with it that affects performance.

    You will run into the same issues with the SDK
  • DanielAvniDanielAvni Member Posts: 114
    Well my code is not because i am waiting for ur platform tuts. (When is the date haha?) and i see what u guys are saying, thanks i guess im just staying with gamesalad it would take for ever to learn all that C,C+,C++,sdk,cocnut and all that stuff.
    Theres another 2d game builder called Torque 2D for the iPhone thats $750 is there any difference what are your thoughts?
    And about iTunes Connect how do i register i tried and i couldn't figure it out please help this is important.
  • rebumprebump Member Posts: 1,058
    I think you may find Torque 2D to be quite a bit more involved than GS. Torque3D way more involved.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    I'm not positive, but I am pretty sure Torque2D is not supported anymore...
    Another GS user, BeyondTheTech, used to use Torque2D - he could give you better insight.

    Here is the link to register for the iPhone Developer Program:

    http://developer.apple.com/iphone/program/start/register/
  • rebumprebump Member Posts: 1,058
    I think the Torque folks have just renamed/repackaged their 2D stuff...their website is a bit confusing on all that.
Sign In or Register to comment.