JohnnySix's Forum Posts

  • Click image to test :

    EDIT - [Oops Linked the game not the editor!]

    For some reason , even though an identical loop is used to create the main layout ( Press space to fill with red blocks, backspace to clear) , when it does the same for the thumbnail image, if fails to draw the last line.

    I'm doing nothing different in the smaller loop, other than changing the positional offset/scale on the output, the reading via two loops is still the same.

    You can see in the example image I've drawn a green border on the perimeter which is written to the array, however it fails when output again to the thumbnail size ( as you can see the bottom green line is misisng)

    Download the CAPX

    The capx uses Mipey's Sprite Font plugin - which I'd recommend everyone has. :)

  • It's stopped happening since I changed the size of the font, however in the picture I linked, I had the same effect as he described.

    I'll dig out the capx and pm you a link.

    Essentially the 'flash' occurred each time I spawned an object (sprite) with an effect on ( in this case additive ).

    Here's a link to the latest version, using the pixel font "bienvenu"

    http://www.johnnysix.net/games/Bang/

    <img src="http://www.johnnysix.net/games/Bang/Preview06.png" border="0">

    <img src="http://www.johnnysix.net/games/Bang/Preview05.png" border="0">

  • I'll give it a go, thanks! I was hoping to use CSV as it'd mean data as easily editable outside the program, but not a massive issue.

    Keep up the awesome work. :)

  • More to come! <img src="smileys/smiley17.gif" border="0" align="middle">

    Working on an editor, so people can hopefully submit ( or just play with ) their own creations.

    I have plans to add more blocktypes, and I need to figure out the simplest method for saving out the block data, but progress is being made slowly but surely.

    Give it a whirl here : www.johnnysix.net/games/BangEdit/

    <img src="http://www.johnnysix.net/games/Bang/Preview07.png" border="0">

    <img src="http://www.johnnysix.net/games/Bang/Preview08.png" border="0">

  • Hmmm, here's a demo of what I'm doing - right now it's stored in an array - it's just a question of how to save it out and load it in as elegant a fashion as possible without too many complications. <img src="smileys/smiley1.gif" border="0" align="middle">

    http://www.johnnysix.net/games/BangEdit/

    In my haste I created a completely new project for the editor, and I don't think it'd be that easy to copy/paste it all across, or if it's possible at all.

    I guess saving to an external file, then opening of a url from the editor and sending a variable via the url to tell the page/game loaded to grap the corresponding .csv/.xml is what I'll be doing.

    <img src="http://www.johnnysix.net/games/Bang/Preview07.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
  • I read through all pages, and I couldn't find any reference, if I've repeated a previous question apologies!

    So - I was thinking I could use this to create 3d array (row,column,page) , with the x/y storing a number/string to reference a particular tile, and the page to reference the level loaded.

    I just have one question though, can you look up rows/columns without using strings as headers for row/columns?

    I.E.

    CSV.At(1,2)

    rather than

    CSV.At("THIEF", "ATK")

    I did try, but I got an error saying it requires a string not an integer - so was wondering if there was a different action perhaps?

  • I'm almost finished with an arkenoid game I'm working on and after some google, manual and forum searches ended up here.

    Am thinking this'd be rather awesome for both loading layouts on the fly and saving scores.

    The only question I have at the moment is the row and table names.

    From the example downloaded , 1,1 is blank, with row and column names in the first row and first column.

    Is it possible to dispense with titles/names and reference them by number instead?

  • Added two new levels, scores are(mostly) working.

    Refresh the link. :)

    http://www.johnnysix.net/games/Bang/

  • Works fine here, skeletors scream, the lazers and other effects all are heard.

    Oh, just read the rest of the thread ( doesn't show when typing a reply haha ) - didn't realise you were running an emulator on a mac - do things like youtube/flash other web-based sounds work?

  • It will clip if multiple sounds are triggered, are you adding a tag to the sounds triggered?

    You could have a global variable for each, to be reduced/increased each additional sound.

    So for example, each time someone is hit

    Fist On Collision with Face :

    |

    _ PunchSounddBvar=PunchSounddBvar*0.5

    _ Audio - PlaySound Punch Tag "Punch"

    _ Audio - Set Volume "Punch" PunchSoundDbvar

  • Hi Ashley,

    I do use the invisible sprite+animations in other projects, but I was thinking it only mattered in instances where the collision changed on the positive y-axis relative to the origin.

    I'll do an updated demo without cropping the animation- I was trying to keep it simple for new users by not piling on too many things to learn at once, and left out the pinning/invisible sprite part.

  • Hmm, harder than I thought! I'm trying to get it to add up the values , and go through each stat to add to scores.

    give it a whirl

    I have working:

    "+500!" pops up beside the arrow for each bonus awarded.

    counts down the value ( IE , balls remaining ) each second.

    adds the bonus points to the score.

    I don't have working:

    Some way to go sequentially through the items.

    Test it at the same address- you may need to hard refresh.

    Score counting doesn't seem to trigger correctly yet, but if you press space, it does the first two.

  • Use the syntax : X0=Sprite.imagepointx(1)

    It took me a while to figure, I had a rotating object and wanted to find the x value of the imagepoint.

  • Congrats! <img src="smileys/smiley32.gif" border="0" align="middle" />

  • You need to add a touch object to your project and reference the alpha/beta/gamma every tick, though I think you need phonegap or some other intermediate tool to get the output game reading the accelerometer , as vanilla exports only seem to pick up touch and not the compass/accelerometer.

    Here's the manual entry -

    http://www.scirra.com/manual/119/touch/page-1