I'm an artist. Lemme just throw that out there first and foremost. I don't code, and I very nearly failed the one Computer Science course I attempted to take (to be fair, that was in-part due to the teacher).
Still, I'm trying out Construct to see if I *can* do this at all.
The first thing I did was go through the Ghost Shooter tutorial, and that was relatively helpful, but left a lot of things open.
Currently, I'm trying to take baby steps through a project of mine (a mashup of Advance Wars and Nethack, complete with procedural level generation). Figuring that terrain generation would be the hardest thing to achieve for me at first, I went ahead and got started. I want to use the Diamond-Square algorithm for creating my maps, but I don't know enough about how to handle arrays in C2 in order to even get started.
So here's question #1 (of many, many to come): how on Earth do I fill an array with variables? Does it start filled with 0? And how do I key each number to be relative to a sprite?Here's my barren and pathetic excuse for a capx.
It's got my sprites, though, and the little dog from one of the Zelda games acting as my camera for viewing the map (once I can manage to get it generating). Based on the algorithm, I was attempting to set each corner of Map to 4, and then I was going to set up something to 1). execute the algorithm itself, and 2). set each element in the array to translate to a sprite somehow (0 being water, 1 being sand, 2 being grass, and 3 being mountains). I'm starting simple, like I said. It'll look nicer and be much more complex later on, but for now I can barely get started.
I really appreciate you guys bearing with me on this (those of you who read through my whining). Thanks a lot.