AllanR's Recent Forum Activity

  • asking in the C2 forum would have helped...

    Pretty much the same as in C3, but you have to use the browser object to call the javescript.

    https://www.rieperts.com/games/forum/DayOfWeek.capx

    NOTE: THIS WILL ONLY work when the user runs the program. If your code says to do something on Monday, it will only happen if the user happens to run your game on a Monday.

    If you want something to happen automatically, whether the user opens the game or not, then you need to store the last date they opened the game and calculate if a Monday has past, or you have to set up user accounts on a server and have code run there that keeps things up to date...

  • You can use "On touched object -> FactoryObject". That will pick only the factory you touched (as long as they don't overlap). Action after that will only apply to that one. If you need to remember after the touch event, then store the UID of that factory in a global variable, which you can later use to pick just that one factory.

  • Nicely done Maverick! :) and good idea Norman!

    played three times - third time got a score of 1632.

    Found what I would consider a bug. If you place a block that completes both a horizontal and vertical line, both lines are removed. But if you place a block that completes both a square of 9 and horizontal and/or vertical line only the square of 9 are removed. The checksquare function should not remove blocks until the check function has had a chance to look for complete lines...

    Norman, an undo system is certainly possible, but adds a lot more complexity!

  • I tried to get the file from your previous post, but it was only the .caporj - which doesn't include most of the files needed to run it. You need to post a .capx or .C3P file for us to take a look.

  • You can't set the textbox contents before you call the layout - The layout will create a new instance.

    Create a global variable called MessageText or something, and set the variable where you are setting Etext now. Call the End layout and at the start of that layout, set Etext to MessageText.

  • nicely done! that works very well - I haven't done much with Z-elevation.

  • You beat me to it Dop!

    I was having fun making an example, based on one I saw you do last year - using lerp to have the score count up...

    https://www.rieperts.com/games/forum/BumpScore.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • are you using Chrome? any extensions that might be blocking it?

  • ok, I had a lot of fun playing around with that! :)

    I tried copying several parts of what I saw in the video...

    I was going to add comments explaining what is going on but ran out of time. There is a camera sprite that has scrollTo and bullet behavior that makes the screen scroll. The layout has unbounded scrolling so it can go forever. Then I move the backgound images back up to the top when they move off the bottom.

    https://www.rieperts.com/games/forum/SkyForce.capx

  • in the spritefont properties, you have to set the character size (which for your font should be 7x9)

    and you have to tell it what the character set is (which letters appear in your font, and what order they are in), which for your font is:

    !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

    (note the first character before the ! is a space character, so don't forget it or all your letters will be off by one.)

  • I played around with bezier curves a few months ago for a bit...

    this is the file that I posted in a couple other threads:

    https://www.rieperts.com/games/forum/Bezier_Curves.capx

  • that does help a lot... I watched some gameplay on youtube, but couldn't see how the movement related to the player's finger.

    the space blaster demo requires that you keep your finger right over the ship. The relative movement makes it a lot easier to see what is going on. I don't have time right now, but I might take a closer look later tonight and see what I come up with.

AllanR's avatar

AllanR

Member since 21 Nov, 2013

Twitter
AllanR has 23 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies