Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
September 13, 2010
Image Size
34.8 KB
Resolution
550×400
Link
Thumb
Embed

Stats

Views
795 (1 today)
Favourites
8 (who?)
Comments
27
Downloads
5
×
:iconlildash: come up the idea to make a game about :iconhuszarzsofi: as she fights against ramen :D This is the result :D

The character made by ~LilDash in Gaia. Then I animated its leg in the same lazy way Gaia does.
Add a Comment:
 
:iconlyshadowrex:
LyShadowRex Featured By Owner Apr 17, 2012  Hobbyist Digital Artist
276 is my best!! ¬¬
Great game dude :D
Reply
:iconartcrusade:
ArtCrusade Featured By Owner Sep 28, 2010  Hobbyist General Artist
Do you know www.kongregate.com ? If not, check it out. Flash developers are welcome there! You can find me there as well (same nick).
Reply
:iconnakos:
NAkos Featured By Owner Sep 28, 2010  Hobbyist General Artist
Yeah I know about it. I plan to release my games there aswell (not this, but the better ones).
Reply
:iconartcrusade:
ArtCrusade Featured By Owner Sep 28, 2010  Hobbyist General Artist
Do you use AS2.0 or AS3.0? I made one little game (not finished, though) with AS2.0 that you can find on my page, but I haven't found any nice tutorials to start with AS3.0..
Reply
:iconnakos:
NAkos Featured By Owner Sep 28, 2010  Hobbyist General Artist
I use AS2. I never had problem that I didn't solved with that. Except focus lost on flash. But thats a minor thing. I didn't see much AS3 beginner tutorials.
Reply
:iconartcrusade:
ArtCrusade Featured By Owner Sep 28, 2010  Hobbyist General Artist
My biggest problem is that any key other than the arrow keys and the space bar need an other function than key.isDown(). And that function seems to keep the button pressed, really annoying.
Reply
:iconnakos:
NAkos Featured By Owner Sep 28, 2010  Hobbyist General Artist
I think it works like this in as3 too. while you press the key it is down. Make a counter for bullets for example. If counter is 3 don't create more bullets. If bullet is out of stage make the counter less, so another bullet can appear. I see this solution everywhere... I use this all the time. Even XNA works like this, and Xbox games made by that :D

[link] This is a good tutorial for keys.
Reply
:iconartcrusade:
ArtCrusade Featured By Owner Sep 28, 2010  Hobbyist General Artist
Nice tutorial, thanks ^p^

Another problem occuring to me was to check whether the bullets hit a target. I pushed newly created enemy ships into a dynamic array and used a for..in loop in my missile class to check for a hit. Although the size of the array was bigger than 0 the loop was not even iterated once..
Reply
:iconnakos:
NAkos Featured By Owner Sep 28, 2010  Hobbyist General Artist
Sorry I had an error.
for(element in array){
array[element]._x =
array[element]._y =
array[element].whatever-you-want-to-do
}

This is the proper one.
Reply
:iconnakos:
NAkos Featured By Owner Sep 28, 2010  Hobbyist General Artist
For arrays like this I use:
for(element in array){
element._x =
element._y =
element.whatever-you-want-to-do
}

It go through on full array you don't even have to know the size of it. AND this is one of the fastest loop for arrays, so the code is optimised. For example in this Ramen game the ramens move like this. element._y += speed
Reply
(1 Reply)
Add a Comment: