arthology's Forum Posts

  • Hey, everyone! Check out my first release on the Google Play Store: OutVoid. The game is retro-style shmup (shoot-em up) game that's like "Asteroids" with guns. Your ship is stranded in space and out of control. With only your turret, you must survive against incoming threats.

    Two modes are available: Timed and Infinite. You can get it here: https://play.google.com/store/apps/details?id=com.yupenglee.outvoid. Rate and review it; I appreciate all feedback. Thanks!

  • You can activate and deactivate them with groups.

  • I'm having an issue with the progress bar not showing up in CocoonJS Launcher's Canvas+ preview. The progress bar will show up fine with Webview and Webview+. It's also fine with Chrome, IE, and Firefox previews. I don't know if this is an issue with C2 or with CocoonJS. Any info is appreciated.

    Affected Browsers

    • Chrome: No
    • FireFox: No
    • Internet Explorer: No
    • CocoonJS Launcher Webview: No
    • CocoonJS Launcher Webview+: No
    • CocoonJS Launcher Canvas+: YES

    Operating System and Service Pack

    Android 4.2.2

    Ludei CocoonJS Launcher v. 2.0.1

    Construct 2 Version ID

    Release 173

  • kbtbc If your "setup" layout doesn't use the same exact events as your "game" layout, then I would separate the single event sheet into two event sheets. Easier to manage; less hassle and headache.

    If you intend to keep one event sheet, may I suggest separating your "setup" and "game" events in separate groups so that you can effectively use the "Set group active" action. Activating and deactivating certain groups when needed should help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • MitchBrits15 Unfortunately, that is the case. You have to create the dimensions you want by targeting around the devices you want your game to be displayed on.

  • MitchBrits15 I only use "Letterbox scale" because the other ones throw off the scaling. It's not perfect; it keeps your layout width and height to scale, but may distort your graphics.

  • I guess it's about time to introduce myself after being a member for a while now: "Hello and welcome, everyone!" Good luck to everyone on their projects because I know that I need it as well. See ya!

  • transient Dunno if this is the answer you're looking for, but have you tried activating/deactivating by groups? In one of my game projects, I have a group with events that are about spawning objects continuously. Upon pause or game over, that group is 'deactivated' so that the spawning events don't trigger. Then on resume or restart, that group is 'activated' so that the spawning events trigger normally.

  • TMAJA Have you tried the 'WebStorage' object?

  • LaroTaio

    Divide the LayoutWidth or LayoutHeight by "2" , which will put the 'Sprite' object based on its "origin point" in the center of your layout, like this:

    Sprite | Set position to (LayoutWidth/2, LayoutHeight/2)

    Note: if your origin point is in the center of your object, then the object's center will be aligned with the layout's center. If your origin point is in the top left corner, then the object's corner will be aligned on top of the layout's center.

    Here's what 'LayoutWidth/2' means: if you folded a piece of paper from the left edge all the way to the right edge and unfolded it, you'll get an vertical crease exactly in the middle of the paper with two equal left and right halves. You're essentially finding the layout's exact middle point along the x-coordinate (width-wise).

    Here's what 'LayoutHeight/2' means: if you folded a piece of paper from the top edge all the way to the bottom edge and unfolded it, you'll get a horizontal crease exactly in the middle of the paper with two equal top and bottom halves. Now, you have the layout's exact middle point along the y-coordinate (height-wise).

  • LaroTaio You could create an object that will act as a container for your 3 images. Then, that container will be centered in the layout/screen and the 3 images will be "pinned" to the container.

  • granpa I don't really understand modulos. However, I've found another way that answered my question, but takes a few more steps:

    Alongside my 'score' global variable, I added another global variable named 'score_10th'. Each incremental point earned through the game will be added to both variables. Once both variables reach 10, there's a trigger that resets the 'score_10th' variable to 0 and creates an object; the 'score' continues to accumulate points unaffected. When the 'score' reaches 20, the 'score_10th' reaches 10, which will reset to 0 again. So, the 'score' will continue to accumulate separately from the 'score_10th'.

  • LaroTaio Not sure what you mean.

    You can align objects simply by right-clicking the object and find the "Center horizontal" or "Center vertical" options. You can also use system expressions like "WindowHeight", "WindowWidth", "LayoutWidth", or "LayoutHeight" and divide them by 2 in your object positions.

  • I have a basic scoring system (txt_score | Set text to score). At every 10th point (10,20,30,40...and so on), something will trigger. Is there a way to figure that out?

  • cvp Goddamn it was something simple like that. I was going about it at a different, more complex way. Thanks!