dsarchy's Forum Posts

  • Like :D

  • Transparency adds to file size as per every pixel it has to store data for RGBA instead of just RGA so thats an extra bit every pixel but we are not talking much here.

    Jpegs are generally smaller and if you have access to photoshop or the like (gimp might do it) you can compress them in that and reduce the quality in trade for a reduced file size. No need to really go over 75% and you can keep reducing it way beyond that, it's only things like gradients that tend suffer. Try also reducing the colour count to see what you can get away with.

    Reducing the size of the sprite (outside of constuct*) will also reduce the filesize. Less pixels means less data needed to be stored however when you scale the images back up you will see a noticable difference in quality.

    Other things that you could try is to repeat the use of sprites. Using 7 different tree images? Break it down in a few parts and just make up lots of tree's using a combination of the pieces you have. Rotate/flip/scale to create variation. Use actions to animate it and remove frames from sprites.

    *edited in light of mod comments see below

  • You could either create all the layouts (levels) and then use an event to only use a selection of them

    Or (if you havn't built it all already) you could use a tile based map where you generate the maps using an array and then read that array from a txt file or something using AJAX or CallJS- more about this in the How to forum post

  • Script option would be nice

  • Good read, Show me more stuff tho! Some really nice sprites, it would be nice to see some of the other stuff you have done.

  • Free- Gimp

    www.gimp.org/

    -Use hard brushes

    -Use Hue/Saturation/Curves/Levels/Colour balance for colour correction.

    -Offset or use the make seamless filter to generate seamless tiles.

    -Work on different layers and then download the export layers to image action

    <img src="http://fc01.deviantart.net/fs41/f/2009/009/a/c/Armoured_Figure_Sprite_by_Dsarchy.png" border="0">

  • You need to add a condition to trigger the end. So using your example.

    Every tick -> Compare Variable 'Score' => 1000

    go to > Layout 2

  • Excellent Resource! Can we get this stickied it's getting harder to find.

    *Edit- Seems it is stickied, I mean that it remains on page 1.

  • A hack for looping sound in JS has been posted here

    stackoverflow

    works well for firefox and other browsers:

    myAudio = new Audio('someSound.ogg');
    if (typeof myAudio.loop == 'boolean')
    {
            myAudio.loop = true;
    }
    else
    {
            myAudio.addEventListener('ended', function() {
                    this.currentTime = 0;
                    this.play();
            }, false);
    }
    myAudio.play();
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm still learning the ropes but I believe I can shed a little light on to this problem.

    Your trying to perform that action 'every tick' or every cycle. This is a lot quicker than what you need. It's sorta doing what you want, just really quickly.

    There could be a really easy way so take the following with a pinch of salt...

    You could bind the event to a key release and then have a timer running that cycles through the frames (increasing the timer to increase the time between frames and achieve that easing effect you want) javascript you could use SetInteval() not sure about construct however they might be a plugin for it.

  • I'm currently playing SWTOR (EU server PvE Bacca's Blade) and really enjoying it.

    As story goes its pretty decent. Everything is voiced and feels polished. Normal MMO drawbacks with questing but pretty fun otherwise. I'm currently only level 19 so cant comment on end game.

    To note: Quite a few bugs/glitches. Space combat sucks, no plazak or swoop racing and PvP needs balancing but its a new MMO so this is to be expected.

    I wanted to play through another KOTOR so i didn't mind paying �40, I'll probs keep it running for a couple of months and then put it down for a year and then start up again once more content is released.

  • Hi all came across this HTML toolset (more interested in the 2d physics more than anything else) and saw that the price was so low i thought i would donate to the cause.