RobertoFreemano's Recent Forum Activity

  • Hi Community,

    I'm looking for a simple solution for my platformer game.

    So far - player has [Platform behavior] with default controls DISABLED.

    I've hard-coded the left/right controls to keys but I'd like the [up] key to create THRUST motion.

    Have looked online but getting a little confused. I see some examples using CustomMovement/Platform

    Event Sheet > Keyboard = Up arrow is down = up.

    I created an instance variable on the player called Thrust with an initial value = numeric (0); the idea was, then key UP is pressed... Player.Thrust +1 and if key released, drops to 0

    It's just getting the player to do same. I may try BULLET, but I have my reservations.

    Any help would be appreciated.

    Thanks,

    Roberto

  • Thanks kriand

  • I also removed var1 and set an instance_variable on Text_variable - just so i could use compare.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi kriand,

    would it be possible to compare Text_Output to variable1 ?

    like:

    if output < var1 then something

    elseif >

    then something else

    I'm not sure that 'compare Text' works in this way... I'm trying a few things out.

    Thanks,

    Roberto

  • Thank you kriand. I thought it might be something like this - you're a star!

  • Hi Community,

    I'm trying to display the difference in Text between 2 values (in theory, it should work) but i feel a little lost with C2.

    If I were to do this in Microsoft Excel.

    Cell A1 = 10

    Cell A2 = input (what ever value)

    Cell A3 = A2-A1

    -- so if I were to input 4, then 6 would be the Output (providing the val was 10) --

    In C2:

    Global number var1 = 10

    Textbox (for input)

    Text for output

    I guess I need to somehow Textbox - var1 and show in Text

    I've a feeling COMPARE might come into it somehow. I tried adding an instance variable to Textbox (you can see where I'm getting my wires crossed)

    Thanks for your help,

    Roberto

  • Muchos Gracias dop2000.

    I will consider you for any future projects... at the moment, I'm currently learning.

    Out of curiosity, what is your fee/rate and do you any other game platforms other than Construct?

    Thanks Again,

    Roberto

  • Hi Community,

    I've looked at some examples online but need help as I'm a bit of a noob.

    !!!I guess I'm trying to PIVOT the rectangle around the circle!!!

    ...this is what I'm trying to do: http://robfreeman.co.uk/demo/

    [despite rotating with my mouse (just to demo)... I'd like to use cursor keys to either left or right and it just does the full 360 loop in either direction if key is held down. but i need help with the actual rotation bit pls Thanks, Roberto
  • it's okay, I found Resource Hacker™

  • Hi Community,

    How does one go about replacing the exe icon that C2 builds on export? Is it possible to customize the 'nw.exe'?

    Thanks,

    Roberto

  • Hi Community,

    I'm trying to build a timer, so each game last 3 mins (180000 milliseconds) - right?

    I have variable named TIM and a Tilebackground which 'set width' is set to TIM.

    The way I did this, the Tilebackground left the layout & went to MARS. my Layout width is 640.

    Is there a way to have the full (percent) of the Tilebackground and it runs out over the duration of 3 mins.

    Hope this makes sense. I knew I should have finished MATH in elementary school

    Thanks,

    Roberto

  • Wow thanks Meqara,

    That was spot on - I learnt a lot from your example.

    Thanks very much

RobertoFreemano's avatar

RobertoFreemano

Member since 25 Apr, 2013

Twitter
RobertoFreemano has 1 followers

Trophy Case

  • 11-Year Club
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies