Ize's Recent Forum Activity

  • You might want to check the xml object? :D

    also Webstorage works for saving simple stuff

  • You were on the right track with the sub event :D

    here have a look: dl.dropbox.com/u/45711709/menuKey.capx

  • Just set your hud elements to Global and create the layer hud on each layout (empty) so you can toggle it on/off :)

  • I've played around with calling external javascripts using the browser object and this is the result:

    <img src="http://i46.tinypic.com/smgllt.jpg" border="0">

    CLICK ME!!!

    Not much to look at but thats not the point heh :D

    When the player changes the layout a javascript is fired which tells the embedded java applet to play a different song.

    Tracker Modules are a few KB instead of a few MB of the converted .ogg or the other strange format c2 uses normally for audio files.

    If your browser asks for permission to execute say YES :D

    I've tested this and it works fine in chrome & firefox.

    Audio is a bit "meh" in firefox but the layout transitions run smoother

    In chrome the audio is better but there is slight delay on the layout change.

    the applet is from javamod.de

    Oh and the controls for the cube dude:

    left right to move

    up to jump

    shift to pick up cubes and throw them (use your momementum :D)

    esc to pause and unpause the "game"

    touch the edges of a layout (or jump in the hole) to change to the next if available...

  • no, i've tried R0J0hound's approach by deleting all "uncarried" crates on exit of the layout and since they are global they won't reappear that way :)

    anyway... gameplay wise i found out that it's actually good that my player can't carry boxes to the next layout... heh :D

    but im still interested in setting objects to global at runtime... could be usefull in the future

  • [TUBE]http://www.youtube.com/watch?v=dATF4gda9KE[/TUBE]

    beginning of a little remake... buggy as f..k :D

  • R0J0hound that would work... but i forgot to say that you can reenter a layout after you left it... so all boxes there would be destroyed if you return xD

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Looks nice.

    I like the idea and the clean graphicstyle... playable demo? :D

  • Well... i'm working on a little something and my player (set to global) can pick up boxes and carry them around...

    i want him to be able to carry the boxes over to the next layout...

    this works if i set the property of a box to global in the editor but i need this to be dynamic... if i set the global property of my boxes family to true it ofcourse fucks up everything because each box is on each layout basically :D

    i saw that the global property is not exposed in the events but i don't want to do it via events :/

    wouldn't be much more work (check variable, is carrying box? yes -> spawn box and set to player xy) but maybe someone else has a better idea :)

  • kind of like this?

    dl.dropbox.com/u/45711709/BoxInBox.capx

    dunno... probably not the best way to it but it works heh...

    check the bounding box of the blue box

  • did you tell the audio object to PLAY your music file? :D

    on start of layout -> audio -> play "your music"

  • while we are on the topic...

    Ashley i probably asked for this before but can you add a "preload everything!!!" event for the audio object?

    i prefer to have everything cached instead of the download on first use stuff...

Ize's avatar

Ize

Member since 9 May, 2011

Twitter
Ize has 1 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies