Christmas's Forum Posts

  • You just need to mess with the Y axis of the layouts for your paralex backgrounds that you've already edited the X axis for. At the moment they're set to 100 (default). Its impossible to tell you what's the right setting until you build more of the level upwards or downwards, so keep doing that and then just mess with the Y setting until it looks how you want it when the screen scrolls

    Shouldn't be too hard. You have the X axis looking pretty good already

  • I'm an Animator/graphic designer primarily, but I'm more logical and good at Maths (and humble, and more handsome) than the average arty type, so I took to Construct well. Up until now I've got by because I make very simple educational games embedded inside the pages of e-learning courses. So for the most part they're simple drag and drops, puzzles etc, with one possible outcome... boom, move onto the next page.

    Basically I just make them, export them as HTML5, and they get sent to web devs and I never hear about it again. Occasionally some guy in a suit who drives a flash car with his name on the number plate tells me I'm "doing great stuff" and tries to high five me (I miss 90% of the time or barely smack a pinky).

    I think after 3 years of this going well, they've started to think I'm smarter than I actually am and are asking a wee bit more... MAN ARE THEY IN FOR A SHOCK!

    Seriously though I will get support off Web, they just don't have time to get an understanding of Construct2 so are leaving the ball in my court. All advice is greatly appreciated

  • Me again

    Yeah there's a single pixel of dead space on the left and top of your Tile images. You need to open them up in an image editor like Photoshop (or a nice free one like GIMP or even Paint.Net at a push) and then delete that by cropping the image slightly.

  • Thank you brunopalermo

    Yeah that's the idea. I export the data from C2, and then our talented web dev handles the rest through her magic codey-ness.

    I built a game a year or two back. One of our guys went in and added this simple line so we could export to a high score web page, and it worked fine.

    On Touch 'Submit Score': Browser - Execute javascript "submitScore("& Score &");"

    Sadly he's moved on elsewere, and the balls in my court now, and I can only bullsh**t that I know what I'm doing so far right?

    hopefuly I can show her this and she can take it from there, so I won't get fired and have to go back to my old job of selling pencils

  • Hello. I'm not new to C2, having used it for 3 years and made many simple games with it, however I'm not a coder and I've been tasked with something that may seem very simple to many, but is utterly alien to me.

    My employers want to take information from my game. Mainly numbers from global variables such as Player Scores or Timers, and then feature them on other parts of the web pages were my games are embedded (in iFrames). They also want to communicate to the page that a game has been completed, or that the game window has been closed.

    I've consulted the Manual and forums and find most information I've come across on the Browser's Javascript Execution and Ajax functions a bit bewildering. Does anyone have any information or links to simple example capx's or tutorials that might help me? Bare in mind the minute anyone starts talking code I get brain-freeze.

    Thanks in advance

  • There are some good examples knocking around in the forums. Like here https://www.scirra.com/forum/realistic-rope_t65930 try downloading that, it may help.

    If not consider posting a capx, then someone could take a look at it and see why the crashes are happening.

  • I'd like to know this too. Had a search around for info a while back and didn't come up with much. Using the Wait event can work (On Song Start-Wait 120seconds- do a thing), or using a Variable to store time and matching it to points in the song runtime. Neither of these are going to be completely accurate

  • Here's a list of True 16:9 Resolutions https://pacoup.com/2011/06/12/list-of-true-169-resolutions/

    They've highlighted one's divisible by 8 in green, your pixels will scale fine if you stick to one of those

  • *Replaces and deletes whilst humming 'Here in my Car' by Gary Numan*

  • Someone was asking something similar but perhaps a bit more complex the other day. It involved moving a physics object. There are some capx examples I put in here which, while they're not ideal, may give you some ideas https://www.scirra.com/forum/how-to-make-physics-platformer_t197937

    I wouldn't recomend using a physics object as there's a simpler solution, but its worth trying everything because you might come up with an interesting mechanic that makes your game unique. You can simply try to make the object move a couple of pixels in the direction of the collision, or perhaps give it platform or bullet behaviour that is triggered when it is collided with

    Good luck

  • Can't follow that link redeemed t. Error 404. Can you maybe re-upload it?

    Also the spaces in your username make it impossible to tag you. You may want to change it to or something similar, to make it easier for people to get hold of you

  • Yeah you know what dop2000 I think that may be perfect

    I had a go at breaking it, but other than the dragging outside layout thing, which isn't going to be an issue, there doesn't seem to be any problems with this at all. I love it

    I owe you one

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wow that's great. So quick too. Any ideas how to constrain the drag & drop so we can only pull the car back a small amount like in the original? it's quite important that the player can't pull the car back indefinitely. Sure I'll figure something out with some tinkering though

    This is way better though and easier to work with Thank you dop2000

  • Ok tried a few things out, and while it is better, it's still less than ideal

    https://www.dropbox.com/s/eq5fmyb4vy4pnxn/Pullback%20Test%202.capx?dl=0

    I've had to have the car snap back to the origin position when it's pulled back into a wall. I'd rather it stayed in the position touching the wall, but I can't find a good way to do this while still keeping the pullback action active

    On some occasions the Car Sprite gets stuck in the wall entirely and you're unable to pull it out

    All in all it is an improvement. It could be much better though, so still open to suggestions, input, opinions, general hearsay and rumors

  • Great, thanks dop2000 that sounds like a plan. I'll give it a go