Jump to content


Photo

Moving On Tiles;


  • Please log in to reply
10 replies to this topic

#1 Hitman0769

Hitman0769

    GMC Member

  • New Member
  • 20 posts

Posted 06 May 2008 - 10:08 PM

I apologize in advance for not being able to find this in the threads but I have been searching for a while now and just want to ask if there's any simple " Drag & Drop " ways you guys could throw to a noob to get my characters to walk on the floors i keep tiling and on the platforms i create, a ladder "drag & drop" function would be great too thanks... sorry I have done this type of code before but lost everything off my hard drive so now have to start from scratch.

THANKS FOR ANYONE WHO HELPS!

-Hitman0769

edit*:*:*Update:*I am now Getting Rid of Project File , Starting a New I will reply to this thread again if i encounter this problem again while doing so, or if i ever find out what i was doing wrong for the benefit of new comers, thanks for anyone that helped. Peace*

Edited by Hitman0769, 06 May 2008 - 11:52 PM.

  • 0

#2 gmXpert2000

gmXpert2000

    SoulRed12

  • New Member
  • 1975 posts

Posted 06 May 2008 - 10:10 PM

There's no drag and drop action for these things, but if you've used GML before you should read the platform tutorial on the YYG tutorials page.
  • 0

#3 Hitman0769

Hitman0769

    GMC Member

  • New Member
  • 20 posts

Posted 06 May 2008 - 10:12 PM

There's no drag and drop action for these things, but if you've used GML before you should read the platform tutorial on the YYG tutorials page.

i never have used GML but i am planning on taking Game Maker classes at college soon, i have been trying to use the movement codes from the Platformer example included in GM but it is causing many problems, in my old college i was successful at making a multi-stage game based on the platformer example as part of fulfilling one of my mid - term projects. So i was really hoping to be able to bang out this game before dabbling into GML because i am not yet able to take the course at school.

Edit: *PS* if i do decide to jump into GML now is there any suggested beginners section / example / threads you could point me to? thanks a lot and my bad for posting a common issue but everything i found was GML and im trying to not use GML this time around.

Edited by Hitman0769, 06 May 2008 - 10:13 PM.

  • 0

#4 Hitman0769

Hitman0769

    GMC Member

  • New Member
  • 20 posts

Posted 06 May 2008 - 10:25 PM

just for the record i have gone back and made sure the drag & drop code reads exactly the same as the platform example and still my guy is being thrown around incorrectly.

I know there is a way to make this work because i've done it before, please somebody help me out when you see this.

Thanks again
  • 0

#5 matthew3447

matthew3447

    GMC Member

  • New Member
  • 1453 posts

Posted 06 May 2008 - 10:29 PM

Thats great.
Now learn the bumping rules!
  • 0

#6 thebogeyman

thebogeyman

    The Boogey Man

  • New Member
  • 514 posts

Posted 06 May 2008 - 10:51 PM

Thats great.
Now learn the bumping rules!


What a nice, helpful post.

As for the topic creator...

Go read the YoYoGames tutorials on platformers if you haven't already. I think you mentioned copying it exactly and it not working. Did you look at or copy all the events? In the step event is where gravity functions are carried out, if you only copied the key press events it's not going to work.

Also the collisions with the solid objects (or blocks) are also very important.

Edited by thebogeyman, 06 May 2008 - 10:52 PM.

  • 0

#7 Hitman0769

Hitman0769

    GMC Member

  • New Member
  • 20 posts

Posted 06 May 2008 - 10:55 PM

Thats great.
Now learn the bumping rules!


What a nice, helpful post.

As for the topic creator...

Go read the YoYoGames tutorials on platformers if you haven't already. I think you mentioned copying it exactly and it not working. Did you look at or copy all the events? In the step event is where gravity functions are carried out, if you only copied the key press events it's not going to work.

Also the collisions with the solid objects (or blocks) are also very important.

i will follow the link you provided and continue attempting to make this work and thank you for your post, by the way i have copied the step event and the collision event and made sure all the values and variables are correct. I may be overlooking something because as i have stated above, i've used this before and it worked, but its just not working now... I had hoped by making the original post that i would find some one with a different "code" but still thanks for anyone who helps.. ps i was not bumping i made a mistake of the reply and edit buttons SORRY

edit: * * that link you gave me is just the tutorial zip files and thats what im already trying to use. thanks anyways but it didnt help . ^_^

Edited by Hitman0769, 06 May 2008 - 10:58 PM.

  • 0

#8 thebogeyman

thebogeyman

    The Boogey Man

  • New Member
  • 514 posts

Posted 06 May 2008 - 11:03 PM

Honestly, the only advice I can give you is to try to single out the missing link.

If the tutorial works, and yours doesn't, then there obviously has to be a difference. Are the block objects solid for example? Little things like that which are sometimes hard to notice can completely change whether a game works or not.

Try to single out what the tutorial has that yours doesn't, other than that I'm not sure what to tell you.
  • 0

#9 Hitman0769

Hitman0769

    GMC Member

  • New Member
  • 20 posts

Posted 06 May 2008 - 11:07 PM

Honestly, the only advice I can give you is to try to single out the missing link.

If the tutorial works, and yours doesn't, then there obviously has to be a difference. Are the block objects solid for example? Little things like that which are sometimes hard to notice can completely change whether a game works or not.

Try to single out what the tutorial has that yours doesn't, other than that I'm not sure what to tell you.

Ok I think that helped but I'm still not getting any movement, quick question:

* If he's not able to move when he collides with solid objects how is he suppose to move on a solid floor tile?

dang man this seemed easier last time...

edit:*Situation UPDATE * --> discovered that my character object was not SOLID as it is in the platformer demo, updated my character object to make it SOLID but still he will not move as if he is being held in place but can still look in all directions...

Edited by Hitman0769, 06 May 2008 - 11:26 PM.

  • 0

#10 thebogeyman

thebogeyman

    The Boogey Man

  • New Member
  • 514 posts

Posted 06 May 2008 - 11:47 PM

I'm not going to be able to help you too much...Try PMing me what you have so far and I'll try to take a look at it and see what the problem is.
  • 0

#11 Hitman0769

Hitman0769

    GMC Member

  • New Member
  • 20 posts

Posted 06 May 2008 - 11:49 PM

I'm not going to be able to help you too much...Try PMing me what you have so far and I'll try to take a look at it and see what the problem is.

i have decided to just start the entire project over again considering i have spent more time drawing so far and it will be alright to lose a little time starting the GM project over. Thank you to everyone that tried to help, Maybe some day i will notice what is the deal and figure it out but i'm sure this thread will die by then. Peace ^_^
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users