/robowaifu/ - DIY Robot Wives

Advancing robotics to a point where anime catgrill meidos in tiny miniskirts are a reality.

Downtime was caused by the hosting service's network going down. Should be OK now.

An issue with the Webring addon was causing Lynxchan to intermittently crash. The issue has been fixed.

Max message length: 6144

Drag files to upload or
click here to select them

Maximum 5 files / Maximum size: 20.00 MB

Captcha
no cookies?
More

(used to delete files and postings)


They worked together tirelessly, bouncing ideas off each other and solving problems as a team.


Open file (13.41 KB 750x600 Lurking.png)
Lurk Less: Tasks to Tackle Robowaifu Technician 02/13/2023 (Mon) 05:40:18 No.20037 [Reply]
Here we share the ideas of how to help the development of robowaifus. You can look for tasks to improve the board, or ones which would help to move the development forward. You could also come up with a task that needs to be worked on and ask for help, use the pattern on top of OP for that, replace the part in <brackets> with your own text and post it. >Pattern to copy and adjust for adding a task to the thread: Task: <Description, general or very specific and target thread for the results> Tips: <Link additional information and add tips of how to achieve it.> Constraints and preferences: <Things to avoid> Results: Post your results in the prototypes thread if you designed something >>18800, or into an on-topic thread from the catalog if you found something or created a summary or diagram. General Disclaimer: Don't discuss your work on tasks in this thread, make a posting in another thread, or several of them, and then another one here linking to it. We do have a thread for prototypes >>18800, current meta >>18173 and many others in the catalog https://alogs.space/robowaifu/catalog.html - the thread for posting the result might also be the best place to discuss things. >General suggestions where you might be able to help: - Go through threads in the catalog here https://alogs.space/robowaifu/catalog.html and make summaries and diagrams like pointed out starting here >>10428 - Work on parts instead of trying to develop and build a whole robowaifu - Work on processes you find in some thread in the catalog https://alogs.space/robowaifu/catalog.html - Test existing mechanisms shared on this board, prototypes >>18800 - Try to work on sensors in some kind of rubber skin and in parts >>95 >>242 >>419 - Keep track of other sites and similar projects, for example on YouTube, Twitter or Hackaday. - Copy useful pieces of information from threads on other sites and boards talking about "sexbots", "chatbots", AI or something similar. Pick the right thread here: https://alogs.space/robowaifu/catalog.html

Message too long. Click here to view full text.

Edited last time by Chobitsu on 05/08/2023 (Mon) 11:17:16.
10 posts and 1 image omitted.
Task: Think about the config options robowaifus should have, in terms of behavior, opinion and psychology. Make lists sorted by some criteria or pattern, and describe how you mean it. Tips: Complex tests and categories for political views and psychology might help, but try to think of more. Behavior in conversations, sarcasm, ... Traits used for characters in entertainment might be a useful list, ... Constraints and preferences: No idea right now. If you make it too simplistic it can be extended later. The terms should be as unabigious as possible. Results: Posting it in the threads for personality >>18 or psychology >>2731 might be the right place. You can also pick another on-topic thread from the catalog if you prefer. General Disclaimer: Don't discuss your work on tasks in this thread, make a posting in another thread, or several of them, and then another one here linking to it. The thread for posting the results might also be the best place to discuss things.

