Search:
Type: Posts; User: tonypa
Search:
Search took 1.02 seconds.
-
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...
-
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...
-
Larger sponsor sites have their own scoring APIs to be included in your game once sponsorship deal is agreed on.
-
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...
-
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....
-
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...
-
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,...
-
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...
-
-
No its just a variable, try with var keyword:
var frame1clothes = new Object();
-
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...
-
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...
-
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...
-
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...
-
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;...
-
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...
-
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...
-
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...
-
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.
-
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...
-
I am pretty sure splice needs another argument:
//delete 1 member from array at position i
_root.levelOneEnemy.splice(i, 1);
-
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,...
-
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...
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|