Monday, February 14, 2011

Concept: Infrastructure



I'm mulling over the best way to create an AI and mechanics of the game. It makes sense the forward unit effectively acts as a path finder for the rest, rather than having to calc each units.

Mechanically I'm looking into predetermining/predicting events so the player sees a smooth action whilst its clunking away in the background. This is all around the idea that I can have a turnbased engine... each unit does so much damge per second, travels so far a second etc danger is it could be a bit cunkly. May need to reduce the duration past testing.

Range wise may have to dull down realism, if a unit is really firing at a unit on another lane its noticeably nearer. Could have "previous know target" set up, so even if you loose sight of enemy you could maybe select it and fire a grenade launcher. Same idea behind rally points. Units will all move towards a rally point (if you wish) for convience, although the enemy might bombard that location.

Be funny to see units fall back when injured, most others are very liner forward. Adds an annoying extra elelment, but can see how I could work in assault weapons are best for demoralising rather than outright killing. As I wanted to expand on the morale idea.

Unit Type: I love the idea of infantry, but may have to stick to ships else the level of detail required for visual fluff would be a nightmare.

Improved UI: Made the interface flat bar which makes in look more open. The Iso Grid really struggles with large maps, easier to use good old manual map with attachable details.

Labels: , , , , ,

Friday, June 27, 2008

flash blog

http://tyleralanlarson.com/blog/

Labels: , ,

labs flash

http://labs.blitzagency.com/?p=377

Labels: , ,

Monday, April 14, 2008

scrolling stuff

http://www.actionscript.org/resources/articles/110/3/Scrolling-a-text-box-II/Page3.html

Labels: , ,

Thursday, April 10, 2008

assest manager

http://blog.greensock.com/preloadassetmanageras2/

http://www.webmonkey.com/webmonkey/04/30/index4a_page4.html?tw=multimedia

Labels: , ,

search array

http://www.kirupa.com/developer/actionscript/finding_values_array.htm

Labels: , ,

Tuesday, April 08, 2008

CAROUSEL INTERESTING

http://www.gotoandlearnforum.com/viewtopic.php?f=28&t=17340

Labels: , , ,

Monday, February 18, 2008

buttons

http://www.nitras.be/tutorials/tutorial.html

onRelease = function(){

// return to default
if (selectedMovie != this){
selectedMovie.enabled = true;
}
// disabled selected button
selectedMovie = this
this.enabled = false;

}

helix class

http://www.gotoandlearnforum.com/viewtopic.php?f=12&t=5768

papervision

http://labs.blitzagency.com/?p=93

circle

http://www.gotoandlearnforum.com/viewtopic.php?f=28&t=16008

Labels: ,

Wednesday, February 13, 2008

DYN BUTS FINALL

for (i=0;i<4;i++){

b = _root.attachMovie("button", "button" +i, i);
b._x = 150 *i
b.id =i;
b.dynT.text = "But" + b.id;

b.onPress = function(){
trace("button"+ this.id + "pressed");

}

}

Labels: ,

Monday, February 11, 2008

flash mxl

http://www.gotoandlearnforum.com/viewtopic.php?f=29&t=11177&p=54120&hilit=crossdomain#p54120

grid
http://www.flashvalley.com/fv_tutorials/creating_a_grid_dynamically/page2.php

Labels: ,

Tuesday, February 05, 2008

FLASH FLICKR API

http://flashr.kelvinluck.com/tutorials/#/tutorials/1/

http://petitpub.com/labs/media/flash/petikr/

http://www.afcomponents.com/tutorials/img_loop/2/

http://www.brophy.biz/

http://www.lukamaras.com/tutorials/actionscript/load-jpg/loading-external-jpg-image.html

Labels: , ,

Wednesday, January 30, 2008

double click hunt

red

http://www.actionscript.org/resources/articles/566/1/Doubleclick-Event-for-MovieClip/Page1.html

red

http://greenethumb.com/article/24/double-click-event-in-as2

http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/

http://www.actionscript.org/resources/articles/197/1/DoubleClick-event-for-movie-clips-and-buttons/Page1.html

Labels: ,

Friday, January 25, 2008

flash links

http://www.gotoandlearn.com/

http://www.quietlyscheming.com/blog/

http://www.levitated.net/daily/levTextSphere.html

http://2souldesign.wordpress.com/


overlap
http://www.kirupa.com/forum/showthread.php?t=276961&highlight=overlapping+buttons

Labels: ,

Wednesday, January 23, 2008

fade

onClipEvent(load) {
this._alpha = 0;
this.dir = -1;
this.speed = 10; // the value used to modify the speed of the fade
}
onClipEvent(enterFrame) {
if (this._alpha <= 0) {
this._alpha = 0; // if the alpha value had gone negative, reset it to zero
this.dir *= -1;
}
if (this._alpha >= 100) {
this._alpha = 100; // similarly if it had exceeded 100 reset it to 100
this.dir *= 0;
}
this._alpha += this.speed * this.dir;
}

Labels: , , ,

Monday, January 21, 2008

flash buttons issue

disableder..

_root.myButton.enabled = false;


embedding flash
http://blog.deconcept.com/swfobject/

infinate menu
http://www.kirupa.com/developer/mx/infinite.htm

Labels: , , ,

Friday, January 18, 2008

flash drag code

snow
amount = 300;
mWidth = Stage.width;
mHeight = Stage.height;
for (var i = 0; ithisFlake = this.attachMovie("flake", "flake"+i, i);
with (thisFlake) {
_x = Math.random()*mWidth;
_y = Math.random()*mHeight;
_xscale = _yscale=_alpha=40+Math.random()*60;
}
thisFlake.yspeed = Math.random()*5+.5;
thisFlake.increment = -0.035+Math.random()*0.07;
thisFlake.radian = 0; //declare for actionscript 2.0
thisFlake.onEnterFrame = function() {
this.radians += this.increment;
//trace(this.radians);
this._x += Math.sin(this.radians);
this._y += this.yspeed;
if (this._y>=mHeight) {
this._y = -10;
this._x = -10+Math.random()*mWidth;
}
if (this._x>=mWidth || this._x<=0) {
this._y = -10;
this._x = -10+Math.random()*mWidth;
}
};
}


begin drag drop

dragMovie = new Object();
dragMovie.onMouseDown = function() {
if(movie.hitTest(_root._xmouse, _root._ymouse)) {
movie.startDrag();
}
};
Mouse.addListener(dragMovie);
dropMovie = new Object();
dropMovie.onMouseUp = function() {
movie.stopDrag();
};
Mouse.addListener(dropMovie);

drag droppy advanced

http://flash-forum.flashdevils.com/showthread.php?threadid=188583/MovieClip.dropOnTargets()%20prototype.html

effects
http://www.kirupa.com/forum/forumdisplay.php?f=51

Labels: , , ,

Tuesday, October 30, 2007

bynamic but code

this should work to give dynam functionaly dynamically

theButton = ["thumb"+[i]];
trace(theButton);
theButton.onRollOver = function () {
this.gotoAndStop(2);
}

Labels: , ,

Monday, October 29, 2007

QT > flash

Friday, October 26, 2007

LINKY

PROGRAMMING THOUGHTS

each page has a photo, vid and QT section

could have one generic page

each section then dictates > photos, vid yes/no etc

need to do list

standardise images

-----------------------------------------------

photos page

probably best to have seperate sliders until i figure out it

Labels: , ,