Aeal5566's Forum Posts

  • Thank you Ashley Just wanted to be sure.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a player sprite with close to 10 private variables and the number is slowly growing as I build my engine. I am wondering if there is a max number before I get slow down in my game....

  • I liked the tutorial good for beginners but why not just leave the layout 1 event sheet alone and make a separate controls event sheet from the beginning and include that in the layout 1 event sheet.

    I suppose it makes sense to show how to change the default event sheet for the layout though. Just a thought.

  • That would explain it...

  • I am trying to get a sound(.mp3) file to play with the Xaudio but it is not working. we tried to add it to the resources bar but still no luck. we also tried a wav file and no dice. is there something we are missing on how to play the file?

  • I did Broo's version with the PVs and it finally worked. Thank you all for the help.

  • I tried Arimas solution still no luck... Ill try yours as soon as I can Broo.

    ^It didnt work

  • I tried Arimas solution still no luck... Ill try yours as soon as I can Broo.

  • that is how I had it coded but it still dose not work right because it will keep doing the action as long as it is not down.which is a problem since it is for jumping. where as on release will do it when the button is released. Thank you for the reply though.

  • I want to make it so that when a player releases a key it jumps according to a charger. The only problem is I cant figure out how to do an on release for a keyboard I didn't see an option for it in the menus...

  • would something like this work?

  • I was working with my game it used external event sheets that I had programed on my laptop. Then when I went to add another one it crashed the program. it was then that I remembered that I had to use the hot fix that was given so I did that and tried to load up my .cap. Crashed my system. So after I rebooted and moved the .cap off the flash drive i was working from i loaded it again. System crashed. Then when I got up and running again I loaded up construct without loading a .cap worked fine. Then I made a test .cap with nothing in it. Saved, exited tried to load it and crashed. Then I uninstalled and reinstalled did the hot fix. Tried to load the .cap and the system crashed. I cant recreate the problem on any other computers and I will report it as a bug but I doubt anyone will run into this again...

  • you could just set a private variable "range" and look for the distance constantly between it and the player and if it is out of range then it dosent do any damage. Then you could set another private variable in the player "Weapon" and change the range of the single bullet.

    if you wanted to change how it looked then make the bullets frames of an animation and events that check which weapon is equipped so that it switches to the right bullet type. just pause the animation on start of frame.

  • Here is how I thought of it.

    you have your events

    I.E.

    On collision between "this" and Platform

    set velocity to "this".y+500

    then in an event sheet attached to the player sprite the "this" would be replaced by the player sprite. But then you could attach it to another thing and it would still have that same action so the this would be replaced by whatever sprite it is attached to.

    Is this what you where thinking or something else?

  • Even if you added a "this" object and allowed you to attach event sheets directly into a sprite and the "this" object is replaced by the sprite in the one instance of the code. That would be cool...