The Daily Click ::. Forums ::. Klik Coding Help ::. need help for my first custom platform movement!
 

Post Reply  Post Oekaki 
 

Posted By Message

J.R.P



Registered
  16/08/2007
Points
  384
11th April, 2008 at 10:02:24 -

I have just recently made my first custom platform movement for my new super action ultra violent ninja hacking platform game, but i cant get the wall barriers to work properly! Can some one give me a quick simple code to do this, just an example will be fine. Thanks clickers

 
That there is one damn fine coat your wearin.

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
11th April, 2008 at 10:28:02 -

Well, I don't know what specific engine type your using. It depends on whether you use detectors or not, and whether your walls are active objects or backdrops.

 

  		
  		

J.R.P



Registered
  16/08/2007
Points
  384
11th April, 2008 at 10:37:06 -

I am using a custom made one and i use a player detector, the walls i have a also backdrops that i have marked as obstacles.

 
That there is one damn fine coat your wearin.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
11th April, 2008 at 14:40:45 -

we need more information,
how are you trying to make wall barriers work?

better still upload the engine to we can have a look.

 
.

J.R.P



Registered
  16/08/2007
Points
  384
12th April, 2008 at 05:25:58 -

I,ll send it to you in your DC mail!

i,ll upload it to the entire site once i see what captain andyman thinks!

Image Edited by the Author.

 
That there is one damn fine coat your wearin.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th April, 2008 at 12:16:08 -

It's going to take a while to work out because you've not commented the events. btw i'm by no means a coding expert but i think i can help you out here. i'll post the new engine when i'm done.

 
.

J.R.P



Registered
  16/08/2007
Points
  384
12th April, 2008 at 12:18:02 -

Thanks cap andyman! BTW what did you think of the visuals!

 
That there is one damn fine coat your wearin.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th April, 2008 at 12:27:52 -

not bad,
i don't know why you've made almost everything an active object though.

 
.

J.R.P



Registered
  16/08/2007
Points
  384
12th April, 2008 at 12:32:06 -

i find using active objects easier then backdrops because they can have multiple animation frames, if you have any other ideas for the game like bad guys or backgrounds just add it.

 
That there is one damn fine coat your wearin.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th April, 2008 at 12:36:49 -

well, unless you make all of the active objects that are supposed to be solid in the same group you're going to have to write out the same events for each one.

 
.

J.R.P



Registered
  16/08/2007
Points
  384
12th April, 2008 at 12:41:15 -

I,ll keep that in mind man, also did you notice how the ninja player gets stuck half way up when he jumps over a back drop!

 
That there is one damn fine coat your wearin.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th April, 2008 at 16:11:07 -

http://rapidshare.com/files/106995517/ssse.zip

i sort of redid it from scratch.

i tried to make it really simple but there is a fastloop based jump that works fairly well that might look a bit complex.

 
.

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
13th April, 2008 at 05:53:47 -

More people need to use Bernie's method, so you don't need fastloops (or a billion detectors, just one or none if you use the collision mask trick) (not a problem for one player but for a bunch of enemies it is).

 
Image
http://bfollington.tumblr.com

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
13th April, 2008 at 06:10:26 -

Ben - Bernie's method?

 
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

J.R.P



Registered
  16/08/2007
Points
  384
13th April, 2008 at 07:08:59 -

Thanks for the new engine cap.andy, theres some massive changes though. If i use your engine how could i have the player jump over the backdrops and land on top of them. Also will the attack phase still be possible with these new adjustments!

 
That there is one damn fine coat your wearin.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
13th April, 2008 at 10:45:14 -

You mean platforms you can jump from under but land on top of?

they need to be active objects with their own events i'm afraid.

 
.

J.R.P



Registered
  16/08/2007
Points
  384
14th April, 2008 at 10:00:43 -

The only update i really need for my game is wall barriers, how can i make wall barriers for the old version of my engine, is it posible or imposible!



 
That there is one damn fine coat your wearin.
   

Post Reply



 



Advertisement

Worth A Click