Colludium's Recent Forum Activity

  • I have an app on android using cocoonjs that launches the email app via the browser object - if that helps (a 'click here to email' UI)... I always assumed that the default browser would be called if a web page was requested instead, but I haven't tried it to confirm this.

  • ,

    Just out of interest, what method are you using to import your game into xcode? Could this be a manifestation of how that wrapper handles the code? Thanks.

    Edited - disregard, I just read the Ejecta thread...

  • OK, if I build with xcode 5.0 and enable Game Center then the app builds (hoorah! - although it sticks on the login...). If I disable Game Center then the build fails with the following error codes:

    dl.dropboxusercontent.com/u/184657779/xcode%20build%20fail.png

    Anyone any ideas what I might need to do to rectify?

    Thanks.

  • I didn't want to spam up the Ejecta thread with my personal problems... Can someone please help me with a build fail problem that repeats across a couple of projects? This Ejecta export option has me very excited - and very frustrated...

    I've been trying to build a couple of projects using a virtual mac running xcode 4.5, using the latest developmental release of Ejecta, as per the tutorial. I've tried to carefully follow all of the guidance and, after MANY re-attempts at following the steps I'm now familiar and I think I've done everything right, but I keep on getting the same build failure in xcode. That was with one of my mobile projects, so I then tried a super-simple project with one touch object and still get the same failure. Here's a screenshot of the xcode failure notification:

    dl.dropboxusercontent.com/u/184657779/xcode%20build%20fail.png

    and for completeness, here's a capx of what I tried to run on the ios simulator:

    dl.dropboxusercontent.com/u/184657779/ios%20test.capx

    I must confess to being a complete newb with anything mac, so it's probably something simple...

    Anyone any ideas what I'm missing?

    Thanks!

  • <img src="https://dl.dropboxusercontent.com/u/184657779/debug/pic%20394x150.png" border="0" />

    youtube/wdmpBpqgDx8

    link to game:    debug.clay.io

    Here's my first complete game, hosted by Clay.io (and, hopefully soon, Chrome web-store).

    You're a debug robot and your mission is to rid your infected computer of malicious code. It's a 12 level challenging platform game with upgrades and a variety of enemies that need annihilating. I hope you enjoy it - and please provide feedback so I can improve it and make any future games better.

    Thanks.

  • Luca11,

    There are a couple of ways you could achieve the effect you want. First, there's a subtle but important point with respect to C2's event system which is causing your problem. On line 9 where you set the blankblock visible, you are selecting all blankblocks - you need to specify a particular instance for C2 to only change an individual's characteristics.

    So, you could use containers which would make this very easy (have a read of the manual and, after a bit of experimenting you'll never look back - wouldn't need any code change to your events, I think) or you could add a sub event to what you have already and pick the closest blankblock to the Block1 in the collision.

    There is another method you could follow. You could have the blocks as different frames of the same sprite. Check the frame of the collision block on collision - if it's 0 spawn a coin, if it's 1 do nothing, on collision change frame to 1...

  • the_darklorde

    Dude, you've got a zero in the Character Set description which doesn't appear in the font image....

  • +1 for Appcelerator.

  • Ramones' custom bullet example is excellent!

    For me, I like to be able to easily control how far a bullet can travel, including bouncing etc (ie this really depends on your needs as to whether or not my way would work).

    I put this example together this evening - it's not perfect but it shows that when you're shooting super-fast bullets you can get away with an instant enemy kill. I initially went for logging the UID of the target but found that C2 sometimes missed the overlap collision check of my sensor object when I destroyed it at the end of the check loop. For this alternative / quick fix I added a fade-out behaviour to the sensor object to guarantee the overlap was acknowledged. Not perfect, but it does the job...

    Here's the link to the capx:

    dl.dropboxusercontent.com/u/184657779/bullet%20collision%20check.capx

  • Use an invisible stepping sensor to determine if the bullet will kill anything before it is fired (like the laser examples). If a future collision is detected, get the UID of the enemy that is about to die (or set an 'about to die' variable). Then fire the bullet with a range to expire equal to the length of the collision sensor. On bullet expire, kill the enemy. Should work well enough to fool even an expert observer.

    Written on mobile so very brief, but I hope this makes sense...?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Dannyzigg,

    I advise you to have a read of the manual page 115 (https://www.scirra.com/manual/115/sprite)

    You misunderstood my previous post - try changing the "Spawn Object" in your event sheet to a "System/Create Object". I don't see any angle change for the Danny sprite on your event sheet - and with a Spawn Object the bullet will be created with the same angle.

    A System/Create Object will allow you to set whatever parameters you wish for the bullet. I also advise that you set the bullet's parameters AFTER you have instructed the system to create it, otherwise the system won't have an object to put the settings onto and you'll continue to get default settings for the bullet.

    Hope this helps!

  • Dannyzigg,

    I'm guessing what you've been doing here. Instead of having your character Spawn the bullet use the System Create Object instead.... The Spawn command causes the new object to inherit its parent's characteristics and that overrides (by design) any changes you try and make at the same time.

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