dansk1978's Forum Posts

  • Hi all

    I'm in the middle of writing a new game called Head Football. The idea is that it's a head to head match between one player and a computer controlled character (with hopefully, two human player mode to come) with the target to score more goals than your opponent. I've attached a screenshot of the game so far. Plenty to do but it's coming along well. The players move, the ball's physics work well and a lot of the graphics are complete.

  • Hi

    Not sure if anyone remembers Tranz-Am on the Spectrum. I'm attempting to create something similar in Construct 2. It's basically a car game where you have to avoid enemy cars, bushes and not let your fuel get too low whilst collecting 8 trophies scattered around a big area. I hope to have a playable demo up soon!

    Matthew

  • Thanks!

  • Hi all

    I've just uploaded my first Construct 2 game to the Scirra Arcade:

    scirra.com/arcade/puzzle/11267/three-mens-morris

    It's a game for two local players and is a bit like tic-tac-toe but you can move your counters after placing them.

    Please have a go and feedback any comments!

    Thanks

    Matthew

  • That is fantastic - good work!

  • Thanks - I think I've got it working with the function.

  • Try Construct 3

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

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

    I've tried that but I'm having issues with the f.param(0) line. I've tried writing this value to a textbox on screen but it's always showing 0. I've added in all of the code and the rest of it seems to work but that. Could you give me any help with this?

    Thanks

  • Thanks I'll take a look!

  • Hi

    I have three sprites and I'd like to compare the X values of each (to see if they're in a line). I've had a look at "for each" and other methods but can't seem to make it work. Is there any way to compare 3 instances in this way?

    Thanks!

    Matthew

  • Thanks, I'll give it a go.

  • Hi

    I am really struggling with events. I am trying to write one where it checks whether one of the player 1's counters is currently overlapping another player 1 counter, or a player 2 counter, or has been dropped back on the same spot as when it started. I was wondering whether someone could answer:

    1. If the condition in the event says "Player 1" (for example) - is that the instance that has been selected by the player or is it some general sprite? For example, I have an event where "player 1 is overlapping player 2".

    2. If I want to compare an instance variable on a counter with the UID of a sprite on the background, how can I find the sprite over which the player 1 instance is hovering?

    Hope this makes sense and any help would be appreciated!

    Thanks

    Matthew

  • Hi

    I'm Matthew from Norfolk and am currently writing my first two games in Construct 2. I've some experience in programming but this is going to be a good challenge! Thanks to everyone who has helped me so far!

  • Excellent, thanks!

  • Hi

    I'm used to coding in C# and for my latest game, I want to check whether the player has won or not after each turn. Normally I would consider creating a method to do this (and which could be called from a number of places) but I'm not sure how this might be implemented within Construct 2? I know how to create simple events but they seem a bit too simple - or I'm probably missing something - on how to check that three counters are lined up (for example)?

    Thanks for any help.

    Matt

  • Thanks very much! I've managed to get the counters to now drop into place.