So there was a key code for mouse buttons! This right here is best case scenario material. I've got the scene downloaded, so you can remove it now. Thanks by the way!
Don't worry about all the technical details around the mechanism, all I needed was to know if there was a keycode that referred to the mouse buttons just like the keycodes that refer to SHIFT, ENTER, etc. My problem's solved thanks to you!
Oh, one more question, though. My mouse is a basic gaming-grade mouse with the two extra buttons where the thumb sits. Do you know if there were ever keycodes added for those buttons?
Last edited at 2022/06/22 00:34:45 by UnityDogGaming04
It's already acting fairly intelligent, with respect to my other scenes. It's about as smart as my PID drone waypoint follower scene. With time, the thing will know my name lol
1. I tend not to use onSpawn because it doesn't work reliably for me. I used update for the lasers because i wanted to make the loaded scene look just like the scene while running.
2. That was something I didn't bother with in this scene because of there only being two agents, meaning it's really hard to lose yourself. In fact, you'll notice that the only difference between both agents is the _player boolean inside each of them. When true, the user is in control, otherwise the primitive pathfinder takes over. I can add some code to highlight the player based on this boolean.
I left the text boxes so that there's some interesting things for the agent to interact with, and in fact there was an easy way to kill the agent if it got stuck up there. I'll see what I can do with the controls window, and I'll add some textless blocks for interesting terrain instead.
Yes, that is meant to happen. It happens when you press the S key. I should probably change that to a different key to keep that from happening.
Pressing S will set the orange box's _player to false, meaning the NPC behavior takes over, the player turns gray, and the camera stops following it. To regain control, left click on the agent (or any agent, for that matter) and things will go back to normal.
The AI code is in the postStep of both the player and NPC agents. The code decides whether to give the AI or the external player control based on the _player variable.
1. Hover the mouse over the center of the KM on the right, and lightly but quickly shake up to the right, then down to the left. A little movement gets the job done. This is enough to steadily move to the right, and to go left, just go up to the left and down to the right instead.
2. To jump to the platforms is a little tricky, often you'll get unwanted spin. The way I found easiest is to slowly move the mouse toward the bottom left corner of the right KM to get into a crouched position, then move your mouse up and to the right. The exact angle is hard to get, but with practice you should be able to find what works.
3. Once you're fairly good at the first 2 things and you have a good grasp at how mouse movement effects each leg, it'll be much easier to run. You'll want to impart clockwise angular momentum with the rear leg, and counter clockwise momentum with the front. This is also its own balancing act, but eventually you'll be able to say you walked with the weirdest walker on the Algbox!
Xarbian is kinda like AHOX but new, conceptualized by myself and Little. The name is by him and me both, the logo design is by Little, the logo's colors are by me, The computer's concept and most of its code are by me, with some syntax error help from Little.
He wouldn't want us to cry. He'd want us to be strong. Learn to make onward with only his memory. His video title was very casual about it, and I think that's how he wants us to feel. (Think "Technoblade has left the game.")
This is a theory ofc but how can a man downplay his death with his last words to us being "so long nerds" for any other reason? We'll all miss his shenanigans, but we'll stay strong for him.
As someone who's only made one other turing-complete machine, this is a milestone, even if it was thrown together without much ado about how to program it. I'll add a little tutorial to it.
And no, it doesn't have any built-in IO ports. The idea is that a geometry can be attached to the processor through a spring wire, and the spring either directly reads data out from the processor's _var (working memory) or actively overwrite the data in it.
However, while I intend to make more practical things under the Xarbian name, this was mostly a test of _setarr, a function that finally lets me change one array element at a time, as well as a test of my abilities to make something turing complete and faster and simpler than my SUBLEQ computer.
Either way, I'll be making more capable and transparent computers soon!
Good luck! My next computer might be a computer built to run this language I've mentioned before, a neural net all in one box, a SUBLEQ machine faster than my first one, or an entirely new computational model of my own!
I've decided to release an all-in-one version of this computer, made of a single geom, as my next project. It's architecture has one small change pertaining to trigonometry, but it's effectively the same machine, made faster, more stable, more everything! It's just been posted!
Hmm, I don't know why it would do that. While I see what's wrong with it, may I ask if restarting the scene and reentering the programs yields different results?
I found the problem! The kernel executes a line, and then moves forward one line. This creates issues with JUMP and IF commands, because it advances before running the line the JUMP or IF landed on. I've changed the _opcode script to account for this.
I think this is entirely different. This writeToFile system generates unique sound files if used correctly. It could turn motion from my pseudomicrophone into an actual sound file, though I've done that and it's not especially interesting sounding. But it's actual sound generated from the physics engine! I looked at that scene you shared, and it looks like it plays preloaded audio files. This generates them in a way I haven't ever seen before!
Last edited at 2022/07/07 00:08:26 by UnityDogGaming04