No problem yet…
===============================================
[COLOR=Silver]**
The Game…**
Yes, the titles a bit funky, I do agree. But that’s exactly what I plan on making. A strategy game utilizing ancient Asian history with a slight mix of fantasy.
The History…
Despite the fact that this is a new post, I have been trying to develop it the first day I bought flash. I have a few sample images at the end.
I am not a total “noob” trying to make something completely impossible. I’ve been programming with AS 2.0 for quite a while and feel its about time that I start on this project I had in mind since the beggining.
**Requirements…
**I do not plan on using the mouse at all. This project will be using only the directional keys, an Enter button, and page up and page down.
[COLOR=Black]
[/COLOR] **[COLOR=Black]Problem 1 [SOLVED][/COLOR]
**In this strategy game, I want it all done in an isometric realm, but to start it simple I will begin by making it on a checker style board.
My problem is this, how should I go about with the grid?
I think Arrays are they way to go, but because I’ve never actually made a strategy game based off of a grid this will be tough for me.
Intuitively, I’m thinking of using either 1 array that’ll encompass the whole map or use 1 array to hold all the column arrays to make a matrix for this game.
I don’t know what do you guys have to say? How should I go about making the “grounds” for this game?
[COLOR=Black]
Problem 2 [SOLVED][/COLOR]
I have run into a sound problem now. I guess what my current game does is, it overlaps sounds and thus either skips the current sound or skips the entire next sound.
The scenario goes something like this: I press an ability and a sound is heard. If I press the button fast, it either skips or completely ignores my button presses.
In my ideal world, I would like overlapping sounds where for instance:
Sound A would be : A, B, C D (womens voice)
Me clicking a button Three times that evokes the Sound A:
TimeLine:
A, B, C, D.
A, B, C, D.
A, B, C, D.
Please help.
My current code is the following:
onEnterFrame …
if (button pressed)
{
_root.[movieclip holding sound].gotoandPlay(2);
}
…
//In a MC called [movieclip holding sound]
Frame 1 = stop(); //no sound
Frame 2 -> Frame 32 = SoundA
Fram 32 = goToAndStop(1);[/COLOR]
[COLOR=Silver][COLOR=Black]Problem 3 [ SOLVED ] 4.28.08[/COLOR]
I have a new problem with the A.I. now…
This is more of a general problem, I don’t need code, but rather a direction of structure.
How would I go about doing something like this?
An enemy has an “idle” position, but when the hero is in range it commits to 1 of several attacks. It also has an “idle-relief” attack that goes off after several few seconds have passed while in its “idle state” regardless of the heros position. Finally an attack that goes off if hero is simply avoiding or camping out in the corner of the screen after several seconds.
How would I go about making a clean structure for these attacks?
Sorry if anything here is confusing.[/COLOR]
===================
Thanks for the help.
. . .
The character animation, already created in the past…
… I just need to set it all up now.
This was a “Top down” view of this game I made a few years ago.
This was the hinted title page of my game, and to the right was an in game comic.
-kpxnamja