Page 1 of 2
Noob trying to do something!
Posted:
Mon Jun 20, 2011 1:08 pm
by keksplace
Hello there.
I downloaded Adobe flash cs5 as trial, yesterday, so i can try to learn something and create games later but i have some problems with the code and im not sure what to do.
I tried to make a quick noob-like game to learn stuff but i got stuck at something, i created a ball that moves around but it doesnt move like i want, i want it to move with gravity on the floor like so it can jump, instead it moves like u would look from above, i dont know the code to make it jump. Also i want it to not cross the "walls" (the edges of the background) or if it crosses to come on the other side, now it moves through the "walls" further away from the background. Also even like it is now, the ball wont move after the "introduction" unless you click on the screen with the mouse, why it happens like that? Ill upload files to rapidshare cos .fla extension isnt allowed here i see.
The link is:
https://rapidshare.com/files/1615050429/ballgame1.rar
Re: Noob trying to do something!
Posted:
Wed Jun 22, 2011 6:19 pm
by keksplace
Hello again.
I learned a few things since last post, and made a new "game".
I leanred how to jump, and move around, also this time its not with a ball but with a real character (samus), also when she jumps and move, it animates though its a bit noobish as im new. The animations i have done myself but i used samus character from a post on this forum, The code is writen in AS3 from some tutorials that ive watched, if you let me alone to write the code again i wont know but i understand what most lines does.
But i have some new questions and i cant find anywhere else. For exemple when samus moves right and does the movement animation, at some point it stops tho i still keep moving, so how i make the animation repeat itself if i still keep moving?
The download link for my .fla and .swf files is this:
https://rapidshare.com/files/1541516186/omg.rar so you understand better what im talking about.
Re: Noob trying to do something!
Posted:
Thu Jun 23, 2011 10:49 am
by Renara
Hi there, just wanted to note that it should be possible to post .swf and .fla files to the site now; my mistake in forgetting that file-types need to be enabled separately for some reason! Anyway, let me know if you have any other trouble posting files here for people to see.
Re: Noob trying to do something!
Posted:
Sun Jun 26, 2011 3:24 pm
by keksplace
I did some more progress. You can move with arrow keys and shoot with Z key.
But im not sure it wont allow you to do anything untill you click the screen with the mouse or why if you click only "z" key first the bullets starts animating on top of the screen, you have to move first iin order for bullets to animate correctly.
Hmm not sure why that happens.
Re: Noob trying to do something!
Posted:
Sun Jul 03, 2011 11:43 pm
by ANooB
I like, brah. As for collision, just make an invisible object and line ur walls with it. I dunno the first thing about flash, but that's how I'd go about doing it, lol. As for trial, get a Keygen. Keep at it. I'm sure you'll soon be along the ranks of Corta or Gorepete.
Re: Noob trying to do something!
Posted:
Sat Jul 09, 2011 6:41 pm
by keksplace
Hello again.
Thanks for the support.
I have made some more progress in learning actionscript3.
I added an enemy to a certain point, made him patrol between 2 points (x=400 and x=750, pixels), gave him gravity, and also made him so if he sees samus at a certain distance (300 pixels) he will follow her.
It might be a bit buggy, and i fucked up the floor cos i tried to test the new codes and that floor was too short
.
Re: Noob trying to do something!
Posted:
Thu Jul 21, 2011 2:36 pm
by keksplace
Howdy.
I added enemy Health (invisible), it takes 5 bullets to kill the enemy. Seems like a small step, but its huge for newby.
Re: Noob trying to do something!
Posted:
Sat Jul 30, 2011 3:02 pm
by keksplace
Added health bar, attack animation, and better death animation for the enemy.
Re: Noob trying to do something!
Posted:
Wed Aug 03, 2011 6:37 pm
by worms
cos .fla?? Are you from poland??? sorry for questing but it stays in my head...
Re: Noob trying to do something!
Posted:
Fri Aug 05, 2011 6:37 pm
by FuzzFace
awesome work so far!
Re: Noob trying to do something!
Posted:
Tue Aug 09, 2011 9:51 am
by GolanTrevize
Don´t worry, the work is fantasic for someone with your experience. About your problems:
1You have toclick in the game to play in EVERY flash, so it isnt a problem.
2The bullets on the top: I havent seen the code but i think you have the bullets in one movie clip and the bullet in another, and when you move, you assign samus coordinates to the bullet. If you assign also the cordinates at the beggining, when bullet´s clip loads, you wont have that bug.
Re: Noob trying to do something!
Posted:
Tue Aug 09, 2011 9:51 am
by GolanTrevize
Don´t worry, the work is fantasic for someone with your experience. About your problems:
1You have toclick in the game to play in EVERY flash, so it isnt a problem.
2The bullets on the top: I havent seen the code but i think you have the bullets in one movie clip and the bullet in another, and when you move, you assign samus coordinates to the bullet. If you assign also the cordinates at the beggining, when bullet´s clip loads, you wont have that bug.
Re: Noob trying to do something!
Posted:
Sun Aug 14, 2011 10:40 am
by keksplace
Sorry for the late response, but i wasnt home for 10 days.
Thanks for the support.
Im currently working in vcam and a melee attack for samus.
Im from romania.
Re: Noob trying to do something!
Posted:
Wed Aug 24, 2011 11:55 am
by keksplace
So i added melee attack which is on button X, (the shoot is on Z), added vcam only on x axis but its not mooving so smooth so ill work on it more. Also fixed some animation priorities like if you jump and move at the same time, it will play the jump animation.
Re: Noob trying to do something!
Posted:
Wed Aug 24, 2011 5:49 pm
by BlueLight
so it seems that you melee attack does damage as it's played. What i would do is hit detection or is the sprite is so close count as a hit when the clip hits X
Re: Noob trying to do something!
Posted:
Wed Aug 24, 2011 6:19 pm
by keksplace
The melee attack does its damage when the knife hitTestObject the enemy.
I wana do it with hitTestPoint but for some reason i cant get it to work.
Im not sure if i answered your question, im not used with the technical language of this program yet.
Anyway thanks for your interest
Re: Noob trying to do something!
Posted:
Sat Sep 03, 2011 5:30 pm
by keksplace
Added one more enemy, added samus death animation and i modified some stuff around.
Re: Noob trying to do something!
Posted:
Sun Sep 04, 2011 6:56 pm
by Zaraki
Nice work! How complex are your plans with it? Any plans on a level by level basis with some new enemies? If you need any help, let me know.
Re: Noob trying to do something!
Posted:
Sun Sep 04, 2011 9:26 pm
by keksplace
Thanks.
I plan to make a game, with 3 levels and 3 bosses and a few different type of enemys.
Problem is i dont know how to draw, but i hope i can solve this problem.
Re: Noob trying to do something!
Posted:
Fri Sep 09, 2011 1:56 am
by whatdontlookaatme
Game looks nice, a few glitchy plaaces like when the two enemys are standing in one spot but overall good game, cant wait to see it finished