Nerdsville's Forum Posts

  • Thanks Guys,

    here's the Capx - sorry it's so big - it's because of the huge background image - it's the main feature of the project and I don't really want to lose the great detail. (Any tips for retaining this detail and improving performance gratefully received!).

    https://dl.dropboxusercontent.com/u/437 ... 0Capx.capx

    You'll see that the mouse pointer misalignment worsens as you zoom with z and x. I've tried various ways of adjusting mouse.x and mouse.y by factors related to the scale, but to no avail.

    Cheers,

    Martin

  • It's accurate when in the centre of the screen. When at the edges of the screen the sprite overshoots the mouse pointer and appears at a more peripheral position (or off the screen).

  • Hi,

    I'm setting one of my objects to go to Mouse.X, Mouse.Y every tick, but it doesn't go accurately to the mouse pointer position.

    What am I doing wrong?

    Is it something to do with scaling of the layout?

    Cheers,

    Martin

  • Hi,

    The kids in my school coding club love C2, but many only have Macs at home.

    Will portable installations of C2 on USB sticks work on Macs running Windows emulators?

    Cheers

  • Problem fixed!!

    After a little more fiddling I realized the sound was playing every tick, so I added a 'trigger once' and it works.

  • Hi,

    I'm posting here because this is probably something I'm doing wrong rather than a bug <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> The narration in this projects starts off OK, but when it get's to the second sound file I get a horrible audio glitch.

    Here's a slimmed down version of my capx :

    https://dl.dropboxusercontent.com/u/437 ... itch2.capx

    Help?

    Cheers,

    Martin

  • Thanks Newt,

    'works a treat - a tiny bit of jerkiness (probably due to my large image), but quite acceptable.

    What's the reason for the 1-0.05^dt bit? (I replaced this with a variable so I could easily fiddle with the timing)

    Cheers,

    Martin

  • Thanks RamPackWobble,

    so your capx seems to show that it's not my large sprites that cause this problem? Any solutions?

    Cheers,

    Martin

  • Thanks!

    Is there an easy way of chopping a large image like this into smaller chunks, then arranging them again in C2? I'll be using GIMP. what size chunks?

    Cheers,

    Martin

  • Try Construct 3

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

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

    I'm using bullet behaviour on an invisible sprite to do a movie-like pan around a large map. The panning is quite jerky at times. Here's the file...

    https://www.dropbox.com/s/0g54ap4bcugno ... Jerky.capx

    The background sprite is large. Is this the problem? Do I need to chop it up into small tiles?

    Cheers,

    Martin

  • Hi,

    I want to centre an object on the screen so I used set position and entered the coordinates as:

    X WindowWidth / 2

    Y WindowHeight / 2

    This doesn't work - the object appears bottom right of the screen. If I enter the numbers (320, 240 for the default window size) then the object appears in the correct position.

    What am I doing wrong?

    Cheers,

    Martin

  • Else is covered here in the manual...

    scirra.com/manual/124/system-conditions

  • Hi,

    I'm making a project using a large single JPEG for the backdrop. I've added it to my layout as a tiled background even though I'm effectively only using it as one big tile. Is this inefficient? Is there a better way?

    For panning around the layout I've made one big invisible window-sized sprite. It works fine, but again I'm concerned it may be resource hungry.

    Any help greatly appreciated.

    Cheers,

    Martin

  • Hi,

    I'm pretty new to C2 and have to do a project involving a large backdrop with many small images which should react when rolled over or clicked upon. I'd love a few pointers.

    If I want to scroll around the background should I make it one large tile covering the complete layout or make it a sprite. How would I move the camera around?

    As I roll over & click on objects (I guess each will be a different sprite) I'll need to either bring up a text box, link to another screen (with a back button) or activate a web link.

    Any links to tutorials to help me do all this will be greatly appreciated.

    Cheers,

    Martin

  • Thanks - I think I've worked it out. I had 8 directional movement AND platformer movement and hadn't replicated both via touch.

    I think the sound issue was that I only had ogg. When I convert to wav and re-import, Construct2 converts to different formats and this makes the sound work.

    BTW - I used to dream of a 16k RAM pack for my ZX81 - never got one, so never had probs with wobble :)

    Cheers,

    Martin