The Daily Click ::. Forums ::. Non-Klik Coding Help ::. Screen scrolling in degrees
 

Post Reply  Post Oekaki 
 

Posted By Message

TS Team



Registered
  12/11/2002
Points
  1253
3rd September, 2007 at 03:35:26 -

Top of the morning to you all!
I really want to make a racing game. Yet it isn't too fun if the screen doesn't scroll circular. Maybe that doesn't make sense. What I mean is that the screen should always be parallel with the vehicle's direction. Is this impossible? If not, how would you do this? Any extensions that could do this for TGF2?

Another question that I'll throw in:
Is there a way to make a .1 sec sound clip of a vehicle's rev change pitch? (creating an increasing rev sound such as when you accelerate)

Thanks in advance,
Chris

 
-Chris Long ( TS Team )

TS Team



Registered
  12/11/2002
Points
  1253
3rd September, 2007 at 03:42:08 -

Oh scratch the extension part. I just found out (I'm a noob to the sequels) that TGF2 does not support public extensions.

 
-Chris Long ( TS Team )

TS Team



Registered
  12/11/2002
Points
  1253
16th September, 2007 at 06:19:00 -

BUMP BUMP BUMP.
ANYONE?

(>^^)>

Image Edited by the Author.

 
-Chris Long ( TS Team )

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
16th September, 2007 at 08:30:47 -

Please do not bump topics, people generally don't appreciate it.

Your question doesn't really make sense, you need to elaborate... maybe provide a couple of screenshots showing what you mean?

 
n/a

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
16th September, 2007 at 08:37:30 -

He wants his screen to rotate to stay parallel with his vehicle. As far as I know, it's not possible.

 
This space is for rent

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
16th September, 2007 at 08:40:35 -

if you want to increase the pitch of a sound, you need to increase the frequency of the sample (or decrease it to lower the pitch)

the only way i can think of doing this in TGF2 is to create different samples using a sound editor, and altering the frequency.

 
My signature is never too big!!!

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
16th September, 2007 at 08:49:36 -

I checked, MMF2 has a "set sample frequency" option. I quickly tried it out and half of the time the sound I played didnt change. TGF2 probably has the option too.

Edit: I tried again. Seems fine. Probably didnt do it right the first time or someting.

Image Edited by the Author.

 
This space is for rent

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
16th September, 2007 at 09:01:01 -

Also, if you want to create that kind of camera movement, you have to rotate the background, and not the car.

 
My signature is never too big!!!

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!
16th September, 2007 at 10:10:24 -

Or just make some extreme camera extension

 
http://www.SilverNova.co.uk


Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
16th September, 2007 at 11:42:22 -

you'd also have to rotate the AI racers and the like too, though with the CT movement, you could probably whip something up with that.

 
Craps, I'm an old man!

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
16th September, 2007 at 11:54:23 -

I guess if you made the entire track a giant active object you could rotate it. I don't want to think how slow it would get though.

but keeping the ai cars in the right place and direction would be tricky.

 
.

Deleted User
16th September, 2007 at 13:11:26 -

Try using the viewport (don't think it'll work) or the perspective object (I haven't tried). If it's not with extensions, you're screwed pretty much.

 

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
16th September, 2007 at 13:12:29 -

As far as I know, the viewport just does zooming. It does it quite well.

 
Craps, I'm an old man!

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
16th September, 2007 at 13:35:10 -

http://www.create-games.com/download.asp?id=6767

This is the closest effect you'll get.
Youll need to rotate EVERY object on the screen.



You can expand it to have active object's form a matrix on the screen, which would be tiled according to your racetrack. Then, you'd be rotating the matrix itself, while keeping the tiles loading from the same input. Basically you're just converting the 2d cartesian racetrack into polar coordinates and adjusting Theta.

Its much more complicated then a simple 2d track, and even when you've done it, it's not neccessarily a better effect. For example, EV nova has it as an option, but many people simply choose not to use it, since it complicates the screen.

Image Edited by the Author.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456
   

Post Reply



 



Advertisement

Worth A Click