codifies

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 202 total)
  • Author
    Posts
  • in reply to: Miscellaneous Procedural Generation Code #6753

    codifies
    Participant

    don’t suppose you can improve on this?

    [/crayon]
    in reply to: today i haz bin perlin #6750

    codifies
    Participant

    see some rather better implementations http://monkey2.monkey-x.com/forums/topic/perlin-noise/

    in reply to: Miscellaneous Procedural Generation Code #6749

    codifies
    Participant

    very nice, I especially like the hill method, but notice sometimes a definite plus sign shape in them sometimes.

    I assume you realise that seeding with millisecs will often have almost identical results (its millisecs from app start)

    but nice work.

    in reply to: Syntax for "Array of Arrays" (Jagged Array) ? #6741

    codifies
    Participant

    …ah jee that should be in the docs!

    in reply to: Syntax for "Array of Arrays" (Jagged Array) ? #6738

    codifies
    Participant

    errr wot!

    [/crayon]

    if b works why the heck doesn’t c (like a few other languages) – do I really need a loop just to make an empty array?

    in reply to: Mark – thoughts on help (with example) #6735

    codifies
    Participant

    I honestly don’t see much issue with the API docs, but you need rather more than API docs

    Its more about how a module should or could be used, this kind of documentation isn’t the type that you could put in the auto doc comments.

    As well as some introductory text – a selection of examples are vital – ideally ones that can be pasted into an IDE and “just work”

    in reply to: Mark – thoughts on help (with example) #6721

    codifies
    Participant

    I really dont understand Mark’s reticence to engage with the communoty and get help with documentation, guess he just doesnt like money, cause for sure the way the docs are now it must be putting off droves of people…

    in reply to: DPI independent GUI system #6704

    codifies
    Participant

    Scalimg down has always worked finne for me..?

    in reply to: DPI independent GUI system #6698

    codifies
    Participant

    http://monkey2.monkey-x.com/forums/topic/monkey-2-app-template/#post-6538

    you’ll need to add

    [/crayon]

    just before drawing on the canvas

    the only caveat might be if a small device has sufficient resources to cope with a large virtual resolution

    in reply to: DPI independent GUI system #6697

    codifies
    Participant

    would it be adequate enough for your purposes to scale to a fixed ratio (ie 16:9) ?

    you can render to a large “virtual resolution” and downscale it depending on the screen size

    I posted some code that also scissor clips the letter box as needed.

    in reply to: types must be intergral ?? #6696

    codifies
    Participant

    right, got it! the point being & will only work with integrals

    its a pity the error message doesn’t include an indication how far along the line the error is, Java does this and its quite handy!

    in reply to: types must be intergral ?? #6669

    codifies
    Participant

    could you explain why? so what if the & 255 is within the brackets it should all be evaluated to a single value cast to an int and put in the variable surely ???

    in reply to: types must be intergral ?? #6667

    codifies
    Participant

    this also fails

    [/crayon]

    this however works….

    [/crayon]
    in reply to: Playing with shaders #6661

    codifies
    Participant

    I didn’t say they were unimportant, just not as important (by a way!) everything is a balance, but gameplay and balanced (game) rules should be the primary importance, yes presentation is important, but be honest how many so called AAA games have you seen that look gorgeous, yet have really boring gameplay…

    in reply to: Chipmunk queries #6627

    codifies
    Participant

    I shouldnt worry once you have sussed out how one call back works in detail then any others are obvious !

    You can always hold a c ptr in a class field, and an mx2 ptr in a c/c++ user data void pointer, if you c struct or c++ class doesnt have user data then you might add one or make a custom c++ class containing pointer to the c class and a void pointer for the mx2 ptr.

    Id love to see the ability to link classes/structs with mx objects, object finalisers (onDestroy method) would be famtastic but the doesnt see much interest…

Viewing 15 posts - 16 through 30 (of 202 total)