Frictional Games Forum (read-only)
Basic attack simulator. - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Frictional Games (https://www.frictionalgames.com/forum/forum-3.html)
+--- Forum: Off-Topic (https://www.frictionalgames.com/forum/forum-16.html)
+--- Thread: Basic attack simulator. (/thread-18251.html)

Pages: 1 2 3


Basic attack simulator. - Ghieri - 09-10-2012

So yeah, I got back into Flash CS3 after 3 or so years, and made this in about 20 minutes.

[Image: Battle01.png]

If you haven't guessed, it's a rudimentary attack system. Though I am going to modify it with turn-based mechanics and other cool stuff. Stay posted!


RE: Basic attack simulator. - Adny - 09-10-2012

So um... what's this for?


RE: Basic attack simulator. - Ghieri - 09-10-2012

Practice, mostly. What you are looking at is a very very bare-bones, code-y, programmer-arty version. It will look more polished later on.

I already have the turn-based system working, which took longer than I would have liked(Since it's pretty simple) but I'm re-learning this stuff as I go.


RE: Basic attack simulator. - Zaffre - 09-10-2012

NO JUMPSCARE NO FUN

Please don't stab me in the eyes, I was only joking!


RE: Basic attack simulator. - Ghieri - 09-10-2012

17 lines of code quickly turned into 117 lines. Haha.

Quote: Please don't stab me in the eyes, I was only joking!
You only say that because you are eye-stab proof.


RE: Basic attack simulator. - Zaffre - 09-10-2012

I suppose so Smile. And I know the feeling on coding. To do a simple scriptit can take a lot more effort than you think. This script took four hours but it was simple in-game.


RE: Basic attack simulator. - Ghieri - 09-10-2012

Indeed. I'm somewhat used to the language, so it isn't that bad for me. I just am REALLY rusty on it.

Here's a video of the current build(No audio, sorry):





Features:

-Damage modifier system.
-Rudimentary turn-based system with victory notification.
-Status updates.
-Pretty stable so far.

What I hope to add in the near future:

-Crit hit chance and luck rolls for who goes first.
-Rudimentary AI.
-Extra combat options(Heal, defend, etc)


RE: Basic attack simulator. - Adny - 09-10-2012

How am I supposed to player my potion card when there is only an attack button?

Looks good Big Grin


RE: Basic attack simulator. - Kreekakon - 09-10-2012

Action Script 2.0, or 3.0?

I'm actually mildly experienced in terms of ActionScript. If you have any problems feel free to bring them up with me, and I'll see what I can do Smile

See some of my work here:
http://www.frictionalgames.com/forum/thread-18137.html


RE: Basic attack simulator. - triadtimes - 09-10-2012

(09-10-2012, 06:01 AM)Aldighieri Wrote:

I was skimming through and I thought this was going to be a Let's Play.
I'm kind of disappointed.

Still! Good luck with this!