1. Post #1321
    Gold Member
    nos217's Avatar
    December 2006
    2,601 Posts
    Well I was working on a GUI project, and I got a little sidetracked having fun with setting the mouse position and GIMP:



    The gif doesn't do it justice, it's nice and smooth.

    I can feed it any parametric functions I want for the x and y values. Any cool ideas?
    Reply With Quote Edit / Delete Linux United Kingdom Show Events Artistic Artistic x 3Useful Useful x 1 (list)

  2. Post #1322
    Gold Member
    Orki's Avatar
    February 2005
    2,049 Posts





    Worked some more on my game.

    Map Loading using Tiled / Object loading.
    Selling is pretty much done, the art is temporary ofc

    (sorry for the page strech)
    Reply With Quote Edit / Delete Windows 7 Show Events Artistic Artistic x 14Programming King Programming King x 2Friendly Friendly x 1 (list)

  3. Post #1323
    Eudoxia's Avatar
    July 2009
    5,633 Posts
    Well, I can link to libraries, but can't resolve symbols from them. That's kinda sad. I guess I'll just ask on #llvm.

    Also I'm thinking about integrating smart pointers into the language.
    Reply With Quote Edit / Delete Linux Uruguay Show Events

  4. Post #1324
    Gold Member
    Electroholic's Avatar
    June 2011
    1,113 Posts
    I wrote 125 lines of assembly which compiled and ran perfectly the first time.

    Done my homework for the next week, can get back to re constructing my MySQL database for my game

    Edited:
    Updated all my libraries to MSVC 11, no more stack corruptions and shit
    Reply With Quote Edit / Delete Windows 8 Canada Show Events Programming King Programming King x 2 (list)

  5. Post #1325

    January 2012
    481 Posts
    I wrote 125 lines of assembly which compiled and ran perfectly the first time.

    Done my homework for the next week, can get back to re constructing my MySQL database for my game

    Edited:
    Updated all my libraries to MSVC 11, no more stack corruptions and shit
    Thats like 10 lines in any high level language! Lol in all seriousness, nice work; working with assembly can be a major headache if you get turned around aha.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  6. Post #1326
    Andrew McWatters
    Dennab
    March 2011
    3,878 Posts
    Well I was working on a GUI project, and I got a little sidetracked having fun with setting the mouse position and GIMP:



    The gif doesn't do it justice, it's nice and smooth.

    I can feed it any parametric functions I want for the x and y values. Any cool ideas?
    I've wanted to write a small program that took an image and created a simpler black and white high contrast version of it and used that image as a reference to draw on the minimap in Dota 2.

    Imagine drawing Ainsley's face over the minimap with his pepper grinder leaving grindings over the Radiants' ancient.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 5Agree Agree x 2Winner Winner x 1 (list)

  7. Post #1327
    Dennab
    July 2009
    12,246 Posts
    I guess you could say that would be a dire emergency.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Zing Zing x 7Winner Winner x 1Funny Funny x 1 (list)

  8. Post #1328
    Gold Member
    esalaka's Avatar
    July 2007
    10,189 Posts
    Well I was working on a GUI project, and I got a little sidetracked having fun with setting the mouse position and GIMP:



    The gif doesn't do it justice, it's nice and smooth.

    I can feed it any parametric functions I want for the x and y values. Any cool ideas?
    The obvious course of action is to now write a Runescape bot and make loadsamoney by selling characters to kids.

    On the other hand, you could also use it for something less silly, such as mouse macros. (Record mouse positions every n units of time, use some interpolation (Hermite Spline?) and replay the mouse actions.)

    Not that that's useful, probably.
    Reply With Quote Edit / Delete Linux Finland Show Events Agree Agree x 1Disagree Disagree x 1 (list)

  9. Post #1329
    Gold Member
    Electroholic's Avatar
    June 2011
    1,113 Posts
    Had to change the way my maps were loaded, which means I had to change the structure of the map file and then change the map editor/client to load correctly. Now I can add the loading to the server since I can now load collision data, tile data, and backgrounds independently

    Now I can finally continue with adding mobs.

    And holy shit it's hard to develop efficiently when my whole environment is changed (Windows 8 with VS 2012 takes a while to get used to)
    Reply With Quote Edit / Delete Windows 8 Canada Show Events

  10. Post #1330
    Dennab
    July 2009
    12,246 Posts
    Feeling better about my halloween compo entry.
    Spoiler alert
    Although 9 days maan

    Edited:

    Art is the only issue, sound and the rest is taken care of luckily. /homes in art skills
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  11. Post #1331
    Gold Member
    Electroholic's Avatar
    June 2011
    1,113 Posts


    Added collisions to mobs, wont walk off the edge and actually fall/walk on the ground now. Although I still need to adjust the sprite offset to make it draw at the right position (the red circle).

    Edited:
    Fixed the image offset, added health bars
    Reply With Quote Edit / Delete Windows 8 Canada Show Events Winner Winner x 5Artistic Artistic x 3 (list)

  12. Post #1332
    Dennab
    July 2009
    12,246 Posts

    Progress in the art department!
    :thatfeelingwhereyoufeelmoreconfidentinyourability :
    Reply With Quote Edit / Delete Windows 7 United States Show Events Artistic Artistic x 1 (list)

  13. Post #1333
    Gold Member
    Maloof?'s Avatar
    December 2006
    7,969 Posts
    A bit of an update

    Adding graphics to Cardigan. Got three days left to get the demo finished so it's not going to be as pretty or as resolved in an architectural/design sense



    Reply With Quote Edit / Delete Windows 7 New Zealand Show Events Winner Winner x 10Artistic Artistic x 6Friendly Friendly x 1 (list)

  14. Post #1334
    Gold Member
    chimitos's Avatar
    September 2010
    2,036 Posts
    Using Android, what's the best way to pass information back and forth between three threads?
    Specifically, one thread for openGL, another for game logic, and the Android UI thread for input.


    On a side note.
    Today I was going over my engineering homework, which was mostly about researching concepts not taught in the classroom, and I knew every single term because of all of my little programming side projects.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  15. Post #1335
    Gold Member
    Maloof?'s Avatar
    December 2006
    7,969 Posts
    I was wondering; how are you all recording these little gifs? Are you using a normal capture program or some other little application?
    Reply With Quote Edit / Delete Windows 7 New Zealand Show Events Funny Funny x 3Zing Zing x 1 (list)

  16. Post #1336
    ben1066's Avatar
    August 2009
    1,690 Posts
    Got bored and decided to try and render some BSPs in XNA. Currently it only renders face types 1 and 3 (since they render pretty much identically) which means I do get some holes. It also only uses vertex lighting and not the lightmaps. On PC it runs smoothly even though I am drawing every polygon currently, on Xbox however it is a different matter, it really shows it's power, or lack thereof, and gives quite a bad result. Hopefully once I actually use the data the BSP provides it'll work better. The first image is on Windows 8 and the second is on the Xbox.


    Reply With Quote Edit / Delete Windows 8 United Kingdom Show Events Artistic Artistic x 3Programming King Programming King x 2Winner Winner x 1 (list)

  17. Post #1337
    Gold Member
    farmatyr's Avatar
    June 2007
    3,287 Posts
    Not much progress, but have this shot of my screen.

    Reply With Quote Edit / Delete Windows 7 Norway Show Events Funny Funny x 5Artistic Artistic x 1 (list)

  18. Post #1338
    Gold Member
    nos217's Avatar
    December 2006
    2,601 Posts
    I was wondering; how are you all recording these little gifs? Are you using a normal capture program or some other little application?
    I used gtk-recordmydesktop.
    Reply With Quote Edit / Delete Linux United Kingdom Show Events Winner Winner x 1 (list)

  19. Post #1339
    Gold Member

    October 2008
    3,499 Posts

    Boredom strikes again I guess.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Programming King Programming King x 22Funny Funny x 14Agree Agree x 2Artistic Artistic x 2 (list)

  20. Post #1340
    st_nick5's Avatar
    May 2007
    760 Posts
    Made this in Maya a few months ago:



    I turned them into 2D .tga files, and have been using SFML to make a working chess game from it. Made a crappy Youtube video demonstrating piece capture, pawn promotion and en passant. Castling works, but I forgot to include that in the video.
    http://youtu.be/eKE8ISQ5CCc?hd=1
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Artistic Artistic x 2 (list)

  21. Post #1341
    ben1066's Avatar
    August 2009
    1,690 Posts
    It would appear I haven't quite perfecting the culling....
    Reply With Quote Edit / Delete Windows 8 United Kingdom Show Events

  22. Post #1342

    January 2012
    143 Posts


    This is what 16x16x16 block of voxels mixed with uninitialized memory and some vertices buffering w/o checking for memory faults look like.

    Feels good to be a bad boy of programming    or a dumb programmer without comprehensive knowledge of memory basics   
    Reply With Quote Edit / Delete Linux Russian Federation Show Events Funny Funny x 11Artistic Artistic x 2 (list)

  23. Post #1343
    ben1066's Avatar
    August 2009
    1,690 Posts
    Typo of the day!
    Code:
    int leaf = bspLoader.Map.FindLeaf(new float[3] { cameraPosition.X, cameraPosition.Y, cameraPosition.Y });
    should have been
    Code:
    int leaf = bspLoader.Map.FindLeaf(new float[3] { cameraPosition.X, cameraPosition.Y, cameraPosition.Z });
    Giving me the correct result!
    The red box is just me debugging which leaf it selects. That also explains why it was kinda working near 0,0,0 (the default camera start, plan on making it start at the first info_player_*).

    EDIT: My automerge :(
    Reply With Quote Edit / Delete Windows 8 United Kingdom Show Events Programming King Programming King x 1 (list)

  24. Post #1344
    Gold Member
    Electroholic's Avatar
    June 2011
    1,113 Posts


    Added names to the mobs, also performance testing the server. Client only running at 50 FPS due to slow text rendering speed, server running at 300 FPS still and the mobs are still synced with 800 ping

    Edited:
    Also, I apologize if I'm spamming too many small updates
    Reply With Quote Edit / Delete Windows 8 Canada Show Events Funny Funny x 4Artistic Artistic x 1Agree Agree x 1 (list)

  25. Post #1345
    Gold Member
    Jalict's Avatar
    August 2007
    1,630 Posts
    Added names to the mobs, also performance testing the server. Client only running at 50 FPS due to slow text rendering speed, server running at 300 FPS still and the mobs are still synced with 800 ping

    Edited:
    Also, I apologize if I'm spamming too many small updates
    Every step is worth posting, Content wise!
    Reply With Quote Edit / Delete Windows 8 Denmark Show Events Agree Agree x 10 (list)

  26. Post #1346
    Gold Member
    Electroholic's Avatar
    June 2011
    1,113 Posts
    Every step is worth posting, Content wise!
    Alright good

    I got NPC's added, this will be the last thing I post before I leave for work. Not sure what to work on next after work tonight
    Reply With Quote Edit / Delete Windows 8 Canada Show Events Artistic Artistic x 2Winner Winner x 1Useful Useful x 1 (list)

  27. Post #1347
    Dennab
    July 2009
    12,246 Posts


    This is what 16x16x16 block of voxels mixed with uninitialized memory and some vertices buffering w/o checking for memory faults look like.

    Feels good to be a bad boy of programming    or a dumb programmer without comprehensive knowledge of memory basics   
    I see that section of porn in the lower left quadrant--oh and your email near the top!
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 9 (list)

  28. Post #1348
    Cesar Augusto's Avatar
    January 2010
    264 Posts
    I started reading my book about C++. I can not wait to have enough knowledge to make maybe a simple game. :D
    Reply With Quote Edit / Delete Windows 7 Brazil Show Events Optimistic Optimistic x 2Friendly Friendly x 1 (list)

  29. Post #1349

    September 2011
    346 Posts

    I added mouse tracking like IOGraph does to my Dota2 screenshot thing.
    (ps thanks 2 dajoh 4 helping me ur da best )
    Reply With Quote Edit / Delete Windows 7 South Africa Show Events Artistic Artistic x 2Programming King Programming King x 1Funny Funny x 1Friendly Friendly x 1 (list)

  30. Post #1350
    Slaaf van EternalFlamez.Ik wilde heel graag de laatste Indie Bundle, en ik kreeg deze kuttitel er gratis bij.
    Staneh's Avatar
    March 2010
    3,814 Posts

    I added mouse tracking like IOGraph does to my Dota2 screenshot thing.
    (ps thanks 2 dajoh 4 helping me ur da best )
    What library are you using to track mouse-clicking?
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events

  31. Post #1351
    Gold Member
    Lexic's Avatar
    March 2009
    6,114 Posts

    First bit of work on this project in ages - It took me a lil while to remember how OpenGL works.
    Currently, this single quad is being drawn in a spectacularly overly-elaborate way which I hope will become significantly less over-engineered when I slap all the other HUD components in there.
    The view looks slightly wrong since it's supposed to be inside a border (comparison) and I haven't done that yet.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events Artistic Artistic x 2 (list)

  32. Post #1352
    CmdrMatthew's Avatar
    August 2010
    1,204 Posts
    Using Android, what's the best way to pass information back and forth between three threads?
    Specifically, one thread for openGL, another for game logic, and the Android UI thread for input
    What language are you using?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  33. Post #1353
    Everyone has a $1 title
    Skipcast's Avatar
    November 2008
    6,811 Posts
    What language are you using?
    I would assume it's Java, since he's working on something android related.
    Reply With Quote Edit / Delete Windows 8 Sweden Show Events Agree Agree x 4Disagree Disagree x 1 (list)

  34. Post #1354
    Gold Member
    Z_guy's Avatar
    July 2005
    680 Posts
    This weekend I've implemented Marching Squares to find the outlines of a black and white image.


    Then I took that outline and fed it to Box2D, which gave me this:


    Don't mind the text about using the arrow keys. This is developed for phones and it's using the accelerometer for controlling the ball.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Artistic Artistic x 20Programming King Programming King x 5Winner Winner x 1 (list)

  35. Post #1355
    Moderator Illuminati
    Hexxeh's Avatar
    June 2006
    4,694 Posts
    Sweet, iOS client. There's some useful code for parsing the HTML into views you might find useful. Drop me a PM and I'll send it over once I'm back on my desktop where I have the code.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events Useful Useful x 1 (list)

  36. Post #1356
    CmdrMatthew's Avatar
    August 2010
    1,204 Posts
    I would assume it's Java, since he's working on something android related.
    You could be using C or C++ with the NDK. That's what I do.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 1 (list)

  37. Post #1357
    Person
    geel9's Avatar
    June 2008
    9,136 Posts
    snip ios lol
    Reply With Quote Edit / Delete Windows 8 United States Show Events Useful Useful x 2Informative Informative x 1 (list)

  38. Post #1358
    Gold Member
    atl101's Avatar
    March 2008
    705 Posts
    Sweet, iOS client. There's some useful code for parsing the HTML into views you might find useful. Drop me a PM and I'll send it over once I'm back on my desktop where I have the code.
    Yeah, that'd be awesome, HTML parsing for the posts is really the only thing that's giving me trouble. After that I just have to make everything look nicer, which isn't too hard.

    snip ios lol
    Also, I'm not sure what Hexxeh's quoting that I snipped, maybe something I posted a while ago
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  39. Post #1359
    Gold Member
    helifreak's Avatar
    May 2011
    7,224 Posts
    Also, I'm not sure what Hexxeh's quoting that I snipped, maybe something I posted a while ago
    http://www.facepunch.com/showthread....0#post38114680
    If you click the 'name posted:' bit it takes you to that post.
    Reply With Quote Edit / Delete Windows 7 Australia Show Events

  40. Post #1360
    Ask Rohan about rust keys!
    Bumrang's Avatar
    August 2011
    3,647 Posts
    Also, I'm not sure what Hexxeh's quoting that I snipped, maybe something I posted a while ago
    http://facepunch.com/showthread.php?...0#post38114680

    Edited:

    asdf
    Reply With Quote Edit / Delete Linux United States Show Events