HOME | DD

Published: 2017-03-29 13:37:44 +0000 UTC; Views: 2303; Favourites: 36; Downloads: 8
Redirect to original
Description
Since people seem to be interested in code samples, hereβs the code for a simple foe in EBF5.Bigger foes differ in that they have more complicated attack patterns and more attacks.
Related content
Comments: 20
PandaSpacePirate [2017-04-27 09:48:19 +0000 UTC]
Is there a name for that coding technique you use for status and elements? I use it all the time but don't know what it's called. I'm referring to the way eleRes is an array and the variables FIRE, ICE, etc are constants that are equal to the index of the element.
π: 0 β©: 1
KupoGames In reply to PandaSpacePirate [2017-04-27 10:56:04 +0000 UTC]
Enumeration I think. AS3 doesn't have any formal support for it though.
π: 0 β©: 0
EchosSilence [2017-04-10 00:02:24 +0000 UTC]
I'm curious, does anyone know what programming language this code's in?Β
π: 0 β©: 1
AkuzukiDaichi [2017-03-31 13:48:59 +0000 UTC]
When I was played EBF I,I was think about how did you make the code...
Now I see it!Thanks!
Keep up,we still waiting for it!
π: 0 β©: 0
Cyber-Angel-Rowan [2017-03-31 07:32:02 +0000 UTC]
Nice! I've always wondered what makes the foes tick. And it turns out to be neat, well-ordered lines of code. Who knew?
π: 0 β©: 0
DarkGrievous7945 [2017-03-31 06:23:54 +0000 UTC]
Neat!
Not really an abstract (especially from a programmer's eyes), but...yeah... tbh, DA's categories suck. Either I just don't understand them, or I am great at creating stuff that doesn't fit hardly ANY of them...
π: 0 β©: 0
ryft82 [2017-03-29 22:08:33 +0000 UTC]
It's nice to see code samples popping through DA. Sort of hoping they add a category for it at some point. Thanks for sharing ππΌ
π: 0 β©: 1
DarkGrievous7945 In reply to ryft82 [2017-03-31 06:32:44 +0000 UTC]
ikr...
I'm not even sure for "normal" art they have enough categories. I'm constantly struggling to find one I believe my stuff fits under... /:
I used designs & interfaces > other on this:
darkgrievous7945.deviantart.coβ¦
(oh, funny story, I've since released the source code of that function!)
But yeah, they should add a thing for code...
and it is cool people are putting it here. (though I was unaware, in general it was happening)
Some may disagree, but I do very much see code as an art form. The irony is its an art form that MOST people do not ever get to appreciate!
π: 0 β©: 0
testabuddy05 [2017-03-29 18:09:51 +0000 UTC]
ahh i see that means our characters hit the monsters then it will start receiving damage and it will change its appearance when its badly hurt
π: 0 β©: 0
FlamerXMagofire [2017-03-29 17:37:29 +0000 UTC]
I'm interested in seeing what kind of mumbo jumbo smart people like you conjure to make games, so I find this pretty cool I guess I secretly hope to learn via imprinting
π: 0 β©: 0
GoldBlockIngot [2017-03-29 16:45:22 +0000 UTC]
As someone currently entering the field of code this looks very interesting! I can understand more than I thought I could
π: 0 β©: 0
Dragonsfriend90 [2017-03-29 15:27:33 +0000 UTC]
BOOM <<< ma brain xD
But a game is consisting out of codes xD
π: 0 β©: 0
Sylocat [2017-03-29 14:45:34 +0000 UTC]
I think you want "int = Math.random() * 4" if you have four attacks to select from, right?
π: 0 β©: 1
KupoGames In reply to Sylocat [2017-03-29 16:56:31 +0000 UTC]
I accidentally missed 2 lines of code after that. Last option is selected if the foe is syphoned.
π: 0 β©: 0
The-Psychid [2017-03-29 13:55:44 +0000 UTC]
What program is that for? Β I ask because I'm thinking of getting Toon Boom, which does make flash games.
π: 0 β©: 1
KupoGames In reply to The-Psychid [2017-03-29 16:56:49 +0000 UTC]
It's ActionScript 3 for Flash.
π: 0 β©: 0
TrebleClefy [2017-03-29 13:42:52 +0000 UTC]
I remember playing these games in high school, man.
Seeing a little bit behind the scenes is nothing short of refreshing
Keep up the great work man!
π: 0 β©: 0