The Daily Click ::. Forums ::. Klik Coding Help ::. Shooter Scrolling problem
 

Post Reply  Post Oekaki 
 

Posted By Message

martin buono



Registered
  07/05/2007
Points
  8
9th May, 2007 at 21:13:07 -

hi there, i have a problem trying to make a shooter scroller bottom to top i just want to make my ship moves at the same time and the same speed with the scroll but if i do that i lost the up and down movement becouse i force it to take the Y value.
anyone can help me? maybe some example?
im just trying to make a 1942 remake
sorry for bothering with my noob questions
and thanks anticiped

sorry for my bad english

Image Edited by the Author.

 
i'm a noob on mmf2

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
9th May, 2007 at 21:26:09 -

If you're using default movement, you're going to find yourself solving much harder problems then if you were using custom movement, and this sounds like one of those problems. Check out some articles on custom movement, we've got a few really good ones, I have a tutorial article I made specially for re-making the 8 directional default movement if you want to check it out.

 
http://www.facebook.com/truediamondgame

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
10th May, 2007 at 04:04:21 -

Always: set Y to scroll Y + (some alt value) extra Y
Pressing up: subtract from extra Y.
Pressing down: add to extra Y.

Adjust to your movement system as necessary. Basically you move the movement system to an extra variable that is used in the position calculation.

 
Old member (~2004-2007).

martin buono



Registered
  07/05/2007
Points
  8
11th May, 2007 at 12:36:18 -

thank you both, i use what davince says and works parfect, in a fact im pretty stupid to not figurate it, but thank you

 
i'm a noob on mmf2
   

Post Reply



 



Advertisement

Worth A Click