Greetings,
I am faced with a conundrum at the moment, and I would like to see if anyone can help me solve it. How can you make events, or objects in the game visually look like they can be interacted with to obtain items to the player. This may sound confusing, but its kind of hard to explain. To give an example we are working with, we are using a woodcutting system and want to show the player which trees can be cut down, and which ones cannot. This also includes a few other things than just trees, but this is an example (another would be boxes/barrels/pots). I mainly want to know different techniques, or the best ones to accomplish this. Is this mainly done with the artwork? or should everything (boxes/barrels) have some interaction with the player or just do nothing? Any help with this problem would be greatly appreciated.
Some people use the sparkle character over objects that contain information or hidden loot.
Other things to do could include having a special color code, like "trees with the yellow branches aren't ready to be cut down yet."
I use the sparkle, just make sure to set stepping animation on it or it wont sparkle lol
If you have a mouse script, you can change the mouse pointer when over that item.
The sparkle/flame/shine (whatever you want to call it) is a graphic for events. You can use it for a graphic for an event placed on something like a bookshelf or table so the player can see it and know its something than can interact with. The sparkle graphic is under one of the flame graphic sets (can't remember which one at the moment).
The basics of a mouse script are of course to add mouse support to a game but it allows (assuming you can change or know how to change) the mouse pointer when it hovers over specific events. For example I recently played Millennium: A New Hope and in the game many interact able events are hidden to the player until they hover the mouse pointer over it and it changes into something else( like a description) so that the player knows something is there.
Something else you could do is simply tell the player what objects they can interact with. For example set a precedent in the beginning of the game that books on tables or shelves are examinable that way the player won't need an indication to know it is something they can interact with. Going along with what Grandmadeb said you could just run an event that first explains what kinds of trees can be cut down that way they know what to look for without needing further indication.
You can also create an event to play an animation over an event. Put the animation in a loop, add a wait, and there you go. Set the looped event to parallel process. There's an rtp sparkle anima that I use sometimes. If you change the size to 32 it fits perfectly over an event's tile.
I really appreciate all the replies and advice, this really helps me solve one of my problems (ordinary treasure locations). However I still have not figured out a good way to tell the player a specific tree can be cut down. The main problem is that, currently, these trees will look similar to other trees that cant be cut down (basic tree graphic 1x2), even though I have a few unique ones. What I currently use, kind of works, but not good enough. It requires one variable per tree and might become too difficult with many trees. I could use the Sparkle sprite (in the Flame section) on the top of the tree, which also works a bit, but looks kind of weird in my opinion. Here are a few images to get a better idea, the left one has the Sparkle sprite on the top, the right one has my own of a moving axe that stays up only when the tree is up (very difficult system and requires a few variables). I might try marking the "cut-table" trees as darker trees while any lighter ones cannot be cut down. What would flow better or look better?
[IMG]http://imageshack.us/a/img29/9015/v5yb.png[/IMG]
Are you tile swapping to show the tree has been cut down? Or are the trees events?
You could customize a tree (make it darker) and add the axe over it. Then make the tree into a character and shift the axe a bit in each position. Then you could use the tree character in the image part of the event and change it to a stump after its been cut down. Doing this, you could give the tree event a move route, or turn stepping on, so it'll make the axe look like it's swinging.
Why one variable per tree?
Why not just use a self switch on each event? Page 1 will have the axe, and turn on a self switch when used, page 2 will be conditioned by the self switch.
Variables are for when you want to count things, and are not necessary to turn things on and off.
Well, Lloyd, maybe I am just too slow on the draw with this, but I really do not get why you do not want to use a single event to control the tree image being covered by the chopping axe.
I mean, really, it is just another form of a sparkle, right?
And the fact that it is up one tile isn't a hurdle. You do know that even though only one tile shows up in the map editor that the 64 tall char will be taller in the game?
You just make your character set with the axe 32 wide and 64 tall for each image in the set
(so 3 wide and four tall - it would be 96 wide and 256 tall for a single char set with a $ in front, yes?)
And then no variables or global switches needed.
Unless I am really not getting it. Which is not far fetched. I just hate to see someone miss out on an easy way if we are just crossing signals here.
You can control the speed of the stepping animation (I think) - look at Freq. under Autonomous Movement. (TBH, I only recall using this on actual moving sprites, but it did change the speed of animation)
Well, if it is just that you are having trees in town be mapped regularly and forest tiles be evented to be cut down, then the usual drill is to have an NPC or two make a comment like, "I need some fire wood, but I'll have to go into the woods to cut it. We aren't allowed to cut wood in town." or "By city ordinance, firewood may only be cut outside of town limits." being on a sign somewhere.
That is the way you "drop the hint" so people don't get frustrated trying to cut down the tiles.