Lacrimosa's Recent Forum Activity

  • I'm going to make a composition program. I have piano sounds and I made a system of my own. It is:

    There will be a crosshair thingy in the middle. The user will choose the note, type the length in an Edit Box (eg: 2 for 2 seconds, 1,5 for 1,5 seconds) and when he presses "Add Note", the note will spawn at the crosshair thingy. I made a line which goes 400 pixels per second horizontally so that means it will take 1 second to finish a 400 pixels rectangle. When the user types the length (eg: 1,5), it will be multiplied by 400 ( which makes 1,5 . 400 = 600 pixels ) and it will be given as the rectangle's width.

    It won't work or it won't work nicely because I'll have to think of a new system to set the width of Text and the hotspots and imagepoints etc all that.

    So in short: a Text BOX would be so much appreciated.

    I know it sounds complicated but I had done this before but I had to draw different sprites for each note and their lengths and I was very limited. I made more than 100 bmp sprites just to finish an octave ( 12 notes).

  • Hello I'm using Construct Classic.

    Is there a way to write a text on a sprite? I'm not talking about Text object, I need a box which I can paint and write a text at the same time and it must be easy to do as if its a Text. I thought about setting position of a Text to a sprite every tick but that won't work for me.

    Any suggestions?

  • Here is the utility:

    http://dl.dropbox.com/u/5426011/utility/addobjfix.zip

    To use it put it in the same folder as your cap file and before you run it change this portion of the script:

    #------------------------
    #------------------------
    # change to your filename.
    filename='wewe1.cap'
    #------------------------
    #------------------------

    so that filename is your cap file and not 'wewe1.cap'.

    Eh, I don't understand what this is. What exactly am I going to do in here? :S

    EDIT1: WOW! I take it back! This is so awesome, I can add new objects now and nothing is disappearing. Thank you SOOO much. And one more question: Any chance I can counter a bug like this if I copy events from another cap too? If so, can this fixer fix it? :D

       Thanks so much again

  • There is no object limit, what you are expiriencing is a bug (did you copy objects from another cap?)

    I made a utility to fix caps that do that, I will find a link to it tommarow and post it.

    Yes I did. wow...

    I had made the same game before and I had also made a mistake in that one so I restarted the whole thing but there were over 100 objects and events... So I copied some of the things from the first to the 2nd... damn... This is really bad. Is there a way to fix it? Because I had to write tons of stuff to make it this perfect and I can't do the WHOLE thing from beginning again :(

  • I believe the free version has a 100 object limit.

    I'm using Construct Classic.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi. I was making a composition game, and its working perfectly and guess what? There is a problem.

    It is a very detailed game so there are more than 100 objects. So basically my question is: Is there a limit to put objects on an application?

    I have over 100 objects in the application. So when I try to add a new sprite, it deletes one of the previous sprites I added and adds this new one.

    I don't see what's causing this. Please help me because I'm making a really great game.

    Thanks in advance.

  • Well actually those 1_ and 2_ were to show the number of actions :P my bad. I only used "XAudio2" not something else. And I also tried another things like, using a different audio thing for each sound like: XAudio1 will play 1.wav, XAudio2 will play 2.wav etc. but that didn't work too. Anyway I'll try what you're saying here and get back to you :D

    EDIT1: WOW! Thanks a lot! This solves my problem.

    Here's the fix for the people who couldn't figure out putting sounds like me :P

    Sound resource play: You need to add the sounds to the files folder in the project tab and have to use the "load resource" actions.

    Locking topic, thanks again.

    EDIT2: Eh, how do I lock topic :D :S

  • Hi I'm new to this forum. I'm using Construct Classic and I have a problem with sounds.

    I was trying to make a game with some complicated sound options but I failed. Then I thought, maybe I'm missing something, I should try it with a simplier way and I failed that too so now heres the simple one:

    I inserted Mouse&Keyboard, XAudio2 on the layout. Then I wrote:

    On key 1 pressed-> 1_XAudio2: Load file AppPath & "1.wav" to channel 1 (No loop)

                       2_XAudio2: Play channel 1

    On key 2 pressed-> 1_XAudio2: Load file AppPath & "2.wav" to channel 2 (No loop)

                       2_ Play channel 2

    on the event sheet. And yes I also added 1.wav and 2.wav to Sounds in the Project.

    Now. If I added 2.wav last into Sounds, when I launch the game and press 2, it plays the sound but doesn't play 1.wav. If I added 1.wav last into Sounds and when I launch and press 1, it plays the sound but doesn't play 2.wav. Or maybe it's just a coincidence.

    Basically, it plays just 1 of them and doesn't play the other.

    I don't understand what the problem is and I don't think I was able to tell you my problem here properly :(. But what I want is:

    I want multiple sounds. Example: When I press 1, a sound will play. When I press 2, another sound will play. When I press 3 another and so on...

    Please help me I'm thinking about a big game and this is the one and only problem I have.

    Thanks in advance.

Lacrimosa's avatar

Lacrimosa

Member since 28 Sep, 2012

None one is following Lacrimosa yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies