lionz's Recent Forum Activity

  • You can set the variable on the sprite as it's created and before you spawn the map if you put the events in the correct order.

  • There's no way to specify the object created from a family but also you don't need to make a condition for every sprite object, you could do something like create map object by name where the map you want is an instance variable on the sprite.

  • You do not have permission to view this post

  • Right now only way I can manage is to create a local variable/parameter and make a condition for each parameter value, which is cumbersome waste of space.

    What do you mean?

  • Yeah it is probably any product IDs, but you could've tested this in the sandbox environment before pushing it live. I would stick to the specific product ID, making it any purchase because you have only one product has caused some bugs. There's also no way to revert it because I don't think you can track who genuinely has the local storage flag set since both events triggered it.

  • Are you on android? Either way the workaround is how you should've done this originally, not sure on that first bit of logic, unlock the full version on any purchase, that was your design?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Every 1 second add 1 to the global variable. When global variable is 60 - game over.

  • maybe that variable isn't 0 ?

  • That would be a nice addition!

  • I therefore use the "stop" function followed by the "City" tag. However, the sound does not stop.

    When do you use it? Share a screenshot

  • You can use for each element for each X as an option, or you can use a system for loop from 0 to n where the data 'loopindex' can be the current X or the current Y. So if you have 5 rows and run for 0 to array.width, it will run 5 times and each time you have the loopindex of 0,1,2,3,4 to refer to each row.

    I would definitely take the item references from a global variable as there's really no need. You can use global var for the amount like numWood numStone collected for the player. The way you will design the crafting events is kind of based on how it works in the game, you can just throw any items into a place and hope it makes something seems a little wild for the player.

    Maybe for the crafting it's easier in the end to use a sprite with instance variables which are named by item name and the value is the number dropped in. It really depends how this crafting would work, I can't imagine it as a player.

  • There's a lot going on here, I'm not sure how the ingredients are listed, i thought you said its crafting from 2 item types. Also I wouldn't use IDs for items theres no need, should be strings for the item names and numbers for the amount required. In general you move through the array by using the array object and for each X to check each recipe, but within this you need to check certain Y (columns) to see if it's matching.

lionz's avatar

lionz

Online Now

Member since 5 Aug, 2013
Last online 10 Mar, 2025

Twitter
lionz has 73 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies