Show us yer programming projects!

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
Orangy Tang
Baaaaa!
Baaaaa!
Posts: 1794
Joined: Sun Apr 25, 2004 5:25 pm 0
Location: My secret lab
Contact:

Post by Orangy Tang »

_TinOmen_ wrote:
Orangy Tang wrote:Yes, it's written in Java on top of the Eclipse Rich Client Platform
That's interesting. It's been a couple of years since I used Java so it's nice to see that the GUI possibilities are still improving. Does Eclipse have a GUI designer now, or do you need to code the gui by hand?
I belive theres a free/open source gui designer available as a plug-in, but I've not used it. I didn't really need one for this app - RCP already defines a very flexible high-level layout (menu bar, button bar, rearrangable views, stackable editors), so you just need to add your own controls to them. And since views (Project Explorer, Element Palette, etc.) are usually quite simple they just need a single control (tree/table/etc.) within them and the rest just works. :D
[ Triangular Pixels.net - play Snowman Village, Rescue Squad, NiGHTS 4k and more ] [ Development Journal ]
User avatar
Axeman
Baaa!
Baaa!
Posts: 377
Joined: Tue Jun 19, 2007 10:36 am 0
Location: JackLand

Good stuff

Post by Axeman »

Some nice looking projects there.
User avatar
evilpaul
Baaaa!
Baaaa!
Posts: 811
Joined: Wed Sep 29, 2004 2:01 pm 0
Location: #ukscene, helsinki branch
Contact:

Post by evilpaul »

_TinOmen_ wrote:
evilpaul wrote:and here's my demo from the same compo:
http://www.pouet.net/prod.php?which=32035
Really great! How do you produce something like that, do you work in higher level tools on a PC first to generate tables for a z80-runtime? Or is that considered cheating in the 8-bit scene?
is it cheating? some people seem to think so.. but i'm a firm believer in the old demoscene maxim of "cheat like fuck" so, yeah, a lot of it is pre-generated to some degree with pc based tools, and most of that work ( plasmas, tunnels, twister ) is just done with paint shop pro to be honest. of course, it's not *all* pre-generated. there's still effort involved in interpreting and presenting that data to the screen at 50fps ;)
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

Get ready for a dull looking screenshot

Image

It is a test of part of the ui for a turn based tactical space game i'm working on.

I might keep the green vectors.
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

Managed a bit more today:

Image

The ui works as follows: Select an object. The large circle indicates the set of all possible places it can get to in the next turn. Click in the circle to set a destination, and right click in the small circle at the end of the path to set a target direction.

Things are currently in the "coming together rapidly" phase, that comes along shortly before "never quite finished" :)
User avatar
piku
Sheepie Whore
Sheepie Whore
Posts: 20960
Joined: Wed Apr 24, 2002 10:44 am 0
Website: Http://Www.ncot.uk
Location: Wakefield
Contact:

Post by piku »

GoatFoam wrote: Things are currently in the "coming together rapidly" phase, that comes along shortly before "never quite finished" :)
Ah yes, followed by "stuck on a hard bit" and "this other project looks more fun to begin"

or the real killer "I'll make a generic system and use it to create lots of different games. So let's write a sprite library because everyone else's sucks".
return (0);
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

Hard problems are fine. It is the easy stuff I have trouble with.

In this case I should do ok as:

- I am actually reusing an old framework (first time for everything).
- I actually want to play the soddin' game.

Nobody is doing decent TBS any more, and i'm pining for the good old days. I expect that this will result in something playable but unpolished.

BTW for the vectors effect I'm using an RGBA framebuffer with:

glEnable(GL_LINE_SMOOTH)
glEnable(GL_BLEND)
glBlendFunc(GL_SRC_ALPHA, GL_ONE)
User avatar
Muttley
Sheepie Whore
Sheepie Whore
Posts: 13169
Joined: Thu Apr 25, 2002 12:30 pm 0
XBL Gamertag: Mu77ley
Location: In a maze of twisty passages, all alike.
Contact:

Post by Muttley »

piku wrote:...or the real killer "I'll make a generic system and use it to create lots of different games. So let's write a sprite library because everyone else's sucks".
Gnnn. Don't talk about such stuff...

/me goes back to his partially completed particle engine including designer GUI :lol:
Muttley's Blog: Rarely updated, occasionally interesting… maybe
RetroRemakes Framework: Open Source BlitzMax Game Framework
MuttMod: My Open Source BlitzMax Modules
User avatar
toxibunny
Baaaaaaa!
Baaaaaaa!
Posts: 5906
Joined: Thu Jun 17, 2004 11:59 pm 0
Location: limb clock land

Post by toxibunny »

GoatFoam wrote:Hard problems are fine. It is the easy stuff I have trouble with.

In this case I should do ok as:

- I am actually reusing an old framework (first time for everything).
- I actually want to play the soddin' game.

Nobody is doing decent TBS any more, and i'm pining for the good old days. I expect that this will result in something playable but unpolished.

BTW for the vectors effect I'm using an RGBA framebuffer with:

glEnable(GL_LINE_SMOOTH)
glEnable(GL_BLEND)
glBlendFunc(GL_SRC_ALPHA, GL_ONE)
make sure you polish it afterwards. get someone to help if you have to.
I made a deviantart page.
'....The baron is a gay old rogue with an eye for the ladies....'
User avatar
sdetoni
Baaaaa!
Baaaaa!
Posts: 1368
Joined: Tue Jun 18, 2002 4:14 am 0
Location: New Sheepland

Post by sdetoni »

MagneTron : it lives!

Ok, so after a fairly hard 3 week slog I've managed to actually complete a game I've started, manged to get over the hump of it just being a demo to being something you can play... mind you its only a Robotron / Llamatron clone but I think its turned out o.k (well at least my kids like it) :)
I've used SDL and SDL_Mixer which certaintly helped a lot... great pieces of technology, nice and fast too. SDLSprite was also quite good, enough if I had to fix couple of bugs in it.

Since I really suck at drawing, and audio I've rip most of the graphics from the Net (even the YAK bull at the top of this page). There is however quite alot of procedural generated graphics which kept the animation part down a bit and actually prefer it rather than there being just static animation.

There are 30 waves of destruction, so not a full 100 level game (I don't know how Jeff does 100, 30 was hard enough).

The beta version is located here :http://sourceforge.net/projects/magnetron/

I'll be releasing the source code in the next few days based on my further play testing. Only don't look at the menu code, its really ugly!

Image
Image


Steve.
User avatar
PaulCunningham
Baaaaa!
Baaaaa!
Posts: 1218
Joined: Sun Jan 18, 2004 11:47 pm 0
Location: Walsall, England
Contact:

Post by PaulCunningham »

Congrats - it's always a nice feeling to tick that finished box.
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
fog
Baaaaaaa!
Baaaaaaa!
Posts: 6022
Joined: Sun Jan 30, 2005 1:08 pm 0
XBL Gamertag: Dense Fog
PSN: DenseFog
Location: Newcastle, England
Contact:

Post by fog »

sdetoni wrote:Image
Good work sir :)
User avatar
KlaxonCow
Baaaaaaa!
Baaaaaaa!
Posts: 8447
Joined: Fri Dec 13, 2002 3:46 am 0
Location: A large grassy field.

Post by KlaxonCow »

sdetoni wrote:MagneTron : it lives!
Very cool game. :D

I'm total shite at these Robotron-like games, though, as I only managed to get to level 13 with around 300,000 points on *cough* the very lowest difficulty setting.

A "high score" that I'm sure everyone here could demolish with their eyes closed.

But, hey, it's a good score for me.

Well, that's why I learnt how to program games. Because I was never any bloody good at playing them. :lol: :wink:
"Words ought to be a little wild - for they are assaults of thought on the unthinking."
- John Maynard Keynes
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

Looks great. Robotron type games are some of my favourites. Looking forward to getting a chance to play it!

Don't feel too bad about your performance KC. I only ever made it to about level 85 on the second time round Llamatron myself :(
User avatar
sdetoni
Baaaaa!
Baaaaa!
Posts: 1368
Joined: Tue Jun 18, 2002 4:14 am 0
Location: New Sheepland

Post by sdetoni »

KlaxonCow wrote:
sdetoni wrote:MagneTron : it lives!
Very cool game. :D

I'm total shite at these Robotron-like games, though, as I only managed to get to level 13 with around 300,000 points on *cough* the very lowest difficulty setting.

A "high score" that I'm sure everyone here could demolish with their eyes closed.

But, hey, it's a good score for me.

Well, that's why I learnt how to program games. Because I was never any bloody good at playing them. :lol: :wink:
Thanks for your kind comments. I've found a couple of little bugs which don't affect game play, which I've fixed and will release the game on Monday out of beta.

Been playing through it myself I can get to level 23 where the Orb of Death is before dieing so I'm thinking its little too easy ... maybe?

There are a couple of techniques in playing MagneTron:

1) Move out from the centre towards the sides ASAP.
2) Never stop moving, mutant shooters will shoot you!
3) Never stop shooting.
4) Circle from the outside and round up all enemies in the centre of the screen (except for spawners and mutants, shoot them ASAP).
5) On level 10 with the big bug thingy, dont use up all you people/POW at once, use them to demolish the big bug over time.
6) Level 20, always keep moving, kill all zombies before shooting at bouncing brain.
7) Don't take POW unless you know you can get it without dieing. POW and People will get electricuted upon contact of robot bullies, lasers, and electrodes. Do not touch skull and cross bones if this happens.
8) Some enemies are weak in areas:
Hedge-Hogs, shoot from the side.
Impossible Mission robots, shoot from above or below
Pod splitters shoot from a distance, there is a 50% change of them
splitting into 2.
Orb of Death, move in the opposite direction.

If you do make it to level 30, try shooting the Orb of POW, it will give you a POW immediately instead of randomly.

S.
Post Reply