A Flash Developer Resource Site

Search:

Type: Posts; User: tonypa

Page 1 of 20 1 2 3 4

Search: Search took 4.32 seconds.

  1. Replies
    1
    Views
    2,350

    If the green area is predrawn, probably easiest...

    If the green area is predrawn, probably easiest way to move around, is to use checkpoints. Put invisible points on it, for example at the curves, then use simple "move toward point" code. Once close...
  2. Replies
    3
    Views
    2,958

    It all depends how the deal is done of course, if...

    It all depends how the deal is done of course, if potential sponsor makes requests while not providing solutions, maybe its not worth the trouble in the end. You can always disable ads in mochi...
  3. Replies
    3
    Views
    2,958

    Larger sponsor sites have their own scoring APIs...

    Larger sponsor sites have their own scoring APIs to be included in your game once sponsorship deal is agreed on.
  4. Replies
    1
    Views
    2,093

    It should be possible to place object behind...

    It should be possible to place object behind target using something like:

    container.setChildIndex(dropping_object, container.getChildIndex(target_object));

    For basic explanation of display...
  5. Thread: [WIP] NinjaX

    by tonypa
    Replies
    5
    Views
    2,695

    I did like the art. Drawings were lovely....

    I did like the art. Drawings were lovely. However, its not the kind of game I would enjoy playing, too much work to control the hero properly.

    It did hang up for few seconds when moving around....
  6. I think the problem is that you are attaching...

    I think the problem is that you are attaching both objects at same depth:

    _root.attachMovie("oxygen", "oxygen", 9,{_x:100, _y:100});

    Number 9 here is depth. If you try to put another movieclip...
  7. If you have an object moving freely between tiles...

    If you have an object moving freely between tiles so it can have any coordinates, you need to check 2 points whenever object attempts to move.

    Lets mark 4 corner points of the object UL, UR, DL,...
  8. Replies
    1
    Views
    1,826

    No, you can not override this behaviour (or every...

    No, you can not override this behaviour (or every Flash ad would override it and whole idea would become pointless). Your game should check for fps and if it drops below 10 for example, game should...
  9. Replies
    1
    Views
    1,873

    Just use FGL.

    Just use FGL.
  10. Replies
    4
    Views
    3,432

    No its just a variable, try with var keyword:...

    No its just a variable, try with var keyword:
    var frame1clothes = new Object();
  11. Replies
    4
    Views
    3,432

    The problem is that whenever you change frames,...

    The problem is that whenever you change frames, all the movie clips not present in both frames, are reset to whatever values they have in IDE. This includes "visible" property too.

    One way to...
  12. Replies
    3
    Views
    2,535

    You should try to find out if slowdown is caused...

    You should try to find out if slowdown is caused by code execution or drawing items on screen. One possible way would be running exactly same code but remove all the graphics, if you use frames and...
  13. Replies
    19
    Views
    9,315

    Its fairly obvious MS has no interest improving...

    Its fairly obvious MS has no interest improving classic Win desktop anymore. Metro apps will be sold only through MS App Shop (just like Apple) and MS will take big % from everything sold there (just...
  14. Replies
    19
    Views
    9,315

    I pretty much agree with Tom, Linux is still not...

    I pretty much agree with Tom, Linux is still not ready for mass market. And perhaps it never will, it is simply not for everyone. So its hardly an viable option for current Win users. Possibly W8...
  15. Replies
    3
    Views
    2,122

    The very basic movement based on rotation uses 2...

    The very basic movement based on rotation uses 2 equations, one for x and other for y coordinate:

    //first convert _rotation from degrees into radians
    ang = Math.PI * (cannon._rotation)/180;...
  16. Replies
    19
    Views
    9,315

    Honestly, your tablet will never be able to do...

    Honestly, your tablet will never be able to do all the same stuff your desktop does. It is not built for it and does not have power. Thats where I think W8 is epic fail.

    Suppose you are desktop...
  17. Replies
    19
    Views
    9,315

    Not surprisingly everyone is trying to copy Apple...

    Not surprisingly everyone is trying to copy Apple now, since its most profitable company in the industry. I am still doubtful about copying only more questionable policies of Apple, MS does not have...
  18. Even if you remove display objects from stage,...

    Even if you remove display objects from stage, they are not always removed from memory.

    However, without knowing how your code looks like, my guess for increasing lag would be collision loop that...
  19. Its not limited to any number, I have used same...

    Its not limited to any number, I have used same kind of loop for hundreds of objects. You need to give each enemy different instance name of course.
  20. Replies
    135
    Views
    102,009

    If you release your game under name Jetpack...

    If you release your game under name Jetpack Joyride, everyone will say its copied from that other game. Nobody really cares you had the name first. They are trademarking the name too so in theory...
  21. I am pretty sure splice needs another argument: ...

    I am pretty sure splice needs another argument:

    //delete 1 member from array at position i
    _root.levelOneEnemy.splice(i, 1);
  22. To knock back in the direction enemy is facing,...

    To knock back in the direction enemy is facing, use its xscale property:

    _x += 2 * _xscale/100;


    As for arrays, first create array when you enter screen with enemies:
    enemyArr = [enemy1,...
  23. Replies
    3
    Views
    2,905

    So basically you want to have doors (visible or...

    So basically you want to have doors (visible or not). Once the hero steps on door, background changes and hero appears in new location next to the door returning back to previous screen.

    It can be...
  24. Replies
    3
    Views
    2,905

    Are you asking how to build your game first place...

    Are you asking how to build your game first place or how to create seamless scrolling over large number of maps?

    All these old games used tile-based system (I have written several tutorials about...
  25. Replies
    2
    Views
    1,855

    1. Its usually Flash IDE (gives access to...

    1. Its usually Flash IDE (gives access to drawing, animation and coding tools but costs a fortune) or FlashDevelop (code only but its free).

    4. I don't see a problem using ripped graphics while...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center