Game Maker convert here....
So I've watched a few youtube videos and I've got a background and some turf to walk on.
In the try movement window that pops up, I can make my character jump all around and move and what not. \
But when I actually run the application, he just falls through the floor. I've set the turf as platform and thats what the guy on youtube did and his worked fine..
Any pointers?
Re: Game Maker convert here....
In the event editor, add the line:
Player collides with backdrop: bounce.
Re: Game Maker convert here....
In the event editor, you should add the line:
Player collides with backdrop = stop
Stephen1980
Re: Game Maker convert here....
Make sure the properties of your background object are set to Obstacle or Platform, and then make an event in the event editor that says when (active) collides with backdrop --> Stop.
Eventually once you get the hang of things, you will drop the built in platform movement as its a bit buggy, and use the Platform Movement Object (PMO) or make your own. DavidN has a nice tutorial on the right in tutorials on making your own.
See sidebar ------>
Welcome to the community :)
and a bit of a shameless plug: I have examples on my site below on how to use the PMO, and how to do various things with it that get asked often. Dashing, double jump, etc etc.
Re: Game Maker convert here....
Chaos, certainly not a shameless plug. Those are great examples.
Marv
Re: Game Maker convert here....
Welcome on the community Jeremy!
Re: Game Maker convert here....
Thanks for the tips!
That engine is really nice!
I saw that you've used "Setup Platform object movement"
I was trying to click on the different icons in the toolbar to display the code for each object, but maybe I'm looking in the wrong places but I couldn't find anything.
How do I view the code to see how it's done?
Re: Game Maker convert here....
The code is all in the event editor. Unlike that other product you used in the past its not usually contained within each object*. So its much easier to debug when your game gets complex.
* Objects can have behaviors which is a mini event editor of their own but it would be wise to not use this until you get a tad more experience with the software.
Re: Game Maker convert here....
hahaha I was clicking on events.... wow.
This board is really quick for response too!
Re: Game Maker convert here....
Yeah, I was actually using Game Maker in one of my classes in college for game design... after using MMF, the way things are set up through the objects is just asking for trouble in troubleshooting issues down the line.
My current project has well over 2000 events, and if those events were all hidden in the individual objects... ugh! >.<
My advice for someone 'making the switch' would definately just mess around with stuff, don't set off to make your huge production yet - get used to how the objects and interactions work, and get really comfortable with the event editor. It's your bread and butter. :D