bbjGames's Recent Forum Activity

  • I noticed that when a button is pinned to an object that moves, the font size resets, is there any way to fix this besides coding in to set the font size every tick?

  • Is it possible to have a button behind objects on another layer? I noticed regardless of the layer I put it on in the layout it's always in front of everything else, is there a way to change this?

  • So I've made a drag and drop setup that works fine and where clicking and holding allows you to move and object and I'm using the On any touch end trigger to destroy the object being carried around. I'm testing it on my computer and what I've noticed is that if while I'm holding I move my mouse over a button object before letting go the On any touch end doesn't trigger. Clicking my mouse fixes it and the object being dragged is deleted. Should I use a different method? Or is this some type of bug?

  • For example 36 would be split into a 3 in the tens place and a 6 is the ones place. Is there anyway simple to do this? I figured out how to do it with while loops and stuff but I'm wondering if there's an easier way to do it

  • 614889782588491390 It seems like this might be the highest? If I increase the value, even by 1 it gets rounded back down to 614889782588491390

  • So I noticed that if a number is too big it becomes infinity but there's also a certain size where all of the digits past a certain point become 0. So what's the largest value a global variable (or any variable) can hold accurately?

  • Thanks ^-^ even if it's slow it saves me a lot of hand work

  • How would that work? I mean like if my list is 1,2,3,4,5,6,7,8,9 in sets of 3 I would get something like

    1*2*3 = 6

    4*5*6 = 120

    7*8*9 = 504

    But there is definitely a better combination for that right? Or am I misunderstanding what you're saying

  • That works if it's groups of two but if it's 3 or 4 numbers multiplied together it doesn't work so well

  • Ok, that'll be really helpful thanks I'm still not sure how to get the program to run through every possible combination of the initial values though

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I made an array that contains fractions (1/2, 1/3, 2/3, etc) and what I have set up is that the user types in two numbers, the program divides them and subtracts until it's left with only the decimal point, and saves that as a global variable, then the program tries to find a corresponding fractions but I'm encountering rounding issues

    For example if the user types in 100/6 the answer is 0.666666668 but in the array 1/3 is 0.6666666666

    So the program doesn't work because these are two different values because it was round. Is there any way around this?

  • If I have an array and I want to find which combination of number pairs gives me the lowest total how would I do that?

    For example if my array has the values 2,3,5 and 7.

    2*3= 6, 5*7= 35. 35+6 = 41

    2*5= 10, 3*7= 21. 21+10 = 31

    2*7= 14, 3*5= 15. 15+14 = 29

    So for these numbers the best combination of numbers is 2*7 and 3*5

    Does that make sense?

bbjGames's avatar

bbjGames

Member since 16 May, 2015

Twitter
bbjGames has 1 followers

Trophy Case

  • 9-Year Club
  • Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

11/44
How to earn trophies