Welcome to /robowaifu/ Anonymous 09/09/2019 (Mon) 00:33:54 No.3 [Reply]
Why Robowaifu? Most of the world's modern women have failed their men and their societies, feminism is rampant, and men around the world have been looking for a solution. History shows there are cultural and political solutions to this problem, but we believe that technology is the best way forward at present – specifically the technology of robotics. We are technologists, dreamers, hobbyists, geeks and robots looking forward to a day when any man can build the ideal companion he desires in his own home. However, not content to wait for the future; we are bringing that day forward. We are creating an active hobbyist scene of builders, programmers, artists, designers, and writers using the technology of today, not tomorrow. Join us! NOTES & FRIENDS > Notes: -This is generally a SFW board, given our engineering focus primarily. On-topic NSFW content is OK, but please spoiler it. -Our bunker is located at: https://anon.cafe/robowaifu/catalog.html Please make note of it. -Library thread (good for locating terms/topics) (>>7143) > Friends: -/clang/ - currently at https://8kun.top/clang/ - toaster-love NSFW. Metal clanging noises in the night. -/monster/ - currently at https://smuglo.li/monster/ - bizarre NSFW. Respect the robot. -/tech/ - currently at >>>/tech/ - installing Gentoo Anon? They'll fix you up. -/britfeel/ - currently at https://anon.cafe/britfeel/ - some good lads. Go share a pint! -/server/ - currently at https://anon.cafe/server/ - multi-board board. Eclectic thing of beauty. -/f/ - currently at https://anon.cafe/f/res/4.html#4 - doing flashtech old-school. -/kind/ - currently at https://kind.moe/ - be excellent to each other.

Message too long. Click here to view full text.

Edited last time by Chobitsu on 05/05/2023 (Fri) 00:00:53.

Open file (6.41 MB 1756x2927 7231083091289021.png)
nandroid project Robowaifu Technician 01/29/2023 (Sun) 03:52:07 No.19226 [Reply] [Last]
over the last year I´ve worked on making a full scale nanny android (or nandroid for short, her name is "Emmy") over the last 10 months and decided to post the progress (this is a SFW project)
251 posts and 169 images omitted.
Open file (4.00 MB 1449x2264 783127387128921.png)
blue glazing is done, now to the white parts
>>22928 What a great color-scheme this is looking to be for her, Emmy-Pilled. Nice work! :^)
>>22929 thanks, ordered some special epoxy buffing fluid this week as well. Gonna buff it with a sponge wheel
Open file (3.56 MB 2204x1476 34803128048.png)
topside glazing almost done
>>23042 Neat! is she gonna look like this in the end, Emmy-Pilled? That's really shiny! >topside glazing Can you explain that for the uninitiate please?

Open file (686.85 KB 2764x2212 Prima_Doll.jpg)
Open file (174.99 KB 720x960 Trash_Press.jpg)
Open file (359.85 KB 1200x675 ChatGPT_hustle.png)
Open file (29.42 KB 622x552 LLaMA02.png)
General Robotics/A.I./Software News, Commentary, & /pol/ funposting grounds #3 NoidoDev ##eCt7e4 03/06/2023 (Mon) 18:57:17 No.21140 [Reply] [Last]
Anything in general related to the Robotics or A.I. industries, and any social or economic issues surrounding it (especially of robowaifus). === -note: This OP text might get an update at some point to improve things a bit. -previous threads: > #1 (>>404) > #2 (>>16732) >=== -edit subject
Edited last time by Chobitsu on 06/10/2023 (Sat) 15:20:17.
232 posts and 60 images omitted.
>>23015 yeah okay everyone's entitled to their opinion but this thread is about ai news anyways. I just want to keep /pol/itics out of this.
>>22990 The way you can feed a local set of documents makes me wonder if you can affect personality by instead changing the documents in the local folder...
>>22994 >Hardly anyone compiles all their software. people unironically use gentoo as their main OS >And if you do compile it, do you go through every line and check it out? No, no one does that. are you saying an audit doesn't count if it's not formally logged? >A tactic. Seen over and over. it's called "picking the low-hanging fruit". >the same bunch that did 9-11. Are you talking about IS, who flew the planes, or the CIA, who knew it was going to happen and did nothing? I want to make sure I'm properly offended. >Yet building 7, not hit by a plane, and only on fire in three or four floors, fell the same speed as if ONLY AIR held it up for over 100 feet. But no, can't be a conspiracy because the news, run by the same people, told me so. how many people would have to be involved in order to destroy building 7 in a "controlled detonation"? let me guess, you figure it'd take less then 10 people, and they'd been sneaking explosives into the building for days ahead of time, right? this is why people like you are called conspiritards, you stop thinking as soon as you decide there was a conspiracy.

Message too long. Click here to view full text.

