Problem with object that doesn't appear.
So, I have three objects, only the two of them are positioned to appear at the begining of the program, the third one is slightly off, so I have to press buttons for it move towards the window. But it won't appear. What am I missing ? I'm using the Demo version of MMF2.
Also I was wondering, for a scroller where the environment is not devided in levels, but everything is completely homogenous, how do I do it? Having one huge background picture is too heavy for my poor pc.
Re: Problem with object that doesn't appear.
1) You need to tell us what method you have used to move the object inwards, if it was off screen to the left you would have to either:
-Set it to bouncing ball movement, set its direction to right, and its speed to a certain value
or
-Always set its x coordinate to its own position plus a certain value
2) If you want to have a very large level, bare in mind that it will use a lot of memory to run, maybe consider dividing it up into several sections. If you really want to keep it as one big area, try creating many smaller backdrops instead of one big one. It all depends on what you're trying to achieve though.
Re: Problem with object that doesn't appear.
1) Ok, the object is actually at the bottom of the screen (out of) because I'm trying to do a top-view game. I'm using alterable values assigned to the x and y coordinates of the objects, and then depending on which button I press, they move. The two other objects are moving fine, but this third one is not where it should be when I'm going towrds its way. Btw the object is partially overlapped by another one. The object tha doesn't appear is an active object and the object overlapping it is an active image object.
2) If I have the background divided into smaller parts, so that that I make the parts that don't currently appear on screen turn invisible, would that make any difference? Actually this whole thread is about just that. I'm trying to find a way on how to do it.
Re: Problem with object that doesn't appear.
Re: Problem with object that doesn't appear.
Yes I can help. Display the properties of the object, go in the Runtime tab, and find the "Inactivate if too far" property.
Then select "NO".
It should work now.
Re: Problem with object that doesn't appear.
Thanks Francois that worked! Love your name btw :)
Re: Problem with object that doesn't appear.
Wait I got another question. There's a scale/zoom issue. I'm using alterable value A accosiated with the scale of an active object so that when I click + and - it adds or subtracts from the A value which it in turn it causes the scale to change so it looks like the object zooms in and out. But if I put any number lower than 1 to be added or subtracted (like 0,5) it doesn't work. Right with now 1 the zoom goes too fast. Isn't there any way around this?
Re: Problem with object that doesn't appear.
When using decimals you need to use set alterable value instead of add/subtract. I believe this quirk is fixed in Build 243.
Re: Problem with object that doesn't appear.
Hey, Joshtek I remember you from yesterday at the chat :p
No, no that isn't what I want, I need it to be a smooth, interactive zooming. The problem is that it accepts numbers like a whole 1 or 2 but not 0,1 or 0,2.
Re: Problem with object that doesn't appear.
Use . instead of , and it should be much happier. MMF2 uses the American/English decimal point, not the Greek/French decimal comma.