ronm's Forum Posts

  • Hmm.... no one has replied... so I guess I'll assume C2 can't do this, although I would have expected it could.

    RonM

  • I'm pretty new here and wondering if C2 can do this.

    I'd like to create a template for a fairly simple 'matching' game, where the user matches a name to an image. I'd like to build it so everything is dynamic, using arrays (I assume that to be best). Let's say there is 3 'sets' of images, with anywhere from 5-15 images in each set, and names, and descriptions of the images.

    The user should be able to 'pick' the set they want from a drop down box (or button) on the opening screen: set 1, 2 or 3 - and then the system would read that level of the array and load the images and populate the related vars.

    The question is - can I create image sprites on the fly like this? The sets will all have a different number of images, I won't know until the user picks the set how many to load, and which images they are. After that the game would play the same for all 3 sets, the user needs to click on the correct image bouncing around the screen that matches the text on the screen (also from the array).

    So my question really is can I use a drop down box to allow the user to select a 'set', the read in the related set values from a three level array (one for each set), then dynamically create the correct number of images for the set and load them?

    Thanks for any tips!

    RonM

  • Thanks korbaach!

  • I have 10 different balls all randomly moving around on the screen.

    I would like to display the name of a ball (from an array, hopefully, but I'm not sure how to read in array and do that either) and have the user click on the ball whose name is displayed. Then, I need to evaluate the mouse click - did the user click the right ball (give a success sound and blow up the ball) or not (bad sound).

    Right now all the balls are instances of one graphic. I can't see how I can evaluate the mouse click to determine whether or not the user has clicked the right ball. The mouse click event only accepts the graphic 'ball', not the instances. I know I can add a custom variable to each ball instance, but I don't see how (with the mouse click) to evaluate whether it is the right one that has been clicked or not. This is probably fairly easy to do (once you know how!).

    Any tips on how to do this?

    Thanks

    Ron

  • Thanks for these suggestions, however this looks like extensive programming for a minor result. What I want is a thermometer where the user drags the temperature up or down a straight line and sees the resulting effect of heat or cold. Just a straight line, I don't need any curves.

  • OK...that sound pretty ominous... but thank you!

    RonM

  • This is fairly straightforward but I don't see how to do it. I have a small graphic object that I want the user to be able to mouse drag along a linear path. There are several points on the path where I want another image or text to appear, then disappear. So...imagine I have an image of a dog, the user would mouse drag the dog along a linear path... when the dog is near a fire hydrant some text or an image appears, when the dog is near an image of a doghouse another image/text appears, etc. How can I do this?

    My dog image is set to drag/drop along both axis, yet I cannot move it at all, it is locked. How can I unlock it and create a linear path along with the dog can be moved?

    Thanks

    RonM

  • I've imported a sequence of images and created an animation then exported the file to HTML5, using either/or the 'normal' or 'embed in 'iframe' export option. When the index.html page opens the animation (which is quite small) sits in the upper left corner of the html page. When I embed the index.html in an iframe the entire page is squashed down into the iframe size (400w 280h) so the animation is very small sitting in the upper left corner.

    Is there some way I can control the size of the index.html page so it just shows my animation, which should be centered on the page, not great masses of empty space to the right and below?

    Thanks

    RonM

  • Hello: I'm pretty new here, stumbling around and trying to find some basic guidelines. I've searched the forums on SVG (scalable vector graphics) files but not really sure C2's ability to generate / deal with them. I'm looking for a way to generate some simple animations in SVG and give the user the ability to control them via a 'stop' or 'replay' button, otherwise the anim just loops repeatedly. Does C2 have any capabilities in this area, or if not, any suggestions on what I should be using that doesn't take a masters degree to utilize? I have some older animations done in autodesk animator originally (yes, I am old too) then in animated gif or bitmap sequences that I'd like to retain.

    Thanks

    RonM

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Is there a way I could show a series of checkboxes (up to 50) in a scrolling list? Or - the list object where you can multiselect items - it's almost what I need - any way to to show checkboxes to the left of the list item?

    Thanks

    RonM

  • I have an interaction with a layout size of 800, 600, intended for desktop computers, but when I run it the browser opens at what looks like 800 wide but about 450 high.. the top and bottom are cut off. Does anyone know what might be causing this?

    Thanks

    RonM

  • Perfect, thank you! I have no idea (yet) why that worked but it did!

    RonM

  • I'm trying the 'bouncing balls' demo which is included with the C2 download - about 6 balls bounce in a container.

    This demo uses 6 sprites of the same image. I added 6 frames to the image, and set the 'initial frame' of each of the sprites to one of the different images. What happens however Is the balls cycle through all 7 images, so it begins with 7 different images bouncing, but within a second or so all the images are on frame 7 and look the same.

    Is there a way I can stop this cycling through all of the images, and just force each frame in each sprite to be different? Or - do I need to add 7 different sprites, each with a different image?

    Thanks for any suggestions... I'm trying to understand the rules and start thinking like C2 does.

    RonM

  • Audacity.... will do. Thank you!

    RonM

  • Are there any built in sound effects in the Construct 2 demo? Or where can I find some simp[e (button click, etc.) effects to download in ogg/mp4 format? Thanks ronM