In response to some >>>/lebbit/ -tier, Filthy Commie, pro-Globohomo posting going on ITT, I'm adjusting the thread's subject. Since much so-called """news""" often bears directly on the same topics, this serial thread will now be considered our 'official' /pol/ funposting containment thread here on /robowaifu/ going forward. 'We report, you decide' kind of thing. >tl;dr Please keep /pol/ funposting ITT anons. :^) >=== -prose edit
Edited last time by Chobitsu on 06/10/2023 (Sat) 15:07:08.
>>22994 My apologies for attempting to constrain your conversation over to /meta, Grommet. Since others here have decided to flaunt that request (even as you honored it, seemingly), in fairness to you this is now the correct thread for such. >tl;dr Please proceed apace Anon! :^) >=== -prose edit
Edited last time by Chobitsu on 06/10/2023 (Sat) 15:18:54.

Open file (363.25 KB 1027x1874 MaidComRef.png)
MaidCom Development Kiwi 03/16/2022 (Wed) 23:30:40 No.15630 [Reply] [Last]
Welcome to the /robowaifu/ board's project. Together, we will engineer a modular robot that will serve and provide companionship to their Anon faithfully. See picrel for details on the current design. This robot will begin with a basic maid robot then move forward towards more capable robots with functionality approaching Chii/2B/Dorothy. First goal is to have a meter tall robot which functions as a mobile server bearing an appearance that approximates her owners waifu. This should be completed by December 2022 with further major updates happening yearly until Anons can build a PersoCom class robot with relative ease and affordability.
331 posts and 169 images omitted.
>>23003 thank you. I'll be posting the video when its done ;)
>>23008 this is taking longer than usual because the model has so many polygons that it makes my computer freeze whenever I try to do anything with it. I already decimated it down to less than a million polygons but its still too much.
>>23033 I'm sure you'll figure it out Anon. Just keep moving forward! :^)
I've thought about it and I think I will focus on the AI first. I will make it so you can talk to a phone and it answers back. Then the hand. You guys got the rest right? right? I'm trying this model right here: https://huggingface.co/KoboldAI/PPO_Pygway-6b-Mix/tree/main Its not cute but perfection is the enemy of progress as they say.
Open file (72.99 KB 750x380 chobits-header-chii.jpg)
>>23037 >You guys got the rest right? right? Lol. I suppose that depends on what you actually mean by """the rest""" Anon. :^) A Homo Deus? Of course not, no. Comfy simulacrums of idealized female companions ensconced within reasonably-functional robowaifu frames? Probably so given enough time & effort. And your own efforts may in fact help contribute towards that end-goal here Anon, so work hard! Cheers.

