MrMiller's Recent Forum Activity

  • The event code in the .cap I made is a real beast. I've actually gone through maybe 5 different sheets. They work but they're always off in some miniscule way.

  • Okay, I see what you did there :-)

    It seemed like I could only get one or the other (left scrolling but no icon, or icon but no left scrolling).

    Thanks so much, JayJay!

  • Hi JayJay,

    I just inserted the code example there, and I noticed that I was able to acheive the same result with different code before, but the problem is still that the blue marker no longer operates properly (it leaves the screen when I go left). I'm trying to figure out a way for it to always stay at the edge of the screen and follow the red squares 'Y' coordinate, no matter how far to the left I go with the black square.

    Here is an example: youtube.com/watch

    Notice how no matter how far to the left the guy with the ball runs, the marker on the right is always still visible and following the Wide Receiver's Y coordinate (the Wide Receiver is the guy he eventually throws to).

    P.S. The white space is okay. The more space the better; it's intended to be space where the user will be adding graphics.

  • Hi Jayjay,

    Yes. The only other thing is, if you press the 'enter' key you call a "timeout": that takes 1 red square away, resets the :40 clock to :40 seconds and begins counting down from :40 again, and stops the 15:00 clock.

    When you press 'o' after that, this should again activate the movement of the blue dot, make the 15:00 clock begin counting down again from the last point where it stopped, and it should make the :40 clock disappear until the next "tackle" is made... and then the cycle repeats itself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I've been working on an American Football clock. The code I created is a bit complicated, but you don't need to know anything about American Football to understand what I'm trying to do:

    Controls

    1. Press 'o' to activate movement of the blue dot

    2. Use the arrow keys to move the blue dot

    3. When you press 'o' that kills the :40 clock

    4. When the blue dot collides with the red dot, the blue dot counts up to '5'. When it hits '5' that signals a "tackle" is finished, and that should immediately reset the :40 clock to :40.

    Now here is where the problems start...

    -The :40 clock hangs for a second or two instead of starting immediately at :40

    -The clock shows the '0' first before showing :40

    -If you allow the gameclock to run all the down to zero, sometimes it will glitch and show text overlap of numbers that should've disappeared.

    -There are some slight issues with accuracy. When the :40 clock (on the right) goes below :10 and you press 'o' to activate the blue dot's movement, the first zero doesn't go invisible. I have code in place for it in line 32, but for some reason it's not triggering.

    -If I press 'o' after the playclock is below :10 AND I then have the blue dot collide with the red dot, a strange glitch occurs where the :0 stays visible while the clock is running down. I'm sure it's something in the code causing it, but for some reason I can't find it.

    File: Unavailable due to upload expiration.

  • Well, I can but it doesn't work properly. Here is what I mean:

    -I can move up, down, and right, smoothly

    BUT...

    -When I change the code to be able to move left, the following problems happen:

    1. The screen skips bizarrely on some kind of delay.

    2. The blue triangle marker on the right of the screen is supposed to become visible when the red square leaves the screen, and then it's supposed to follow the red square's Y coordinate. That all works until I change the code in order to go left, because when I make it go left the code for the blue marker no longer works.

    I got some help for this from another good member and he did great job helping me to get it to the point it is now, but this one last piece is maddening :-(

    File: Unavailable due to upload expiration.

  • making menus in construct is probably one of the more difficult things to do. there's no real quick fix that I know of.

    You can say that again!

  • I'd like to hear what spacewarguy figured out since posting, and if Markin2D's code advice helps. I've had problems with this in the past myself, so I'm going to keep an eye on this thread for future reference.

  • Hey Tulamide,

    Thanks for the info!

    I was just about to come in and edit my second question, as I've found some free software that changes an icon in a snap:

    angusj.com/resourcehacker

    And here is a link that lets you search for icon graphics:

    iconfinder.com

  • 1. Is there a way to make an installer for your games in Construct Classic? When I check the installer box, the installer never creates and the .exe doesn't create when I check the installer box either.

    2. Is there a way to change the desktop icon of your .exe?

    Help will definitely be appreciated!

  • Sadly that's for Construct 2 only RamP, I think that MrMiller is talking about an Xbox 360 controller thumbstick.

    In that case, I made a simple cap here hope it helps!

    Nice. Line 2 is one nifty event. You really are something, Jayjay.

    Thanks, I really appreciate it!

  • Whenever I've used the layout object in builds prior to, oh I dunno, .98, it worked fine in the .cap but as an .exe it glitched badly. But then in anything above .98 I tested it and it worked fine albeit in a program with no events or other graphics besides the window I made for the layout object.

    I get the impression that the object goes haywire when it's put together with a number of other things, but works fine on its own.

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