-
Ok. I have no issues with the copying of codes.
Just a question, how do I get the expression for position relative to screen/window (of application itself, not the frame) ? I want the lifebar to always be at the upper left corner of my window (even if I am in another frame) ?
Edit:
already tried:
set X to X of left visible
set Y to Y of top visible
but those are based on the frames' size. Is it possible to base on application window's size? because my frames have different dimensions.
-
I have a problem with the y aspect.
I can't make it higher to the corner.
When I use:
Set Y to Y top frame-10
OR
Set Y to -10
Result --> it only shows the half of the bar, but the position is still lower than the part where I want it to be
When I use:
Set Y to Y top frame-(any negative number higher than 10)
OR
Set Y to (any negative number higher than 10)
Result --> lifebar is not shown in the window
When I add a positive value to the Y position, it works (making the lifebar go down), but I want to make it go up to upper left corner, so that's the problem)
I tried deleting the event and manually positioning the lifebar at the upper left corner in the frame editor. It also does not appear in the window. So what does this mean?
The x position is working fine.
I can't delete the quick backdrop object (gray color) in my frame. I want to delete it also. How?
Can you try it on the file you have?
-
I closed my MMF2 without saving. I opened it again and tried it again. It worked now.
You can see in my the gray quick backdrop? I can't delete it nor select it to move away from the area of my frame. Why is that?
-
oh. that's a great tool. So I can't unlock the quick backdrop individually?
also, so I have a "lifebar holder" (which is just a picture really, but I used active object)
the active object is the one being set to the top and left frame of the screen.
then, the lifebar itself is positioned relative to the lifebar holder.
I have several questions:
- which options should I pick (options in the relative to another object)?
- when I dash, the lifebar sort of moves too, it's like it's trying to catch up to the speed of the hero dashing, then it returns to normal when I stop dashing. Is there a fix to this? Lifebar moving when I dash looks weird lol
-The lifebar object is "over" the lifebar holder. How to make the lifebar holder "over" the lifebar without usng another layer?
Edit:
see those black backdrop I used to act as floor/walls/ceiling in my file? should I have used active object for them instead of backdrop? I used black color on them because I plan to make them invisible and I will use "subtract" transparency on the black backdrops to make them invisible in-game. Wrong or correct idea? or should've used active ?
-
oh thanks. I fixed them now. thanks for the explanation and tips. I am progressing now in my game.
Can you reply to my edit part of my previous post? about black backdrops...
Edit: Can MMF2 allow 2 or more counters in a single frame? I added another counter bar to serve as my powerbar. No matter how big I resize it, I can't see it in my application window....
also, people can suggest for changes to the program? I would like to suggest an alternative to this "hot spot" aspect.
I prefer the way of aligning sprites in Fighter Factory (program used for programming M.U.G.E.N. characters)
http://oi43.tinypic.com/r0ytr4.jpg
So if you have a circle sprite, just place/align the circle so that the axis is directly at the center of the circle (means hotspot is in center of circle sprite).
Compared to MMF2, for example, that char in the pic, the cut sprites/frames (different sizes) can't be aligned easily. I have to try again and again where to place the hotspot per frame (exact pixel location)
Also, MMF2 can't support importing animated GIF files.
These are just suggestions though. That's one of my previous game languages, although it got boring.