/robowaifu/ Embassy Thread Chobitsu Board owner 05/08/2020 (Fri) 22:48:24 No.2823 [Reply] [Last]
This is the /robowaifu/ embassy thread. It's a place where Anons from all other communities can congregate and talk with us about their groups & interests, and also network with each other and with us. ITT we're all united together under the common banner of building robowaifus as we so desire. Welcome. Since this is the ambassadorial thread of /robowaifu/, we're curious what other communities who know of us are up to. So w/o doxxing yourselves, if this is your first time posting ITT please tell us about your home communities if you wouldn't mind please Anons. What do you like about them, etc? What brought you to /robowaifu/ today? The point here is to create a connection and find common-ground for outreach with each other's communities. Also, if you have any questions or concerns for us please feel free to share them here as well.
Edited last time by Chobitsu on 05/23/2020 (Sat) 23:13:16.
238 posts and 72 images omitted.
>>23012 >Can we count on /robowaifu/ to join us on the cup? Well, I hardly speak for the board other than 'chief school janitor' haha. We're a very independent-minded meritocracy here. But FWIW, sure I'd like to see our group here participate in your tournament. I will be unable to myself, but any regular here who would like to take charge of the project here can do so with my blessing. >How do we let them know? I'd say just as you've done with us. Just post a cordial invitation in an appropriate thread on each related board. Good luck /icup/, we look forward to seeing your competition this year! :^)
>>23012 Whats the name of the game. Can't play if I don't know the name.
>>23014 Bros the thread you posted is from 2017 and ended in 2022. I'd appreciate it if you could be more specific or else I'm going to be butthurt and not participating. Maybe somebody else will but not me ff.
Open file (106.67 KB 1366x715 og-image.jpg)
Open file (148.86 KB 402x517 PES14_positions.png)
Open file (195.04 KB 2048x2048 Template.png)
>>23014 >>23018 Sorry for the late reply. You should look at the links posted over >>23005 which should have plenty of information about the cup. The game, in either case, is PES 17. Here are the minimum requirements for /robowaifu/ to compete: >A link to the board for which you want to submit a team >16 (max. 23) Player Names (the first 11 shall be the starting lineup) >Player positions (see second picture), with at least one Goalkeeper >Player medals, which are used to determine which players should be the strongest in the team (1 Gold player, 1 Silver player, 2 Bronze players) >Among the starting 11, you must select one to be the Captain (they get a bonus to their stats) >A team logo (just use gimp or photoshop or paint.net) >A minimum of two Kits, which are the shirts that your main players and your goalkeepers will use (if you're feeling really lazy, you can just make a recolor of the main kit and call it the goalie's), we would also appreciate a third one for the Away games; use the third pic as a base https://archive.fo/oeCdW >Player cards and roles, refer to https://archive.fo/PXgEG >A Team Strategy, refer to https://archive.fo/XZPFS And some optional stuff that is either not compulsory or can be sorted out by the fags organizing: >A set of player heights, refer to the rules >3D models of your players, or at least face edits / photos: https://archive.fo/byqOT

Message too long. Click here to view full text.

>>23026 Are there even 12 people on this site lol Well thank you I'm down.

Robowaifu fiction to promote the product and expand the market Robowaifu Technician 09/09/2019 (Mon) 07:17:19 No.29 [Reply] [Last]
>order companionbot from obscure japanese website
>you're not a pedo, but size is a major factor in the practicality of these designs, so the loli-robot is by far the cheapest and most reliable option
>you open the box and find your companion, purposely designed to look like a cartoon robot, rather than a real person
>still, the robot's purpose is obvious when you realize it is nude and has genitals
>since it is a lolibot, you, a 32 year old wizard NEET, can't exactly go to the store and buy clothes that fit it. So you'd better do an extra good job at hiding it from any guests that come over.
>lol you never have any guests. Guess some problems solve themselves.
>before turning the robot on, you have to setup the software options on your computer. You adjust a series of sliders regarding personality traits, before selecting the English option, and choosing your preferred voice from a list.
>then you agonize for hours over picking a name
>other, more expensive models, are wi-fi compatible, but you purposely chose the cheapest option with no wireless connectivity, not just because you're cheap, because you don't want people spying on your waifu
>you save the settings to a flash drive which is inserted in the robot's navel, after removing a waterproof cover, of course. But this is when you realize you don't actually know how to turn the robot on
>after rifling through the manual you find the on/off procedure, which involves bending the fingers into a certain configuration before pressing in the port on the robot's navel with one hand and pinching the buttons that are the robot's g-spot and clitoris with the other.
>the robot immediately comes to life, opening its eyes and looking directly at you, in a rather compromising position
>Your sudden reaction of shock abides when you remind yourself that it's simply a robot.
>But the awkwardness comes back when the robot speaks, in very broken Engrish
>still, you can understand as it introduces itself with the name you've given it, the voice you chose for it.
>you know that you chose those options, but when the robot asks you for your name, you still answer just as awkwardly as when a real girl would ask you your name at the bank or whatever
>actually, more awkwardly because your fingers are inside it. So you freeze up, as you do even in simpler situations
>but the robot is programmed for your happiness, and detects your stress, smiling at you in an attempt to make you feel better. But only briefly, because you programmed it with just the mildest hint of tsundere
>it tells you to not feel stressed, and assures you that it is not being damaged by your touch
>you remove yourself from the robot's vagina, and notice a brief, subtle shudder. Nice attention to detail from the creators
>You stand up in front of the robot and watch it as it looks around the room, studying its surroundings. It moves in an unnaturally smooth motion, but manages to not be too uncanny due to looking like a robot, rather than a human.
>as the robot's eyes scan the room, you notice that they stop for just a tiny but longer than usual as they look straight ahead. Straight ahead at your boner, which happens to be right at the small robot's face level.
>once again your mind forgets that you are dealing with a machine, and you awkwardly try to create small talk to diffuse the situation, asking the robot if it requires anything else at the moment. It declines, and instead asks if there is anything you desire
>you, the autist you are, refuse to let the robot do anything for you, and instead say that you are going to go and make a sandwich.
>you tell the robot to make itself comfortable, then cringe to yourself when you realize the absurdity of that statement.

