thorntonp72's Recent Forum Activity

  • Hi Fisholith,

    Thanks for the in-depth knowledge dump. This is very helpful. I will have a look at both the Smooth Damage option and the Chunk damage every second of exposure and see what I can come up with. Yes I think my review of event orders is required

    Thanks again!!!

  • Hi,

    I am having a small issue where I have a lake in which my character has to get over, but if he falls into the lake deduct x from his health.

    So I have set-up an on collision event so when the player collides with my set collision points it works fine and on the first collision 10 points are deducted from his health. However if I just leave the player idling in the lake or moving or whatever other than jumping out and coming back in, no more points get deducted.

    I also tried overlapping the lake object to see if this could help but this did not either.

    If I jump back in, the points get deducted then same again as above. so it seems that once the collision event has been done, it does not do it again. Is there anyway I can get the collision to keep being detected or is there a better way to handle this.

    [attachment=1:26s22g94][/attachment:26s22g94]

    or

    [attachment=0:26s22g94][/attachment:26s22g94]

    Thanks,

    Paul

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Umm. That's a good idea blackhornet and probably what the poster is looking for. Didn't think of that

  • Hi TheWyrm,

    okay cool thanks. I will investigate further.

    Cheers

  • Hi Doomeyes,

    Yes I think checking the coordinates is probably the answer.

    I have made a very rough capx file, which only incorporates one side, a drag and drop to help with the idea based and only on on y so you need a lot more smarts in there, but it may help? That's if this is what you wanted as I was not quite sure

    [attachment=0:3a2hwsvw][/attachment:3a2hwsvw]

    Cheers

  • Something like this may help? Using version 194.2

    [attachment=0:nui8ex3b][/attachment:nui8ex3b]

  • Just a quick update and thanks again. I have quickly checked the capx file that Kyatric posted and this is exactly what I was looking for and makes more sense with the else. I will still look at the button simulation tonight as this sounds interesting.

    Cheers,

  • Thank you Kyatric and desjardins2014. I will take a look at this tonight when I get home. They are both very useful tips and suggestions so will look at them both and might swap around depending on the scenario in the game.

    Cheers Guys,

  • Hi,

    I am having an issue where when my sprite hits a collision point it seems to keep going and ignoring my speed changes. So basically when my sprite hits the right boundary wall, I set the animation to mirrored and change the speed to a negative number. When it hits the left boundary wall, I do the same in reverse. The animation works but not the direction. It keeps on moving.

    It seems to work one way but not the other. I have extracted my code and attached my capx as an example from my game.

    If someone could take a quick look and offer their expert advice, I would appreciate it.

    Thanks.

  • Hi The Wyrm. Yes I am using 2013 but update 4. Just thinking that may be the problem? Cannot test it though as Update 2 is no longer available. There is a link to update 2 on MS site, but it always goes to update 4.

  • Update

    okay. After stripping my game down to basically 1 layout, 1 layer and hardly any game code I was still getting about 5 to 10 FPS. So after many many hours of rebuilds and tests I was getting nowhere fast, so I thought this just can't be right.

    So, I have decided to build using cordova/XDK-Android/Crosswalk (arm-apk) (which adds about 20mb to the file size), however I am now getting 40+ FPS on a TAB3 and 60 FPS (steady) on the HTC M8 for the same game.

    This is a massive difference, so if you are having performance issues, don't use the Android build in the XDK, use the Crosswalk build as it worked for me. I now know that this was probably the best way to have done it in the first place, but did not think that it would make this difference.

    I will start adding all of the niceties I took out of the game again to see what happens, but it looks VERY promising. Oh I feel better.....

  • Hi,

    I have been trying to get my game working on windows 8.1 by following the tutorial by Ashley at

    https://www.scirra.com/tutorials/993/ho ... store-apps

    and when I get to this part.

    =====================

    Exporting from Construct 2

    First, ensure your project has the right Name, Description and Author properties set, since these will be used in the exported app.

    After exporting having chosen the Windows Store platform and the Universal 8.1+ app option, your export folder will contain a .sln file. Double-click on it to open it in Visual Studio. If you've not used Visual Studio before, it's a complex and sophisticated tool for application development. However, you only need to use a small number of commands to configure and test your app.

    I get the following error (I am using Visual Studio Express Update 4) Perhaps I need to find an older version (which I can't seem to find ATM)

    Exported as Universal 8.1+ (VS2013.2)

    Unsupported

    This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.

    For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.

    - TheCommando_2.1.1_free.Shared, "C:\Users\Paul\Desktop\The Commando_2.1.1_Free_win81\TheCommando_2.1.1_free\TheCommando_2.1.1_free.Shared\TheCommando_2.1.1_free.Shared.shproj"

    - TheCommando_2.1.1_free.Windows, "C:\Users\Paul\Desktop\The Commando_2.1.1_Free_win81\TheCommando_2.1.1_free\TheCommando_2.1.1_free.Windows\TheCommando_2.1.1_free.Windows.jsproj"

    - TheCommando_2.1.1_free.WindowsPhone, "C:\Users\Paul\Desktop\The Commando_2.1.1_Free_win81\TheCommando_2.1.1_free\TheCommando_2.1.1_free.WindowsPhone\TheCommando_2.1.1_free.WindowsPhone.jsproj"

    No changes required

    These projects can be opened in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.

    - SharedApp, "SharedApp"

    - TheCommando_2.1.1_free, "C:\Users\Paul\Desktop\The Commando_2.1.1_Free_win81\TheCommando_2.1.1_free.sln"

    Thanks.

thorntonp72's avatar

thorntonp72

Member since 12 Nov, 2014

None one is following thorntonp72 yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies