Daedolon's Forum Posts

  • I save as capx.

    Is there a difference ?

  • Thanks for the reply.

    I've already read all the tutorials about performances and memory and have been optimizing the game as explained.

    I have many different characters and boss with their own animations. When I delete a few random of them, then the program works fine. As soon as I put more than a size limit (it seems), it just crashes.

    I've uploaded the capx so if any of you could look at it and tell me what could cause the problem, that would be a great help.

    Actually, I'm also thinking the problem might come from my computer so if you could just try to preview the capx with node webkit of chrome and tell me if it's working for you, that would pinpoint the problem.

    http:///www.gaweb-studio.com/SH.capx

    Thanks !

  • Hi all,

    I'm working on a game of mine : scirra.com/forum/viewtopic.php Spooky Heroes.

    I'm having some problems after adding lots of objects to the point where Chrome and Node Webkit do not work anymore. Firefox seems to randomly either crash or work.

    The problem appeared after I added 2 new characters to the game and I had similar issues before when the size of the game became to big. I had to optimize all images but now, I have not much left to optimize without reviewing the whole structure of the game... I would like to avoid that.

    I would like to know if there were any limits in size to HTML5 game, aiming to be used as desktop game, not online. I'm aware Node Webkit is just a simplified Chrome browser so I guess the same restrictions are in order for desktop games coming from Construct 2.

    Currently, my game indicates 33.6 Mb of download size and 61.4 Mb of memory use.

    I have created around 20 layouts used to preload game sprites.

    Is there any way to know why the game won't launch in preview with Chrome or Node Webkit ? (any log files ?)

    Are there any download limit or memory use limit for HTML5 games ?

    Any answers would be really appreciated !

    Thanks

  • Hi all,

    A new version is available. This one focus more on the graphics and bugs than adding contents. Moreover, in this version, I decided to enable all heroes and all stages right at the start so testers can try them out and give me feedback about them since it can be quite long to unlock all of them.

    If you are interested in the game or want to help a newcomer, don't hesitate to give this version a try and give me some feedback !

    Click here to download it !

    ---------------------

    Changelog v0.6

    1 new stage :

    • Village 3

    1 new quest :

    • Flyform race

    6 new items :

    • Waterbreathing Potion : Breath underwater for one stage
    • Torch : Double light size for one stage
    • Rope : Instantly escape from stage
    • Mana Potion : Refresh all CDs
    • Bumpshroom dust : High jump once
    • Time scroll : Start next time cycle

    Graphics :

    • Invulnerability visual and icon updated
    • Explosion power visual and icon updated
    • Plant Queen visual updated
    • Forest backgrounds updated
    • Flyform visual updated
    • Lit torches visual updated
    • Updated bomb explosion visual
    • Updated heal zone visual

    Sounds :

    • Added chest opening sound
    • Added door opening sound
    • Added torch sound
    • Added potion drink sound
    • Added bomb wick sound
    • Added bomb explosion sound
    • Added boulder explosion sound
    • Added wolf howl when night falls
    • Added rooster sound when morning rise

    Misc :

    • Bombs explode faster
    • Added game difficulties :

    - Easy : Enemies life 50%, Enemies reaction speed 100%, Enemies level 1 and 2 (75/25%)

    - Normal : Enemies life 100%, Enemies reaction speed 100%, Enemies level 1, 2, 3 and 4 (40/30/20/10%)

    - Hard : Enemies life 150%, Enemies reaction speed 200%, Enemies level 2, 3, 4 and 5 (40/30/20/10%)

    Corrections :

    • Added torches in Forest 2
    • Corrected minor text errors
    • Corrected a bug with the spikes not being solid
    • Corrected a bug when tutorial panel appeared, player could still move

    -------------------------------------

    Preview :

  • Hi all !

    The new version is out !

    I decided to add the powers details in the changelog to show readers that the game is a little more than a classic platform game and has many tricks to offer with each characters.

    As always, the new version is available on the website :

    spooky-heroes.com

    or direct link : spooky-heroes.com/Spooky_Heroes.zip

    I'm still looking for testers to check out the game and give me some feedback !

    And don't hesitate to follow me on facebook or twitter of you're interested in the game since it'll give me more visibility !

    ----------------------------------------------------------

    v0.5 changelog :

    1 new hero :

    • Minstrel : Ranged, piercing arrow, charm arrow, stun trap, homing arrows, low life

    4 new enemies :

    • Triton trident : Melee, weapon throw, thrust, explosion
    • Triton harpoon : Ranged, piercing throw, thrust, stun trap
    • Assassin : Melee, daggers throw, thrust, stun hit, back stab
    • Ranger : Ranged, piercing arrow, damage trap, stun trap

    2 new bosses :

    • The Eye : Avoid and use his missile against him
    • The Ball : Balls bouncing everywhere ! Do not drown !

    3 new stages :

    • River 2 : Big and slow paced stage. Don't forget to breath !
    • Forest 2 : Use wheels and boards to climb to the top !
    • Tree : Use the flyform to reach the top ! Beware spikes and fireballs !

    1 new vehicle :

    • Flyform : Ever wanted to fly ?

    1 new mechanism :

    • Wheel board : Four boards rotating around a wheel

    1 new tileset :

    • The tree

    11 new powers :

    • Weapon throw : Middle ranged attack hurting the first enemy
    • Thrust : Middle ranged dash hurting all enemy touched
    • Piercing throw : Long range piercing attack hurting all enemies touched
    • Stun trap : Place a trap on the floor triggered when an enemy touch it. Stuns the enemy.
    • Daggers throw : Double long range attack hurting the first enemy
    • Stun hit : Short range attack stunning the enemy
    • Back stab : Short range attack with huge damage. Only work from behind (Both characters facing the same direction)
    • Piercing arrow : Long range piercing attack hurting all enemies touched
    • Damage trap : Place a trap on the floor triggered when an enemy touch it. Hurts the enemy.
    • Charm arrow : Long range attack which make the first enemy touched your minion
    • Homing arrows : Full scale attack with high damage targeting all visible enemies

    Items :

    • Can now carry several items at the same time
    • Items are now stackable up to 5 of each
    • Lowered all items price

    Bug correction :

    • Corrected a bug when dying while falling, camera would not follow and revive items would bug
    • Optimized images once more to improve performance

    Misc :

    • Can now interact with exits instead of triggering exits on touch
    • Added some battle shout to enemies
    • Added a few signboards to give boss strategy hint any global hints
    • Quest and tutorial panels are now automatically resized to the match the text size
    • Increased contrast between foreground and background in forest stages

    ----------------------------------------------------------

    Preview images :

    Minstrel : <img src="http://www.spooky-heroes.com/images/minstrel.png" border="0" />

    Triton trident : <img src="http://www.spooky-heroes.com/images/tritonTrident.png" border="0" />

    Triton harpoon : <img src="http://www.spooky-heroes.com/images/tritonHarpoon.png" border="0" />

    Assassin : <img src="http://www.spooky-heroes.com/images/assassin.png" border="0" />

    Ranger : <img src="http://www.spooky-heroes.com/images/ranger.png" border="0" />

    The Eye : <img src="http://www.spooky-heroes.com/images/eye.png" border="0" />

    The ball : <img src="http://www.spooky-heroes.com/images/ball.png" border="0" />

    Flyform : <img src="http://www.spooky-heroes.com/images/flyform.png" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You are not using the good condition :

    It's not on click, it's on object clicked you should be using.

    Something like this :

    Mouse => on object clicked => parachute => parachute destroy

    Only the clicked parachute will be destroy.

    if you use :

    Mouse => on click => parachute destroy

    it will of course destroy all parachutes

  • I understand. Thanks for the tip !

  • Link to .capx file (required! If link is blocked remove the http and www parts):

    gaweb-studio.com/textbug.capx

    Steps to reproduce:

    1. Add 1 text

    2. Set text to contain 1 line

    3. Display textheight

    4. change text using set new text with at least 2 lines

    5. Display textheight again

    Observed result:

    for 3. and 5. returns 0

    Expected result:

    the textheight which will be different for step 3 and 5

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    windows 8

    Construct 2 version:

    r158.2 64bit

  • A few previews of the novelties

    The summoner and its elementals:

    <img src="http://www.spooky-heroes.com/images/summoner.png" border="0" />

    The mage and its 4 elemental colors:

    <img src="http://www.spooky-heroes.com/images/mage.png" border="0" />

    The minotaur :

    <img src="http://www.spooky-heroes.com/images/minotaur.png" border="0" />

  • Another player had the same problem with tutorial. I will add a text to help beginners :p

    Sorry about that !

  • Yop all !

    Almost 2 months without news. Quite busy lately but I'm back !

    The new 0.4 version offers quite a few novelty :

    2 new heroes :

    • Summoner : Has8 summon points and can summon elementals. By casting the same spell, if the elemental is alive, he becomes stronger and unlock powers. The max level is 5 meaning a summoner can have 4 elementals lvl 2 or 2 elementals lvl 4 or any combination reaching an amount of 8 summon points.
    • Mage : Has all elemental powers (except lvl 5 powers) and his lvl 5 power allows him to switch between elements.

    2 new enemies :

    • Air elemental : Zap, Slow, Speed et Storm
    • Fire elemental : Fireball, Fire walk, Fire shield, Flame thrower

    2 updated enemies :

    • Earth elemental : Rock throw, Body slam, Body crush, Boulder crush
    • Water elemental : Ice ball, Ice spikes, Ice shield, Mass heal

    1 new boss :

    • Minotaur : Beware his charge and axe !

    1 updated boss :

    • Plant Queen: Each head is now separate and has its own life.

    2 new stages :

    • Mountain 2 : Classic stage with new trap
    • Maze : Find the good lever order to escape from the maze

    1 new trap :

    • Fire spitter : Throw fireballs.

    2 new mechanisms :

    • Pressure trap : Trigger a trap when the player steps on it.
    • Falling platform : The platform falls when a player steps on it and goes back to its original position when the player leaves it.

    Controls :

    • The "Jump" key on the keyboard has been separated from the "Up" key to avoid control problems.
    • The "Jump" key now enables all panels in game (quest, map, discussions, tutorial...).

    Optimization :

    • Animations have been reviewed to lighten the game size.
    • Monsters are now disabled when outside of the screen for more than 5 sec, to optimize game performances.
    • Summons are now teleported back to their summoner when they are out of screen for more then 5 sec.

    Bug corrections :

    • Quest "Rheumatisms" has been corrected (The 3 plants were at the stage entrance)

    And many more stuff I forgot about !

    Download the new version spooky-heroes.com/Spooky_Heroes.zip

    Once more, stages are quite empty, I'll fill them later. Also, more quests will be added later to extend game lifespan.

    Have a nice day !

  • Thanks for your answer Ashley &LittleStain. I've been able to diminish the memory usage thanks to that and I didn't start optimizing images yet. Also after reading the links given by LittleStain, it was already explained in those.

    So sorry to have bothered you about something already answered !

    Have a nice day/night !

  • Another question I had about this was that only the total memory use is quite big. But actually, when the player play normally, the memory use is not that big.

    Isn't there a way to make the game load everything piece by piece ? For the moment, it seems like the game loads the whole images at once and since it becomes too big, some images are lost. Can't I make the game load it more slowly ?

  • Ok I'm gonna check this.

    In worst case, I was thinking about creating separate parts for each characters (head, arm, body, leg, foot) and animating them directly in the code with the PIN behavior.

  • What is the x4 factor for ?

    Also, even if I reduce my images, it seems like if a game has a lot of different sprites, the memory usage will still reach a high amount, causing the same problem I have now...

    How do other platforms with big sprites usually do to reduce this problem ??

    Actually during the game the memory usage is under 70Mo, it's just during the loading that it fails to load images...

    Isn't there a way to prevent this problem ?? Because so far, it seems like my computer can't handle more than 400Mo memory usage during loading(displays black box instead of sprites). even if I reduce the sprite size... I'll still need many more character which will still reach this 400Mo limit...

    Does that mean there is no solution ?