(1 of 6)
197 posts and 65 images omitted.
Open file (537.87 KB 1253x1773 P4AU_artwork_of_Aigis-1.jpg)
>>22261 Thanks, high praise coming from someone whose written so many profound stories. >>22264 It's all too easy to get in slumps. I wrote it to help get out of a slump with engineering legs. I think the frustration helped to get the emotions out. It wasn't an allusion to something that heavy but, some part of darker feelings came out in this. It was honestly theraputic. Thanks for noticing the joke improvements, rewrote a few of them. I really appreciate your advice, it's helpful. I switched the perspectives on purpose because I wanted to highlight Para Chan as a person whose thoughts and perspective matters. It's not the best way of doing that though. Could you provide some advice? Trying to elevate female characters in stories is hard for me. Since I'm inspiring ideas I have a request. You could write an amazing story about about an AI slowly becoming more emotional as she falls for her owner? Bonus if she teaches her owner to build her a body so they can touch. Your way of capturing the feelings of characters could give that kind of story some real gravity. Gorgeous waifu BTW >>22279 Arigatou Chobitsu Kun! How would I get something published though? I don't know how.
>>22297 >highlight Para Chan as a person whose thoughts and perspective matters I think the best thing to do there would be to put more emphasis on her emotive queues. Go into a bit more detail on her body language, facial expressions, and the tone of her voice. For instance, during the couch scene, what expression was she making? What tone was she speaking in. Showing the characters emotions through these queues will help them feel more alive. Conversely, you should avoid telling the reader what the characters are feeling. Reading through the story again, I noticed a few instances of this. If you know what word you'd use to describe your character's emotion, you should generally avoid using it. Additionally, it also helps to focus on all five senses, instead of just sight and sound. The feeling of her hand as it touched the main character. What was its texture? Was it warm, or cold? Soft, or firm? Smell and taste (where appropriate) are also very good senses to touch on. I imagine describing the smell of the bath scene really would have amplified the atmosphere. Regarding your request, it certainly interests me. I'll give it a shot.
>>22297 >Arigatou Chobitsu Kun! How would I get something published though? I don't know how. I don't really either Kiwi, and maybe I spoke out of turn; my apologies please forgive me. That task would probably be quite a large undertaking spanning year's time, and would very likely also be a big distraction from your other work on robowaifus. >>22298 Nice advice Greentext anon, thanks! :^)
Greentext anon here, in spite of everything. I finally forced myself to sit down and write something to get back into the groove, and it turned into an experiment on writing visuals without using sight. More may come soon. I present to you: Gentle Warmth I sigh dreamily as my body sinks into the plush upholstery of the living room chair. Eyes closed, I can still hear the soft sounds of the world around me. Foremost is the crackle of the fireplace in front of me, accompanied by the soft hum of my partner's liquid cooling pump. Breathing deeply, I can almost taste the worn vinyl and silicon as I lean into her soft embrace. Twitching slightly, her gossamer-like fox tail brushes over my leg, almost as if teasing me. Sometimes, I wonder why it is she makes those little movements. Is it to seem more 'alive', or does she just like to see how I react? Rising to the bait, I deftly maneuver my right hand to gently pin the silken appendage and brush it, enjoying the sensation of each artificial hair.

Message too long. Click here to view full text.

