shinkan's Recent Forum Activity

  • Yeah, there is something wrong with that r79. I can preview and export but can't press any button on keyboard after exporting - on preview keyboard works.

  • Ahh, I'm sorry. My fault, It is working. Found an expression disabling that group constantly in my events...

  • I have a text variable "TXT" set to "" (empty)

    and few groups Group A, Group B, Group C

    and few instances of same sprites with different variables.

    My setup is quite simple:

    Mouse: Cursor is over sprites -> Set TXT to "sprite.variable"

    Mouse: On click on sprite     -> Set group "TXT" Activated

    everythings pretty but I can't find the way to pars text variable TXT value to the "set group active" expression.

    strange but setting it like """" & TXT & """" returns "TXT", but don't works with group :)

  • Better for you than changing layout would be to make one big layout with seperate windows menu and then just scroll around the layout...but it's still a crazy idea :D

    but for menus there are a lot of options. For example make sprite with different frames setups - frame 1 - help, frame 2 - exit...

    You could even make objects visible/invisible depends on their actual state. But changing layout it's not a good idea.

  • That's perfect, thanks You Kyatric

  • Kyatric is it possible to make a delay in loops?

    ie.

    For "loop" 0 to 3 - will make 4 sprites instantly

    i'm wondering if it's possible with loops to do it like that

    creat sprite -> wait 1 second -> create sprite - > wait 1 second ->

    and also, thanks for showing me nested loops, example is always better than plain text explanation in manual, thanks a lot

  • Weishaupt yes, that's exactly why i wanted.

    Thank You guys.

  • Thank You Kyatric capx is perfect, and so easy to do now if i know how.

    Object should appear every "period of time" with transion and name.

    by that i meant something like that

    http://dl.dropbox.com/u/34375299/apears.capx

  • My goal is to make a menu made of 8x8 grids.

    Object should appear every "period of time" with transion and name.

    In short:

    + Create object

    • scale from 0 to 100 (or fade from 0 to 100, any transition)
    • set instance value to "name " & "number - or if it's possible. get namy from array

    + wait 1 second, Create object

    • scale from...
    • set instance value...

    + ...

    If it goes to number 4 go to new line, so object number 5 is first in second row.

    <img src="http://dl.dropbox.com/u/34375299/grid.jpg" border="0">

    I did that with Flash quite easily but i'm unable to reproduce that by events and it's about time to learn that in C2 ;)

    Here's what i've managed to do

    http://dl.dropbox.com/u/34375299/menu.capx

    If someone could show me how it can be done with short explanation how and why I would be very grateful.

  • Quick thought.

    For picking up the box You could use Pin behavior with your box and then

    +On "space" pressed -> Pin box to Player - that will make box stay always relative to the player position.

    For throwing, well it depends what "style" you are tring to achieve.

    You could use Physics, Bullet, custom made events...

  • Family.Count works more like a standard ie Sprite.Count, return how many current Family objects are on the layout.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Haha, did that already :)

    Thing is that my primary screen is 23" 1920x1080 and secondary only 17" 1280x1024 and stretching C2 main window look well...funny ;)

shinkan's avatar

shinkan

Early Adopter

Member since 21 Nov, 2008

Twitter
shinkan has 8 followers

Connect with shinkan

Trophy Case

  • 16-Year Club
  • x5
    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
  • 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
  • Email Verified

Progress

25/44
How to earn trophies