celstrider's Forum Posts

  • yes, there is an admobs plugin that is built into c2.

    outside of the c2 editor you will need to sign up for an admobs account and then make an ad which will give you an ad id.

    then inside of c2 you add the plugin paste the advert id into the plugin properties, then add a few events that tell the game when to show the ad.

  • set the player to only respond to the platform edges when the player is not overlapping the platform.

  • keyboard D key is down >> simulate platform pressing right

    on d pressed >> player set animation "walk"[looping]

    on mouse click >> player set animation "attack"[not looping]

    player on animation "attack" finished >> player set animation "walk"

    if you want the player to stop moving when the attack substitute:

    keyboard D key is down >> simulate platform pressing right

    with:

    keyboard D key is down, and animation "walk" is playing[or animation "attack" is not playing] >> simulate platform pressing right

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • check if the collision polygon is the same for each frame of your player

  • crashed thread: audeferreredrender

    the problem is related to your audio. maybe line 38 in your event sheet?

  • after making both animations and adding a mouse object:

    go to event sheet

    add new event : on any mouse click

    add action : playersprite set animation "whatever you named your running animation"

  • the layouts for level 3 and 4 don't have an event sheet selected.

    if you click the layout in the projects pane the layout properties pane will appear. then just select the event sheet you want linked to the layout.

  • there are too many possibilities, if you want to share your capx ill take a look.

  • you can pin your sprites at various points to a larger sprite then use drag and drop to scroll up and down.

    https://www.dropbox.com/s/59wxqhttszs9t70/horizonal_menu.capx?dl=0

  • you can use the : sprite : "load image from url" during the runtime. but I don't know if it's possible to save the new png's. you would probably have to save them to some external cloud storage then grab them with the load from url.

    it would be way way way way easier to just add a character sprites into the game and then let your users cycle through a fixed set of options that correspond to numbers saved in an array.

  • go to your event sheet, right click as if adding a variable, you will see "include event sheet"

    create a new event sheet(do not create another layout), put all duplicated events in a the new event sheet then add it to the event sheets specific to the level.

    delete the redundant events in the level specific sheets.

  • yes it's possible.

    if the touches come so close together the screen reads it as a single touch, then it might mess up a bit.

    you could probably use the drag and drop behavior

    something like

    on any touch start

    item1 and item 2 is in touch >>> enable drag and drop

    on any touch end

    sprite is in correct position >>> disable drag and drop, give points or whatever

    else >>> disable drag and drop, return to original positioning

    (just paraphrasing the last bit)

    https://www.scirra.com/manual/137/drag-drop

  • For some reason most of the games in the arcade won't load, they just give me a red progress bar and stay on the loading page.

    It has to be an issue with my LAN, because it will work if I am using a different wifi connection.

    it seems like only the really basic games work. for example "red tie runner" doesn't work but "18 second challenge plus" will run fine.

    these are the errors i'm getting in the console.

    Failed to load resource: the server responded with a status of 403 (Forbidden)

    Application Cache Error event: Resource fetch failed (403)

    "An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing."

    anyone know what's wrong?

  • something like this some work.

    system = create object box on layout 0 at (16,17), set instance variable = 1

    system = create object box on layout 0 at (box+32,17), set instance variable = 2

    system = create object box on layout 0 at (box+32,17), set instance variable = 3

    on start of layout(or whatever) >>> set global variable to floor(random(1,4))

    then system pick by comparison to select the block that has the same instance variable as the random global.

  • Gary

    are you able to import other file types or just php?