winstreak's Recent Forum Activity

  • Yes apologies - .Width is how you can call on the amount of total elements in an Array.

    I have a video that walks through using an array to pick marbles from a bag at random. So each time you pick you should only be able to pick the remaining marbles. You can use this as a guide to get yours going.

    youtube.com/watch

    You could also have other parts of your code effecting your outcome. You can always try building this mechanic on its own - a new program. Name all the objects the same - obviously the graphics dont matter so dont waste time on those. Once you get it working, move it into your other project and see if it still has bugs.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cursor is over 'familyname'

    'familyname' destroy

  • Haha it was text based - one of my computers didn't have the font downloaded that my other one was using.

  • When I switch between different computers my sprites move (Text for sure). I assume it is some sort of scaling or resolution issue.

    If I move the words in red down to just below 'Your Files', when I log in on my other PC they will be over 'Slot one' and 'Slot two'

  • -Mis-Understood question-

    Answer below is good though :)

  • Your way is most likely fine. The issues would only come if you have a high chance of calling a lane that is already in use - and doing it over and over continuing to fail to find an open lane.

    You could look into creating an array. You would have the array hold all of the currently available lanes. Then grab a int(random(array.length)) position on the array. When you grab that value you remove it from the array. Once the lane opens up again you add it back to the array.

  • Text:

    "Hello, this word is [color=blue]blue[/color]"

  • The Built in Object: 'Save'

  • Created a layer - set up the Z order

    Saved the game using the Save Object built in

    Now when I add new Objects to the layer they are there but at the bottom of the layer. AKA invisible since I have the whole screen full already. I can do a 1 off fix - setting the item to the top of the layer, but this will have to be done for every new item added on the off chance someone has a save of the layer before the item is added.

    Any thoughts?

    I can add code/Events and screen shots if needed, let me know ^^

  • So you will have your 2 sprite objects Card and Actual (Obviously your names are different)

    When you trigger the event you will create object Actual at position (Card.x,Card.y)

    then destroy card.

    This will allow you to have the new object spawn at the same location. You will probably want to create a spawn animation as part of the Actual Objects animations so it looks a bit nicer

  • Just have 2 of your game at the root folder then. One for the current one for the updated. When you upload a new version you will upload it to whatever one is not live - Once that version is ready you go to your website editor and set the newly updated to the game the website is playing. Next time a user refreshes or logs in they should get the new version but no be able to get there mid upload anymore.

    Keep the old version - until you have the next update - this is where you will update the new patch. You will just switch back and forth. Additionally, this will give you -as the dev - the ability to go back to the last patch if you put out a game breaking bug.

  • If it's your site can you just continue to point to the old game until you decide the update is ready. Then point to the new game.

winstreak's avatar

winstreak

Member since 4 Dec, 2019

Twitter
winstreak has 11 followers

Connect with winstreak