[QUOTE=Mr.123;15990068]Yes you can only use XNA with c#[/QUOTE]
This is wrong. you can use XNA with any language that runs on .NET.
People can use XNA with C++, IronPython, IronRuby, F#, VB, C#, and that one language that starts with an A but I can't remember what it's name is.
For C++ you have to compile with the /safe flag.
Edit:FUCK beaten.
[QUOTE=Chandler;15990189]This is wrong. you can use XNA with any language that runs on .NET.
People can use XNA with C++, IronPython, IronRuby, F#, VB, C#, and that one language that starts with an A but I can't remember what it's name is.
For C++ you have to compile with the /safe flag.
Edit:FUCK beaten.[/QUOTE]
Assembly? ALGOL?
edit: nevermind, it must be A# which is just a port of Ada for the .NET framework
[QUOTE=Samuelgames;15989537]... Or you could try Code::Blocks with the Microsoft Compiler[/QUOTE]
And lose IntelliSense for a much more inferior product.
[QUOTE=zyxxyz;15991077]And lose IntelliSense for a much more inferior product.[/QUOTE]
People use code completion?
[QUOTE=PvtCupcakes;15991703]People use code completion?[/QUOTE]
believe or not, most normal people do!
[QUOTE=PvtCupcakes;15991703]People use code completion?[/QUOTE]
hurr the pro anti ide guy here, fuck productivity.
[QUOTE=unironically;15991992]believe or not, most normal people do![/QUOTE]
I mostly find it annoying and intrusive. If I'm trying to look at something else while I'm typing something the big code completion box [b]always[/b] covers up whatever I'm trying to look at.
[QUOTE=PvtCupcakes;15992053]I mostly find it annoying and intrusive. If I'm trying to look at something else while I'm typing something the big code completion box [b]always[/b] covers up whatever I'm trying to look at.[/QUOTE]
i'm sorry i didn't realize u have the autism
[QUOTE=Kat of Night;15990673]Assembly? ALGOL?
edit: nevermind, it must be A# which is just a port of Ada for the .NET framework[/QUOTE]
No it's called Adzium or some shit. It's really bizarre but the whole point of it is parallel computing. It's like a bastard child of erlang and eiffel, or soemthing :-/ can't remember the name. Saw it on proggit a while back
[QUOTE=wingless;15988505]Currently I'm fucking with XNA and Trying to register C++ 2008 express, so I can actually develop to my liking with direct x, But right now The fucking Register hangs on that stupid loading screen, I log in but it just fucking hangs![/QUOTE]
I had to switch over to IE to register that product because Chrome wouldn't load the bloody page.
[QUOTE=nos217;15983771]"Specular reflection is the mirror-like reflection of light."[/QUOTE]
Yes, but a reflection in graphics programming refers to a mirrored image, therefore calling it a reflection by definition is incorrect.
Oh and in graphics programming, specular is seen as a highlight to give a shine or something to an object.
[url]http://en.wikipedia.org/wiki/Specular_highlight[/url]
[editline]08:48AM[/editline]
[QUOTE=compwhizii;15992808][img]http://imgkk.com/i/kM4dXMRV.png[/img]
[url]http://redmine.compwhizii.net/projects/list_files/ctools[/url][/QUOTE]
Why does it give you 3 LAN IP's? I'm probably being really stupid here, my network knowledge is terrible.
[QUOTE=compwhizii;15992808][img]http://imgkk.com/i/kM4dXMRV.png[/img]
[url]http://redmine.compwhizii.net/projects/list_files/ctools[/url][/QUOTE]
You misspelled portfo[B]r[/B]warded.
[QUOTE=Jallen;15994001]Why does it give you 3 LAN IP's? I'm probably being really stupid here, my network knowledge is terrible.[/QUOTE]
He has three network interfaces I guess.
Probably two virtual ones.
[QUOTE=Jallen;15994001]Yes, but a reflection in graphics programming refers to a mirrored image, therefore calling it a reflection by definition is incorrect.
Oh and in graphics programming, specular is seen as a highlight to give a shine or something to an object.
[url]http://en.wikipedia.org/wiki/Specular_highlight[/url]
[/QUOTE]
Why do the bricks have speculars in the first place? I've never seen a brick shine.
[QUOTE=HubmaN V2;15994814]Why do the bricks have speculars in the first place? I've never seen a brick shine.[/QUOTE]
Then you've never seen a real brick. Also, light on a wet brick.
[QUOTE=Jallen;15994001]Yes, but a reflection in graphics programming refers to a mirrored image, therefore calling it a reflection by definition is incorrect.
Oh and in graphics programming, specular is seen as a highlight to give a shine or something to an object.
[url]http://en.wikipedia.org/wiki/Specular_highlight[/url][/QUOTE]
Ah I see. Thanks :).
[editline]10:42AM[/editline]
Wikipedia manage to fit ridiculously massive formulas into every page.
Ended up revisiting my tile engine and decided to remove the gridhelper (no more bounds checking or blocks following the cursor, but it was hella unmantainable), now I'm left with a Matrix and a Tile class with simple set-the-color, set-the-position and draw functions which I'll subclass if I want to make NPCs or whatnot. Here's an image, but I doubt it matters.
[media]http://www.cubeupload.com/files/791200untitled.png[/media]
[QUOTE=Robber;15986139]Argh, crap. I guess I'll just do it the old way and copy the library's class files into the src folder before building the jar.
[editline]12:34AM[/editline]
Yeah, it(my Tetris written in Java) is finally playable. It still has the rotating pieces into walls/other pieces bug and crashes if you rotate it into a wall and it's still missing a game over screen, a preview and a score.
[url]http://files.getdropbox.com/u/1106779/Tetris.jar[/url]
[editline]12:36AM[/editline]
I'm going to sleep now. If anyone can find a bug (if someone actually downloads it :frown:), please post it and I'll fix it tomorrow.[/QUOTE]
Well here's one, I'm on a crappy 1024x768 screen at the moment and I can't play the game because it's too big for the screen, perhaps add some better resizing to the window or some scaling options.
I tried scaling the window down but it just cut away from the bottom and I couldn't see where I was placing blocks.
[QUOTE=gilly_54;15816209]Working on a strange fungus simulator in console C++. Basically, I have a 2d grid, I start with one spore in each corner (i.e. two different teams) and let them spread and evolve over the turns and eat each other etc.
Would be interesting to see how it works with more than two fungus "teams". Right now I'm being pretty lazy about it. Eventually I might port it to SDL to spice it up with colours and such, but I should probably learn about SDL a bit more first.[/QUOTE]
So I've got a bunch of work done on this already. So far the spores can multiply across the board I've given them (15x15 for now) and stop when they eventually bump into each other. I'm starting to implement a "fight" mechanism so they can have little battles amongst themselves for superior control over the board (yes complete with a leveling up system, survival of the fittest and all that). Here's some GIFs of it in action :v:
Two teams:
[url]http://imgkk.com/i/1qV2DSIU.gif[/url]
Five Teams:
[url]http://imgkk.com/i/lyc7fB7Q.gif[/url]
(Media tags don't seem to work for GIFs)
Note: each one of those numbers represents a Spore object with stats such as age, level, attack ratings etc. There is some OOP involved in this.
Right now, whichever team is in the top-left corner always seems to win, even though they choose what location to multiply to randomly from the eight squares adjacent to them. The top-left team also seems to have a predictable "square-out" multiplication pattern, they form a square which just grows in size. These both happen because I start looping through the board from the top-left corner. I think I should figure out a way to start the loop at a random location, or just pick random spores in the grid and make them multiply, sort of like implementing the shuffling of a deck of cards (hoping I don't run into an infinite loop caused by random numbers :downs:). But I think this problem will solve itself once the spores have attack/defense capabilities, so that's where I'm going next :)
Once this is all done: SDL time :v:
[QUOTE=MADmarine;15995944]Well here's one, I'm on a crappy 1024x768 screen at the moment and I can't play the game because it's too big for the screen, perhaps add some better resizing to the window or some scaling options.
I tried scaling the window down but it just cut away from the bottom and I couldn't see where I was placing blocks.[/QUOTE]
Yes, I noticed that when I gave it my sister (she has a netbook). It's only one variable I would have to change, but I'm not sure what would be the best way to configure it. Any ideas?
Thanks for trying it. :smile:
Text file with screen size in?
[QUOTE=Dansil;15989888]Doesn't XNA work with C#?[/QUOTE]
Yes It does and a few others but C# has all the templates 'n' shit, I do use it but I want to get c++ registered before c#, the thing just fucking hangs, Grrr.
[QUOTE=iPope;15996201]Text file with screen size in?[/QUOTE]
I already thought about using a text file to configure it, but that's not really user-friendly. I could make a separate app to generate the config file where you can edit it using a nice GUI.
For now I've put in some hacky autoscaling when you change the window's size:
[url]http://files.getdropbox.com/u/1106779/Tetris.jar[/url]
[img]http://imgkk.com/i/FSAjhh7Z.png[/img]
So, blend or no blend?
Which one would you choose?
Defiantly blend!
Seems like YouTube is down, I uploaded it to Dropbox: [URL=http://files.getdropbox.com/u/1106779/Tetris.avi]jTetris video[/url]
[QUOTE=iPope;15996201]Text file with screen size in?[/QUOTE]
Yeah some kind of .cfg file would work. It wouldn't be too hard to get the system resolution and scale accordingly to that would it?
[code]import java.awt.*;
public class GetScreenSize
{
public static void main(String[] args){
Toolkit toolkit = Toolkit.getDefaultToolkit ();
Dimension dim = toolkit.getScreenSize();
System.out.println("Width of Screen Size is "+dim.width+" pixels");
System.out.println("Height of Screen Size is "+dim.height+" pixels");
}
}[/code]
[QUOTE=Sasupoika;15996293][img]http://imgkk.com/i/FSAjhh7Z.png[/img]
So, blend or no blend?
Which one would you choose?[/QUOTE]
Blend looks much better.
[QUOTE=MADmarine;15996368]Yeah some kind of .cfg file would work. It wouldn't be too hard to get the system resolution and scale accordingly to that would it?
[code]import java.awt.*;
public class GetScreenSize
{
public static void main(String[] args){
Toolkit toolkit = Toolkit.getDefaultToolkit ();
Dimension dim = toolkit.getScreenSize();
System.out.println("Width of Screen Size is "+dim.width+" pixels");
System.out.println("Height of Screen Size is "+dim.height+" pixels");
}
}[/code][/QUOTE]
Thanks a lot! I'll try that.
[B]Edit:[/B]
New version up: [url]http://files.getdropbox.com/u/1106779/Tetris.jar[/url]
Someone with a small screen please test that.
[QUOTE=Sasupoika;15996293]Awesome retro game picture.
So, blend or no blend?
Which one would you choose?[/QUOTE]
Blend definitely :D.
Sorry, you need to Log In to post a reply to this thread.