R0J0hound's Recent Forum Activity

  • I agree the script editor could use some improvement in that area. Ideally the editor should show everything that is available at runtime. This will be attention eventually, but there's a few other issues that merit a higher priority at this time.

  • Triggers are "triggered" when they occur regardless of their position in the event sheet. That may be what's going on. I don't know if you were able to find a workaround but here is one that may be of use. The box is selected on the first attempted drag then it can be dragged with any following drags.

    http://dl.dropbox.com/u/5426011/examples5/dragdrop.cap

    made in cc1.2

  • Just mess with the global variables 'maxrow', 'maxcol'. They define the maximum number of rows and columns visible on the screen.

  • This method is obsolete.

    instead of

    py.GetSOL("Sprite")

    use

    SOL.Sprite

  • Yep, that utility only saves values as strings.

  • Try this:

    value=40
    name="N"+str(value)
    System.Create(name,1, 0, 0)
    newobj=eval('SOL.' + name)
    newobj.x=300[/code:1a1ac7tf]
    
    eval() evaluates any python string.  Now you will only have an error if there is no object named "N40".
  • Instead of using a global to keep track of what the current level, you could just use the system expression "LayoutNumber" to get the current level.

  • [quote:2ff65doh]How would I write this "RANDOM(1~1.125)" as? random(1+1.125)?

    It would be 1+random(0.125).

  • The condition returns that song is seekable, but setting position still doesn't work. Is this the limitation you're talking about or if it's seekable it should work.

    What is the file format you're using? I've only tested setting position with wav files. As I recall if the music has stopped playing and you use set position you need to play it again to get it going.

    Is there any difference between using the Music actions and Sound actions? Because sound actions are lacking the option to repeat sounds plus "Set volume" doesn't seem to work for sounds.

    Music streams a file and Sounds load entirely into memory first. Sounds also are played using a feature of the audiere library where the sound is loaded only once and every time you play it another instance of the sound is played. An unfortunate side effect is the set volume action will only affect the most recently created instance of the sound.

  • It's basically the same idea as posted in the other thread but uses the save/load actions of the array object. I made it so it saves the top 3 times but this can be adjusted.

    Here's the example to glean some ideas from.

    http://dl.dropbox.com/u/5426011/examples5/3%20best%20marios.zip made in cc1.2

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You mean like this? http://dl.dropbox.com/u/5426011/examples5/hexgrid.cap made in cc1.2

  • The only reference is the source code. Visual studio makes it pretty easy to browse the code though. Right click on anything and click "go to definition". Then there is a button on the toolbar "navigate backwards" to get you back to where you were.

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 155 followers

Connect with R0J0hound