Pages: 1
Topic closed
I don't know how many people have tried this before, but I just found it out and wanted to tell someone
Do
...Over the years I've noticed how some platformers on Scratch have simple terrain or what-not because of the object collision with colors. I'm sure you have seen it, or perhaps even done it yourself. Or maybe you find that on certain games, an enemy is always attacking you when the game starts.
I have found a simple solution to all of this.
I don't know if you've tried this before, but how about this:
A shape. Any shape. Whatever you want it to be. And then you have a character. This shape follows the character. Now you might be saying, "I don't want a colored shape covering up my characters!" You don't. Set the Ghost Effect to 100. Now it's invisible.
You can use this for object collision and detection. Two examples:
1. You want to make a platformer game but you sigh that you have to make simple graphics. You marvel at the better game makers and wonder how they do what they do. Or you just want to make things better. Well, all you have to do is make a 'ghost image' of the terrain/etc. put it on 100% Ghost Effect. Now you can have your real terrain look however you want, while still keeping that object collision. This can also be used for invisible things like barriers to keep the player off, or when the player touches it: Like falling off a cliff, you can have a invisible object that when the player touches it he dies, or an invisible maze game, etc.
2. Let's say you're making a stealth game. You are some secret agent who must defeat a goal without getting caught. Well, with my method (or 'a method') you can use this invisible ghost method to set either enemy range of sight, to start events, or for different ways of stealth. Like your first object is blue. This is where you are 100 percent stealth, and they can never find you, whether you are running in it or not. Your second object, however, is red (note these are invisible object detection fields for your real scenes), and you have a 50% chance of being caught, so that means if you are moving, while hiding in it (or at least moving a lot or fast), then you will be caught. Otherwise, you're safe
You can also use this method for weapon ranges, etc.
Well that's all I have for today! Comment to explain your own methods or if this method works for you.
Last edited by Ludichris1 (2010-07-06 18:43:42)
Offline
Hm... Not quite sure what you're getting at.
Essentially, a simple shape that's just outside of the boundaries of the character that senses whether or not it's on the edge? If so, that technique has been in use for, like, ever. I've used it numerous times, and you can often see that effect when you stop some of my projects such as "The Little Pointless Project" or "Pellets! SE."
If that's not what you meant, could you please clarify?
Offline
coolstuff wrote:
Hm... Not quite sure what you're getting at.
Essentially, a simple shape that's just outside of the boundaries of the character that senses whether or not it's on the edge? If so, that technique has been in use for, like, ever. I've used it numerous times, and you can often see that effect when you stop some of my projects such as "The Little Pointless Project" or "Pellets! SE."
If that's not what you meant, could you please clarify?
Yeah it's a shape that detects things that touch it. You could also use it as a field (like a bubble that if you go out of it you die or something. The ghost shape can go around anything, like characters or objects, or it can be used as range detection, for sensing nearby sprites or certain fields. It can ALSO be used point and click games like Myst style. Well I just discovered the method so sorry if I wasn't around back to forever lol. many uses
sorry im still noob maybe i should delete this topic what do you think lol?
Offline
Don't delete it! It could be very helpful for new scratchers!
Offline
Ludichris1 wrote:
sorry im still noob maybe i should delete this topic what do you think lol?
Oh, no, I wasn't saying it was a bad idea at all! In fact, it took me over a year to discover this method
Please, don't delete this topic - new Scratchers won't find out any other way.
Offline
Topic closed
Pages: 1