a3lex33
133 posts
|
Topic: General Gaming /
Fallout like game
Hello everyone. I am a big fan of fallout games, especially the first and second ones. Since i completed 1, 2, 3 and NV, can anyone suggest a game like fallout, but with similar game mechanics? With main hero running around cities, getting side quests, hero upgrades, like in normal RPGs, but with huge possibilities to explore, interesting secrets, good gameplay, world where you can do anything(and mess up easily) and solid, all covered, storyline? I dont think that post apocalypse matters that much, it was just an atmosphere, story set.
If anyone did not play fallout, can you just suggest a game which fits the description above?
|
|
|
a3lex33
133 posts
|
Topic: General Gaming /
The Great Graphics Debate
It annoys me when game have nothing to offer but graphic. Are they expecting me to get a modern pc(or upgrade it) only to be able to play a bad game?
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
How much memory?[as3]
Hello everyone. Can anyone tell me if how much memory does empty array variable take? I can only assume, that they dont take any(besides variable declaring) because actionscript tables work like stack/lists, which are both taking dynamic memory(and that will also mean that array size will grow, when elements are added).
I am asking this because i am worried if the game memory size will grow up very quick or not. For example, i have to create multiple copies of pathfinding algorythm and make them work at same time. Before i needed only two values for each “cell” to make pathfinding work. But now i have to create two arrays of same variables for each “cell”, so different copies of algorythm wont interfere with each other and that way, i am afraid, size of game will rise dramatically.
Please, correct me if it is hard to understand me or i have a lot of spelling errors.
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
Show us a screenshot of what you're working on!
Originally posted by qwerber:
Added a really neat (and fast) pathfinding AI.
https://dl.dropboxusercontent.com/u/17828135/index.html
I personally havn’t been able to outrun it yet.
Sorry, i somehow managed to make zombies(they are zombies, right?) stuck. To do this just go through different rooms. In some time, only one zombie will chase you and you can easily outsmart it by moving around it at red thingy. Just in case you are supposed to never outsmart the zombies.
|
|
|
a3lex33
133 posts
|
Topic: Game Design /
Trading in game.
Hello everyone. I am making a RTS game. To make gameplay better and have more fun, i want to add a trading system inside game. Can you please answer some questions, so i can see if what people would love to see in game:
1)Is trading between players(computer players) a good idea or bad idea overall?
2)Since i want to have only one resource type in the game, what could players trade with each other? I can think of trading units, technologies, protection(pay to make a computer player send force to defend you or attack someone) and even bases. Can you think of something else?
3)Is the idea of black market(higher prices, goods coming from “nowhere” and almost instantly) a good idea or a bad idea?
4)Lastly, shall someone be able to trade with his enemy? :)
|
|
|
a3lex33
133 posts
|
Topic: Game Design /
Flash games with good stories
http://www.kongregate.com/games/Zillix/endeavor
http://www.kongregate.com/games/greg/thousand-dollar-soul-321811
http://www.kongregate.com/games/godlimations/vorago
“No one has to die” was already mentioned.
You can also try the submachine series, but they are not yet complete and it will take you 8 quest games to get into plot.
And “Company of myself” 1 and 2.
Endeavor gives you a good plot twist(2, actually), but does not go deep in it.
Thousand dollar soul story is really good.
Vorago is like “The mist” movie, but story keeps you thrilled.
Those were the best examples i could remember. Some flash games have an interesting story, but mess up the end of it. Like this:
http://www.kongregate.com/games/Peltast/why-am-i-dead
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
[as3]Making calculations step by step
It is not global state. Pathfinder is a class. When i want path to get calculated, i create a new object of that class and remove it after pathfinding is done. So the variables shall not interfere each other, right?
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
[as3]Making calculations step by step
Thank you for your advices, Drakim and BobJanova. I also did a test and noticed, that there are about 120 pathfinding calls for 9 units in no more than a minute. Most of them are for small distance(another object blocked first cell into path), result path is 2-3 cells long. Will any of methods be usefull for that case(well, they will be usefull, but for how much)?
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
[as3]Making calculations step by step
function PathFind(x1, y1, x2, y2, w2, h2)
{
var curc = Global.map[x1][y1];
var dest = Global.map[x2][y2];
var firstc = curc;
var f;
var g;
var h;
var maxd = Global.Dist(x1,y1,x2,y2);
var scan = 0;
w1 = w2;
h1 = h2;
opened = [];
closed = [];
curc.g = Global.map[x1][y1].Occupied.length;
curc.f = ManH(x1,y1,x2,y2);
curc.h = curc.f
while (curc!=dest)
{;
scan++;
GetNei(curc.x, curc.y);
for (var i = 0; i<nei.length; i++)
{
var t = nei[i];
if (t!=null)
{
g = curc.g + 1;
h = ManH(t.x,t.y,x2,y2);
if (minr==undefined)
{
minr = h;
minc = t;
}
else if (h<minr)
{
minr = h;
minc = t;
}
f = g + h;
if (isOpened(t)||isClosed(t))
{
if (f<t.f)
{
t.g = g;
t.f = f;
t.h = h;
t.Parent = curc;
}
}
else
{
t.g = g;
t.f = f;
t.h = h;
t.Parent = curc;
opened.push(t);
}
}
else
{
closed.push(t);
return BuildPath(minc, firstc);
}
}
closed.push(curc);
if (opened.length == 0)
{
return [];
}
opened.sortOn('f', Array.NUMERIC);
curc = opened.shift();
}
return BuildPath(dest, firstc);
}
The map is 2 dimensional array.
EDIT: GetNei – puts all cells next to curc cell into nei array.
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
[as3]Making calculations step by step
Well, i tested it on a small space, where all of 15 objects would block each others path. Even with them waiting few seconds(to check if path is clear again) before calculating path again they have to run pathfinding algorythm oftenly. So that can be counted as path being countinuously recalculating.
Even if this is an error, there will be problems with hundreds of them. Can you help me on that topic?
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
[as3]Making calculations step by step
In my game i have multiple objects, which use pathfinding almost always. If i have at least 15 of them, game is almost unplayable – pathfinding calculations are always freezing it for little time, but it is annoying.
A book suggests making an array of calculations and an object(a class), which will go through that array and make some calculations on each element of array. That way everything shall go smoothly and without freezes, as ammount of calculations shall be limited to the number where it wont freeze.
Now, for the questions:
1)What is a good ammount of calculations which game can do without freezing? How can i find it? Obviously, some processors are faster and some are slower, so is there any way to adjust it for each processor?
2)Is it the good way to solve the problem of freezes or is there a better solution? Or did i get the idea wrong and i shall do something else there?
|
|
|
a3lex33
133 posts
|
|
|
|
a3lex33
133 posts
|
Topic: General Gaming /
Scariest Games on Kongregate
http://www.kongregate.com/games/superflat/lone-survivor-demo?acomplete=lone+sur
The full version can be found on internet. This game is really scary sometimes + surprises. And it is interesting.
|
|
|
a3lex33
133 posts
|
Topic: General Gaming /
What multiplayer game would you reccomend on Kongregate
Remnants of skystone. It is awesome, though game is dead now.
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
Unity discontinues Flash support
Well, it is sad but i am sure there is nothing to worry about. Flash was used for years. If one platform stops supporting it and Adobe have another tasks to do it wont stop flash from being used.
|
|
|
a3lex33
133 posts
|
Topic: Cloudstone /
WolfxPack Recruiting
Applied, level 24 monk. I will be online oftenly, helping the guild.
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
Any good AI(in strategy game) reading?
Hello. I am trying to create a strategy game and now i have to start creating computer player. I tried searching for anything to read, if how to create AI for strategy games, but most of the articles were too general and talked about main ideas. Do anyone have a link for a book or an article, which describe process of creating AI for strategy game on something more practical or even describe it all step by step?
|
|
|
a3lex33
133 posts
|
Topic: Game Design /
[Questions] Difficulty settings
1)I prefer C over all of other ones. Why? Because [A] and [B] usually make game easier/harder in a bad way. When someone includes difficulty levels in game, it usually only change enemy or player stats in one or another way. Less health for player, less time to do something, more stats for enemyes e.t.c. But C changes it all. With C you can have different playstyles – rushing through the game or exploring. C makes game suitable for both hardcore gamers and those who dont want to dig in. You also get much better rewarding feel when completing optional tasks.
2.1)Maybe a little, a very little. Because players might get dissapointed that some of their content is blocked and there is no way to change it.
2.2)Yes, but it increase leaderboard size dramatically.
2.3)Rewards shall be same, else it wont be the hard level, it will be hard battle on easy level.
3)Hard level may give some bonus to player, and switching to easier level could give a penalty of removing the bonus.
4.1)Again, i would enjoy the game with C only much more
4.2)4
4.3)It shall be separated from main content, somewhat like in Mardek, if talking about flash games. Repeating the same missions is boring.
5)Seems good if you wont tell player about it
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
Creating image by name
How can i create image(graphic) by its library name? If it were movieclip, i could use getDefinitionByName function. But i think that creating movieclip and class for it only to create an image is rather too big and it will slow everything down, wont it?
|
|
|
a3lex33
133 posts
|
|
|
|
a3lex33
133 posts
|
Topic: Cloudstone /
Tips and Tricks
That feeling when you understand that you are level 19 and you dont know anything about house/production.
|
|
|
a3lex33
133 posts
|
Topic: Cloudstone /
FAQ/AMA about Cloudstone
Great post. Is there a way to reduce gauntlet cooldown? Because by the time cooldown goes off completing all 5 levels of gauntlet for equipment set will be no longer needed – you will be much higher level.
|
|
|
a3lex33
133 posts
|
Topic: Cloudstone /
"Add me" topic
Add me please. Guess i will be staying at game for a while.
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
AS3, made error i cant trace, can anyone help?
Thank you both, added to stage event and function like in Ace_Blue example helps – stage gets defined.
|
|
|
a3lex33
133 posts
|
Topic: Game Programming /
AS3, made error i cant trace, can anyone help?
In my game i made an error which i cant fix now. In it i have a document class. It extends MovieClip, but it is not on stage and there is not a movieclip called the same name inside library.
Lately, stage is null inside that class. Before it was not and i could work with it. But now nothing works. Error appeared after some of last changes – adding new class, new objects inside library and some minor changes.
I cant post the code of class because its 500+ lines plus and i dont know if which of them are needed to fix the error. Can anyone help me? I google the problem and got few results saying that stage might not be loaded by the moment of creating class. I tried doing
while (stage==null)
{
trace(stage);
}
which shall do basic action while stage is null, but it hangs the computer.
|