View Full Version : [LIVE] Strategy game development
Sockerdrickan
September 26th, 2008, 03:18 PM
48 hours game development challenge
Started Friday 22:00 (GMT+1)
Ending Sunday 22:00 (GMT+1)
SpeedStrat is a realtime strategy game to be developed within 48 hours. Gameplay is somewhat like age of empires or red alert. The game is being written in C++ with SDL for those who care. This thread is filled with screenshots that's been taken through development time.
What I still need from you:
Better sprites
Tonight the fat lady sings :guitar:
Artificial Intelligence
September 26th, 2008, 03:32 PM
*me waiting*
A bit hard to come with a name right now without more info :lolflag:
oh...I voted yes!
Bios Element
September 26th, 2008, 03:33 PM
Erm...As great an idea as this sounds, this sounds like a repeat of the Spring Project. >.>
eragon100
September 26th, 2008, 05:01 PM
Erm...As great an idea as this sounds, this sounds like a repeat of the Spring Project. >.>
Was that written in 3 days?
AFAIK spring is only an engine, right?
Bios Element
September 26th, 2008, 05:09 PM
Was that written in 3 days?
AFAIK spring is only an engine, right?
No and yes. Who cares if it's written in 3 days? It only gets bragging rights. What's better is a quality game and It seems rather silly to repeat what's already been started with Spring.
Sockerdrickan
September 26th, 2008, 05:10 PM
70 minutes and 250 rows of code
-general code
-basic map loading
eragon100
September 26th, 2008, 05:13 PM
70 minutes and 250 rows of code
-general code
-basic map loading
Cool!, I am sorry I can't program in C++ myself (I am learning python as my first language currently) :(
Could you also make a fighting game sometime, like mortal kombat? There are no games of that sort for linux (yes, I mean 0, none at all) ? :wink:
Gutt
September 26th, 2008, 05:20 PM
Good luck Tux0r ! Sorry that I can't help you out with anything :-( , but I'd love to see what the final product is :P !
Vadi
September 26th, 2008, 05:21 PM
I'd recommend that you use the spring rts engine for your game.
Sockerdrickan
September 26th, 2008, 06:26 PM
If someone could make a better 128x96 house it would be great
eragon100
September 26th, 2008, 06:35 PM
question: it says x86_64 in the screenshot, it isn't going to be 64-bit only, right? I need a 32-bit version!
BTW, impressive to write that in an hour :)
Can't help with the house tough, it's 12:35 AM here, I want to go sleep :(
Sockerdrickan
September 26th, 2008, 06:42 PM
It's going to be for 32bit, 64bit ubuntu, windows etc (or any platform you want with the source itself)
yeah I should probably go to sleep too so I can continue early in the morning
eragon100
September 27th, 2008, 03:52 AM
It's going to be for 32bit, 64bit ubuntu, windows etc (or any platform you want with the source itself)
yeah I should probably go to sleep too so I can continue early in the morning
Great!, but perhaps you should make it windows-incompatible.
The more linux-only software, the more people are forced to run linux, the better the chance we have to win this war :wink:
I also have an idea for that house you wanted: since you have only 48 hours, can't you use some of the artwork from the battle for wesnoth? It's under the GPL, and they have some nice drawings of homes, terrain,and units. You could at least use some of it.
Sockerdrickan
September 27th, 2008, 04:16 AM
Good morning!
Yes that's another way of seeing it! ;)
I'm going to add life bars to objects now
Sockerdrickan
September 27th, 2008, 04:25 AM
There we go :popcorn:
edit: now becomes red when HP is <30
eragon100
September 27th, 2008, 04:34 AM
There we go :popcorn:
edit: now becomes red when HP is <30
How can you do all this in so little time, I tought C++ was a very difficuly language to use, and that this would take 1000's of lines of code :confused:
Sockerdrickan
September 27th, 2008, 04:46 AM
It's easy after you have written a few games (check out www.tuxemu.se.nu for a few projects)
added another object and made HP bars work with any sprite size
eragon100
September 27th, 2008, 04:50 AM
Is there going to be blood if you hit / kill an enemy? that'd be pretty cool :)
Sockerdrickan
September 27th, 2008, 05:07 AM
Yeah it's probably going to be bloody
I'm going to add camera movement and warriors next
Gutt
September 27th, 2008, 05:16 AM
Nice work Tux0r, you code pretty fast :-P and everything seems to be going well!
eragon100
September 27th, 2008, 05:20 AM
Yeah it's probably going to be bloody
Nice! :guitar:
Sockerdrickan
September 27th, 2008, 05:28 AM
Camera movement done! :popcorn: (W A S D or arrow keys, you decide)
eragon100
September 27th, 2008, 05:33 AM
W A S D please, they are my favorites for movement. :popcorn:
Sockerdrickan
September 27th, 2008, 05:42 AM
W A S D please, they are my favorites for movement. :popcorn:
Well that's the idea, both W A S D and arrow keys work at the same time, use whichever you like! Also, now left shift and right shift doubles the camera speed!
eragon100
September 27th, 2008, 05:44 AM
How many lines of code have you written by now, 1000?
Sockerdrickan
September 27th, 2008, 05:47 AM
I'm pretty good at well written game code, 380 lines
eragon100
September 27th, 2008, 05:57 AM
I hope I will be capable of working so fast too once I have learned to use python :D
Sockerdrickan
September 27th, 2008, 06:12 AM
of course all graphics will be better in the future I just don't have the time right now:popcorn:
The training bar is visible when you hold down left control or right control, if you don't it will not be visible=more view of battles
eragon100
September 27th, 2008, 06:46 AM
I have to go shopping, I will be back in three hours or so.
Good luck and have fun coding! :wink:
Gutt
September 27th, 2008, 07:08 AM
of course all graphics will be better in the future I just don't have the time right now:popcorn:
The training bar is visible when you hold down left control or right control, if you don't it will not be visible=more view of battles
The graphics are ok at this stage, I mean, at the speed you're going it's already great :KS !
Sockerdrickan
September 27th, 2008, 11:00 AM
GUI :popcorn: going to add training code now
MaximB
September 27th, 2008, 12:12 PM
In your poll I voted for "Yes" only due to the wide meaning of "something playable".
If I can move 1 unit to other place of the map, and even able to destroy building - is it playable ?
Anyway, I think you are doing a great job to take a project like this.
And I think that if you invest more time on a bigger project or better yet join existing one - it would be even better.
I doubt that many users will play your current game (how good the game can be made in a few days ?), but if you undertake a bigger game - it could be fantastic.
Gutt
September 27th, 2008, 02:45 PM
In your poll I voted for "Yes" only due to the wide meaning of "something playable".
If I can move 1 unit to other place of the map, and even able to destroy building - is it playable ?
Anyway, I think you are doing a great job to take a project like this.
And I think that if you invest more time on a bigger project or better yet join existing one - it would be even better.
I doubt that many users will play your current game (how good the game can be made in a few days ?), but if you undertake a bigger game - it could be fantastic.
He's right :) . I'd still try your game, but if you could join or make a project on a long term, it'd be really great !
Sockerdrickan
September 27th, 2008, 02:48 PM
I have other larger projects of my own I just wanted to take a challenge and give the result to the community. (I know some people like new games even though they might be seen as simple)
Gutt
September 27th, 2008, 02:51 PM
And you're doing really well in your challenge :-D !
What are your other projects ?
Sockerdrickan
September 27th, 2008, 02:57 PM
The ones I'm currently working on are:
- Gameboy/Color emulator
- A clone of the first Pokemon game 100% written from scratch
- Game engine (OpenGL, OpenAL, SDL...)
You can read more about the two first here www.tuxemu.se.nu (http://www.tuxemu.se.nu)
Gutt
September 27th, 2008, 02:59 PM
Nice projects :-D !
I like the Gameboy/Color emulator project, and why not for Pokémon hehe :) .
Sockerdrickan
September 27th, 2008, 03:13 PM
Ok you can now train warriors, now I have to make them controllable ;) :popcorn:
BTW: We still need a name ;) My lame suggestion is SpeedStrat
Sockerdrickan
September 27th, 2008, 06:49 PM
It's about 21 hours left to the finish line.
I have just made warriors controllable, you select them with left mouse and click somewhere to make them move to that spot. Right click clears selections.
What I have to do when I wake up:
-Collisions
-Warriors must be able to hurt structures and enemy warriors
-Computer as enemy player
If I get the time:
-Sound
-Better graphics
Good night this is Robin signing off. :guitar:
Gutt
September 27th, 2008, 07:03 PM
Ok you can now train warriors, now I have to make them controllable ;) :popcorn:
BTW: We still need a name ;) My lame suggestion is SpeedStrat
Why not, SpeedStrat doesn't look bad to me, would also reflect the speed of your coding :lolflag: .
Sockerdrickan
September 28th, 2008, 05:08 AM
Warriors can now hurt structures at your command, next up are collisions
Gutt
September 28th, 2008, 06:05 AM
Nice :) !
How much time do you have left :-P ?
Sockerdrickan
September 28th, 2008, 06:29 AM
about 10 hours! and I'm taking risky breaks!
Gutt
September 28th, 2008, 06:38 AM
Hmm, 10h should be sufficient even with risky breaks :-P !
Just keep on coding !
Sockerdrickan
September 28th, 2008, 08:31 AM
OK breaks' over!
I'm gonna program until the program is a finished program!!
Witnessed today at Ubuntu Forums is the new world record of 10 lines/second, no man has ever written C++ code this fast.
Gutt
September 28th, 2008, 08:36 AM
OK breaks' over!
I'm gonna program until the program is a finished program!!
Witnessed today at Ubuntu Forums is the new world record of 10 lines/second, no man has ever written C++ code this fast.
Don't kill your fingers :) !
Hope we'll get something to try by tonight :popcorn: !
Sockerdrickan
September 28th, 2008, 08:55 AM
Try it tonight?? Why not try it on now, huh? ;)
Help:
press 1, 2 ,3 and 4 to train different warriors
press spacebar to toggle train bar or ctrl to show it
W A S D and arrow keys to move camera
click warriors to toggle selection and click where they shall go or right mouse to deselect all warriors
if they touch enemy structure it weakens.
destroy all enemy structure.
:popcorn:
Gutt
September 28th, 2008, 09:41 AM
Got it to work, can move camera, toggle train bar, but I can't train soldiers..
Sockerdrickan
September 28th, 2008, 09:44 AM
press 1 2 3 4 keys (on keyboard)
Gutt
September 28th, 2008, 09:47 AM
I'm on a french keyboard... so that may be causing the problem.
I press 1 2 3 4 and nothing happens
Sockerdrickan
September 28th, 2008, 09:53 AM
Ok in the final version you will be able to click the warrior images as an alternative, btw warrior to warrior collision is done :D
Gutt
September 28th, 2008, 09:55 AM
Ok :D .
Everything is working fine besides that ! (I'm gonna see if I can find out why it's not working..)
Gutt
September 28th, 2008, 04:39 PM
It's almost the end of Sunday (well, in Europe at least), is the game finished :-P ?
eragon100
September 28th, 2008, 05:07 PM
Yeah, only 54 minutes left. :lolflag:
I am going to sleep, good night.
Sockerdrickan
September 29th, 2008, 12:30 AM
Yeah dude I'm pretty much done, I slept to much yesterday, giving me an hour after school today to write a bot that controls the other team :popcorn: also the voting ended yesterday at 72% "Yes!"
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.