The Daily Click ::. Forums ::. Klik Coding Help ::. Scrolling in shooting game
 

Post Reply  Post Oekaki 
 

Posted By Message

EleXor



Registered
  21/01/2003
Points
  269
31st May, 2003 at 08:34:43 -

I need help! My level size is huge, something like 2000x2000. So can someone give me events? I wan't that the character u play with would be always in middle / center in screen. I have no idea how to do this! Thanks

 
n/a

Daniel[Crazy_Productions]

Possibly Insane

Registered
  29/12/2002
Points
  2505
31st May, 2003 at 09:36:02 -

make an always condition and then make the action center object in playfield you can find it under the movie icon.

 
Beware of life ...so far noone have survived it.......

Kirby Smith

Resident Slacker

Registered
  18/05/2003
Points
  479

VIP Member360 OwnerWii OwnerThe Cake is a Lie
31st May, 2003 at 11:36:39 -

If you want to take it a step further and have a custom camera system, you can create another object that will always share the position of the main character unless certain rules apply. Then, you can have detectors on that object, so that if the main character backs up against a wall, the camera will slide away from the wall, so that the empty area behind the wall isn't shown, but the player is allowed to see more of the room. The seperate object is also good for explosion effects (shake the screen, by randomly altering it's position by a handfull of pixels). Yet another advantage of this is that it allows for easy cinematic effects such as panning during in-gameplay cutscenes (like quick flyovers to a newly unlocked door).

 
XBL Gamertag: Rampant Mjolnir

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
31st May, 2003 at 11:57:32 -

That camera shake would be perfect for you "Hyper Cats" game

 
Craps, I'm an old man!
   

Post Reply



 



Advertisement

Worth A Click