dx0ne
100 posts
|
Topic: Game Programming /
Vertical Scrolling Shooter in Theory
12FPS is not run. it’s choke. you need 30FPS for smooth movement.
|
|
|
dx0ne
100 posts
|
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Creating floating information
you have continents as buttons or movieclips?
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Some useful game code and articles
such initiatives are always worth thumbs up so: keep’em coming!
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Quick Question on My Game
one:
function foo() {
this._alpha = 50;
}
mc1.onEnterFrame = foo;
mc2.onEnterFrame = foo;
two:
var mcs:Array = new Array();
mcs.push(mc1);
mcs.push(mc2);
_root.onEnterFrame = function() {
for (i in mcs) {
woot(mcs[i]);
}
};
function woot(mc:MovieClip) {
mc._x += 10;
}
two! two methods! mwahahaha
|
|
|
dx0ne
100 posts
|
|
|
|
dx0ne
100 posts
|
Topic: Collaborations /
kongresflame
try http://wordpress.com or http://blogger.com (hosted, set up, free&ready to go blog platforms). u can pretty much customize them with skins, widgets == no coding, uploading.
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
WHO said that flash cant handle a real game??
if by real game u only mean Doom7 u’ve missed whole lot of fun with games. u know those wired things with, watch out for keyword, gameplay.
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Optional file loads.
1. only thing what comes to my mind is to not put them in fla/swf. instead load them from external files in runtime
2. if we talking about sounds/pics use MovieClipLoader
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Tips on lag ?
@spaceplant:
could be, but in comment from 9/7/2007 stays:
“This is still the case in 9.0.47 with AS3”
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Tips on lag ?
yeah but point was to do both of it. move out stage and _visible=true. dunno if flash uses any clipping(if so moving out stage could help). well we should probably do some test for sure.
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Tips on lag ?
I am afraid nope
there is also another tip:
“move the movieclips off stage”
like:
_x = -2000;
_y = -2000;
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Tips on lag ?
and putting mc to empty frame should be better than _visible=false
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
In-Game Microtransactions
any thought on the prices?
like you did some surveys about how much players would pay for new levels or stuff?
lowest price limit?
and from players view. paypal, credit card?
oh and games would have to be hosted on your site or it(mictot-sys) could travel with swf?
(sorry for lot of question instead of answer but it’s interesting topic)
|
|
|
dx0ne
100 posts
|
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Removing MC
myMovieClip .attachMovie( idName , newName , depth [, initObject ] )
second param is name – string.
“enemy”+container.getNextHighestDepth()
will give enemy0, enemy1, enemy2…
and so to remove them you would need call removeMovieClip(enemy0), removeMovieClip(enemy1)… container shortens the proces. also u can have array of those enemy mcs, loop trough it and call removeMC on them(and i suggest it than giving each mc own onEnterFrame – speed killer).
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Removing MC
i second that.
on topic: u also can attach mc not to _root but to some empty mc on it – container. removing container == removing all its childern.
var container:MovieClip = _root.createEmptyMovieClip ("container", 100);
container.attachMovie(“enemy”, “enemy”+container.getNextHighestDepth(), container.getNextHighestDepth());
then code in main menu…
removeMovieClip(container);
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
need help
my shot will be for
angle = turret.cannon._rotation-90;
should be
angle = turret._rotation-90;
for quick look the problem seems to be that they didnt mention that cannon mc inside turret mc should have linkage id. its cannon + base = turret. and u can rotate canon only or just whole turret. base is a circle so no big diffrent.
(so u can copy code but remember to give linkage id to turret and cannon)
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
need help
this.cannon._rotation = (angle*-1)+90;
should go like
turret._rotation = (angle*-1)+90;
and make sure that turret mc has linkage id
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
How you use a special font in a random sentence generator?
embedding is your solution.
we talking about text field on stage or created dynamically in code?
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
SharedObjects acceptable for safe storing of data?
API stats are saved on server side so SharedObj hacks are useless. or maybe i’m worng?
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
Problem with files
u can host those 3 somewhere else
|
|
|
dx0ne
100 posts
|
Topic: General Gaming /
score wrongs.... on campaing game...
we need to wait for bugfix or just email screenshots of vistory screen?
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
button & variable help AS 2.0
nobody said anything about -1 condition ;) ofc Jabor is right
…as nobody expects the Spanish Inquisition!
|
|
|
dx0ne
100 posts
|
Topic: Game Programming /
button & variable help AS 2.0
on (release) {
if(pass==0)
{
//do nothing
}
else
{
gotoAndStop(75);
};
pass -=1;
passesused +=1;
}
|