The Daily Click ::. Forums ::. Klik Coding Help ::. Worms Destruction, Super Speed, and Instabullets
 

Post Reply  Post Oekaki 
 

Posted By Message

MrGrey



Registered
  27/10/2004
Points
  128
27th October, 2004 at 17:58:29 -

Oi, ive got 2 coding questions.

1. Is it possible to make Worms style terrain destruction (using the popular "Paste image into backround" engine) on a side scroller, in which the blown up stuff remains?

2. Is it possible to make objects that go faster than speed "100"? Im trying to make bullets that zip across the screen, but that the same time arnt instant hit.

3. How does one make instant hit bullets anyway?

 
Everything's more dangerous from space.

MrGrey



Registered
  27/10/2004
Points
  128
27th October, 2004 at 21:25:46 -

OH yeah!

4. Is it possible to shoot bullets that move at random speeds?

5. Is there a way i can take an object and make it fade from 100% solid to 100% invisible over a period of time (like 5 seconds)?

Image Edited by the Author.

 
Everything's more dangerous from space.

Wormware



Registered
  20/05/2003
Points
  1031
27th October, 2004 at 22:31:55 -

----------------------------------------------------------------
4: yeah, you can just shoot with speed, random

you can do it this way: all bullets are bouncing ball objetcs,
instead of shooting an objetc, it will be created, and the speed will be set to random.
((Using the objects value C perhaps..))

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


5: MMF has semi transparance, If you use the objetcs counters (value A&B perhaps)

A = semi transparance
B = value

Every 0.1 sec + B = 0 --> add 5 to counter A
Every 0.1 sec + B = 1 --> subtract 5 from counter A

Counter A > 144 --> set counter B to 1
Counter A < 0 --> set counter B to 0

Always --> Set semi transparance to value A

- something like this should do the trick.

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



Image Edited by the Author.

 
www.freewebs.com/wormware

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
28th October, 2004 at 02:22:16 -

1. Just use "Add to backdrop" instead of "paste into background".

2 & 3. http://www.clickteam.com/CTforum/showflat.php3?Cat=&Board=upload&Number=238757&page=&view=&sb=&o=&vc=1

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Willy C



Registered
  14/02/2004
Points
  1524

Game of the Week WinnerKlikCast StarPicture Me This -Round8- Winner!VIP MemberWii OwnerIt's-a me, Mario!Hero of TimeThe Cake is a LiePS3 OwnerI am an April Fool
Batman!Teddy Bear
28th October, 2004 at 04:26:17 -

phizzy has a toturial pack explainging Destructable terrain: http://www.create-games.com/download.asp?id=4331

 
http://www.robocaptain.com

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
28th October, 2004 at 21:33:41 -

#5: Yes. Wormware's way is really inefficient; you don't need to always setan object's semitransparency. If you have MMF 1.5, you can do something like,
Every 1"00 + SemiTrans("Object") < 128 --> Set Semitransparency to SemiTrans("Object") + 10

I would probably use something similar, but more accurate, such as:
Alterable Value A = 50 + SemiTrans("Object") < 128 --> Set Semitransparency to SemiTrans("Object") + 10

Alterable Value A = 0
Alterablve Value A < 50 + SemiTrans("Object") < 128 --> Add 1 to Alterable Value A


Image Edited by the Author.

 
http://www.klik-me.com

Wormware



Registered
  20/05/2003
Points
  1031
29th October, 2004 at 00:44:25 -

Yes, use Rapidflash' way! It's better indeed..

 
www.freewebs.com/wormware

MrGrey



Registered
  27/10/2004
Points
  128
29th October, 2004 at 03:26:23 -

I forgot to mention im using MMX 1.06

1. Where is "Add to backdrop"? Is that in version 1.5?

2&3. I got the movesafly.cox, but MMX dosent seem to recognize it.

4. I already know about the random bouncing ball speed idea, but I was wondering if I could edit actual honest to god bullets.

5. I cant find "Set Semitransparency". Is that in version 1.5?


Yeah, I bet not having 1.5 is really throwing a wrench into this. Perhaps I shall get my software-pirate on...

 
Everything's more dangerous from space.

Herb



Registered
  24/02/2004
Points
  264
29th October, 2004 at 03:46:52 -

movesafely.cox most likely won't work with 1.06
add to background should be there.

Image Edited by the Author.

 
Quality.
   

Post Reply



 



Advertisement

Worth A Click