Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 My Mega Man X project
Index -> Programming, Turing -> Turing Submissions
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tyr_God_Of_War




PostPosted: Sun Nov 23, 2008 9:40 pm   Post subject: My Mega Man X project

Here is my mega man program. I will be adding maps for text files soon, The targets are for testing the buster. Could someone please give me advice on turning the MegaMan type and associated procedures into a class, if its is worth it that is. Also, any advice on how to make sure the shots come from X's gun? I seem to have the bullets coming out of his knee when he is jumping.
Oh the controls are shift to jump and ctrl to shoot, as the keyboard at school couldn't handle 3 buttons pushed a the same time any other way.



MegaManX.rar
 Description:
Here it is.

Download
 Filename:  MegaManX.rar
 Filesize:  32.76 KB
 Downloaded:  579 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
WaluiJ




PostPosted: Mon Nov 24, 2008 7:43 am   Post subject: Re: My Mega Man X project

RARARARSADSDASIYTEWYETIU THIS ONE IS SO BAD RRRRRRRRRRRRRRRGH ASDFJ:ASDKLJFSAKL:JDFL:KSADFJ:


Actually pretty good.
ecookman




PostPosted: Mon Nov 24, 2008 8:18 am   Post subject: RE:My Mega Man X project

please post with substance Waluij



and ill try to help out as much as possible i am still a big fan of the megaman series...lol ....motivation ^^



for the problem wiht the shots comming out of the knees just locate it +a certain amount like

locate(X,Y+5) i think... or make set a varaiable for the y and make it the shot location + something


shot location:= [playerlocation] + [whatever more]


lol hope i am right
S_Grimm




PostPosted: Mon Nov 24, 2008 11:49 am   Post subject: RE:My Mega Man X project

Right now, your shot is always drwan at the same y location. you need toi include code to make it change based on Megaman's location.
code:

if megamany == groundy then
bullety = megamany - 5
end if
if megamany != groundy then
bullety = megamany - 5
end if
Tyr_God_Of_War




PostPosted: Mon Nov 24, 2008 5:52 pm   Post subject: RE:My Mega Man X project

I guess I should make an array for each pose where he is shooting and note the bottom of the gun. I was just wondering if here was a quick fix.
How should i do the transparent images behind X when he dashes? I cannot find a way to do that.

Now onto charge shots!

PS: Should I try and add more comments to it?
Edit: Now I have one level of charge shots! they pass through target to hit the targets behind them!

Oops. I have an extra 0 in the delay. I tried to fix it but didn't work. Just delete the zero in the delay yourself please.



MegaManX.rar
 Description:
Here you go. *Fixed*
*Not fixed. Delete a zero in the delay*

Download
 Filename:  MegaManX.rar
 Filesize:  36.25 KB
 Downloaded:  154 Time(s)

Tyr_God_Of_War




PostPosted: Tue Nov 25, 2008 6:20 pm   Post subject: Re: My Mega Man X project

I am double posting because I can't get the forum to change the download.
Also X seems to shoot a bullet backward sometimes but I can't reproduce it reliably.
It might be when He has momentum in one direction but is facing another.



MegaManX.rar
 Description:
For what I hope is the last time today

Download
 Filename:  MegaManX.rar
 Filesize:  39.51 KB
 Downloaded:  145 Time(s)

Tyr_God_Of_War




PostPosted: Thu Dec 04, 2008 4:30 pm   Post subject: Re: My Mega Man X project

No comments? Sad
I now have basic maps added in. Very Happy
They still are slightly buggy. err.. very buggy.

I would like some feedback. Please.

Edit: some minor fixes. Now the space bar fires, but it is customizable.



MegaManX Fin7.t
 Description:
Add this to the rest of the rest of the files.

Download
 Filename:  MegaManX Fin7.t
 Filesize:  16.41 KB
 Downloaded:  158 Time(s)


MegaManX.rar
 Description:
Now with platforms!!

Download
 Filename:  MegaManX.rar
 Filesize:  43.36 KB
 Downloaded:  140 Time(s)

SNIPERDUDE




PostPosted: Fri Dec 05, 2008 9:41 am   Post subject: RE:My Mega Man X project

I really don't have much to say, cool game though.
Sponsor
Sponsor
Sponsor
sponsor
dc116




PostPosted: Fri Dec 12, 2008 10:57 pm   Post subject: Re: My Mega Man X project

At first glance, the game is pretty good. I'll take a look at the code and get back to you later.
Tyr_God_Of_War




PostPosted: Tue Dec 16, 2008 9:58 pm   Post subject: Re: My Mega Man X project

Now with scrolling!
And backgrounds!
And (once I rip the wav files) sound effects!



MegaManX.rar
 Description:
Dun dun dun daaa!

Download
 Filename:  MegaManX.rar
 Filesize:  86.6 KB
 Downloaded:  144 Time(s)

dc116




PostPosted: Wed Dec 17, 2008 6:00 pm   Post subject: RE:My Mega Man X project

How come the program doesn't work for me? When I open it, it's all written in illegal characters.
ecookman




PostPosted: Wed Dec 17, 2008 6:11 pm   Post subject: RE:My Mega Man X project

nice job
S_Grimm




PostPosted: Wed Dec 17, 2008 8:06 pm   Post subject: RE:My Mega Man X project

hmmm. I may be missing something here, but the jump no longer works for me...

otherwise good job!

hmmm... Did you try different levels yet? Like, oh say when X's score is at 5000, draw a new background or something?

Also, did you think of making it a two player game? where I can shoot at my friends and they can shoot back?
WaluiJ




PostPosted: Fri Dec 19, 2008 4:51 pm   Post subject: Re: My Mega Man X project

I noticed you took out the classes. Thanks for making me understand this program a little more! (Soon I WILL fully know the difference between a procedure oriented and object oriented language!)

inb4longexplanationaboutprocedure/objectorientedprogramming.
Tyr_God_Of_War




PostPosted: Fri Dec 19, 2008 8:59 pm   Post subject: Re: My Mega Man X project

Due to insomnia, my program is now Object oriented. I also was forced to rewrite the backgrounds because they ran far to slow on the school computers. Multi-player would not be too hard to add, once I set up an environment class. I also wrote some code to help create the background pics, as well as some useful functions to get data from a file. The actual code is mostly the same, just with different variable names and location inside the program. I plan on condensing the multitude of pics into a single pic and a text file, advice is welcome.

Oh, I keep playing with different controls to find out what my keyboard can handle. The defaults are in the create proc of the MMX class.



MegaManX_OOP.rar
 Description:
New, and hopefully improved.

Download
 Filename:  MegaManX_OOP.rar
 Filesize:  125.06 KB
 Downloaded:  159 Time(s)

Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 16 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: