Jump to content

  • Log In with Google      Sign In   
  • Create Account

Lane Spangler

Member Since 08 Mar 2012
Offline Last Active May 07 2013 04:47 PM

Posts I've Made

In Topic: Scaling game to different resolutions (LWJGL)

20 May 2012 - 09:36 AM

Ok, I fixed it. The issue was that I was using the current resolution to position game objects instead of the 1920x1080 resolution. So for example I would do
Paddle P1 = new Paddle(0, Display.getDisplayMode().getHeight()/2);
When I should be doing
Paddle P1 = new Paddle(0, 540);

In Topic: Scaling game to different resolutions (LWJGL)

16 May 2012 - 02:44 PM

I thought this as well. When I do that it does achieve the desired effect except the game no longer fits the game window. For example, in a 1024x576 window using

GL11.glOrtho(0.0D, 1920.0D, 0.0D, 1080.0D, 1.0D, -1.0D);
The game is fit to roughly the bottom left corner of the window. It seems to have scaled correctly at least.

In Topic: How do YOU do it?

10 March 2012 - 08:02 PM

Hey there,

Programming/game designing as a hobby is proving rather tricky. All too often things in my life get in the way of my time to program, this results in me often not finishing projects simply because I've lost my strand of thought, found some new interest and in general just can't seem to get motivated in the project again.

While I've been able to reduce this a bit by properly commenting my code so that I know how everything works and what I was doing it really isn't enough. At the same time I find that the bigger the project the harder it will be to make and the more my own limited capabilities will get in the way. This all results in my getting almost nothing truly finished. Though I know this is normal to a limit, I think I've reached that limit.

The obviouse solution, for me, seems to be to design and program really small games. Things that would take me one, or at most two, days to complete and would be fun and addictive but not truly mind blowing. Five minute games basically.

Problem is, try as I might, I can not seem to come up with any. I know the general idea of what a small game should be like, but whenever I try to sit down and design one the game either ends up being uninteresting or too 'big'. Very quickly I notice I'm adding extra 'small', fun features left and right. These 'small' features quickly accumulate though, the project gets too big, then somewhere along the line I realize that the original idea, while probably a good one, is in itself too big and I scrap the entire thing. Its like feature creep at the design process, on crack.

So I'm seeking some tips from you guys. How do you design a small, quick game and get about making it without it turning into a major project?

While I will not answer your ultimate question, I may be able to help you with your problem. If you are getting lost in your code you should think about implementing a more modular game engine. For example in my java game engine each game state is represented with a separate class, as well as each object that requires drawing such as a tile, block, wall, character etc. Sometime I find myself doing too much in one class and the code becomes very hard to read. I don't really think that making small games is a satisfactory solution because even games that most would consider small require an amount of persistance on the part of the programmer.

In Topic: Idea Wanted For Isometric Game

10 March 2012 - 07:53 PM

So essentially it would be like a roguelike where you always lose in the end and you start out by building a fort and you have to mantain it, defend it, and lead raids?

Not necessarily a loss. Sieges invariably are won by defeating the invading army through some means or alternatively outlasting their own supplies. By utilising resources carefully and the careful use of raids what you can build the game into basically an "How to win the Alamo". Hard but doable. Though I must admit was thinking more a fortified city as opposed to a fort...but that could also be a scaling set of levels -- each level you start with a defense againt an invading army until defeated then you fall back to the next larger defence point until you have reached a point where you can fight back. The more successful your defences the less overwhelming the army becomes. Mini levels like timed games i.e. the longer you hold a defence of a pass the more resources you can send back, as well implement a scorched earth policy. Another level could be the destruction of bridges and fortification of river fjords. Another could be the limited choice given to either save people, or food, or metals etc i.e. which resource becomes vital to the war effort at that time.

The end result of the game could be as you said a crushing loss, but it could also be a victory. Not sure if any games are out there like this to be honest, but I must admit the more I write on this the more subtle intricacies I can see to make this game rather fun to play. Hope the answers help Posted Image

Thanks for taking the time to share your ideas. I think it is a good idea to make the game winnable even though I have no problem with roguelikes. As far as the city part though, I was thinking since I am spending so much time on the level editor, it would make sense to incorporate a limited version of it into the actual game. So that's why I was thinking you would start out with just a fort and you have to build your city up in a smart way in order to survive the invasion.

In Topic: Idea Wanted For Isometric Game

09 March 2012 - 03:20 PM

RTS suggestion.

A fortified town surrounded by a large army. The town is backed up against an ocean thus supplies can get through. Resources are used to bolster defenses, feed the population, build new buildings, Salvaging of existing buildings that serve no purpose etc. Raids could be launched via the gate or alternatively dropped off by a ship along the coastline and attack from behind to either wreck or steal supplies, take out small groups etc. Resource management could be controlled via the ships i.e. you order what materials or personnel you need paying with them via internal taxes or war booty as well inhouse industries such as fishing etc.

So essentially it would be like a roguelike where you always lose in the end and you start out by building a fort and you have to mantain it, defend it, and lead raids?