Noob trying to do something!

Post and discuss creative ideas

Noob trying to do something!

Postby keksplace » Mon Jun 20, 2011 1:08 pm

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
keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby keksplace » Wed Jun 22, 2011 6:19 pm

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.
keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby Renara » Thu Jun 23, 2011 10:49 am

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.
Renara (team twitter | newgrounds)
Team Lead Programmer
Lok Team Member
Site Administrator
User avatar
Renara
Foxy Admin
 
Joined: Fri Jan 08, 2010 4:16 pm

Re: Noob trying to do something!

Postby keksplace » Sun Jun 26, 2011 3:24 pm

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.
Attachments
Click to Play
(Javascript Required)

mysamus3.swf [ 39.48 KiB | Viewed 4990 times ]

mysamus3.fla
(633.81 KiB) Downloaded 22 times
keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby ANooB » Sun Jul 03, 2011 11:43 pm

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.
Spruce your games up using free vector content: viewtopic.php?f=45&t=7109

There're no such things as mistakes, just happy little accidents. ~Bob Ross
User avatar
ANooB
 
Joined: Mon Aug 09, 2010 12:58 am

Re: Noob trying to do something!

Postby keksplace » Sat Jul 09, 2011 6:41 pm

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 :P.
Attachments
Click to Play
(Javascript Required)

keks.swf [ 72.89 KiB | Viewed 4515 times ]

keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby keksplace » Thu Jul 21, 2011 2:36 pm

Howdy.
I added enemy Health (invisible), it takes 5 bullets to kill the enemy. Seems like a small step, but its huge for newby. :P
Attachments
Click to Play
(Javascript Required)

keks23.swf [ 76.28 KiB | Viewed 4203 times ]

keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby keksplace » Sat Jul 30, 2011 3:02 pm

Added health bar, attack animation, and better death animation for the enemy.
Attachments
Click to Play
(Javascript Required)

gigel.swf [ 91.67 KiB | Viewed 4142 times ]

keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby worms » Wed Aug 03, 2011 6:37 pm

cos .fla?? Are you from poland??? sorry for questing but it stays in my head...
User avatar
worms
 
Joined: Tue Jul 26, 2011 5:11 pm

Re: Noob trying to do something!

Postby FuzzFace » Fri Aug 05, 2011 6:37 pm

awesome work so far!
User avatar
FuzzFace
 
Joined: Sat Sep 04, 2010 1:20 am

Re: Noob trying to do something!

Postby GolanTrevize » Tue Aug 09, 2011 9:51 am

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.
Current project: Dark moon (Artists needed)
User avatar
GolanTrevize
 
Joined: Wed Jul 20, 2011 3:32 pm

Re: Noob trying to do something!

Postby GolanTrevize » Tue Aug 09, 2011 9:51 am

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.
Current project: Dark moon (Artists needed)
User avatar
GolanTrevize
 
Joined: Wed Jul 20, 2011 3:32 pm

Re: Noob trying to do something!

Postby keksplace » Sun Aug 14, 2011 10:40 am

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. :P
keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby keksplace » Wed Aug 24, 2011 11:55 am

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.
Attachments
Click to Play
(Javascript Required)

snap.swf [ 99.19 KiB | Viewed 3299 times ]

keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby BlueLight » Wed Aug 24, 2011 5:49 pm

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
User avatar
BlueLight
Gangs n' Whores Developer
 
Joined: Sat Jun 04, 2011 8:23 am

Re: Noob trying to do something!

Postby keksplace » Wed Aug 24, 2011 6:19 pm

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 :P
keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby keksplace » Sat Sep 03, 2011 5:30 pm

Added one more enemy, added samus death animation and i modified some stuff around.
Attachments
Click to Play
(Javascript Required)

omg.swf [ 104.77 KiB | Viewed 3082 times ]

keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby Zaraki » Sun Sep 04, 2011 6:56 pm

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.
"It has the form but not the spirit.But if something has the spirit, it is sacred enough."

"As long As I am still in the fight physically, mentally, and emotionally, I can never lose."
User avatar
Zaraki
 
Joined: Sat Sep 03, 2011 5:15 pm
Location: Curently in Okinawa, Japan

Re: Noob trying to do something!

Postby keksplace » Sun Sep 04, 2011 9:26 pm

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.
keksplace
 
Joined: Sun May 01, 2011 1:28 pm

Re: Noob trying to do something!

Postby whatdontlookaatme » Fri Sep 09, 2011 1:56 am

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
User avatar
whatdontlookaatme
 
Joined: Fri Jul 22, 2011 6:52 am
Location: Various Places

Next

Return to Discussion



Who is online

Users browsing this forum: No registered users