Colludium's Recent Forum Activity

  • zenox98, I made the first post because the appearance of the phonegap export dialog box was markedly different to that shown in the tutorial.

    So, I've re-read the tutorial and I've also had a look through the C2 exported scripts to see if there have been any omissions or changes (apart from the box's appearance). The only thing that I can find is that there is now no simple way to set the screen orientation - although it can be done by editing the config.xml file.

    So, (panic over for me and) is it worth having an option to set the phonegap screen orientation?

    (Edit - false alarm. Move along - there's nothing to see here...)

  • Have I got a buggy install of r152 or is the Phonegap export dialog box missing?

  • harvest - thank you very much for that theme xml. I LIKE it!

    PS I dislike the Windows 7 theme - how can it be winning?

  • I have just managed to export my first game to Kongregate. The 2 tutorials I found proved very useful but they didn't contain everything to do with how to use the Stats API (for high scores etc).

    As discussed on this thread here there is an error in the exported index.html file that doesn't enable the stats api to function (when exporting for Kongregate, of course).

    The fix is easy to do manually but it would be very convenient (for the aged and forgetful among us) if this could be done automatically by C2. This line:

    <script src="//www.kongregate.com/javascripts/kongregate_api.js"></script>

    needs to be replaced by this one:

    <script src="https://ssl.kongcdn.com/javascripts/kongregate_api.js"></script>

    Thank you lukedirago for saving me from many hours of sadness!!

    Would the community support this request? Thanks.

  • Dear friends,

    Please check out my first Kongregate game - Santa Quest

    It's a side-scroller with infinite levels. Help Santa deliver presents to the good children and coal to those who are less deserving. Hazards and upgrades abound....

    OK,it's not even December yet, but if I can buy decorations in the shops then it's probably ok...

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tutorials have been down for a LONG while this evening....

  • Remember that each of the events is actioned every tick. So, if the F key is held down for one second the value of the Attack variable will be 60 - add a text object to display the Attack and you'll see what I mean...

    Your logic assumes that each of the events will behave a bit like a trigger so you need to figure a way to log if the keys are pressed in the correct order - I suggest using either a variable for each key being held down (testing that the previous key is down first) or an array and then making a test of those parameters.

  • This is because you've mixed the Bullet and Platform behaviors together to manage the player's movement. If you're using Platform behavior then the player should not also be a bullet as well...

    Try using an 'is_moving_right' boolean (or similar) and simulate the platform controls to make the player move in the same way - should work a treat!

    Edit - I must be slow at typing! You can't mix the behaviors in the way you want so I'm afraid you'll have to change your idea (can't think of why you would want to do this with bullet behavior when platform is easily good enough and glitch free). If you want to change the player into a bullet later then disable / enable the behaviors at the appropriate time so that they don't conflict.

  • Thanks!

    I made the laserbolt sprite myself using the C2 sprite editor - I've found it to be a quick and easy tool for things like that.

  • jobel

    Open the capx using 7zip or similar. Then right click on the .caproj file inside the root and select edit - you will see a notepad document containing the settings. 11 lines down is

    <saved-with-version>151000......

    Just change the 151 to whichever version number you're using.

    I don't have dropbox access so I can't change it myself for you; when I get home I will edit it.

  • czar - thanks for the feedback!

    I've added some comments to the capx so that it's a bit easier to figure out what I've done (I was in a rush when I created it earlier and the first version was a bit gash).

    (edit - you see, I'm still not finishing my project....!)

  • jobel,

    Is this the sort of effect you're after? capx

    There are a couple of different methods in there - I think option 2 is the best, but option 1 might work for you as well. (Made with R151)

    This was a good distraction from finishing my project....

Colludium's avatar

Colludium

Member since 26 Aug, 2013

Twitter
Colludium has 11 followers

Connect with Colludium

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies