legora's Forum Posts

  • Hi, i have my game finished a week ago, but after i fix something, new problem comes... this is after i export the game in HTML 5 it stucks on the first level on Firefox and internet explorer, on Chrome it doesn`t.

    The error looks like this.

    [11:12:38.181] uncaught exception: [Exception... "Index or size is negative or greater than the allowed amount" code: "1" nsresult: "0x80530001 (NS_ERROR_DOM_INDEX_SIZE_ERR)" location: "http://dl.dropbox.com/u/67937942/Twingo%20Parking%20R87/c2runtime.js Line: 217"]

    This is the link for the game, you can see where the problem is.

    dl.dropbox.com/u/67937942/Twingo%20Parking%20R87/index.html

    I guess something in the Javascript file should be changed, but i don`t know anything about how java works.

    Thanks

  • It is ok, i wrote to my host i hope he`ll fix it.

  • ok now i need to place this somewhere, .ogg = audio/ogg i added this in offline appache file in game but it doesn`t work. My website server is on IIS i think maybe thats the problem?

  • [15:20:00.037] GET racing-flashgames.com/HTML%205%20Game/Parking%20Lot/media/menu%20sound.ogg [HTTP/1.1 404 Not Found 62ms]

    Well this is the error i guess, if you know how to fix it i`ll be glad :), btw i can`t find "no audio plays" section

  • I don`t want to spam with new threads so i`ll ask here. I have my game finished, sound is ok when i try to play the game offline from my computer or in preview mode in C2.

    The problem is when i upload the game on the internet there is no sound, i imported few .wave sounds and C2 converted them in to m4a and ogg...can`t see why they are not played while game is uploaded on the internet. I have sound in Sound and Music folders in C2, but both wont play. Also i replace the same sounds in the folder converted with audacity after i exported the game in HTML5, but no result. Please help

  • Well my game is already finished and i need to change everything to make it like you said, everything in one game event sheet, but definitely i will use you advice in some future projects.

    BTW i placed save and load option scirra.com/forum/webstorage save-game_topic46118_post288827.html in the game for saving levels.

    Only thing left to do is high score, you can check this if you can help somehow.

    scirra.com/forum/highscores-timelimit_topic51230.html

  • I can`t really understand this events. But you gave me other similar idea.

  • Thanks for the help, but i find some other solution, i took 10 different sprites, one for every level, then add few events like

    system.every tick - set opacity to 40 for all level boxes in the menu.

    Then i added few events on every level.

    When level 1 is finished - add 1 to "unlock level2" (global variable)

    Again in the menu events i added,

    If Unlock level2 = 1 - then set level 2 opacity opacity to 100% and       

    On levelbox2 clicked, and -

    levelbox2 opacity is 100% - system go to level 2

    and so on for every level.

    Thanks for the help again

  • Hey, i want to make high score system in my game, but it is little tricky, or maybe it`s not:).

    So, on every level a have time limit. If i have 20 seconds for the first level, but i finish the level in 15 seconds than i would like to add 500 points to score or the seconds that left multiplied by 100. I like to do that on every level and then to calculate the seconds left from all levels. So for example if from all 10 levels there are 55,9 seconds left than add to score 5590 points.

    Any suggestions will be gladly appreciated.

  • Hi, Again

    Thanks for the help, but the problem is that all my levels are done in a different events, cause every level have different variables like, health, time limit is different every level. Tried to do it this way like you have shown me, but cant do it, i guess it is because the different events, if you have any suggestions, please tell if not i guess i`ll have to think hard :).

    Thanks

  • Hey, please check this capx. this is how far i can get... you`ll just need to add some events to help me.

    dl.dropbox.com/u/67937942/Menus.capx

    Thanks

  • My first game is almost ready, all levels are finished (after almost 2 months of tough work), the only thing i need to do now are the menus... if someone can show me the basics how to make a menu like on Poggle game, i need all levels to be visible in the menu but they need to be locked as in Poggle, than after the first level is finished the second to be unlocked and so on.

    i guess Zephlon can answer me :), by the way, your game is very addictive hihi.

    Thanks

  • Well i guess i`ll have to wait version 85 to be released again to see the capx. Thanks anyway.

    I found r85, thanks for solving my problem <img src="smileys/smiley2.gif" border="0" align="middle" />

  • I am trying to make a menu, but i am having troubles with the sound, for example when the mouse arrow (hovers) is on button 1, audio play sound "beep" once, not bbbeebepbepeb and then the computer crashes :).

    Here is my dl.dropbox.com/u/67937942/Play%20Sound.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As i see it is a version bug, installed it on 3 different computers and the same bug everywhere, i guess we should stick to version r80 until the next update is available.