The Daily Click ::. Forums ::. General Chat ::. As a memorial to that forum that got replaced...
 

Post Reply  Post Oekaki 
 

Posted By Message

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
20th August, 2004 at 10:01:07 -

Anyone remember that old forum that was replaced by the Programmers Union? Well, it didn't seem to have any use back then, but now that I've gotten back to work on my Click FAQ... it seems that it would actually be useful after all. And since so many of you like to show off your talents... here's your chance.

I've got a few more questions on my list that may just have more than one answer. So, instead of giving my (possibly incorrect) opinion on them, I'm putting them out here so you guys can be quoted in the Click FAQ as well:

--------------------------

Newbie:
What's the best music file type?
* MMF's too expensive! How can I get it for cheaper/free?
* My game doesn't run on other people's computers! What should I do? (I'm still a bit unsure which .dll files work for MMF, CnC, TGF...)
Why does everyone hate installers?
How do I update MMF?
* It says that some .cox file is missing! What's a .cox file?
What's Vitalize?
How do I get more people in my team?

Novice:
Can I convert a MP3 or WAV file into MIDI?
How do I find the distance between two objects?
How do I encrypt a file?
My game's too slow! How do I speed it up?
* My game's too big! How do I make it smaller?
How do I make a Vitalize game? (honestly, I haven't tried myself :/ )
How do I make the game scroll faster/smoother?

Intermediate:
No, seriously, I want to make a REAL custom movement engine. Something with realistic physics and stuff. How do I do it?
How do I do 'bullet time'?
How do I make a level editor?
How do I make an online high score table?
How do I make instant bullet hits?
How do I make an inaccurate bullet?
How do I make a multiplayer game?
How do I hack into... I mean prevent people from hacking into my game's save file?
I'm making a game with two players battling each other with swords. How can I keep the swords in the players' hands? (a classic since the old, old Klik n' Play FAQ)
I heard you could do more with loops than just loop an event many times! What else do people use loops for?

---------------------

There, a direct copy & paste of the 'uncertain' questions for the next version of the Click FAQ. Feel free to state your opinions on whatever topics interest you, so that they may be quoted . And if you don't want to be quoted... just say so.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
20th August, 2004 at 14:10:56 -

in the newbie section, you should include example game files (like pong, breakout, snake etc. (basically newbie-style games)) if you aren't doing so already.

btw, the stopping people from hacking into save games would be asked by novies wouldnt it? (seing as you could put it in with the encyption bit)

 
My signature is never too big!!!

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
20th August, 2004 at 18:13:37 -

You do realise that there's this: http://jove.prohosting.com/~bumcgi/cgi-bin/BumUHSD/display.cgi?game=faq
Don't you?

 
- Tigerworks

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
20th August, 2004 at 18:19:24 -

That's a good point, I forgot about Matt of Bumderland's FAQ, but it is quite old and doesn't have things like, 360 degree instant shooting, and custom platform movements, for example

 
n/a

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
20th August, 2004 at 20:26:18 -

Q: * My game doesn't run on other people's computers! What should I do?
A: Be sure that the operatin system is Windows. If you're using Klik & Play, distribute the game's .mus file, .snd file, .gam file, .mtf file and .img file, as well as the .exe and knps.dll.
For TGF or CNC games, you'll need cncs32.dll. For MMF games, you'll need cncs232.dll. If you are using the DMC2 object in your game, be sure to include bass.dll.

Q: How do I find the distance between two objects?
A: sqr( ( (X("Object2") - X("Object1")) * (X("Object2") - X("Object1")) ) + ( (Y("Object2") - Y("Object1")) * (Y("Object2") - Y("Object1")) ) ). If you have MMF 1.5, you can also use the Advanced Direction Object.

Q: My game's too big! How do I make it smaller?
A: Crop/shrink all the images in your active objects, and instead of using high-quality stereo .wav files use mono .wav files. Also, change the color settings from 16 million colors to 32767 (the second number is probably wrong, but it's the one that's in the 32,000's)

Q: Can I convert a MP3 or WAV file into MIDI?
A: No.

Q: How do I encrypt a file?
A: If you have MMF 1.5, use the Blowfish object. It really isn't that hard. All you need to do is to create a key, and then encrypt a value/string with that key (in the EncryptString$() function, the key is the first string you need). You can also use the Binary Object or the Encryption Object, or just make up your own encryption.

Q: It says that some .cox file is missing! What's a .cox file?
A: A .cox file is an extension. If it can't find out what the extension is suppose to do that it can't open up the game. Kris made a program a while ago that could pull out extensions from klik .exe's (http://www.create-games.com/download.asp?id=4255)

Q: How do I update MMF?
A: Go to the Clickteam website (http://www.clickteam.com) and check for the latest builds of MMF. To find out your current MMF build go to Help | About in the menu. Most of the times a community site like The Daily Click or Klik-Me will report a new build so that you don't have to constantly check the Clickteam website.

Q: How do I make a Vitalize game?
A: It's just like making a regular game, except you compile it as an internet application. Then you put the code on this website into your HTML/ASP/PHP file: http://www.clickteam.com/English/vitalize.htm
Be careful, though, as many extensions are not Vitalized and therefore cannot work in a Vitalize application.

I think that many of the intermediate questions are better answered with an example, mainly because it's hard and confusing to write MMF code in text.

Image Edited by the Author.

 
http://www.klik-me.com

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
24th August, 2004 at 11:12:41 -

Joe:
Novice questions are for questions that are mostly fact-based, intermediate questions are for the ones you have to think, while the newbie ones are the ones that could potentially get you flamed . I'm not sure about including example files, especially since they take up space and most people wouldn't actually appreciate me increasing the file size by 200 KB just to put in an example they could code in 10 mins.

Tigs:
Yeah, that's where I got most of the questions . I already sent an email to the dude asking if I could use some of the answers to his questions, but I made a post here just in case someone has a different idea of doing the stuff above. There's plenty more questions I didn't add, coz I was certain enough that there's only one answer to them.


RapidFlash:
Thanks, especially on the .dll file details and that link to Kris's extension thingy. Though I'm pretty sure there's another .dll file that I'm not sure what it's for.

Mind if I quote you and give you credit for those answers?

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
24th August, 2004 at 12:41:46 -

Sure, go ahead.

Q: How do I do 'bullet time'?
A: The way I do is by having "Alterable Value A("Object") = 0" in every line of code that deals with movement. Then, when you activate Bullet Time, you turn on a flag (in this example Flag 0), and then you do something like:
Alterable Value A("Object") < 2 --> Add 1 to Alterable Value A("Object")

Alterable Value A("Object") = 2 --> Set Alterable Value A("Object") to 0
("Object") Flag 0 is off (this is your bullet time flag) --> Set Alterable Value A("Object") to 0.

Of course, you still would need to slow down all the animations. Unfortuanetly, the "Change Animation Speed..." method doesn't always work, but the Change Animation Speed extension fixes it (MMF only, http://www.clickteam.info/extensions/extview.php?id=35). The whole Alterable Value A("Object") code can be used for more things later on, such as going an average of 1.5 pixels per loop (Going exactly 1.5 pixels per loop is impossible, but with the above method you can do 3 pixels per 2 loops, which gives you an average of 1.5 pixels per loop).

Oh, and a correction: There are programs that can convert MP3/WAV to MIDI, but they're terrible (from the FAQ Tigerworks posted).

Q: What is Mod? (I know this isn't on your list, but I had the same question as a newbie)
A: Mod (known as Modulus) finds out the remainder of a division, i.e. 4 mod 2 will return 0, because 4 / 2 = 2 and 0/2. 5 mod 2 will return 1, because 5 / 2 = 2 and 1/2. This article explains it in more detail: http://www.create-games.com/article.asp?id=1351

Image Edited by the Author.

 
http://www.klik-me.com

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
24th August, 2004 at 14:02:49 -

Kris's extension grabber is only good on TGF/CNC, and it's only good if you have a game that uses it... (and how many people know what extensions a game uses anyway?) It makes me wonder why you didn't link to an extension list instead

 
n/a

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
24th August, 2004 at 16:57:05 -

FireMonkey: Really? I've tried it on some MMF games and it can take extensions from it (and the extensions work). And you're right, Muz, have this link: http://www.clickteam.info/extensions/

 
http://www.klik-me.com

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
24th August, 2004 at 17:49:02 -

All new extensions can't be grabbed with it because their authoring interface data has been taken out for the stand-alone EXE version... however, most exts that work with TGF/CNC as well still have the interface, so you would be able to use them correctly.

 
n/a

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
25th August, 2004 at 11:21:41 -

LOL. I had that 'What is mod?' question on my list, but since the answer was pretty simple, I didn't bother to put it in this list...

Clickteam's extension list sucks. I very strongly prefer the third-party ones, but you can get most extensions from a quick search on Google anyway.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Broomie

iInfamous/i

Registered
  30/08/2002
Points
  929

Game of the Week WinnerI'm an alien!Has Donated, Thank You!VIP Member360 OwnerI'm on a Boat
25th August, 2004 at 13:15:14 -

You mean the Critic's Lounge? I suggested that forum to Shadow and I was happy when he said yes, puzzled when the discussion was focused on giving advice to klikkers. It was supposed to have resembled what Digital Works is. Anyway though I don't care.

 
- Space Quest II Deluxe -
http://www.infamous-adventures.com

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
25th August, 2004 at 15:45:02 -

What sucks about it, Muz?

 
n/a

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
30th August, 2004 at 03:38:14 -

I dunno. I just don't like it. Maybe it's the color or the fact that only a few of the extensions I'm looking for seem to be there. Google searches are so much easier.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
8th September, 2004 at 09:19:18 -

Here's another fairly common question:
"Why should I create a custom platform engine? The MMF platform engine is good enough for me!"

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image
   

Post Reply



 



Advertisement

Worth A Click