MrMiller's Recent Forum Activity

  • Ini bawdy? <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Don't you need the editor to set points and stuff though?

    Yep, image points, hotspots, etc.

    The best and most reliable way of working with CC's picture editor is to paint your sprite images including transparencies with your preferred external graphics application, save the results to disk as .png (incl. transparencies) and then import them in CC's picture editor (Second icon in the top row).

    I assume this is also what MrMiller meant.

    Yes sir <img src="smileys/smiley1.gif" border="0" align="middle" />

  • 1. Make sure you've selected the Layout Editor tab at the bottom left-hand side of the screen.

    2. Look into the "Objects" column above that, and right-click the object you want to copy, and select "copy" from the right-click menu.

    3. Go into the layout you want to paste that object into, and then right-click and select "Paste" from the right-click menu

  • Just curious; why are you pasting images into the editor instead of just importing them through the file menu?

    Is if because you're combining images to create new images or something?

  • I tried to search for this in the search engine, but it's becoming difficult to use now since Construct 2 stuff is so heavily mixed into the search.

    I'm trying to do 2 things (2 separate .caps)

    <img src="http://www.spacemonsters.co.uk/wp-content/uploads/2011/04/wp-sprite-directions.png" border="0" />

    1. With each angle playing a different set of animations in one .cap

    2. With each animation set having a mirror for it's opposite direction in the second .cap

    I'm trying to give both the ability to work with the XBOX 360 controller and the keyboard.

  • Hey JayJay,

    After you mentioned the image points, I went back and realized I'd made two mistakes:

    1. My 5 loading images for "animation 1" were a different size than the one for the idle animation (animation '0').

    2. None of the image points were set.

    I was under the wrong impression that Loading in images in Construct would operate the same as doing it the default way. Not so.

    I'm all set now :-)

    Thanks, JayJay!

  • Nice, but the implication that using Construct = lazy, is way off base.

    What people tend to not realize is that programming with event-based systems can be as simple or complex as you make them. I've seen people create event code/expression combinations with these systems that are so complex that it would've been easier to do the exact same thing in a programming language, yet you have to admire the person's willingness to take the program to another level.

  • I'm using Loop index to loop in a set of animations. When I hold down a key (right arrow) to activate an animation, the sprite moves to another position that's completely different from its idle position.

    Is there any way to keep all of the animations in the same X and Y position when using Loop Index and Load Animation From File?

    Here is the loading event and expression:

    -> Hero: Load frame from apppath + "animate\" + str(global('Hero'))+"\"+ str(LoopIndex("animation"))+"\"+ str(LoopIndex("frame")) +".png"

    Here is the .cap:

    rapidshare.com/files/4090090539/Load%20Frame%20Test.zip

  • Ah. Thank goodness it's just a bug. I wasn't sure at all.

    I'm going to do what you said. I was at first going to try making an .ini save system again, but I don't see a way to properly send and receive info between the .ini and cap/exe for multiple duplicated sprites unless there were a way to have each duplicate sprite count itself as a unique sprite. I remember there being a plugin for unique sprites, but I'm not sure if that would be something to solve the issue or not. I'll have to check that out.

    Thanks again, Rojo!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Rojo,

    Thanks for tackling this!

    The objects are global so they keep the same position from layout to layout.

    Yeah, that's exactly what I want it to do, with the addition of being able to have the objects return to the previous positions they were in in Layout 1.

    You could try to reload when you go to layout 1.

    Do you mean manually, or through events?

    When I've tried it manually the program just sends me to Layout 2 when I click the black loading button. When I've tried to do it through events where I try to get a load and a layout jump at the same time, the program refuses to do either and I'm stuck on the same layout :-(

    I really need it to reset automatically, but I figured that if I can't at least get it to stay on Layout 1 when I click load there is no reason to even try tackling the auto load function yet.

    This makes solution 1 not work, so I would say this would be a good situation to do your own save/load system.

    I created an .ini Save/Load system last year, it worked great. But my hard drive crashed since then and I no longer have the old file. To make matters worse, I can't even remember how I did it, lol :-(

    The other thing I worry about is how the system will handle loading and saving duplicate sprites like how you'd have a lot of when laying ground tiles for a platform game. The save/load function in events would obviously do it naturally but I'm not sure of how to go about it using an .ini save system. If I can do it like a level loader where sprite positions are read from the .ini file at runtime then that would take care of positioning at least, but I forget how to save plugin parameters and such.

    It's a Construct game state file, only readable by the game that made it.

    Right, but I was trying to find out what the file extension is. I can't find it.

    Here is a simple save/load that will work for your example:

    http://dl.dropbox.com/u/5426011/examples15/simple_save_load.cap

    Yeah, I could already do that with my current setup if I only use one Layout. I actually originally did that, but I need two layouts; one to use as an editing board, and the second to use as a fake 'runtime' of the editing board.

  • <img src="smileys/smiley19.gif" border="0" align="middle" />

    Anyone?

MrMiller's avatar

MrMiller

Member since 4 May, 2010

None one is following MrMiller yet!

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies