PixelRebirth's Recent Forum Activity

  • When we're talking particles and bugs. Try giving a particles object a negative rate. It'll crash Construct pretty hard. At least it does for me. In older builds a negative rate seems to have been treated correctly as 0.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What everyone else said. Beyond impressive! I won't go ahead and pretend that I do understand those events though...

  • Judging from the video this is a really handy piece of software, looks pretty impressive! I recall doing the same thing in blender and it wasn't anywhere near that easy.

    I shall stray from 2D again soon and try the demo.

  • Followed this project for a while now and I have to say it's shaping out very nicely. The latest additions already make for a fun experience, especially the freeze cannon.

    If you keep this up I'm confident HLnano will be among the very best Half-Life fangames. Just put in nades soon, will ya?!?

  • I just uploaded a new beta version(0.34), which includes some of deadeye's suggestions. You can now move the respawn arrow freely.

    The main change would be the use of an encrypted level format, so it won't be too easy to cheat anymore. There's also a documentation file included, which explains the various gameplay elements and has a changelog too.

  • i know that PR. its just that - some things can be learned by some but theres not a singel thing that can be learned by everyone. just like pigs dont fly heh

    well i am the pig in this case :\ and no, i am not proud of that...

    I thought of myself as a hopeless case in learning certain stuff too not so long ago. But then eventually I did learn it. Sometimes your self perception might just be a little off. You should try anyway.

    Never heard of S plugin before and when i try to search the forums it says that this sentence is too common. can someone provide me with a link to the thread about this plugin? i would be very greatfull

    I probably should have told you that "S" stands for Superstructure in this case, so it would have been easier to track down. Here's the thread for the plugin:

    http://www.scirra.com/forum/viewtopic.php?f=2&t=4791&start=0

    It's not that easy to get into either, I know I'm not using it to its full potential myself yet, but it's a very useful plugin and lucid's explanations are also very detailed. Not sure if it's still in development btw, but it's very useable in its current state.

    well every level in my game is randomly generated with a few guidelines and my life would be so much easier if the player could visit one map just once. then i would just reload the very same layout but with diffrent settings. but i want the player to be able to go back and revist previous levels. and this is what couses me the troubles.

    about perlin noise - seen that plugin in action and ive been stuned. still though, the game uses pre-made tiles for map graphics so i cant really use perlin in this case.

    Since the same seed will always give you the same result, if you don't change other settings, you can very well go back to old levels. It could also be done with premade tiles, the graphics themselves don't need to be procedurally generated and aren't in many cases.

    i have my hands tied anyway currently because of this thread viewtopic.php?f=3&t=8218&p=62944#p62944

    Well, it's a well known fact that the buildin save/load feature is a bit on the fishy side. So what you would want to do is create your own save/load system. You need to gather which information is needed to be remembered and put it in an external file. Again, this would be done with the usual suspects: arrays, hash tables, inis... or S. I'm afraid there might be no good way around learning this stuff after all.

  • Bear in mind - its not being lazy. I am just not able to wrap my head around arrays. And i havent started using Construct just today. thats just beyond me.

    Let me quickly cite myself:

    It doesn't really matter at this point if you know how to do it, the learning experience will be so much worth it!

    i barely use array for storing stats informations. i just cant imagine something i havent seen before and array currently exists only in non-visual form.

    If you need a visual array, you may just look at the following example:

    http://dl.dropbox.com/u/2306601/array_hash_unique.cap

    (made for this thread)

    Is there an alternative way for this?

    The way I see it, you could basically do three things to create your levels.

    1. Make a layout for every level. It's the least desirable option and will become very tedious if you had many levels.

    2. Load your level from file into a single layout. This can be done with arrays, hash tables, inis or the S plugin. The last two mentioned options are favorable in most cases. Of course this will require a level editor. So it's more work to begin with, but it will pay off in the long run.

    3. Procedurally generated levels. Most notable would be the Perlin noise plugin. Apart from that you need to rely on your eventing and math skills. This option won't be feasible if you need to specifically design your levels of course, as they'll be created in "controlled randomness".

  • the best solution that comes to my mind would be Construct creating layouts with pre-determined values at runtime but i am preety sure thats impossible at the moment.

    That's basically just loading a level from file, which is very possible and definitely the way you should do it.

    This topic seems to come up quite a lot lately, maybe you should have a look at these threads:

    http://www.scirra.com/forum/viewtopic.php?f=3&t=8216&start=0

    http://www.scirra.com/forum/viewtopic.php?f=3&t=8187&start=0

  • Using events:

    viewtopic.php?f=8&t=6162

    viewtopic.php?f=16&t=1995

    With all due respect to both our efforts in doing these examples, I do think a more simplistic approach would be better to show here. Easiest way of doing bitmap font imo is to simply use a comparison string (I think that's basically what lucid did in one example before he made the spritefont plugin). Like this: http://dl.dropbox.com/u/2306601/easybitmapfont.cap

    It's just one event. Of course it doesn't have anything fancy going on like word wrapping and stuff, but it's pretty easy to grasp.

  • Yes, I need the unique numbers in the array, like numbers from 1-10 in different order each time an event triggers it, like a left mouse button click, to make it simple.

    Here's an example cap:

    http://dl.dropbox.com/u/2306601/array_hash_unique.cap

    The X and Y size of the array control the number range. Initially it's set to 10*8, which will result in 80 array cells holding numbers from 1-80 randomly. If you want a 1-10 range, set the Array size to 5*2 for example. I also included a visual way to show the array when you run it, so you can see that it works. Clicking left randomizes it again.

  • 1. get a unique random number from like 1-10

    Random(10)+1 will return a number from 1 to 10.

    2. create an array unique radom sort

    Do you mean a random value for each cell of the array that's unique too? Maybe it's me, but I can't quite tell what you mean.

    You can loop through each element of the array and set the current cell to random(x). If you don't want to add numbers to the array that already exist in the array (since you said "unique"), things get a little more complicated.

    I sometimes use a method where I take advantage of the "Check if key exists" condition of the Hash table object in that context, but it would be tedious to explain. Maybe better suited for an example.

    Still maybe you could clarify first what you actually wanted. And welcome to the forums btw!

  • Hmmm... A level editor. I had second thoughts on that idea before since I'm clueless on how to make one but I guess that would be best, eh? It might prove useful to me in the long run too.

    It doesn't really matter at this point if you know how to do it, the learning experience will be so much worth it!

    I need to check out the forums if there are any caps that has level editors.

    I noticed that pulowski recently uploaded an example for an array level editor.

    http://www.scirra.com/forum/viewtopic.php?f=8&t=8162&start=0

    That would be basically the simplest way to go about it, although it might not be feasible depending on what kind of game you're creating. If I'm not totally mistaken lucid also provided an example for his S plugin, but that would be rather offputting to start with. Go from simple to complex.

PixelRebirth's avatar

PixelRebirth

Member since 26 Mar, 2008

Twitter
PixelRebirth has 1 followers

Trophy Case

  • 16-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

23/44
How to earn trophies