I just finished the Lander 2 guide. Though, @Ignatz did an excellent job creating his revision of the original lander from @West I still feel empty I didn’t retain enough to create something myself
Aside from it making me slightly aware of the r.2 and r.3 commands. Which I had to google and youtube what it means: real coordinate space, nothing else.
Though Lander 2 is a master piece, maybe I am just not advanced enough to retain and grasp the knowledge used in there, to create my own thing. I need more simpler code, potentially with less lines, that does a lot of things within those lesser lines of code, so I can retain it’s functions and then start doing my own simple things with it.
This thought had me searching Codea’s Forums this morning around 3am or so. I ran into these potential paths for me.
Is there a Tetris or Pacman step by step?
I am aware of this Tetris…
https://codea.io/talk/discussion/3708/tetris-my-first-game
(Unfortunately it’s not a step by step, comes across like a copy and paste) Unfortunately for me, I do not learn like that.
Why am I requesting a Tetris or Pacman style game? Because I am taking advice from this article:
Codea Programming FAQ:
https://bitbucket.org/TwoLivesLeft/core/wiki/Codea%20Programming%20FAQ
Where it mentions the following:
“What projects should I start with?*
The experts recommend you start with well known and fairly simple games like Pacman or Tetris, which will teach you lots of things you need to know. As you get more skilled, you will be able to design your own games.”
The AMAZING step by step styles in my eyes, that I would hope everyone doing step by steps would mimic is the following teaching styles:
@Ignatz is the GOD of this stuff. He’s dope! I love his teaching style, a lot of what I have just awakened to, which I am calling my first contact with level 1 comprehension is because of @Ignatz
Here’s one of his dope, step by step:
https://coolcodea.wordpress.com/2014/10/20/175-3d-dungeon-programming-ai-behaviour/
He literally goes into granular breakdown for each code block, with the explanations being so elementary and simple, it’s perfect for a supreme noob like myself. His teaching style is art in itself!
The other one I appreciated was the Codea for Kids (Which is around my level of comprehension I would say)
https://bitbucket.org/TwoLivesLeft/core/wiki/ForKids
I reference these step by steps, because I am truly hoping, there are some Tetris or Pacman step by steps in this way: (I would prefer pacman)
My other question is regarding variable solution
I am studying how to get Codea to produce in the console, the greater variable, so I did the following:
function setup:
x = 1
y = 2
if x>y then x = y
elseif
x<y then x = x
print(“x”)
As shown immediately underneath function setup, x is lesser than y
My goal: I am trying to ask Codea, to find “on it’s own” the greater variable between x and y, and then show it me in the console.
Since I am doing something wrong… all I get is x as the resolution in the console. I think this is happening because I am inputting x inside the print command. If this is the reason, then how do I ask Codea “to find the greater variable on it’s own, and present it to me in the print command?