Aeal5566's Recent Forum Activity

  • Hey just go the new version. Great job guys! Just a quick question about "center view on me" it does not seem to be working... Keep up the good work I know you'll fix it soon.

    edit: Sorry didnt see the new post will do Ashley.

  • worked great thanks a bunch!

  • I need to write a bit of code that lets me grab a platform with the mouse and then throw it with the mouse. Any one have any Ideas on how to do this or example .caps?

    here is the psudocode I am currently using

    Platform Variables needed:

    +startX

    +startY

    +curX

    +curY

    +clicked

    :::::::::::::::::::::::::::::::

    +On click [platform]:

    -set : startX = mousex

    -set : startY= mousey

    -set :clicked =1

    ____________________

    +On Mouse Hold:

    -set : currentX = Xmouse

    -set : currentY = Ymouse

    ______________________

    +On Mouse Up

    +Clicked = 1

    -X velocity = startX-currentX (//iffy code here, but use these numbers together to get a speed)

    -Y velocity = startY-currentY

    ______________________

    +Every 3 ticks:

    +On Mouse Hold:

    -set : startX = currentX

    -set : startY= currentY

    // so the platform does not go flying if it is held in 1 spot too long....

  • Thank you Ashley Just wanted to be sure.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

Aeal5566's avatar

Aeal5566

Member since 23 Oct, 2008

Twitter
Aeal5566 has 1 followers

Trophy Case

  • 16-Year Club

Progress

16/44
How to earn trophies