electrolyte
|
|
« on: February 04, 2013, 06:05:57 AM » |
|
Here's a new game and thread that I've currently been playing / working on. The ConceptIt's really early days but basically it will be defending your base camp, collecting gold for building defences and hiring new Cowboys to your posse. There will be game play influences from Dungeon Keeper and DTD style games with a bit of Dune II and even a bit of Syndicate all mixed together in a wild west setting. Current look: Here are some screen grabs from the dev as its been going along: First few hows of dev getting basic path finding working I'm actually keeping notes on this dev rather than them scattered on bits of scrap and in my head! Basic 'fog of war' Fleshing it out using some Battle Keep sprites for speed. You will see there is going to be a map display of some sort which grows the more you explore and you inventory / tools menus.
|
|
« Last Edit: October 14, 2014, 04:39:22 AM by electrolyte »
|
Logged
|
|
|
|
|
Pineapple
|
|
« Reply #2 on: February 04, 2013, 06:19:09 AM » |
|
Dat artwork evolution
|
|
|
Logged
|
|
|
|
electrolyte
|
|
« Reply #3 on: February 04, 2013, 06:53:44 AM » |
|
Thanks it's still evolving So just wanted to post this about line of sight and the solution I came up with. A problem faced with the little guys shooting at each other was line of sight. From an early point in development it became apparent that the little guys would need to understand if their target was in view and if the bullet would actually reach them and not hit anything solid. Being able to shoot through walls seems like a cheat :D After a lot of reading the technique I opted for is called ‘Ray-casting’. It takes the position between 2 points and looks along this project line between the start and target points to see if it hits anything. That’s the theory but the implementation took some thinking about. The way I got it to work is to create a hidden bitmap which has all the current walls plotted in a solid colour. Next when a player shoots at a target I check this bitmap, moving down the target path to see if I ‘hit’ a pixel of colour using the getPixel command. Pow! Raycasting line of sight!
|
|
« Last Edit: May 11, 2013, 07:39:43 AM by electrolyte »
|
Logged
|
|
|
|
Pineapple
|
|
« Reply #4 on: February 04, 2013, 07:54:58 AM » |
|
Raycasting is a way to render essentially 2d data in pseudo-3d. Raytracing is what you're doing.
|
|
|
Logged
|
|
|
|
electrolyte
|
|
« Reply #5 on: February 04, 2013, 07:56:10 AM » |
|
Raycasting is a way to render essentially 2d data in pseudo-3d. Raytracing is what you're doing. What a noob, sorry this is only the second game I've ever attempted to make, thanks for the clarification
|
|
|
Logged
|
|
|
|
geepit
Level 1
|
|
« Reply #6 on: February 04, 2013, 08:01:15 AM » |
|
Sounds really cool and that art is very nice! Are the cowboys robots? I noticed the robotic sketches on your notebook picture. Anyway keep up the good work
|
|
|
Logged
|
|
|
|
electrolyte
|
|
« Reply #7 on: February 04, 2013, 12:15:36 PM » |
|
Are the cowboys robots? I noticed the robotic sketches on your notebook picture. There were going to be human cowboys and also 'steam powered' units that you could build in workshops, but I've kind of moved on from that in favour of just Prospectors and Cowboys of different abilities. Stronger ones being more expensive to hire etc. The workshops will be used to manufacture defences, barriers and gun turrets of some kind. Today's visual tweak for cowboys!!
|
|
|
Logged
|
|
|
|
jO
|
|
« Reply #8 on: February 04, 2013, 12:18:07 PM » |
|
That looks lovely!
|
|
|
Logged
|
|
|
|
electrolyte
|
|
« Reply #9 on: February 04, 2013, 12:19:42 PM » |
|
Thank you, I think it's more in my comfort zone now
|
|
|
Logged
|
|
|
|
Alec S.
|
|
« Reply #10 on: February 04, 2013, 12:22:24 PM » |
|
Lookin' really nice. I'm looking forward to seeing how this develops.
What's the pacing going to be like? Will it be a long-term base-building/army-building sort of thing, or will it be more streamlined quick battles?
|
|
|
Logged
|
|
|
|
geepit
Level 1
|
|
« Reply #11 on: February 04, 2013, 02:12:06 PM » |
|
Ooh the steam unit idea is pretty cool, but yeah having different strengths of cowboys and characters works just as well, and i guess keeps things more consistent (think that's the word i'm looking for) as in fits in more with the period. Plus you get the possibility of giving them proper cowboy/outlaw names Also the little guy looks very nice!
|
|
|
Logged
|
|
|
|
electrolyte
|
|
« Reply #12 on: February 06, 2013, 08:10:32 AM » |
|
What's the pacing going to be like? Will it be a long-term base-building/army-building sort of thing, or will it be more streamlined quick battles? It's going to be ... em, think Arcade meets RTS! So battles are frantic and quick, but you will need to make sure your defences are ready. In real life one bullet could / would kill, so the cowboys deliver a lot of damage with a hit accuracy stat given to each of them. Depending on their class, they may miss more than hit. Other's may not have a weapon and 'rush' your cowboys using fists rather than guns. Been working a lot on the AI and making sure there is scope and range for classes. I also spent a very sleepless night 'thinking' about how to stack selected areas for the prospectors to dig. In past version, the game would work out if a selected block could be reached and if not would deselect it. This wasn't very nice, but in the newest version you can click and stack up grids for the prospectors to dig freely, and as soon as they can reach them they will dig them! I might post up the full solution to that later as it was quite a revelation, but in essence it flood-fills colour into a bitmap from the camp outwards and if dig-able blocks are 'touching' this colour, then it means a prospector can reach it!
|
|
« Last Edit: May 11, 2013, 07:39:56 AM by electrolyte »
|
Logged
|
|
|
|
JobLeonard
|
|
« Reply #13 on: February 06, 2013, 09:08:23 AM » |
|
Nice amount of progress in a short time.
Is the cowboy hierarchy moustache-based?
|
|
|
Logged
|
|
|
|
electrolyte
|
|
« Reply #14 on: February 06, 2013, 09:22:42 AM » |
|
Is the cowboy hierarchy moustache-based? I think all the cowboys will have tashes ... but the prospectors will have beards.
|
|
|
Logged
|
|
|
|
electrolyte
|
|
« Reply #15 on: February 06, 2013, 09:49:42 AM » |
|
Just added the ability to make ... crates! You can place these to make defences, here you can see the bad guys are getting through. Oh I forgot, it's not just moustache-based - also hat size based! It actually feels like a game now!
|
|
« Last Edit: May 11, 2013, 07:38:54 AM by electrolyte »
|
Logged
|
|
|
|
oodavid
|
|
« Reply #16 on: February 06, 2013, 09:59:06 AM » |
|
Looks fab, is it playable in any form?
|
|
|
Logged
|
|
|
|
electrolyte
|
|
« Reply #17 on: February 06, 2013, 10:08:31 AM » |
|
Thanks, not as yet as it's still quite early days, only a few weeks into dev, and there's no real UI yet.
|
|
|
Logged
|
|
|
|
DrunkDevs
Level 1
Drink beer and make games
|
|
« Reply #18 on: February 06, 2013, 10:19:26 AM » |
|
I'm loving the progress on this. I have two questions for you. 1. What are the base building mechanics going to be like? I see last of beds, and dressers anvils, and other stuff. I'm guessing you are going for something unique. 2. Will the units be able to change elevation?
|
|
|
Logged
|
|
|
|
jO
|
|
« Reply #19 on: February 06, 2013, 10:46:28 AM » |
|
It actually feels like a game now! I love that moment :-) Really good progress these days!
|
|
|
Logged
|
|
|
|
|