Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Cheat codes
Old
simsman2011
Senior Member
 
simsman2011's Avatar
 
Status: Offline
Posts: 132
Join Date: Jul 2011
Location: somewhere on Earth
Default Cheat codes - 08-11-2011, 07:07 AM

I was just asking about cheat codes.....
can I make ones and can I make one event contains a sequence of buttons.


==========ــــــــــــــــــــــــــــــــــــــ==============
==========SiMsMaN.....2O11=============
==========ــــــــــــــــــــــــــــــــــــــ==============
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 08-11-2011, 10:52 AM

You should be able to. I remeber an example a while ago that X did on button combinations for fighting games. I think he did a double jump to. Ask X about it.


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
DensetsuNoKaboom
Senior Member
 
DensetsuNoKaboom's Avatar
 
Status: Offline
Posts: 1,188
Join Date: May 2010
Location: e4eaf2
Default 08-11-2011, 01:04 PM

Like this?

This world uses the Konami Code, if you don't know what that is look it up.
Attached Files
File Type: a2w vftigyjhuih.a2w (201.5 KB, 5 views)


Thank you for taking the time to read this signature. This signature loves you.
   
Reply With Quote
Old
simsman2011
Senior Member
 
simsman2011's Avatar
 
Status: Offline
Posts: 132
Join Date: Jul 2011
Location: somewhere on Earth
Default 08-11-2011, 01:19 PM

I don't want konami code I want letters keys sequence event....
and konami code is too long and I want different sequences....
and I want to know what is //?and what does it do?


==========ــــــــــــــــــــــــــــــــــــــ==============
==========SiMsMaN.....2O11=============
==========ــــــــــــــــــــــــــــــــــــــ==============

Last edited by simsman2011; 08-11-2011 at 01:22 PM.
   
Reply With Quote
Old
DensetsuNoKaboom
Senior Member
 
DensetsuNoKaboom's Avatar
 
Status: Offline
Posts: 1,188
Join Date: May 2010
Location: e4eaf2
Default 08-11-2011, 04:43 PM

// is Comment. It doesn't do anything, just shows a message for whoever is looking at the code.

And the Konami Code is Up Up Down Down Left Right Left Right B A Start (Enter on a keyboard).

EDIT: You could do something like this...The cheat code in this case is "infinite lives", but you can put more in easily.
Attached Files
File Type: a2w hj.a2w (166.4 KB, 6 views)


Thank you for taking the time to read this signature. This signature loves you.

Last edited by DensetsuNoKaboom; 08-11-2011 at 04:48 PM.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 08-11-2011, 11:10 PM

Like I said, talk to X


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
Nighthawk0973
Senior Member
 
Nighthawk0973's Avatar
 
Status: Offline
Posts: 240
Join Date: May 2011
Location: In front of my computer.
Default 08-12-2011, 01:47 PM

I think cheat codes are lame anyways. For a fighting game combinations would be easy to do with like, variables or something:

Create a method called punch. You have a 3 punch combo. Each time P is pressed it calls the punch method. There is an indexing variable called PC, for punchCombo, make this = to 1. We also need a boolean called punching. Make this equal to true
Code:
punching == false
if PC == 1 Then
//punch code A
PC = PC + 1
Else if PC == 2 Then
//punch code B
PC = PC + 1
Else if PC == 3 Then
//punch code C
PC = PC + 1
Else
//Nothing
endif
punching = true
than create a method called restart punch combo. Inside the events create a 'when world starts' and loop the restart punch combo infinite times.

Code:
While punching 
wait .75 seconds
PC == 1
why did I make it so that punching was true when it would've made more sense to make it false? Because while loops don't do boolean variables and !=. You can do a 'NotPunching' variable instead because that's basically what it is.
   
Reply With Quote
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-12-2011, 09:20 PM

Ummm not to over simplyfy things here but why not try this only problem is you can't make long codes although that is why it is called a code:
experiment1.a2w

Not all that difficult Alice does most of the work.

Oh and DensetsuNoKaboom (wow I had to copy and paste that) you must use the lightsaber in the game Fat slice huh.


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein

Last edited by legolizard; 08-12-2011 at 09:33 PM.
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 08-13-2011, 10:07 AM

Quote:
Originally Posted by legolizard View Post
Oh and DensetsuNoKaboom (wow I had to copy and paste that) you must use the lightsaber in the game Fat slice huh.
Whow are we talking about miniclip?


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Old
DensetsuNoKaboom
Senior Member
 
DensetsuNoKaboom's Avatar
 
Status: Offline
Posts: 1,188
Join Date: May 2010
Location: e4eaf2
Default 08-13-2011, 10:45 AM

Quote:
Originally Posted by legolizard View Post

Oh and DensetsuNoKaboom (wow I had to copy and paste that) you must use the lightsaber in the game Fat slice huh.
What?


Thank you for taking the time to read this signature. This signature loves you.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.