Ether lession #0: Introduction and pseudocodes
|
08-29-2021, 07:56 AM
(This post was last modified: 09-07-2021 12:48 AM by JoseskVolpe.)
![]() |
|||
|
|||
Ether lession #0: Introduction and pseudocodes
Introduction
¡Welcome to your first programming logics lession! Get ready for a lot of pain, headache and to get spanked by a lot of f****ing compiling errors or some... dangerous memory manipulation mistakes you will probably make ¡LOL look at your faces reading that! *laughing out loud and acute as a fox* ![]() Chill, i'm just kidding... Partly... Yeah, that's not a lie you'll crack your heads sometimes, but you'll get used to it. Anyway, let's begin. You'll need Alchemy OS to do the next lessions, if you haven't, don't lost your time install it already Download Alchemy OS: http://dedomil.net/forum/showthread.php?tid=5865 Alternative download (JAD): http://alchemy-os.sourceforge.net/get.php?type=jad Alternative download URL 2 (Choose a version): https://sourceforge.net/projects/alchemy-os/files/ Talking to your phone Developing a game involves a lot programming. You have to pass instructions to the machine to make anything on your game. You'll basically "talk" to your phone. You'll say "phone, i need you to load this sprite and show it on the screen". But instead, you'll say it on a language it can interpret A computer (any computer, including mobile phones) needs to be told in a very literal way exactly what it have to do, step by step. That's why you need to know programming logics. Programming logics is awesome because after learnning how to communicate to a machine, how they interprete codes, you'll be able to learn ANY programming language without much difficulty That's why FOR OUR LUCKY Alchemy OS exists, and i've choosen Ether language for that ¡Pseudocode! Example Before beggining the next true first lession, when you'll finally crack your head, we'll begin with something that does not involves any coding at all Let's do a setp-by-step procedure for something randomly. In front of you, there's a desk. On the desk, there's a phone to the left and a unplugged charger to the right. Above the desk, there's a wall socket. There's no battery in the phone. ¿How do you charge it step-by-step?
Yup. That's what a machine needs to receive to do something like that ¿Dumb, right? Now imagine you could face some problems: The robot's hand could not move enough to reach the wall socket, and release the charger in the air, for example. Or it could just push the phone outside of the table and break it. Etc etc etc To be sure everything is going fine, we make some tests in our code. We call that "Debug". We can ask the machine to communicate with us. "Hey phone, tell me if you could load this sprite and why". We'll see it on our very first code pretty soon ¡Now, let's begin the activity! Activity I'll let you be less way literal than the example to facilitate for you. But be as literal as possible Choose any of these and write a step-by-step procedure to:
[size=xx-small]Signature[/size] [URL=https://www.exophase.com/user/JoseskVolpe/][IMG]https://card.exophase.com/2/0/45687.png?1612237163[/IMG][/URL] [align=justify][size=x-small][b]OwO ¿¿¿What is this??? *wags tail* Take my beret plz 7w7 ~[/b][/size][/align] |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)