SPECTRE ACTUAL's Forum Posts

  • You do not have permission to view this post

  • The question doesn't really make sense, since HTML and JavaScript are not associated with specific layouts. There is one HTML page the entire game runs in. What are you trying to do?

    But, Literally in C3 you can add a HTML file, javascript, and or a CSS file to the project. So I was wondering if there was a way of doing just that instead of using layouts event sheets. not that i plan on doing it but I wonder how it all connects.

  • Watch this video, here the level is generated by a JSON file

    https://youtu.be/YEJugSzkXl8

    seymore Interesting..Thought provoking.

    thanks jobel food for thought as well.

  • is being cloned onto all other Layout.??

  • I'm super curious what are you are using this method for?

  • I want to do like 100 levels, but I don't think it would be wise to use 100 layouts. I have a thing that you drag and it spins to break the blocks and hand placed blocks on about 5 levels. But I notice a lot of pro made games are code rather than just placing blocks yourself. My stuff always looks hand made for this reason I think.

  • I did the basic player movement tut but i couldn't get it to work. Then i noticed you added the "keyboard" object and it worked perfectly. :)

  • The question doesn't really make sense, since HTML and JavaScript are not associated with specific layouts. There is one HTML page the entire game runs in. What are you trying to do?

    I found your video tutorial Ashley.

    "JavaScript coding in Construct" youtube-ScirraVideos

    That's exactly what I was looking for, Thank

    Before That I did a plain Javascript tutorial for html, so I figured i could just right click make a new Javascript file and maybe a new html file add it to the project and it would work. But I noticed that the whole project's code won't work like that. You have to use add-Script file. + It just wouldn't work anyways with getElementById, or document.getSomething. i know document has to be run time. i should say that this project i had done only uses a canvas element.

  • Basically that.

    Tagged:

  • Very nice Dop! :)

    DeathSpecter9 - there are a probably a few ways to fix that, I moved the origin to make sure other shapes line up on the same grid...

    I recreated the level from the picture you posted above, and it works quite well.

    not as fluid as the movement of the real game, but pretty close - and only 4 events!

    https://www.rieperts.com/games/forum/MoveBlocks2.c3p

    Works Great Thanks Guys!

    Let you know if I finish it. Graphics and polishing.

  • I've done something similar before but when I add another piece like 32x32.

    everything's good until i let go, then the piece wants to overlap another piece by half the smaller blocks size.??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check this out:

    https://www.dropbox.com/s/x06g9959ukyz2jy/PhysicsMoveBlocks.c3p?dl=0

    Edit: file updated, pieces now move without wobbling.

    Wow Thankyou very much. Appreciate it.

  • AllanR

    Easy as in there is all kinds of sliders that for a clever person maybe able to make a path like that.

    But I think you onto something with the array thing,

    1,0,0,0,1,1, 1's would be the space movement is allowed, and 0's would be the stop, or blocked of area.

    And maybe I need to get rid of the drag and drop and use a mouse task of some kind.

  • I've been trying forever to make a slide block game like one of my favorites.

    "Blockwick" the original one not #2.

    I got everything but I can never get drag and drop to stop going through solid objects. I'm sure it's really simple. Please no links to your store products.

    Here is a picture of the game.

  • Nice I always like this kind of game.