[QUOTE=garry;17558233]I mean programming wise..[/QUOTE]
Give your widgets an OnLooseFocus event? Hook into the mouse clicks higher up and decide if you've changed focus with a given click before you pass the click onto the specific widget. Kills several birds with one stone I'd think.
21 people downloaded the source code for my game, any comments/ criticisms?
My team and I are working on a 4X/RTS game, [url=http://starruler.blind-mind.com]Star Ruler[/url]:
[url=http://blind-mind.com/gallery/displayimage.php?pos=-30][img]http://blind-mind.com/gallery/albums/userpics/normal_screenshot0032.png[/img][/url] [url=http://blind-mind.com/gallery/displayimage.php?pos=-33][img]http://blind-mind.com/gallery/albums/userpics/normal_Carrier.png[/img][/url]
[url=http://starruler.blind-mind.com/sr_media.php]More[/url]
We're busy redoing our combat system, and getting the first batch of final models.
And to give you an idea of the scale of the game, every star you see can be visited, has its own planets, and runs in real time - no cheating things off in the distance. And to further drive the scale home, here's a few-month-old video:
[media]http://www.youtube.com/watch?v=5JlSL63kJUE[/media]
[QUOTE=Samuelgames;17560820]Looks sexy, Even better because it looks like it has online multiplayer[/QUOTE]
Thanks, and indeed it does.
[QUOTE=ryandaniels;17560422]21 people downloaded the source code for my game, any comments/ criticisms?[/QUOTE]
I downloaded it but when I tried to extract it, it said "archive type not supported". what did you use to compress it?
[QUOTE=Thy Reaper;17560786]My team and I are working on a 4X/RTS game, [url=http://starruler.blind-mind.com]Star Ruler[/url]:
[url=http://blind-mind.com/gallery/displayimage.php?pos=-30][img]http://blind-mind.com/gallery/albums/userpics/normal_screenshot0032.png[/img][/url] [url=http://blind-mind.com/gallery/displayimage.php?pos=-33][img]http://blind-mind.com/gallery/albums/userpics/normal_Carrier.png[/img][/url]
[url=http://starruler.blind-mind.com/sr_media.php]More[/url]
We're busy redoing our combat system, and getting the first batch of final models.
And to give you an idea of the scale of the game, every star you see can be visited, has its own planets, and runs in real time - no cheating things off in the distance. And to further drive the scale home, here's a few-month-old video:
[media]http://www.youtube.com/watch?v=5JlSL63kJUE[/media][/QUOTE]
Submitting a beta request. :)
I like how "dark" and grungy it is, like that filtered look on the star, rather than LENSFLARE.
[quote]I like how "dark" and grungy it is, like that filtered look on the star, rather than LOL LENSFLARE. [/quote]
Thanks! I'm happy to hear you're enjoying my star texture (that thing took me more than two whole workdays to figure out, staring at so many pictures of the sun at various angles and resolutions); stars will look even better when the game's done. We're planning on having crepuscular rays near the surface of stars as well as having solar flares on the surface of the star and animated 2D3D textures.
[QUOTE=garry;17558233]I mean programming wise..[/QUOTE]
Although I'm in no way familiar with your current design, it sounds as easy as just keeping track of the item currently in focus, then raise/send a [I]Lose[/I]Focus ( directed at blankthecannotspell :3 ) event/message whenever a different item gains focus.
[QUOTE=jA_cOp;17563953]Although I'm in no way familiar with your current design, it sounds as easy as just keeping track of the item currently in focus, then raise/send a [I]Lose[/I]Focus ( directed at blankthecannotspell :3 ) event/message whenever a different item gains focus.[/QUOTE]
Ignore the whale killing pedophile.
[QUOTE=blankthemuffin;17563972]Ignore the whale killing pedophile.[/QUOTE]
Whale is fucking delicious, I assure you :v:
But the menus lose focus to their submenus etc.
TBH I think only menus ever use this, so it could probably be highly specialized..
You could do some chained focus magic, explicit sub-windows maintaining their parent's focus?
[B]Edit:[/B]
Or even better, give the whole menu one focus level, as long as you don't do things like try to overlap them it should be simple to achieve.
[QUOTE=Thy Reaper;17560786]My team and I are working on a 4X/RTS game, [url=http://starruler.blind-mind.com]Star Ruler[/url]:
[url=http://blind-mind.com/gallery/displayimage.php?pos=-30][img]http://blind-mind.com/gallery/albums/userpics/normal_screenshot0032.png[/img][/url][/QUOTE]
You photoshop the star from basic scratch? Cause it looks good.
The star was made from scratch; specifically starting with a single, white, layer.
Users, companies and brews all have working comments (and new lines work :P)
[url]http://welovebrew.kerplunc.com/[/url] homepage latest members is also working, now onto styling all the pages, adding the right content for all the pages, then all the static pages and fixes. And then some more :)
[QUOTE='-[ Fizzadar ]-;17564949']Users, companies and brews all have working comments (and new lines work :P)
[url]http://welovebrew.kerplunc.com/[/url] homepage latest members is also working, now onto styling all the pages, adding the right content for all the pages, then all the static pages and fixes. And then some more :)[/QUOTE]
Looks good, keep it up.
Learning java at uni now. Not really a project as such, but that's what I'm working on.
Written something so I can draw a two-dimensional array with color values into a picture.
Now I'm thinking of what to do with it.
[img]http://filesmelt.com/downloader/laser.png[/img][img]http://filesmelt.com/downloader/Output1.png[/img]
Images were just tests to see if it works properly.
[QUOTE=Maurice;17565365]Written something so I can draw [B]a two-dimensional array with color values[/B] into a picture.[/QUOTE]
An image? :v:
Well yeah. But I couldn't just tell the program "Yeah make an image from that array." So I made a function for that.
[QUOTE=Thy Reaper;17560786]My team and I are working on a 4X/RTS game, [url=http://starruler.blind-mind.com]Star Ruler[/url]:
[url=http://blind-mind.com/gallery/displayimage.php?pos=-30][img]http://blind-mind.com/gallery/albums/userpics/normal_screenshot0032.png[/img][/url] [url=http://blind-mind.com/gallery/displayimage.php?pos=-33][img]http://blind-mind.com/gallery/albums/userpics/normal_Carrier.png[/img][/url]
[url=http://starruler.blind-mind.com/sr_media.php]More[/url]
We're busy redoing our combat system, and getting the first batch of final models.
And to give you an idea of the scale of the game, every star you see can be visited, has its own planets, and runs in real time - no cheating things off in the distance. And to further drive the scale home, here's a few-month-old video:
[media]http://www.youtube.com/watch?v=5JlSL63kJUE[/media][/QUOTE]
That looks amazing, and I really love the big scale! :)
[QUOTE=Maurice;17565430]Well yeah. But I couldn't just tell the program "Yeah make an image from that array." So I made a function for that.[/QUOTE]
Actually you can (nearly):
[cpp]//It's java, but whatever
public static BufferedImage arrayToImage(int[][] array) {
BufferedImage bi = new BufferedImage(array.length, array[0].length, BufferedImage.TYPE_INT_RGB);
for (int y = 0; y < bi.getHeight(); y++) {
for (int x = 0; x < bi.getWidth(); x++) {
bi.setRGB(x, y, array[x][y]);
}
}
return bi;
}[/cpp]
If that's what you made, I'm :downs:
Remaking GMan at the moment, Will have some media later.
[QUOTE=Diaklu;17566558]Remaking GMan at the moment, Will have some media later.[/QUOTE]
You mean the softbody demo where you could rip him apart? I hope so. :haw:
[QUOTE=raccoon12;17557401]n_y I didn't know you programmed m8ate[/QUOTE]
it's my first bro
[QUOTE=Robber;17566801]You mean the softbody demo where you could rip him apart? I hope so. :haw:[/QUOTE]
Ahah, not exactly.