The Daily Click ::. Forums ::. Klik Coding Help ::. Shooting faster than speed 100, and Screenshaking.
 

Post Reply  Post Oekaki 
 

Posted By Message

Buster

BLING COMMANDER

Registered
  03/06/2002
Points
  1545

VIP Member
5th February, 2007 at 08:28:56 -

Two questions my gentleman friends.

First, What's an easy way to make my character shoot in 32 directions with the bullet travelling faster than speed 100?

Secondly, I need a way to make the screen shake, without using any level scrolling. I can remember a tutorial a while ago, I think it used the CALLDLL object or somekind of window object. If anyone knows where I can download this tutorial or knows how to do it, that would be great.

 

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
5th February, 2007 at 09:47:00 -

Do what Kirby does (did?). If an area doesn't scroll and you need to shake, simply add 5 pixels either side of the frame and centre the screen around a bouncing ball that always looks to the centre (use that Maths extension for speed/distance). fill the outer 10 pixels on either sides black. to shake simply set the speed of the ball to whatever. et voila. the simple method.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
5th February, 2007 at 19:20:11 -

Beautiful

 
http://www.SilverNova.co.uk


Retired Kliker Lazarus

The Ed Wood JR of TDC

Registered
  18/07/2003
Points
  7363
5th February, 2007 at 19:49:03 -

Like me?

 
Fine Garbage since 2003.
CURRENT PROJECT:
-Paying off a massive amount of debt in college loans.
-Working in television.

Buster

BLING COMMANDER

Registered
  03/06/2002
Points
  1545

VIP Member
5th February, 2007 at 20:22:31 -

Thanks Jimmi, my boy. But I was looking for a way that didn't use the center window position action. There is one out there.

 

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
6th February, 2007 at 07:12:34 -

Of course Laz

Could it be something like a screen capture event and then making that shake?

 
http://www.SilverNova.co.uk


CodeCannon

of DringleTopia

Registered
  13/04/2006
Points
  208
6th February, 2007 at 08:39:27 -

Andos made one with the Window Control object:
http://andos.stiaxies.net/examplefiles.php

 
_
CodeCannon
http://www.dringletopia.da.ru/

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
6th February, 2007 at 10:03:19 -

For the shooting, you want to look up one of those 360 shooting tutorials, you should be able to modify it to work with only 32 directions if that's what you want.

 
n/a

Buster

BLING COMMANDER

Registered
  03/06/2002
Points
  1545

VIP Member
6th February, 2007 at 23:02:25 -

YES! That's the one I'm looking for CodeCannon, but there was one for TGF, can ANYONE find or re-make it for me please?

 

Buster

BLING COMMANDER

Registered
  03/06/2002
Points
  1545

VIP Member
6th February, 2007 at 23:47:16 -

Nevermind about the screen shaking thing, I worked it out! I still need to know how to shoot an object faster than speed 100. Does anyone have a turtorial for me?

 

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
7th February, 2007 at 01:14:27 -

Just use an ordinary 360-degree bullets engine, and multiply your directions by 11.25 before plugging them into the equations. So direction 16 becomes angle 180, etcetera. Just make sure angle zero points to the right (to make it easier, rather than coding it that way you can just use a normal engine where angle 0 = up and subtract 90 from all your angles).
If you need help with the 360-degree engine itself, you should be able to find a tutorial without much trouble. I'd search for you but the page doesn't want to load right now.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click