pel6413
74 posts
|
Topic: Hero Zero /
the study group is looking for members
stats are now:
quarter: 15
facilities: 21
popularity: 16
motivation: 16
expanded: 38%
|
|
|
pel6413
74 posts
|
Topic: Hero Zero /
the study group is looking for members
any level so long as you are active, donations are optional, we got to the point where we need donuts more then cash.
quarter: 15
facilities: 19
popularity: 15
motivation: 15
expanded: 36%
friendly people…
welcome
|
|
|
pel6413
74 posts
|
Topic: Swords & Potions /
Looking For A Guild?
(No longer) Looking for a guild.
Level 16, level 24 tailor, level 24 blacksmith…
|
|
|
pel6413
74 posts
|
Topic: Tyrant /
Post Active Raid Links Here
xeno walker 16/50 19h7m(when posted) ~25% done around 340 average damage per user so far (users are active):
http://www.kongregate.com/games/synapticon/tyrant?kv_joinraid=41640
|
|
|
pel6413
74 posts
|
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
Mouse Avoiders w/o the reall mouse
you can use a hit test between a MovieClip and a point(x y coordinates), that test is not limited to a bounding box test and can also check a hit with a complex shape
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
Terrain Destruction
i agree w/ Kalinium, explore the Graphics (draw API) and the BitmapData class particularly the draw method, to make the ground act in a “physical” way (like in scorched earth) i suggest reading about cellular automata, although i don’t know how well flash will cope with that being that cellular automata is a bit CPU intensive.
good luck.
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
AS3 vs AS2 for someone new to flash
putting code in symbols is one of the main reasons AS2 is such a terrible scripting language, it’s such a malformed way of programming, it’s unreadable, undebugable, messy and i’m afraid to even mention reusability, no real programming language in the world works like that and no one, but no one, should put code in a MovieClip.
AS 1 and 2 are the reasons flash programmers are considered inferior to other programmers, hopefully, AS3 will change that
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
AS3 vs AS2 for someone new to flash
AS2 is a half-assed, semi-oop, non procedural, has been, wana be, mutated and deformed scripting language.
ok… i exaggerated a bit… but if your familiar with oop, AS3 is not only way better but it should be easier to learn too.
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
Sockets
the reason “pulling” takes longer is probably because the ENTER_FRAME event is dispatched at the frequency of the movie’s frame rate, i.e if your frame rate is 25 FPS it only checks the socket buffer every 40 ms.
i have little to no experience working with the Socket class, i usually use xml protocols with the URLLoader class to communicate w/ a .net server via aspx pages(witch is match, match slower), but i do know that ping time and lag are very known problems in flash and i have yet to see a game that implemented a proper solution.
i’v heard someone state that it’s possible to wrap the swf with a java applet that takes care of all the networking but i’v never actually tried it.
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
OO Design, events, etc. - Solving a problem
you should really use events for this…
as2 or 3?
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
two questions
please dont use prototype, please? it’s really bad practice, if you want to add methods to Array just extend it.
use this to run through an associated Array
for(var s : String in this) {
k+=this[s];
}
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
help with walls
_root by definition doesn’t have a parent
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
Need help with camera movement.
need more information about how the game was contracted:
first off, as2 or as3
secondly, how do you create the isometric map and how do you keep track of the location of deferent objects on the map( (x,y) or (x,y,z) )
do you have any code you can share?
generally i would suggest keeping the hole map in one MovieClip and moving that clip around to keep the character in the center of the screen, but that might not work for you…
|
|
|
pel6413
74 posts
|
Topic: Collaborations /
lookin for flash tutor
i’ll be glad to help you guys: pel6413 < a t > gmai…(you know the rest)
p.s. that’s not bad for a first animation
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
Website HELP! (programing)
i usually make flash sites, mainly because i HATE HTML.
but as dazzer commented you really need to know what your doing.
p.s. 10 games in a month is not realistic
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
Programming with Flex
i use it and highly recommend it.
the only disadvantage is that you have to ALT+TAB a lot.
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
Mouse follower code
suppish
i extended it a bit, just create a MovieClip in the library and export it for ActionScript with ball as the identifier
var numberOfBalls:Number = 10
var spring:Number = 0.06;
var friction:Number = 0.8;
var mouse:MovieClip = this.createEmptyMovieClip(“mouse_mc” , this.getNextHighestDepth());
var balls:Array = new Array();
balls
= mouse;
for(var i:Number = 1 ; i <= numberOfBalls ; i++) {
var _mc:MovieClip = this.attachMovie(“ball” , "ball"+i , this.getNextHighestDepth());
mc.x = 0;
mc.y = 0;
mc.xscale = mc.yscale = 10 + 90 * (1-(i / numberOfBalls))
_mc.vx = 0;
_mc.vy = 0;
_mc.spring = spring;
_mc.friction = friction;
_mc.toFollow = balls[i-1];
mc.onEnterFrame = function() {
var ax:Number = (this.toFollow.x – this.x) * this.spring;
var ay:Number = (this.toFollow._y – this.y) * this.spring;
this.vx += ax;
this.vy += ay;
this.vx *= this.friction;
this.vy *= this.friction;
this.x += this.vx;
this.y += this.vy;
};
balls[i] = _mc;
}
mouse.startDrag(true);
|
|
|
pel6413
74 posts
|
Topic: Technical Support /
Chat Server / badge server
i have the same problem but when i do what notagamer suggested i get the following:
IPHost = chat.kongregate.com
Port = 5222
Server appears to be running on port(s) [NONE]
how can i solve this?
|
|
|
pel6413
74 posts
|
|
|
|
pel6413
74 posts
|
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
need help
try replacing this:
root.coin.visible = false;
with this:
_root.coin.removeMovieClip();
the collision is still detected when the coin is not visible
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
Looking for people for Actionscript and Art
i’m willing to donate some coding if i like the game idea but i’m very busy so i cant work on this full time
|
|
|
pel6413
74 posts
|
|
|
|
pel6413
74 posts
|
Topic: Game Programming /
need help
what doesn’t work?
|