cocon

Forum Replies Created

Viewing 15 posts - 271 through 285 (of 342 total)
  • Author
    Posts
  • in reply to: Structs can't be passed as reference. #5455

    cocon
    Participant

    The catch here is when you want to use a library written in C through a module, you might use pointers to call the C API (for example the OpenGL API), personally I would no find something odd about this approach.

    in reply to: Making Rnd more random. #5454

    cocon
    Participant

    Perhaps using a wrapper around the C standard library might make lot sense, I find no other better. 🙂

    http://www.cplusplus.com/reference/cstdlib/rand/

    in reply to: Monkey2 OpenGL Experiments #5310

    cocon
    Participant

    Now I have created a 3D cube example.

    Update 29 Nov 2016: I have fixed some odd problems with the cube and cleaned up the example.The only problem is that I get weird draw Z order in the faces of the cube.
    This problem is fixed, I have declared the order of vertices in a proper manner.
    The vertex declaration is from a C++ glm example, the matrix math is from OpenTK library.
    I switched into using the Monogame math since it’s much lean and clean implementation.

    in reply to: would $1 patreon be insulting? #5305

    cocon
    Participant

    I see that you are very good developer based on what you posted on this forum. Perhaps you can use this power to create an awesome game and donate the 10% of your earnings. It’s more challenging (because you will complete the project that way) and fair (win-2-win) in my opinion. 🙂

    in reply to: My first go with MX2 (spinning 3d cube) #5304

    cocon
    Participant

    Very nice stuff, currently I have in the works to create a cool 3D cube, but I have stucked a bit. I might get some ideas by your code because things get stuck.

    Here I have started a thread that it will based mostly on OpenGL snippets.
    http://monkey2.monkey-x.com/forums/topic/monkey2-opengl-experiments/

    in reply to: Tower Bots – a multiplayer tower defense game #5303

    cocon
    Participant

    Very good stuff, the battleship and cards games did well, indeed.

    in reply to: Making Rnd more random. #5302

    cocon
    Participant

    Good tips, thanks to all.

    in reply to: Motion Blur Test #5294

    cocon
    Participant

    Now trying some rain effect.

    Virtually, any sort of cool effects can be created here.

     

    in reply to: Making Rnd more random. #5290

    cocon
    Participant

    Is it like? SeedRnd(Millisecs())

    However I don’t know if you type it on Main function the application elapsed milliseconds would be 0, perhaps on somewhere else like loading a new scene or level initialization might make sense better, right?

    in reply to: compiling with wine #5285

    cocon
    Participant

     

    By design it’s impossible to do that, however there are clever workarounds. Wine is such clever workaround. I don’t know if there’s other alternative.

    The most standard one is going for the “automated builds” (you would write a Python script to execute shell commands). Once you run various virtual machines and let them do daily builds you might suffer less from manual effort.

    in reply to: Monkey2 Build From Source Help #5252

    cocon
    Participant

    It will be a good idea, won’t hurt to post it. Can you make a huge image (i.e. 1500×1500) that explains it?

     

    Generally I use “gihub for windows” but I consider switching to sourcetree, lots of people like this one.

    in reply to: Possible to add method to Rect with "Extension" ? #5251

    cocon
    Participant

    Doing some tests…

    in reply to: Useful math functions #5175

    cocon
    Participant

    Now that you mention it, a snippets sub forum (not projects) might be a good idea.

    in reply to: Normal map generator. #5174

    cocon
    Participant

    Awesome stuff, this could be actually very interesting for general purpose usage.

    in reply to: a demo coding tutorial for novice coders #5173

    cocon
    Participant

    Very interesting, how about trying some old school effects?

    I would not mind if there’s serious pixel pushing.

Viewing 15 posts - 271 through 285 (of 342 total)