thevolunteer's Forum Posts

  • 12 posts
  • Problem solved,

    Many thanks to all who took the time to look and answer, nice to find such a helpful forum

    Cheers

    Brett

  • Hi Keep getting error message that Global is not an expression in Text or Global cannot follow Text, would you please write it as it should look in the on screen box eg:-

    Text.Global('score')

    That is what it looks like at the moment and it gives the error message

    Cheers

    Brett

  • like to display the global variable score on screen, can do this with a private variable easily enough, but would much prefer the use of a global so that score carries over from one screen to the next.

    Any suggestions or help much appreciated

    Cheers

    Brett

  • My version is 0.99.62

    it was the latest stable version available when I went to the download site. Working now, well need to add a/some baddies so that dying becomes an option, but If..Else sorted thanks.

  • Tyrus rules O.K.

    Have it working now,

    Any idea why I colud not open Minor's file?

    Think it may be to do with my version of C++

    Anyway many thanks maybe now i can sleep at night.

    Cheers

    Brett

  • Hi Minor,

    Have uploaded the file keydoor.cap to Forums Uploads, onehourcomp,

    hope this helps make things clearer

    Cheers

    Brett

  • [attachment=0:1mv0h3gv][/attachment:1mv0h3gv]

    especially for Minor

    Cheers

    Brett

  • Hi many thanks for taking the time and trouble to help, sadly the .cap you uploaded will not run, I get an error message saying that construct.exe has come to an unexpected termination. try to follow this:-

    I right click in the event editor and create an event sprite 1 collides with sprite 2 ( dude collides with door)

    by right clicking this I can add sub event: is global variable 'keys' Equal to 0

    but right click or left click on this I can only find options to delete the event or change/add conditions, there is no way to add the action to make dude bounce

    I can add the action bounce or destroy after the event dude collides door, but after the event or sub event is global variable 'keys' Equal to 0 I cannot add an action, only sub events which do not have the option to bounce or destroy.

    Hope this is clearer

    Brett

  • Hi thanks for your reply, the real problem is in using construct, I know what I want to do, and the order I need to do them in, the trouble is that I right click here and can only compare a variable if it is the first set of an event, I would like to set it up as :-

    if dude hits door

    and keys = 0

    But can only seem to start from :-

    if keys = 0

    and dude hits door

    Then new action does not include Bounce in the options. I just seem to be fighting the programs controls rather than getting on with what I want to do. Have tried the FAQ and Wiki but not like a real manual. Cheers Brett

  • Hi,

    Only had Construct for one week so still complete noob, many years ago I used to program in Speccy Basic, and then Stos ( on the Atari ST ).

    Have created a one screen game, move collect keys, open doors leave screen. I have a variable "keys" that debug shows to be working just as I hoped, ie increases by one if key is picked up, decreases when door is destroyed, but I need to know how to perform the equivalent of:-

    If "keys" = 0

    Then Bounce

    Else Destroy

    So that if I have no key then the door will remain locked

    Hope the explaination is clear, TIA Brett

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Many thanks to Porlo for providing me with the answer, and to everyone else who took the time and trouble to look at my post. No comments on the game so I will provide some myself, on the minus side, no splash screen no game over screen and no way to die during game, on the plus side the main character sprite needs no animation at all yet still looks ok whichever direction he/it is moving in, and by using a sprite of all on colour it can easily be resized to provide walls floors and cieling/platforms very quickly and easily.

    cheers

    Brett

  • Hi all,

    I am a complete noob to construct and these forums so apologies if I am doing anything wrong or stupid, I tried creating a game in one hour and came up with the following before time ran out. Since then have spent ages trying to get the score to display variable 1, the debug shows that the variable is changing as expected but I cannot figure out how to display it on screen, someone please help.

    Brett

  • 12 posts