The Daily Click ::. Forums ::. Klik Coding Help ::. I HATE BUILT IN MOVEMENT!!!
 

Post Reply  Post Oekaki 
 

Posted By Message

cielx



Registered
  11/08/2004
Points
  332
8th September, 2005 at 10:41:26 -

I'm really lame and can't use custom movement. AndyUk even built an engine for me but i can't even use that! So i'm sticking to a modified built in platform movement at the moment. I need to find a way to make my character stop when he hits the roof and fall back down rather than just bounce around on the roof. Any ideas???

 
n/a

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!
8th September, 2005 at 10:57:44 -

Yeah. Use a custom movement. It's really easy, seriously.

 
n/a

Bo Fu



Registered
  02/04/2004
Points
  413

VIP Member
8th September, 2005 at 11:14:28 -

If you can't quite get the tutorials, search for an example or use the extension that was released a while ago.

 
If wishes were fishes then we'd all smell like ladies' underwear.

hishnak



Registered
  18/04/2004
Points
  994
8th September, 2005 at 11:17:05 -

I know how you feel cielx. I was the same way. But seriously, you need to use a cpm. I would suggest just downloading every cpm ever made and just studying them until you figure out how they work. Here is a very easy step by step tutorial on making one. Just follow the steps and you should have it.

http://www.clickteam.info/kb/start/index.php?showtopic=315&st=0&#entry851

But if your still set on modifying the default...Create a counter(or use an alterably value)and create a detector as wide as your player and a couple of pixels thick.

Always---Set Y to Y of player+ Counter value
Always---Set detector position to players head

When detector collides with background---set Counter to -4

If detector is over obstacle---Ignor player control
If detector is NOT over an obstacle----Restore control

I think that should work. Even that is the basics of a cpm

Image Edited by the Author.

Image Edited by the Author.

Image Edited by the Author.

 
I'm feeling a bit wella

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
8th September, 2005 at 22:40:02 -

Using the built in platform movement majorly hinders your game. It will be a lot better if you take some time to learn your own way to make stuff happen via the event editor. Trust me it will be worth the effort.

 
.

Phredreeke

Don't listen to this idiot

Registered
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
9th September, 2005 at 04:00:54 -

Yeah... It's a lot easier to program your own custom engine, rather than tweaking the built in one. Gives you more freedom too

 
- Ok, you must admit that was the most creative cussing this site have ever seen -

Make some more box arts damnit!
http://create-games.com/forum_post.asp?id=285363

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
9th September, 2005 at 09:33:17 -

The basic principles of custom engines really are simple:

Repeat while Player presses left
--Set X position of object to X("object")-1

Repeat while Player presses right
--Set X position of object to X("object")+1

That's one of the most basic custom movements you can do. It just moves something left and right.

But that's ultimately how the movements work. Every custom movement that exists is just a variation on that theme.

I know what you mean about custom movements seeming hard, cos I felt the same way, but you'll get there.

And don't completely discount built in movements anyway. I often use built in movements as the basis for something. Normally eight-way movement, since i don't find that buggy in the least. I often build a bit more complexity into it after that (such as jumping in 8-way movement).

Simplicityness!

 
191 / 9999 * 7 + 191 * 7

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

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

My custom engine that I sent you is quite simple really. You don't actually have to rewrite you own one, just use mine.

 
.

moonbird99



Registered
  03/04/2004
Points
  910
11th September, 2005 at 19:16:39 -

what do people think about the "platform object" extension MMF - is it deemed naff ??

 
to start press any key ...... where's the ANY KEY??

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
13th September, 2005 at 06:05:31 -

It works very well for a basic engine, but I find that it's very unreliable if you have events that check whether the object controlled by it collides with other actives. To get round this, you can use an invisible "collider" object that follows the player around, and use that for collision events.

 
http://www.davidn.co.nr - Games, music, living in America

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
13th September, 2005 at 06:06:06 -

I should also mention that the Movement Object (not Platform Movement Object) can be used as well - it's more difficult to get a solid engine with it, but it's a lot more flexible.

 
http://www.davidn.co.nr - Games, music, living in America
   

Post Reply



 



Advertisement

Worth A Click