AllanR's Recent Forum Activity

  • Unconnected

    there is a "Transparent" check box under Appearance, in the layer properties panel... if that is what you mean.

    or are you talking about clearing a canvas object?

  • tonylarison

    it is normal for floating point numbers to have tiny variations like that, so rounding whenever you check the global variable is usually necessary.

    the event sheet runs at the games frame rate - normally 60 times a second under ideal conditions.

    that is every 0.0167 seconds. And there is no guarantee that each tick will happen at an exact interval.

    you have to use dt to know how long it has been since the last tick.

    looking for a specific time with that many decimals will not work.

    you can use timers, and other types of triggers to make things happen when required. What are you trying to do? there may be a better way that you haven't considered...

  • redfoc

    I would first select all the turret family except the one doing the targeting, they you can pick nearest...

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

  • Titan Games

    well, it looks like it is more than a little problem...

    when you click join, then game layout starts, but in preview, it doesn't know it is host at first, so it doesn't create a tank for you.

    clicking the badges button restarts the game layout, and the second time it knows it is the host and does create the tank.

    (I couldn't get a peer to stay connected, but that may require exporting... it has been a while since I played with multiplayer, so I don't know exactly what I am doing).

    if you click the green CreateButton, it calls up the UI, but the tank is behind the spawn2 sprite so you cant see it. (you should move the tank, turret and tracks to the Creator layer.

    You aren't picking any specific tank, so all players tanks would get moved to the spawn2 area...

    then when you click the badges button to go back to the game, it is just restarting the game layout, which is resetting the whole game. So, you should be just hiding the Creator layer, moving the tank back to the game layer and putting it back where it was or at a spawn point...

  • Mayfly

    I saw Ashley reply to someone else saying that in an apk, there is no Browser UI. So, that may be part of the trouble you are having...

    I have seen some other posts recently about people importing html and using a plugin to display that, so that may be easier option.

  • scale outer should be able to do the job.

    set Unbounded Scrolling, and the game area will be centered...

    you can add graphics for wider screens on the left and right if you want to fill the available screen.

    this sample works on my desktop, iPhone and iPad:

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

  • EzekielRage

    ok, the way Cluedo works is you first sort the cards into 3 piles: people, place, and weapon. Take one card from each pile and that goes in an envelope.

    then the remaining cards are shuffled together and dealt out to players. The players then have to use the process of elimination to figure out what is in the envelope.

    so, to replicate that in Construct, you have to make sure you first get one card from each range (and store those in global variables), and then deal out the remaining cards.

    you can't pick the traitor cards after dealing, because you would probably pick cards in different players hands... or you might pick a hand that only has people and places - no weapon.

    I updated my sample to show you how I would do it, for any number of players (between 2 and 6).

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

  • the people that made that video don't have infinite zoom either - they use tricks to make it look that way. You have to figure out when to swap from one set of images to lower resolution versions.

    that is what 3d engines do - they only render objects that are close, anything far away uses a less detailed version of the object.

  • EzekielRage

    the array is a global "variable".

    the part where I print out the results shows how to access the values

    PlayerDeck.at(Player#, Card#) will give you any card you want - where player# is a number 0 to 6 representing the player you want, and card# is 0 to 2, for the first, second, or third card.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • You do not have permission to view this post

  • Nyark Tolegna

    best way to check time is to add Browser, and use javascript...

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

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