battle programmers alliance
Would you like to react to this message? Create an account in a few clicks or log in to continue.


battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeSearchRegisterLog in
Post new topic   Reply to topic
 

 energetic emotion display

Go down 
AuthorMessage
kurosen
codding
codding
kurosen

Posts : 204
Join date : 2012-04-17

energetic emotion display Empty
PostSubject: energetic emotion display   energetic emotion display EmptyMon Jul 27, 2020 10:52 pm

a minor update to the kokoro class now enables
displaying energetic emotions.

emotions for example that don't have much to do with the current
action or goal the AGI is occupied with.

DILively java class for example :

Code:
package com.yotamarker.lgkotlin1;

public class DILively extends DISkill {
    private int counter = 0;
    private TimeGate timeGate = new TimeGate();
    public DILively(Kokoro kokoro) {
        super(kokoro);
        timeGate.setPause(5);// 5 minutes
    }

    @Override
    public void input(String ear, String skin, String eye) {
        if(!timeGate.isClosed()) {counter=0;timeGate.close();}
        if(!ear.isEmpty()) {counter++;}//can add special skin input
        String emotion = "";
        if(counter>5) {emotion="4";}
        else if (counter > 3) {emotion="3";}
        else if (counter > 1) {emotion="2";}
        kokoro.setEmot(emotion);
    }
}

it is an input only class, which doesn't sent an algorithm
cause there is no need to weight down on the AGIs thought process/

when this class detects input, it will change the kokoro.emot
this later on can be displayed outside the chobit class, using
chobit object.getSoulEmotion , (the robot face or part of the app display changes)

chii!!.getSoulEmotion()

the trigger, and display can be anything really. it just makes her cuter.

demo, notice the +- display after input increament
https://streamable.com/durnsv

sweet
Back to top Go down
 
energetic emotion display
Back to top 
Page 1 of 1

Permissions in this forum:You can reply to topics in this forum
battle programmers alliance :: battle programming alliance :: the LivinGrimoire-
Post new topic   Reply to topicJump to: