RBuster's Recent Forum Activity

  • With pleasure

    https://www.dropbox.com/s/yht2292h4uxv8q3/eyes.capx?dl=0

    Wow! Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could either put the origin in a different position so the pupil is at the side of the eye while the origin is at the center,

    Thanks, but it didn't not worked very well. It wasn't natural.

    [quote:30pbxi2r]or you could use my example and add the rotaion..

    I tried to adapt your script, changing the touch position by object position, but it didn't work too.

    Maybe spongehammer could publish the capx again...

  • zenox

    I know. It was my mistake. I deleted unintentionally.

  • Hi Bl4ckSh33p

    Sorry to reopen this thread but I've this same issue and I tried to use the rotate toward action but the eyes only rotate on its own axis. Did you change the image point position too? Could you give some more details? Thanks in advance.

    Edited:

  • Thanks blackhornet

  • Hi

    I need to convert the wallclocktime value to milliseconds to submit to leaderboard as required.

    Leaderboard score specification:

    Time leaderboards present scores in hours / minutes / seconds / hundredths of a second format. You must submit scores as milliseconds, so 66032 would be interpreted as 1:06.03.

    I tried simply multiply the value by 1000 but not worked.

    I'm using this: floor(wallclocktime_var*1000).

    Thanks in advance for any help.

  • korbaach

    Extremely didactic! Thank you for your kindness and for your precious time.

  • Hi tarik00555

    Thanks for the suggestion. Although I know what is dictionary I never used it. As I understood, I need to create 30 keys and values (both strings) on start of the layout and, in this case, I can use my first solution: (set text to "dict"&str(level)) to access its data. Is it right?

    ***Edit

    Actually, I think that I need to use something like this:

    Dictionary > has key: "mykey"&str(level) > set text to: Dictionary.CurrentValue

    Is it right?

  • Maybe it is a silly question. I've 30 variables (var1, var2, var3,...) and each one has a value with a combination of letters. I need to access this values according to the specific level in the game. To avoid using "if" for each level, I tried to use something like: set text to "var"&level. But it did not work. So, I created a variable "var" and I used it as before: set text to var&level - but it failed again. Although I know the answer, I would like to confirm this: is it wrong to access a variable in this way? If yes, anyone has another idea of how could I simplify this action with a few lines? Thanks in advance.

  • LittleStain - Thanks for the example.

    - Nice solutions. I'll try it.

  • Thanks LittleStain

    I'll give it a try.

  • Is the same thing that you wrote with the difference that I use a variable to define the random range. The problem of the "random()" is the repetition of the same number more frequently than "choose()", at least was that I've observed (eg number = random(0,5) > number = 5, number =5, number =3, number =5, ...). So, to prevent repetition when I use "choose()" I usually include several copies of these numbers in different positions like this: chosse(1,2,3,2,3,1,3,1,2). This works for me.

RBuster's avatar

RBuster

Early Adopter

Member since 29 Oct, 2012

Twitter
RBuster has 2 followers

Connect with RBuster

Trophy Case

  • 12-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
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies