Shadowblitz16's Forum Posts

  • hmm is there a way to do something like this with set speed to achieve a max acceleration?

    preferably with the movement and not the overall max speed

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • can someone tell me how I can fix this .css file

    #MYCSS{
    	@font-face {
    		font-family: 'phaser_bankregular';
    		src: url('phaserbank.eot');
    		src: url('phaserbank.eot?#iefix') format('embedded-opentype'),
    			 url('phaserbank.woff2') format('woff2'),
    			 url('phaserbank.woff') format('woff'),
    			 url('phaserbank.ttf') format('truetype'),
    			 url('phaserbank.svg#phaser_bankregular') format('svg');
    		font-weight: normal;
    		font-style: normal;
    	}
    	color: #4CFF00 !important;
    	font-size: 16px;
    	padding: 8px 32px;
    	border: 2px solid #4CFF00;
    	background: #000000;
    	background: linear-gradient(top,  #000000,  #000000);
    	background: -ms-linear-gradient(top,  #000000,  #000000);
    	background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#000000));
    	background: -moz-linear-gradient(top,  #000000,  #000000);
    }
    #MYCSS:hover{
    	color: #FFFFFF !important;
    	background: #000000;
    	background: linear-gradient(top,  #000000,  #000000);
    	background: -ms-linear-gradient(top,  #000000,  #000000);
    	background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#000000));
    	background: -moz-linear-gradient(top,  #000000,  #000000);
    }
    [/code:1gyc9sus]
    
    I am using a custom font but it doesn't seem to work
  • like instead of buttons,scrollers,ect. using mouse position and input

    it uses keys and buttons

    like console games that have no mouse

  • can someone explain to me why I can't seem to use

    custom movement set speed to accelerate?

    the logic behind it would to use a code like

    Set Player Speed to PlayerCustomMovementSpeed-40

    I'm trying to do it this way so I can do something like

    Set Player Speed to clamp(PlayerCustomMovementSpeed,-200,0)-40

    and set my max speed through my movement instead of My overall speed

    however it seems to just barely move the player upwards with no acceleration whatsoever

    is this a bug? if so I can report it. if not how can I fix it?

  • How do I Create a Retro Button Menu?

    as in the keys are what move the selected buttons around and a key to enter and a key to exit

    I know it requires lots of event branching and variables

    I would like to know if there is an easier way?

    functions don't seem to work as they can't include any trigger events

    I would like things like volume,controls that sort of thing

    if anyone could help I would be very thankful

  • ok I will try this

  • so they would both be set at the same time?

    I don't quite understand

  • does the create event execute before the variables set after spawning the object?

    or does it work in line order?

    for example witch var would be set first in a code like this?

    on X pressed
    spawn projectile at layer 1 point 0
    projectile set instance var1 to 1
    
    on projectile created
    projectile set instance var2 to 1
    [/code:gm15cn5l]
  • rexrainbow

    is there a way to make a action reference another object via nickname

    like..

    on create of object family
    {
        if object is Asteroid Large
        {
             Nickname = Asteroid Large
             Sub Nickname = Asteroid Medium
        }
        if object is Asteroid Medium
        {
             Nickname = Asteroid Medium
             Sub Nickname = Asteroid Small
        }
        if object is Asteroid Small
        {
             Nickname = Asteroid Small
             Sub Nickname = Asteroid Null
        }
    }
    
    and then on collision
    if Asteroid Family Collides with bullet
    {
         Repeat 2 times With Nickname
         {
                 Create SubNickName
                 SubNickName.Angle = NickName.Angle
                 Nickname.Angle = Nickname.angle - 90
         }
         Then
         {
             With NickName Destroy
         }
    }
    [/code:2mwu3sm2]
    
    Edit: also sorry for the bump
    Edit2: ingore this post I realised I just need to ask how to use an array
  • how do I make form control objects have certain sprite of font?

    like they don't list a way to use custom sprites and fonts

    and I googled it people are telling the askers to use CSS

    but isn't that just making it harder then it has to be?

    since it requires understanding how CSS works

  • where do I download it?

    on his site there is only links to capx files

    Edit: wait I need to have in based on a number variable so I can increment it by 1 depending on the asteroid type

    Ashley is this even possible to maybe implement or do I have to just use a ton of code for each asteroid?

  • can someone reply to this by tomorrow as I need at least question 2 to be answered to continue my game

  • I admire your quick reply

    but I just realized that and fixed it to

    but thankyou

  • can someone take a look at my project real quick

    My missiles explosions aren't spawning at all

    they aren't deleting themselfs as I when into debug mode

    and I checked step by step intill the explosions would have happened

    but they just don't spawn

    I have tried moving the events around but it doesn't seem to work

    here is my capx

    https://www.dropbox.com/s/bij2myaybb1rc ... .capx?dl=0

  • Edited:

    to make this more pleasing I've combined two of my questions in one topic

    EditedAgain:

    to change number 2 question

    EditedAGAIN2:

    to change number 2 question

    1.

    is it possible to do a else if or if inside one block?

    I tried to do it and it toggles a or between the else if

    making it not work

    2.

    is it possible to spawn a certain object in a family by either a objectID or a custom family var?