JWstudios's Forum Posts

  • Change the engine in your Cocoonjs object to web based.

  • cocoonjs works fine, under your cocoon object set the engine to standard web based. Accel doesnt work currently

  • best bet would be using a dictionary.

    For each object1 add key

    key name object.IID(i think) & "Y"

    Value self.Y

    same for angle and X

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I made a quick concept for our next game,

    with

    Record the location of the initial touch and have a small sprite that moves to the touch position X & Y on touch end spawn the object on the initial touch coordinates and loop a scale 1.1 of object until it collides with the small sprite.

    To draw lines you can spawn an object to touch.x & touch.Y (i think) This might kill performance though

    That's how i've done it i cant post the event sheet as i'm at work, but i believe this is the way to go without using addons (there may be an addon to help you)

  • My experience with the testing app is not great, I have an event on layout start to make a number of objects immovable. Works when hosting locally and using browser on my S3 works when installing via apk, Doesn't work when using the testing app.

    This was 1.41

  • .

  • dropbox.com/s/vge54fyvya5v8r4/cap.JPG

    Thats how I do it. drag and drop wasn't really doing it for me. if you spawned an item after a click you had to re-click to drag, this way grabs it and holds it until you let go

  • How id do it is, you could create either a single sprite, drop and arrange it in the formations you would like off-screen and for each of that sprite you could spawn an enemy. For you different waves you could rearrange these images.

    Or a single large sprite (for each formation) with multiple image points.

  • Your only wanting it to be a solid to the player? Could set the object to solid with disabled as default and on overlap with player set solid to enabled else solid disabled. You'd probably want your sprite to have a bit of transparency on the edges

  • Im on my mobile at moment but if you give the rotary an instance variable then on overlap set variable to 1, another event with condition of rotary variable = 1 to them perform the action

    Edit: you can then set the variable back to zero in the action event.

    Hope this makes sense

  • >

    > > I do the same with my sound

    >

    > can you explain this more? what do you do with your sounds? and why..

    I think he said he uses an Event Sheet to control all the game sound, and then just include that Event Sheet in all other Event Sheets. So you dont have to put the same code all over again in all layout...

    exactly :)

  • Create an event sheet that creates an the image of your splashscreen on layout start.

    Right click on every other event sheetand include it

    I do the same with my sound

  • Running of a SSD Construct 2 + capX. project is at 20mb memory usage 316 events.

    Memory usage was higher but recently i've noticed a drop in performance when I drag and drop images in the editor(was previously smoother at 22mb)

    Only thing that has increased is the number of layouts to 22(tried closing all but the one i'm working on), watching the performance in task manager I don't see many spikes/resources maxing out.

    Anyone witness anything similar/have any tips? I have a lot of levels to build :p

    Cheers,

  • Yep, I just made the move to windows 8 to publish on windows 8 mobile. You need win 8 pro or you cant open the project in Visual studio, which you need to do to compile it.

    EDIT: Also worth noting your system is going to have to support virtualization to run the emulator for the phone if you don't have one.

  • scirra.com/tutorials/266/webstorage-how-to-save-ingame-information

    pretty straight forward, just if you save as json don't use arrays use dictionary's.

    or you could pass your array data into a dictionary to then save as json