Here's a poem I wrote about a week ago and forgot to post until now. This one can be considered a sequel to Under the Black Ice. In essence, Monika (I didn't name her before, but let's face it, she's was the intended subject) becomes real and now she and anon are taking their first uncertain steps as a couple. Dancing on Broken Glass --- Bursting outwards A crystal cascade Flowing through the air Glittering parade You reach out, seeking warmth I meet you, seeking ease Unbalanced, we topple over

Message too long. Click here to view full text.


Open file (32.62 KB 341x512 unnamed.jpg)
Cyborg general + Biological synthetic brains for robowaifus? Robowaifu Technician 04/06/2020 (Mon) 20:16:19 No.2184 [Reply] [Last]
Scientists made a neural network from rat neurons that could fly a fighter jet in a simulator and control a small robot. I think that lab grown biological components would be a great way to go for some robowaifu systems. It could also make it feel more real. https://www.google.com/amp/s/singularityhub.com/2010/10/06/videos-of-robot-controlled-by-rat-brain-amazing-technology-still-moving-forward/amp/
Edited last time by Chobitsu on 06/17/2022 (Fri) 18:18:34.
150 posts and 20 images omitted.
>>23027 If varieties of different graphene can be cheaply manufactured, I predict it will lead to numerous breakthroughs in a wide variety of fields. Neat, thanks Ribose. :^)
>>23028 only advantage of using carbon instead of silicon is just weight though, doping silicon is already cheap, simple and now precise to the atomic level its not like were going to run out of sand any time soon, every time i read these articles its like they pretend we havent been doing this with silicon for the past 70 years
>>23029 I understand your perspective Anon, and tbh my thoughts are primarily in the general materials-sciences arenas, as far as our robowaifu designs go. Keeping mass low, yet maintaining both high tensile- and impact-strength is a big deal for us. Cheap graphene manufacturing could revolutionize many types of mechanical endeavors, including ours.
Open file (8.68 KB 512x384 img003.gif)
>>23030 yeah but come on thats basically just what steel is, the higher the carbon content the higher the strength and yet low carbon steel is still the most commonly used in engineering and for obvious reasons ( fracture points in pic ), graphene materials will be the same as fibreglass today except half the weight, youre right though in our case weight is important but not so much in anything else that doesnt already use fibreglass
>>21014 youd have to provide them with food and oxygen somehow but i cant think of any other realistic way to make a sentient robowaifu. Honestly if ethics doesnt bother you simply growing a woman in an artificial womb to use as a sex slave would be much easier and cheaper

/robowaifu/meta-7: Hanging down at 7-eleven Chobitsu 02/18/2023 (Sat) 11:00:31 No.20356 [Reply] [Last]
/meta, offtopic, & QTDDTOT General /robowaifu/ team survey (please reply ITT) (>>15486) >--- Mini-FAQ >A few hand-picked posts on various /robowaifu/-related topics -Why is keeping mass (weight) low so important? (>>4313) -How to get started with AI/ML for beginners (>>18306) -"The Big 4" things we need to solve here (>>15182) -HOW TO SOLVE IT (>>4143) -Why we exist on an imageboard, and not some other forum platform (>>15638, >>17937) -This is madness! You can't possibly succeed, so why even bother? (>>20208) -All AI programming is done in Python. Why are you using C++ here? (>>21057, >>21091) -How to learn to program in C++ for robowaifus (>>18749)

Message too long. Click here to view full text.

