<commit_before>import VPlay 2.0
import QtQuick 2.0

EntityBase {
    id: entityBase

    width: 32
    height: 32
    x: 160
    y: 240
    z: 3 //Game object

    property alias imageSrc: boxImage.source
    property alias movementEntity: moveEntity

    BoxCollider {
        id: boxCollider
        bodyType: Body.Dynamic
        x: -width/2
        y: -height/2
    }

    Image {
        id: boxImage
        anchors.fill: boxCollider
    }

    MouseArea {
        id: mouseArea
        anchors.fill: boxCollider
        onClicked: {
            if (boolWeapon01 === true) {
                sfx.weaponFire01()
                sfx.targetExplosion()
                timerWeapon01.running = true
                pointScore2 = textScoreValue.text
                textScoreValue.text = (pointScore + pointScore2).toString()
                parent.removeEntity()
                if (intScoreValue >= intGoalValue) {
                    sceneGame.gameWon()
                }
            }
        }
    }

    Timer {
        id: moveEntity
        running: true
        repeat: true
        interval: 75

        onTriggered: {
            if (parent.horizontalAxis === true) { parent.x += parent.horizontalSpeed / 100 }
            if (parent.horizontalAxis === false) { parent.x -= parent.horizontalSpeed / 100 }
            if (parent.verticalAxis === true) { parent.y += parent.verticalSpeed / 100 }
            if (parent.verticalAxis === false) { parent.y -= parent.verticalSpeed / 100 }

            if (parent.x >= 320) {parent.removeEntity()}
            if (parent.x <= 0) {parent.removeEntity()}
            if (parent.y >= 440) {parent.removeEntity()}
            if (parent.y <= 0) {parent.removeEntity()}

            parent.totalSpeed = parent.totalSpeed * 1.075
            parent.horizontalSpeed = (parent.percentageAxis / 100) * parent.totalSpeed // Match horizontalSpeed to percentageAxis.
            parent.verticalSpeed = ((100 - parent.percentageAxis) / 100) * parent.totalSpeed // 100% minus percentageAxis makes the verticalSpeed.
        }
    }w
}<commit_msg>Revert "Merge branch 'master' of https://github.com/GerardSchornagel/Popper"<commit_after>import VPlay 2.0
import QtQuick 2.0

EntityBase {
    id: entityBase

    width: 32
    height: 32
    x: 160
    y: 240
    z: 3 //Game object

    property alias imageSrc: boxImage.source
    property alias movementEntity: moveEntity

    BoxCollider {
        id: boxCollider
        bodyType: Body.Dynamic
        x: -width/2
        y: -height/2
    }

    Image {
        id: boxImage
        anchors.fill: boxCollider
    }

    MouseArea {
        id: mouseArea
        anchors.fill: boxCollider
        onClicked: {
            if (boolWeapon01 === true) {
                sfx.weaponFire01()
                sfx.targetExplosion()
                timerWeapon01.running = true
                pointScore2 = textScoreValue.text
                textScoreValue.text = (pointScore + pointScore2).toString()
                parent.removeEntity()
                if (intScoreValue >= intGoalValue) {
                    sceneGame.gameWon()
                }
            }
        }
    }

    Timer {
        id: moveEntity
        running: true
        repeat: true
        interval: 75

        onTriggered: {
            if (parent.horizontalAxis === true) { parent.x += parent.horizontalSpeed / 100 }
            if (parent.horizontalAxis === false) { parent.x -= parent.horizontalSpeed / 100 }
            if (parent.verticalAxis === true) { parent.y += parent.verticalSpeed / 100 }
            if (parent.verticalAxis === false) { parent.y -= parent.verticalSpeed / 100 }

            if (parent.x >= 320) {parent.removeEntity()}
            if (parent.x <= 0) {parent.removeEntity()}
            if (parent.y >= 440) {parent.removeEntity()}
            if (parent.y <= 0) {parent.removeEntity()}

            parent.totalSpeed = parent.totalSpeed * 1.075
            parent.horizontalSpeed = (parent.percentageAxis / 100) * parent.totalSpeed // Match horizontalSpeed to percentageAxis.
            parent.verticalSpeed = ((100 - parent.percentageAxis) / 100) * parent.totalSpeed // 100% minus percentageAxis makes the verticalSpeed.
        }
    }
}
{'fraction_non_alphanumeric': 0.10203117619272556, 'fraction_numerical': 0.02975909305621162, 'mean_word_length': 1.744653272845107, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7288092', 'n_tokens_mistral': 1290, 'n_tokens_neox': 1151, 'n_words': 282}