MisterAqua's Recent Forum Activity

  • Ok thx

  • Anyone ? Up pls

  • For example : i want to show on my website how many time my game was ended, or how many times peoples die.

    I have already made a page with false stats here (everything is in french but that doesn't matter if you don't understand anything, it's just to show an example) :http://afranchcoder.comuf.com/Randomizor%202/Randomizor.html

    Can i simply use event or may i need a MySQL server ?

    I do not put example because I just want to know how can it be done? I would make it by miself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You may use a variable to stock your "desired text" :

    Variable : textToWritte

    If this variable is not empty, write the first caractere and keep the rest

    textToWritte is different to "" : 
    DestText append text : left(textToWritte, 1)
     textToWritte set to right(textToWritte, len(textToWritte)-1) [/code:3lc1q8i3]The last line will take the lenght of the textToWritte ( "len(textToWritte" ) and will replace it by himself-1 
    
    And that all ^^ i have just add some button to test it and a button to clear the text
    If you want to writte something, just and an action : set textToWritte to "Hello"
    
    But i have decide to upgrade it by making an "attente list" : 
    when you want to writte something, if my variable isn't full, just add the text behind the other :
    if textToWritte is different to "" : textToWritte set to textToWritte + "Hello"
    
     your new capx [code:3lc1q8i3]https://www.dropbox.com/s/y52at1wl2n7okxd/typewritter.capx?dl=0[/code:3lc1q8i3]
  • I've made something like that one time. It's not a true solar system cause it's no using any physics behavior.

    Create three object : A sun , a planet and a mouse object.

    Add a behavior for the planet : bullet

    Now in the event sheet create a variable named "Attraction"

    We always need to set the planet perpendicular to the sun :

    Every ticks :

    planet set angle to Sun.X Sun.Y

    planet rotate 90 degrees conter-clockwise

    You can change the gravity by adding a "-Attraction" beside the 90 :

    planet rotate 90-Attraction degrees conter-clockwise

    You can add a event to change the attraction in game

    On mouse wheel down : substracte 0.1 to Attraction

    On mouse wheel up : add 0.1 to Attraction

    You can create different planet with different size.

    I know it 's like a fake solar system but i havent better.

    Maybe some expert will come soon to give you a better soluce (scirra have a good community

    Sorry for my english, i'm french so i wonder you will understand me x)

  • I do something like this but i've create a sprite named : "knockbak" with Pin behavor

    Knockback >>> pin to Player

    When Player Collide with WhatYouWant >>> Knockback rotate toward WhatYouWant / Set bullet speed to 400 / Set bullet angle to (-angle of knockback)

    ........

    This way prevent player to walk backward on a trap and get knockback in the wrong way, or when a enemies come from behind and push him.

  • Thank you !

    Thank for your quick answer

    I don't think i change frame with number of spike cause if i have a line of 42 spikes i won't make 42 frame * 10 (for all color)

    Thank again, great forum with actif people

    May i have to mark it as solved ? i don't see any button ?

  • dropbox.com /s/qp8swuvk8ielzln/Randomizor%202.capx?dl=0

    (delete space) and say "no thank" if DropBox want you to sign up

    I never had probleme with mega, i use it everyday and i never see pub or wait.

  • Okay i fix it by creating a event that always count the number of player and destroy them if they are more than 1 but it's not very "clean" cause i need to trigger it every tick. I'm searching a "softer" way to do that.

    P.S. I've put trigger once EVERYWHERE but doesn't work

  • mega. nz/#!mEljADiY!dczm9gBSqRzefjChVPCJGlwrtWakJ4lGo36Dq4P3vT

    my capx (delete space)

    Special gameplay : a plateform-type game

    But every try three random color being "transparent" (no more solid)

    Colors change every respawn

    I'm french so i hope you will understand my events . Some usefull translations : mort = death

    all my principals event are in event sheet named (Event du jeu)

    fonction "mort" : group Perso -> group Perso mort

    fonction "reboot" : Group Random color

    Debbug command :

    in the level choose layout , press = to unlock new level

    in any level , press ^ to open soft debug HUD

    when soft debug HUD open :

    1 - See transparente plateform

    2 - Plateform behavor

    3 - 8direction behavor

    4 - Add point (useless)

    5 - Stop chrono (useless)

    6 - Being immune to deaths (outside layout and spike)

  • #99Instances2Go : no there only one player in the game at the start i delete the first at the start of the layout

    #MPPlabtIfficial : i use "trigger once while true" and that don't fix the bug. By "Trigger Once While True" you mean the condition which became "Trigger Once" when create or i'm using the wrong condition

  • ...16

    There it is

    but how it is possible i just destroy it and respawn it one time

    In fact when i say

    object_Spawn spawn playe[/code:35dakajj]r i use a second fonction which :
    [code:35dakajj]destroy player (again)
    system create player at object_spawn.X , object_spawn.Y
    apply skin etc...[/code:35dakajj]
MisterAqua's avatar

MisterAqua

Member since 5 May, 2015

Twitter
MisterAqua has 1 followers

Trophy Case

  • 9-Year Club
  • Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

11/44
How to earn trophies