[img]http://36.media.tumblr.com/f9e6d6b7003d7afc63bf98b8dfdba5a5/tumblr_inline_nnbff1SmnB1t3irj3_500.jpg[/img]
I now have a bunch of keys I can hand out. PM me if you want one.
[QUOTE=Map in a box;47592328]Does it run on a potato?[/QUOTE]
If you manage to get it to run on a potato, please let me know so we can update the minimum requirements :)
[vid]http://i.imgur.com/0MPukKD.webm[/vid]
[QUOTE=Berkin;47596282]C.Print takes in an object array and calls ToString() all items except those with types that have rules specifically written for how they are to be used (ConsoleColor and Output).
My code is [URL="https://github.com/TheBerkin/Fisticuffs/blob/master/Fisticuffs/C.cs"]here[/URL]. It's messy since my first write is always about getting the idea down, so I'm going to fix things up later. I need to redo the bracket escaping bit.[/QUOTE]
You could make it more typesafe by having a class, something like PrintParam, with implicit conversions from String and ConsoleColor. Then accept a PrintParam array instead of an object array.
The class would internally store the string data it contains, or the new color.
i'm just trying to get the hang of NUnit, so I'm writing a Uno library
[img]http://i.imgur.com/pKwuJh7.png[/img]
I'll make some fancy GUI at some point (maybe port it to Unity, since it's C# anyway?)
Currently trying to get special cards to work.
wait how did she win with 1 card left? back to bugtesting...
I had the idea to try and create a more modern version of DevIL, using current C++ best practices instead of the current OpenGL-like state engine that it uses, but looking through the DevIL codebase is a little overwhelming. I didn't even realize just how many formats it actually supported. I guess it would be fun to just get a couple of formats working anyhow.
[QUOTE=Dr Magnusson;47596828]I had the idea to try and create a more modern version of DevIL, using current C++ best practices instead of the current OpenGL-like state engine that it uses, but looking through the DevIL codebase is a little overwhelming. I didn't even realize just how many formats it actually supported. I guess it would be fun to just get a couple of formats working anyhow.[/QUOTE]
i moved to [url=https://github.com/nothings/stb]stb_image[/url] after devil died
it's a c library though. if you really [i]really[/i] don't like c, i suppose it might be worthwhile to build a c++ wrapper around that library. it's quite widely used and it's still maintained
i think devil also used it for something
wooo my 3d game is going swell
[thumb]http://i.imgur.com/Pxq3kjj.png[/thumb]
as you can see it's a rock in space
I haven't posted here in a long time but I still check back every once in awhile.
I really do think that WAYWO has changed the way I view programming, and what I expect from other people (and myself). As a student in a very large, fairly renown university, I find it very strange how 99.99999% of the things students/professors/graduate students are working on fail to compare to even the worst thing on WAYWO. lol
One PhD student who I have the pleasure of interacting with calls himself the next "mark zuckerberg" because of his note taking software. (it looks like a 1992 webpage and its also his thesis or something)
Another PhD student is building the worlds first and best "cyber bully detector" which she plans to integrate in her new social network targeted at "pre-teens" before they get on Facebook. (which also looks like shit. Also from what I hear her cyber bully detector is basically just a list of swear words that accounts for misspelling.)
I can't wait to graduate and get away from this academic circle jerk.
[QUOTE=bootv2;47596790]Whats a good 2d graphics library for java? I prefer it to be simple because I'll be working together on a small game with someone who's only had game development experience in greenfoot and some general java experience.[/QUOTE]
Perhaps something like libgdx would be interesting? :v:
[url]http://libgdx.badlogicgames.com/[/url]
It's pretty widely used for people making games in java, and it includes a lot of things you might want, sort of a batteries included solution.
I think theres some people in here working with it too, wasn't Xystus234 making his RTS with libgdx?
Eventually you'll want probably a working knowledge of LWJGL, too.
[editline]25th April 2015[/editline]
Streaming some Vertex Adventure game development, talking about debugging Grid, too. [url]http://www.twitch.tv/andrewmcwatters[/url]
[QUOTE=Mr_Razzums;47597302]I haven't posted here in a long time but I still check back every once in awhile.
I really do think that WAYWO has changed the way I view programming, and what I expect from other people (and myself). As a student in a very large, fairly renown university, I find it very strange how 99.99999% of the things students/professors/graduate students are working on fail to compare to even the worst thing on WAYWO. lol
One PhD student who I have the pleasure of interacting with calls himself the next "mark zuckerberg" because of his note taking software. (it looks like a 1992 webpage and its also his thesis or something)
Another PhD student is building the worlds first and best "cyber bully detector" which she plans to integrate in her new social network targeted at "pre-teens" before they get on Facebook. (which also looks like shit. Also from what I hear her cyber bully detector is basically just a list of swear words that accounts for misspelling.)
I can't wait to graduate and get away from this academic circle jerk.[/QUOTE]
Non of that sounds very academic honestly, just sad.
Making a roguelike because I've always wanted to but could never get terrain generation working right
[img]http://i.imgur.com/sgfdheo.png[/img]
[QUOTE=bootv2;47596790]Whats a good 2d graphics library for java? I prefer it to be simple because I'll be working together on a small game with someone who's only had game development experience in greenfoot and some general java experience.[/QUOTE]
libGDX is a standard for java game development nowadays.
Now with colors, sizes and collision detection with the monitor bounds!
And less taskbar violation.
[vid]http://www.xn--vennstrm-t4a.se/wp-content/uploads/2015/04/2015-04-25_18-45-28.webm[/vid]
[QUOTE=Ott;47596382][vid]http://i.imgur.com/0MPukKD.webm[/vid][/QUOTE]
is that what i think it is
[vid]http://a.pomf.se/gucnce.webm[/vid]
What would be a cool particle effect you guys would like to see come out of the ship?
Video is just to show what I have at the moment, because I don't have any ideas for something that would look cool. :v:
Also, ship has been redesigned! Do you guys like it?
perhaps slightly different sized particles, add random variations to the various aspects that go into each particle
That was really fun to get to work on shaders this morning for Grid during the Twitch stream. I'm starving now, though! 3+ hours of straight dev since I woke up without breakfast.
Here's the first screenspace effect I added for when you open the main menu. It sorta matches the background on [url]http://www.andrewmcwatters.com/vadventure/[/url] now!
[img]http://i.imgur.com/LRrST3v.png[/img]
Hmmm. Anyone know how to do VBO's in OpenTK? If I understand how VBOs work correctly, I should be able to put my point data in one and draw it in one call and save some precious render time, right?
[URL="http://gfycat.com/EnlightenedUnderstatedBarnowl"]Here's what it looks like now[/URL], by the way. This is a combination of the work in my previous posts.
[editline]25th April 2015[/editline]
Oh, and I recorded that with Windows. Win10 10061 enables Game DVR. The compression leaves a lot to be desired, but it's a start. Also doesn't work with full screen games yet :/
I dropped the metal and wood look of the Vertex Adventure logo and made it conform to the rest of my design work. I also simplified the grid by removing the grid marks.
[img_thumb]http://i.imgur.com/BYOFi4C.png[/img_thumb]
[img_thumb]http://i.imgur.com/YZPSqKD.png[/img_thumb]
Gonna work on NPCs today, too, perhaps. Why not, right?
[editline]25th April 2015[/editline]
I also think the UI now looks out of place a bit due to the line work, which I'm thinking about removing. I'm not sure yet, though.
Today I managed to create separate independent viewports!
Next, I need to implement an option for toggling 3D/2D view for any given viewport.
[IMG]http://i.imgur.com/Z78TLkL.png[/IMG]
I'm so happy this went as smoothly as it did. I thought I'd have to rework a lot of stuff.
Someday I'll actually learn how to implement AA to get rid of all them jaggies
[QUOTE=Darwin226;47596515]You could make it more typesafe by having a class, something like PrintParam, with implicit conversions from String and ConsoleColor. Then accept a PrintParam array instead of an object array.
The class would internally store the string data it contains, or the new color.[/QUOTE]
Something like this?
[img]http://i.imgur.com/QOl8NMb.png[/img]
You do lose the ability to print any object, but you could also probably just implement the implicit conversion to PrintParam for your custom class the same way you have to override ToString. This would just make sure that your object is in fact printable.
[QUOTE=Karmah;47599556]Someday I'll actually learn how to implement AA to get rid of all them jaggies[/QUOTE]
That's actually easy. If you're using OpenGL then render the viewport onto a texture and then render the texture to the screen with a shader, here's an fxaa snippet from one of my files.
[url]https://gist.github.com/e514be69bc9dd3992c4e[/url]
It takes a texture, UV and the texture resolution and returns antialiased color.
[editline]25th April 2015[/editline]
[QUOTE=Darwin226;47599596]Something like this?
-img snip-
You do lose the ability to print any object, but you could also probably just implement the implicit conversion to PrintParam for your custom class the same way you have to override ToString. This would just make sure that your object is in fact printable.[/QUOTE]
Why would you need something like this in C#? Every object has a ToString method, so in your Print function just check that the object is not null and call ToString on it?
[QUOTE=cartman300;47599614]Why would you need something like this in C#? Every object has a ToString method, so in your Print function just check that the object is not null and call ToString on it?[/QUOTE]
Because most of the time the ToString method is completely useless since it just prints the type. If it isn't useless it's because it's overloaded, but you have no way of checking if it in fact is. This gives you a way. If you want your objects to be printable you define the conversion for your class. It's checked by the compiler.
I can see valid arguments against this though. It's not idiomatic C# and would probably lead to confusion.
An idiomatic way would of course be to have an interface instead of a conversion but then you can't take built in types.
[QUOTE=Darwin226;47599715]If it isn't useless it's because it's overloaded, but you have no way of checking if it in fact is.[/QUOTE]
Yes you do, using reflection!
Get the type of the class you want, get the toString method, and see if the declaring type is equal to typeof(object). If it isn't then toString is overriden!
Say, if you have a class Foo, that overrides toString, and a class Bar, that doesn't,
[code]typeof(Foo).GetMethod("ToString").DeclaringType != typeof(object)[/code]
would return true,
and
[code]typeof(Bar).GetMethod("ToString").DeclaringType != typeof(object)[/code]
would return false.
[QUOTE=NixNax123;47599760]Yes you do, using reflection!
Hint: get the type of the class you want, get the toString method, and see if the declaring type is equal to typeof(object).
(:[/QUOTE]
Yes, but that's not what I meant. You can do everything at runtime but then you get JavaScript. I proposed a compile time check, and that you can't do.
[QUOTE=Darwin226;47599772]Yes, but that's not what I meant. You can do everything at runtime but then you get JavaScript. I proposed a compile time check, and that you can't do.[/QUOTE]
Oh, sorry! I misread.
[QUOTE=Rocket;47600016]I can't think of anything this UI looks similar to.[/QUOTE]
I can. It looks a bit like the stuff layla works on.
we're secretly all still working with source
I feel like this type of level is pretty common in time related games, but whatever
[vid]http://zippy.gfycat.com/AgileIlliterateAcornweevil.mp4[/vid]
Sorry, you need to Log In to post a reply to this thread.