DozeMaster's Recent Forum Activity

  • Thanks! LOL one freaking button!

    Man it was driving me crazy.

    I appreciate your help.

    You are welcome,

    And welcome to development world, where everything makes sense yet nothing works :)))

  • if im not mistaken that is a deprecated function in android, only works in NW.js and windows apps/desktop apps, no more mobile "exit" since the creation of the button "kill all processes", which now automatically closes all background apps by default.

  • Hi again, sorry a bit late work and all,

    i checked your implementation and you forgot to set the "initially visible" on your confetti to be "checked" in layout 2... it works fine once you activate that option.

    i got confused as well why it didnt worked as everything was setup properly... then only thing that made sense was if confety was invisible.

    if u want to trigger visibility of it by delay u can set "confetti>set visibility to visible" after wait 0.5 action u have.

  • confeti example

    see this quick example, there is 2 ways of doing it ... the one with loop i triggered it with mouse click, but u can trigger it instead of mouse click when game ends ... notice is on 1 time trigger (or one time per click / action)

    the other is already in screen is a burst spray but needs a lot of customizations in parameters. play with them see if u can get ur desired effect.

  • have a problem with the arcade in dark mode, the text is white but background also white, in light mode the text is black, background white ... looks better in light mode but in dark mode... u cant tell there is a name there, i mean is visible... but barelly... is it possible to enable bbcode for the color of studio name? or have it black on white all times? or white on black? or whatever the color scheme is for dark mode?

  • use particle object + color change

    or gravity physics + sprite create in loop 10/20 on trigger apply impulse at angle random 200/320 using physics

  • You do not have permission to view this post

  • usually is instant, unless something happened in the upload/approve process to curate games quality.

  • Or change layer interactivity setting.

    oh i didnt knew this is a thing C3 really upgraded in the past years xD

  • u need to add a condition that blocks invisible objects to be clicked.

    u can do all that by doing a group in the eventsheet, add ur all events that are affecting the "invisible" objects and enagle disable that group when "layer1 is visible /invisible" toggle group "1"

  • > make sure the player is only 1 instance, and that the value is available at all times to be read, meaning the attackspeed variable of the player should be static not changing.

    >

    > it should work, but is not great practice to use direct instance varible of other objects as those other objects get destroyed etc and then all ur data is lost that u are based ur other items to depend on.

    >

    > better have the character stats like "attackspeed" saved as a array or global variable then use that on ur bullet behavior.

    >

    > and to use that u need to make sure the data is set on bullet creation. in a proper order

    >

    > u cant have

    >

    > bullet set speed to player.attackspeed above the line that creates the bullet.

    >

    > always needs to be after bullet is created. otherwise will change all bullets in screen, or give u weird glitches.

    >

    > FIY the setting of bullet speed can be done using events

    >

    > <condition> on bullet created /spawn etc < action > set bullet.speed to player.attackspeed

    >

    > hope it helps.

    Thank you, this helps a lot. I notice that the global variable says 'static'. So if I have a playerHealth global variable and I set it to '100' and 'static', does that mean I cannot change it when the player gets hit by a bullet?

    Static

    Only applies to local variables. By default, local variables reset their value to the initial value every tick. However if Static is checked, the local variable's value will persist permanently, like a global variable. Static local variables differ from global variables in that they can still only be used within their scope. Global variables always hold their values permanently so the Static option does not apply to them. For more information about local variables, see Event Variables.

    Constant

    Make a variable read-only. You will be able to compare and retrieve the variable, but not change its value using any actions. This is useful for referring to a number like the maximum number of lives, without having to repeat the number in your events. If you want to change the value, there is only one place you need to change, which is a lot easier than having to hunt down the multiple places you entered a particular number in your events. According to programming convention, the names of constants are displayed in upper case, e.g. MAX_LIVES.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • make sure the player is only 1 instance, and that the value is available at all times to be read, meaning the attackspeed variable of the player should be static not changing.

    it should work, but is not great practice to use direct instance varible of other objects as those other objects get destroyed etc and then all ur data is lost that u are based ur other items to depend on.

    better have the character stats like "attackspeed" saved as a array or global variable then use that on ur bullet behavior.

    and to use that u need to make sure the data is set on bullet creation. in a proper order

    u cant have

    bullet set speed to player.attackspeed above the line that creates the bullet.

    always needs to be after bullet is created. otherwise will change all bullets in screen, or give u weird glitches.

    FIY the setting of bullet speed can be done using events

    <condition> on bullet created /spawn etc < action > set bullet.speed to player.attackspeed

    hope it helps.

DozeMaster's avatar

DozeMaster

Member since 30 Jun, 2014

Twitter
DozeMaster has 36 followers

Trophy Case

  • 10-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x9
    Popular Game One of your games has over 1,000 players
  • x21
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x3
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies

Blogs

  • Construct For Dummies - Simple Tutorial Collection

    I scour the Construct forums for users tutorial requests, and create small quick and simple tutorials using Construct's defaults features so anyone can use and apply them.

  • My Dev Logs

    Thinking on games 24/7 is fun and waste of time and unproductive if we don't bring those game ideas to life. In this blog im bringing my game ideas to life and log their development process.