1 Attachment(s)
Make your own Connect the dots game help
I'm making a connect the dots game and got a bit stuck in several places.
I've gotten to the part where you make the dots, but I can't figure out how to actually connect the dots that you make.
Second, I want to be able to change the color of the backdrop, but it doesn't work because of the paint engine I built.
If you can help, either edit the game and attatch it to your message or tell me how to fix it. Thankyou!
P.S. Even if you don't think you can help, look at the game anyway. You may either learn something, teach me something, or enjoy it.
Re: Make your own Connect the dots game help
Where can I get the DialogBox extension?
Re: Make your own Connect the dots game help
[]Where can I get the DialogBox extension? [/]
It's a Multimedia Fusion Developer 2 extension. Not available for Standard version.
Re: Make your own Connect the dots game help
lol <img src="/center/images/graemlins/smile.gif" alt="" />
I don't think I can help then, unless you upload an example that doesn't use the DialogBox. <img src="/center/images/graemlins/wink.gif" alt="" />
Re: Make your own Connect the dots game help
I guess you would need drawline object? Maybe this could be done with lua script
Re: Make your own Connect the dots game help
Alright. I'll work on a version without the dialog box.
Re: Make your own Connect the dots game help
Yes. I need a drawline object. How do I do that and what it Lua script? Is it like C++?
1 Attachment(s)
Re: Make your own Connect the dots game help
If you have version 2.0 (not developer), download this.
Re: Make your own Connect the dots game help
I never tried LUA myself so I'm not of much help in this language. Since the LUA water effect UltimateWalrus posted, he seems to be one of most indicated to answer this LOL <img src="/center/images/graemlins/smile.gif" alt="" />
"Lua is implemented as a small library of C functions, written in ANSI C, and compiles unmodified in all known platforms. The implementation goals are simplicity, efficiency, portability, and low embedding cost. The result is a fast language engine with small footprint, making it ideal in embedded systems too."
you can find more info at www.lua.org
good luck <img src="/center/images/graemlins/smile.gif" alt="" />
1 Attachment(s)
Re: Make your own Connect the dots game help
If you have MMF2 (not developer) and you want to see the full version, download this. It's a stand-alone application.
Re: Make your own Connect the dots game help
Umm...
I hope there's another way. LOL
Re: Make your own Connect the dots game help
Instead of pasting to the background, you can paste to an Overlay Redux object. This overlay can then be displayed in an Active Overlay object, which can be ordered on top of an object to represent the background. It looks like you already made an object for drawing the lines, I just made it paste into the overlay while it's moving. Another advantage of using the Ovelay object is that you can do a flood fill (I made it so you can do this by clicking the middle button).
I put walrus-colored comments above everything I changed. If you want your drawing to be interpolated, vortex2 made a nice example. Here are links to the Overlay Redux and Active Overlay objects.
1 Attachment(s)
Re: Make your own Connect the dots game help
Whoops forgot to attach ^_^
Re: Make your own Connect the dots game help
My computer doesn't recognize any of the files in the zip folder for the active overlay.
Re: Make your own Connect the dots game help
[]My computer doesn't recognize any of the files in the zip folder for the active overlay. [/]
Did you forget you asked that question in another thread? <img src="/center/images/graemlins/smile.gif" alt="" /> The answer is there:
http://clickteam.com/center/showflat.php?Cat=0&Board=fammf2&Number=877 0
Re: Make your own Connect the dots game help
Thankyou very much! That solved all of the paint probloms and made them better, but I think you misunderstood my first question. After you create the dots and paint a background, I want the user to be able to play the game they created. They should be able to actually connect the dots using the mouse to drag a line from one dot to the next. I just don't know how to do that.
Re: Make your own Connect the dots game help
[]Thankyou very much! That solved all of the paint probloms and made them better, but I think you misunderstood my first question. After you create the dots and paint a background, I want the user to be able to play the game they created. They should be able to actually connect the dots using the mouse to drag a line from one dot to the next. I just don't know how to do that. [/]
The easiest way would be to use two overlays (one for displaying line-drags), and use the "paste overlay into overlay" function. However, I've tried it and this function doesn't seem to work in MMF2...
I'll have to think about it.
Re: Make your own Connect the dots game help
[][]Thankyou very much! That solved all of the paint probloms and made them better, but I think you misunderstood my first question. After you create the dots and paint a background, I want the user to be able to play the game they created. They should be able to actually connect the dots using the mouse to drag a line from one dot to the next. I just don't know how to do that. [/]
The easiest way would be to use two overlays (one for displaying line-drags), and use the "paste overlay into overlay" function. However, I've tried it and this function doesn't seem to work in MMF2...
I'll have to think about it. [/]Ok. All I need is two more things in this game:
1. A line to be dragged from one dot to the next with the mouse.
2. Being able to draw lines only in the right order.
P.S. My weak points are loops and overlays.
1 Attachment(s)
Re: Make your own Connect the dots game help
I think I figured out how to do what you want. I attached an example to this message.
Re: Make your own Connect the dots game help
Wow! That's great! It's exactly what I want. Thankyou! Now, all I have to do is replace the active object with the dots and find another way to number the dots without using frames in an animation.
1 Attachment(s)
Re: Make your own Connect the dots game help
No problem! ^_^
It'd be really easy to number the dots using string objects (see attached).