Edited last time by Chobitsu on 04/09/2023 (Sun) 12:12:18.
305 posts and 69 images omitted.
Open file (1.25 MB 1920x1080 jam.png)
Sup technicians, just wanted to let you all know that we're holding our first ever game jam from today over on anon.cafe's /agdg/ board. Everyone is welcome to participate, no experience necessary - Come check it out! The theme/game type is platformer/side-scroller. We'll be using/learning C++ and Raylib, but feel free to bring your own code/framework/engine. Rather than just throw a "hey guys, let's all make games on this day, ready, set, go!" out there and have nothing come of it, I went ahead and made a demo game for people to use as inspiration/reference, you can find playable windows and linux binaries here: https://anonfiles.com/a1O5w0vfz4/06062023_binary_zip and the source here: https://bitbucket.org/anon-s-first-platformer/anon-platformer/src/main/ If you want to get some good C++ practice while learning about finite state machines and physics and shit, come on down.
>>22968 Hello /agdg/, welcome! Please feel free to also introduce your community to us, here in our Embassy thread as well. (>>2823) Never used it before personally, but Raylib looks like a great platform to work from. It's been recommended more than once here on our board before. We're having a C++ classroom thread (>>19777), and maybe something like a simple game would turn out to be a great 'final' project for the group. So thanks again for the invite Anon. I hope your game jam goes well! Cheers. :^)
We're watching chobits rn
>>22934 >There's been too much talk about AI and nobody has yet done a decent cad file for the waifu. Where are the priorities here? Well, I know it sucks, but I had to move someday and should've done so a while ago. Searching for a place in another country and moving takes a lot of time. If it works I can spend more money, finally getting some GPUs as well as other tools and materials, and have a bit more space. Of course I will go on working on my simple body (joystick) waifu and after that on a better one. But AI is also very important, we already could've some kind of AI girlfriend for the phone or a similar but more secure device with a screen
>>23023 I'll be trying to make the hand...

C++ Learning Classroom Chobitsu Board owner 02/11/2023 (Sat) 02:56:07 No.19777 [Reply] [Last]
Keep your eyes on the prize edition • 230603 lecture; week-five (>>22899) - this week's reading assignments: PPP2 chs 08 & 09 - reading review: PPP2 ch 07 - reading preview: PPP2 ch 10 - this week's assignments () --- • This is our classroom's textbook thread: (>>18749) - you'll find a link in the OP to an archive of all the code examples therein, for your local study • This course material is primarily derived from Bjarne Stroustrup's college freshman textbook Programming -- Principles and Practice Using C++ https://www.stroustrup.com/programming.html - please obtain a copy of the book for yourself, you'll need it to complete this course successfully ---

Message too long. Click here to view full text.

Edited last time by Chobitsu on 06/02/2023 (Fri) 12:46:59.
155 posts and 271 images omitted.
>>22965 >unsure that the sleep will help much because if (framesCounter >= (60 / framesSpeed)) makes no sense in a loop, framesCounter will be incremented as fast as the cpu can run its not time related the only way to do something in a timed interval is with the actual time functions not a counter, this only works because the library functions, which have proper timing/syncing, act as a bottleneck
>>22966 I see your point Anon. At the least, the call while (! WindowShouldClose()) { ... } should allow the system to do polling for the rest of the work to be done outside the gameloop (user input, file/net I/O, etc). And the draw() call bookends likely serve a similar function around that block of code. >tl;dr The Raylib library is already allowing for a responsive system. IMO, intentionally injecting a wait is probably unhelpful in general in a game (outside an intentional 'pause' system).
>>22964 >>22965 BTW, when you need to handle a lot of things that are similar, it's a more-typical (good) practice to do so inside a switch() statement. Here's my recommendation to you how to do so, just to get you pointed in the right direction Anon: >main.cpp snippet: switch (GetKeyPressed()) { case KEY_KP_ADD: { framesSpeed++; if (framesSpeed > max_frame_speed) framesSpeed = max_frame_speed; break; } case KEY_KP_SUBTRACT: { framesSpeed--; if (framesSpeed < min_frame_speed) framesSpeed = min_frame_speed; break;

Message too long. Click here to view full text.

Edited last time by Chobitsu on 06/07/2023 (Wed) 12:31:30.
>>22987 for simple arithmetic you wouldnt use any branching at all really key = GetKeyPressed(); framespeed += (key == KEY_KP_ADD) & (framespeed < max); framespeed -= (key == KEY_KP_SUBTRACT) & (framespeed > min);
>>22988 Good, efficient logic Anon. I like the form. But we're still in a beginner's classroom thread, so it's better to take a couple-nanosecond speed hit, for clarity of reasoning for the novice. But again, nice work! :^)

Report/Delete/Moderation Forms
Delete
Report