lukedirago's Forum Posts

    Looks awesome! Will the max width of the game will still be 800? :)

    Great work!

  • Hello there. I just uploaded my game into the Scirra Arcade. It's called Derez.

    Derez on Scirra Arcade

    Short story: I made an Pause system that basically saves the game using a Save state, takes a snapshot, goes to the Pause layout and loads the snapshot... you get the idea.

    This doesn't seem to work on the Arcade! At first I thought it was something related to the input method, since it was Right Click or ESC to pause it. I change that to Middle Click and shift, but nothing changed it.

    This is happening only in the Arcade, in my Server or even on Facebook works just fine.

    Any ideas?

    Thanks

    PS: Also, it seems I can't get to work appending the hiscores of ScirraArcade. Facebook works fine. I'm using ScirraArcade.HiScoreNameAt(1)& " - " & ScirraArcade.HiScoreAt(1) & newline. Of course after the >on hiscore and previously requesting them at the start of layout.

  • Hi everyone! Just wanted to share a game I worked on the past two weeks. In a infinite runner, nothing too fancy, nothing revolutionary, but cut me some slack, is my first game in the arcade ;)

    Derez on Scirra Arcade

    I'm uploading it to Facebook tomorrow (I hope).

    In the options menu, you can change the theme of the game, and the difficulty. Also, you'll get bonus score if you play it on hard or wtf.

    I can't still get to work the scores page, which should take scores from Scirra... but if I can fix that, I'll update it.

    Let me know what you think :)

    Thanks!

    Luke

    for some weird reason the game got uploaded duplicated.

    Can you delete it? Thanks

    scirra.com/arcade/addicting-action-games/6893/derez-infinite

  • I posted it a thread also. I did found a workaround, making an invisible square sprite to follow the absolute x,y of the mouse, and then used an overlap event which made the trick.

    So is something specific with the Mouse object it seems.

    Thanks Ashley! Construct 2 keeps getting stronger and bigger everyday :D

  • blackhornet has a point. The audio event should be a trigger. Maybe your making it with a condition? Let's say you have a variable called Donuts. If you make an event like Donuts = 35 / Play "Win.ogg"

    If you do that, it will play for every tick while that condition is true.

  • Hi!

    A updated your capx with a range display. Here it is Fixed Example - Range

    Instructions:

    You should make a sprite with a circle shape. Then put it on the game, outside the layout, on touch set position to touched object, send it to the back, and you could set the size to the tower range (so if you have different towers, it will show an accurate range). What I also did;

    I split the layout in two layers: BG and Game.

    This is mainly a way to easily place things using Z order without complicating it too much. I created an empty 'BG' sprite, and the circle sprite called 'range'.

    Here are the events that place the range:

    <img src="http://i.imgur.com/R0oHstF.jpg" border="0">

    And here the ones that puts everything back:

    <img src="http://i.imgur.com/hgtJ3XQ.jpg" border="0">

  • What do you mean? Configuring the parameters of the particles, or the event that activates them? Can you explain what you need a little more?

  • Well, it is indeed a bug. I already reported it.

    As for my case, I solved with this workaround:

    I made a sprite, which follows the mouse position and when the buttons overlays the sprite, it changes the animation frame. Now this works independently if I load or save, so we could say 'problem solved' except that it required a couple of steps to work around it.

    <img src="http://i.imgur.com/pL4Bfz2.jpg" border="0" />

    The frame keeps skipping on loading from URI, I'll try to fix it later, but if someone knows a way to fix it, it would be aweeeesome.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Link to .capx file (required!):

    Load/Save state problem with Cursor

    Steps to reproduce:

    1. Run the proyect, on the main menu the cursor changes the color of the sprite.

    2. On the game, press right click, goes to pause. Press resume

    3. Go again to pause, and the cursor will no longer change the color of the sprite.

    Observed result:

    The cursor stops changing the color of the sprite once the state is loading

    Expected result:

    The cursor events should work regardless of the load/save state.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack: Windows 7 Ultimate

    Construct 2 version: Beta Release r142

  • spongehammer I was hoping it was something with the logic of events.

    I'll post it as a bug, thanks

    But anyway;

    • Anyone now how to fix that small 'jump' of image when it goes to the other layout?
    • Anyone that comes to a different approach to make the same effect in the buttons with the cursor is over?

    Thanks

  • Just in case to clarify a little bit more without looking at the capx:

    When life is 1, the bar width will be 50 (50*1=50)

    When life is 0.5, the bar width will be 25 (50*0.5=25)

    When life is 0, the bar width will be 0 (50*0=0)

  • How about...

    --->|Keyboard| on press Space Bar - play "gun"&random(3)&".ogg"

    I don't know if I wrote it right, but you get the idea. Basically make the number on the file you're playing generated randomly everytime you press space

    Hope it helped :)

  • Hello there!

    I found myself in a little trouble here;

    I'm making a pause system, that basically saves a state, takes a screenshot, then goes to another layout (pause) and loads the screenshot into an empty sprite using the 'Load image from URL' using the URI of the canvas screenshot. Here's the event sheet I made for an example:

    <img src="http://i.imgur.com/bpe8tXj.jpg" border="0">

    I know most of you will say "Use System, Set time scale:0" but in my case, it's far from ideal, since I'm using a lot of fx via WebGL, like Noise, and if I just freeze the time scale, the fx keeps running.

    Well, this system I show you in the screenshot, actually works, and works pretty well except for two things: When I go to the Pause Layout, you can see the previous image loaded and the new one replaced, making a small jump. I can live with that, but if someone knows how to fix it, it would be great.

    My mayor issue, is the buttons. In my game, I have a family of buttons, and two events that controls how they behave; if cursor is over them, switch to frame 1, if not switch to frame 0.

    For some reason I still can't figure, once you 'resume' (load from state) it breaks it. I replicated here in the .capx without families so if you have a free version you can still use it.

    I think I saved it using the last beta, if you don't have it, let me know and I can downgrade from C2 to the stable one and re-export it.

    Thanks! I hope some can help me :) I'm banging my head quite hard on this one.

    Pause with Load-Save problem

  • Same problem here; keep getting current score instead of hiscore. =/