Minor's Recent Forum Activity

  • [quote:376aq4qy]One last request-

    what was your best time of survival in the game?? because i think i have made the game a bit harder.

    About 45secs, yeah I know I suck, but my brain doesn't process WASD.

    Glad you got the terrain bit working, although I'm sure I tried that when poking with the .cap you provided.

    Keep it up man.

  • Oooh that rather nice Zotged. I take it thats using the new 3d object?

    Not a screenshot but an output of something I've been playing with in construct.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    It takes a 32x32 graphic and outputs the BBCODE for you to use on forums.

  • Here you go quick example.

    http://dl.dropbox.com/u/1646976/rocketjump.cap

    Oh you'll need the latest unstable version form HERE.

    Hope that helps.

  • Really nice abhilash2863.

    Although I suck bad at it - I cannot for the life of me use WASD I don't know why maybe it's the years of 8-bit gaming they always used arrows.

    One thing that would help would be screen wrap - Like the old asteroids games go to far left warp on the right. I got stuck off screen and had no idea where I was facing or where I was

    Also I have no idea why your destructable terrain doesn't work. I made a small example from scratch to see if was a bug in the newest unstable release - but it works fine.

    http://dl.dropbox.com/u/1646976/cell-deform.cap

    Maybe you can see any difference always easier when you know your way around a .cap.

    Nice start so far.

  • You reeealy should check out the Perlin plug. With it you wouldn't have to check nearest neighbor, since the random data generated ensures that cells at a certain height will be surrounded.

    All you would need to check is if it is at sea level or not.

    Will do newt.

    I think I've come to the end of my capabilites with this little excerise anyway, the things I would like too add seem way out of my capabilities at the moment.

    Still I've learned some programmy stuff - loops and arrays.

    Thanks guys.

  • Thanks for the info Silent Cacophony.

    I'm starting to think this is way too complicated for me at the minute. Best go back with something a little more simple regarding Arrays & Loops, I was on a bit of a roll and started to get ahead of myself.

    Still I have learned a lot so far. I got a nice little map generator going, not bad for a programming thicko .

  • No doesn't work for me.

    Tried adding the solid attribute and then removing it and it still didn't make any difference to the sprite. Using latest unstable build.

  • Python lists work very well, if you aren't afraid of using Python. You could set a few methods to easily modify the array and retrieve information and then leave the rest in backend.

    Yep I'm very afraid of python Mipey, too many brackets & stuff. Proper written programming languages and me don't mix, I have tried since the late 80's but nothing ever sticks. The only written language I ever got a decent grasp of was AMOS on the Amiga, and when I say decent I mean it went further than

    10 print "Hello"

    20 goto 10

    Speaking of Python, it also has array objects that can be imported via the internal array module or the external NumPy module. It may be a bit more than you'd want to bite off right now, though. The 3-D array that you're using should work fine, too.

    Don't short-sell your abilities, Minor. I've considered doing this sort of procedural generation in the past, but the idea scared me away before I even got started.

    Anyway, just because I feel compelled to point it out, this application practically begs for http://en.wikipedia.org/wiki/Bitwise_operation">http://en.wikipedia.org/wiki/Bitwise_operation</a>]bitwise operations. Unfortunately, I don't see any support for them in Construct, other than through Python.

    Basically, you can just use a 2-D list or array which contains integer values. Each integer value can have different bits set for any given on/off or true/false state that you need to track. For instance, you can keep the status of bordering land in the four cardinal directions in four bits. Expressing the values in binary notation (with 0b prefix) makes it more obvious what bits are set.

    0b0001 (if land to north)

    0b0010 (if land to south)

    0b0100 (if land to west)

    0b1000 (if land to east)

    You can set the bits with the OR operator (|):

    0b0001 | 0b0100 ( = 0b0101)

    and test them with the AND operator (&):

    0b0111 & 0b0100 ( = 0b0100, testing for bit 3 set)

    Bah, too much to go into here, really. Feel free to ignore the whole bitwise thing... Mostly just me reminiscing about 8-bit computer programming practices that aren't widely used anymore.

    Keep up the good work. I like your creations so far.

    Thanks encouragement and for the info . Bitwise does seem like something that would make what I'm trying to do a bit easier.

    Right now on with an Array-Loopy question.

    How would you go about extending a loop? for example: Below is my Array #=sea 1=land

    #####

    ##11#

    ##1##

    #####

    #11##

    #1###

    #####

    I want to scan the array to find land that is connected to another piece of land and give each the same number in a "z" index/cell/slot/thingy. Then find the next land unconnected to the first and find the land connected to that land etc. So my array above would look like this:

    #####

    ##11#

    ##1##

    #####

    #22##

    #2###

    #####

    I know how to use the array to check neighbours as I use that for the Cellular automata part of the project. It's just looping through grouping them via a number per land mass and finishing the loop without it going on for ever.

    Does that make any sense?

    Thanks again for all the help. I really am learning stuff here that I never thought I'd learn .

  • Thanks again newt.

    I've updated to the newest unstable build because when I remade your example it didn't work, I'm guessing the Array Object was bugged in 0.99.82 or whatever version I was using.

    I can't see this being the last time I'm going to need help with loops though .

    Thanks again

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks newt I had a feeling it was doing something like that.

    Can you or anyone help with creating the checking loop? I have tried but however I structure it, it seems to be infinite and just keeps spawning objects. I also downloading an example but that seemed to loop infinitely too.

    But I would expect that as I've never used loops before. Construct is great for learning new stuff.

    Thanks.

  • Hello again.

    Can someone tell me why in this .cap it makes too many objects from my Array?

    http://dl.dropbox.com/u/1646976/arrayproblem.cap

    It creates the right number of black sprites(5) = Array Value 1

    But creates twice the amount of red sprites that there should be. I have tried using the "Z" index in the compare condition too but still get the same outcome.

    I have tried a loop to but it goes on forever no matter what I try.

    Any help would be great.

  • I love that you're generating maps via cellular automata. If you want another challenge, try doing it with Perlin noise (it makes for some excellent landmasses!)

    Thanks .

    I know we've got a perlin noise plugin but I've never used it.

    This is a learning excerise for me, I'm a really terrible programmer and a math dunce, so I set myself a challenge to learn a bit about arrays & procedural generation algorithmns.

Minor's avatar

Minor

Member since 24 Jul, 2009

None one is following Minor yet!

Connect with Minor

Trophy Case

  • 15-Year Club

Progress

15/44
How to earn trophies