Pode's Forum Posts

  • Dirty trick : put a sprite on top of the text you wan to change, with the background color of the sprite set as the color you want for your text. Then set effect=>Additive on the sprite. It should do the trick...

  • Joshua: don't hesitate to post some files here to ask for help on some pieces of the game (not the whole game so you're not afraid of somebody stealing your work). Lot of people here can give you a hand on some things, because we potentially use them in our own production (so you're not forced to recreate the wheel => quicker dev cycle => maybe quicker bucks on you bank account).

  • Something like that ? http://dl.dropbox.com/u/1412774/walk.capx

  • I embarqued this morning on a project for a plugin to manipulate & change the URLs, and I remembered your nice plugin. It's way more quicker to use it to do things like that !

    So, here's an example, which shows how to change the url you are currently browsing when clicking on a button inside C2's canvas. Beware, everything you were doing on your game can be lost !

    I added a second button. When you click on the first one to go to google (for example), and go back with the 'back' button of your browser, you can use the second button to navigate forward in the history tree.

    http://dl.dropbox.com/u/1412774/URLs_and_Timeouts.capx

  • If I understand well what you have done, you dissociate the angle of the car from the trajectory, by using "targets" above each waypoints.

    The linear interpolation part is there to give a nicer movement profile for the car.

  • I don't know why, but the answer I gave to Yann was not displayed in the right thread...

    So, I just said "@Yann : sorry for the explanation. Anyway, the feeling you gave to the car is great ! ".

    I'm removing it from the other thread...

  • Edit : wrong post...

  • Here's a little example I made http://dl.dropbox.com/u/1412774/cargame.capx.

    <img src="http://dl.dropbox.com/u/1412774/screenshot.png" border="0">

    It's a micromachine like game, where I want the car controlled by the computer to have a plausible behavior. I used a series of waypoint, but I can't get the physics to create a lifelike movement (I even have problem with the angle at the start of the game...)

    I use to "dummy" object to store the values of the previous and next waypoint.

    (and by the way, I don't own any rights for the image used as background, so don't use it for any commercial stuff, I can't give them to you !)

  • SullyTheStrange : Wow ! Nice trick :).

    It's very helpful. I'm always asking myself the question, when I stumble on a dev block inside Construct 2 : "If it doesn't work, is it because I'm not wrapping my head around C2 way of doing things, or am I right in my trying ?"...

  • The way you implemented the gesture detection is clever !

  • There's something I can't get to work : 2d arrays.

    How can you build two loops (one inside the other) to access (X,Y) cells in an array ?

    In other languages, you can do something like that (complete pseudocode...) ;):

    for i from 1 to 10

        for j from 1 to 5

            do something at(i,j)

    How can you do the same with Construct 2 ? (Since there's only one loopindex when you use a 'For each' loop)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • FatRat : in cases like that, use the "Is on-screen" condition. Then, right click on it in the event tree, and click "invert".

  • What I have done, to streamline the process, is to design all my sprites with the same color for alpha transparency. When you design the game, you have that ugly color all around, but when you export the game, you can go to the "media" folder, take all the sprites in a go in Gimp or ImageMagick, and set to alpha color for everybody in a snap...

  • It's pretty nice. I don't thnik you can squeeze a lot more of improvements, but if you want, you can use the Randomized Array to do the shuffling automatically on start. (That's what I used in my Fifteen game sample).

  • R0J0hound

    It's very VERY impressive ! It's like a magician, when you see it, you're impressed, and when you know the trick, it is even more impressive.