Metal slug survivor

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

Metal slug survivor

Postby krenisis » Wed Apr 21, 2010 5:16 am

Ok here is metal slug survivor try to last as long as you can...great music,awesome sound effects,graphics....real fun game once you get the hang of it.

ALso i need some advice how do I program it so when i reach a score of 500 it goes to next level.
Attachments
Metalslugturbo.zip
(3.3 MiB) Downloaded 530 times
metal%20slug%20onslaught.jpg
Tutorial Database for all beginners click this link
viewtopic.php?f=4&t=8680
krenisis
 
Posts: 606
Joined: Sat Jul 25, 2009 3:27 pm
Score: 51 Give a positive score

Re: Metal slug survivor

Postby Nanorobot » Thu Apr 29, 2010 9:04 am

Good work! I like it!

And about changing level, you can try something like this.
For example you have var Score. It counts you Score.
So, make in background, When actor Draw -> Script Editor :
if (Score >= 500)
{
LoadGame (...);
}
Or you can change here some attributes of enemys.
if (Score >= 500)
{
Attack +=1;
Speed +=1;
}
And so on. I hope this help you.
Good luck!
I'm not an English, so sorry for my mistakes.
---------------------------------------------------------
I just like to create!
User avatar
Nanorobot
 
Posts: 4
Joined: Wed Nov 19, 2008 2:45 pm
Location: Belarus
Score: 1 Give a positive score

Re: Metal slug survivor

Postby uan » Mon May 03, 2010 3:15 am

great work on this one!
uan
 
Posts: 55
Joined: Wed Apr 28, 2010 7:05 am
Score: 1 Give a positive score

Re: Metal slug survivor

Postby lcl » Tue May 04, 2010 6:27 pm

Fun game, but what if you just set that shooting unable to repeat? It doesn't look very good, if it shoots all the time you keep button pressed... :(
But good work still! :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Metal slug survivor

Postby lcl » Thu May 06, 2010 11:32 am

I mean that you should try something like this:

First add variable called "can_shoot"
Shooting button -> Mouse Button Down -> Left -> Script Editor
Code: Select all
if (can_shoot == 1)
{
    CreateActor(That your bullet actor);
    can_shoot = 0;
}

And then add Mouse Button Up -> Left -> Script Editor
Code: Select all
can_shoot = 1;


I hope this helps you! :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Metal slug survivor

Postby krenisis » Fri May 07, 2010 2:38 am

Thanks alot for the advice I was trying to figure how to do it but you just saved me alot of time. I use the variable you put next time.
Tutorial Database for all beginners click this link
viewtopic.php?f=4&t=8680
krenisis
 
Posts: 606
Joined: Sat Jul 25, 2009 3:27 pm
Score: 51 Give a positive score

Re: Metal slug survivor

Postby lcl » Fri May 07, 2010 12:37 pm

I had a look into your code and the easiest way to make it not repeat the shoot is to edit your tanks draw actor code the following way:

Code: Select all
if(rightm==1)
x=x+12;
if(leftm==1)
x=x-12;
if(shotm==1)
{
    CreateActor("bulletup", "bullet up fat", "(none)", "(none)", 0, 0, false);
    shotm = 0;
}

Insert that code over your previous draw actor code. Everything else is the same as in your game, than that shooting thing. :D
Now it returns the value of shotm to 0, so it doesn't shoot anymore until you press shooting button again. :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Metal slug survivor

Postby again » Tue Mar 22, 2011 7:54 pm

I was looking throught my old games and I think this one is one I have to put on iphone....Of course I will have to redo the graphics but I remember being hooked on this game.
Free windows mobile games like doodle jump and super mario bros
http://krenisis.freeforums.org/
again
 
Posts: 258
Joined: Wed Jan 19, 2011 7:06 pm
Score: 33 Give a positive score


Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest