Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411430 Posts in 69363 Topics- by 58416 Members - Latest Member: JamesAGreen

April 20, 2024, 12:48:57 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsMakin' a game (temp name TWIR)
Pages: [1]
Print
Author Topic: Makin' a game (temp name TWIR)  (Read 3672 times)
Vovosunt
Level 0
**


Lolcat


View Profile
« on: October 15, 2012, 08:58:13 AM »

I learned Programming quite a while ago and tried making games quite a few times, but kinda never finished any. Time to fix that Smiley

These are some screens from my latest project:



I plan on making it into a game, but I'll have to remake everything  Crazy
Hope you guy will help me along the way  Beer!

Current Plan (21NOV12):
Version 0.1:
 Pixel 38 Get an Endless Auto loading 2D tile engine working; (Almost done Smiley )
 Pixel 38 Make some tiles!;
 Pixel 06 Integrate box2d physics or make own physics engine
 Pixel 06 World dynamics (water, fire, dynamic trees?);
 Pixel 06 Skeletal Animation + Editor?

And just a few requests of feedback Wink:
  • I'm thinking about making the blocks bigger (16x16 instead of 8x8). Currently the character ist around 6 blocks high ~48pixels. Having more blocks means more fun, but I feel that I can't get the details I want into them (into every tile). And placing so many of them is a bother.
  • I also want to use skeletal system for my characters instead of pixel animations. That way I can seriously cut down on the sprite drawing as well as enable some awesome dynamics and maybe even some cool monster generation.

Do you think these are good ideas?
« Last Edit: November 21, 2012, 07:37:46 AM by Vovosunt » Logged

lauris71
Level 0
**



View Profile WWW
« Reply #1 on: October 15, 2012, 12:30:24 PM »

  • I'm thinking about making the blocks bigger (16x16 instead of 8x8). Currently the character ist around 6 blocks high ~48pixels. Having more blocks means more fun, but I feel that I can't get the details I want into them (into every tile). And placing so many of them is a bother.
  • I also want to use skeletal system for my characters instead of pixel animations. That way I can seriously cut down on the sprite drawing as well as enable some awesome dynamics and maybe even some cook monster generation.
Do you think these are good ideas?
Bigger blocks are also more intuitive as you can better estimate where your character will fit and where not. So I think it is OK, especially if it simplifies your development.

By skeletal animation do you mean simple composite sprite system (i.e. sprite is built of torso, legs, hands, head, weapon...) or drawing full-featured 2D vector figures?
I think either way is OK, although you have to design your characters keeping animation system in mind.
Logged

An adventure game of teenage girl: http://lauris.kaplinski.com/shinya
Vovosunt
Level 0
**


Lolcat


View Profile
« Reply #2 on: October 20, 2012, 04:39:53 AM »

Bigger blocks are also more intuitive as you can better estimate where your character will fit and where not. So I think it is OK, especially if it simplifies your development.
It's still quite a dilemma for me, because more blocks = smoother environment + more awesome creations and less blocks = easier + faster + better graphics(?). And I'll be kind of jealous if other games will have smaller blocks in them (like in Starbound) Durr...?
Initially I intended for a per-pixel environment, but it seems it's quite hard to generate, render and save an endless pixel world.

By skeletal animation do you mean simple composite sprite system (i.e. sprite is built of torso, legs, hands, head, weapon...) or drawing full-featured 2D vector figures?
I think either way is OK, although you have to design your characters keeping animation system in mind.
Yeah, basically using only hard-bones (aka only one bone per vertex). Not Vector images.
Thanks for the Feedback   SmileyHand Thumbs Up Right
Logged

Maud'Dib Atreides
Level 4
****


Obsessed with space


View Profile WWW
« Reply #3 on: October 21, 2012, 01:19:20 PM »

I'll follow this :D
Logged

Guy: Give me all of your money.
Chap: You can't talk to me that way, I'M BRITISH!
Guy: Well, You can't talk to me that way, I'm brutish.
Chap: Somebody help me, I'm about to lose 300 pounds!
Guy: Why's that a bad thing?
Chap: I'M BRITISH.
Vovosunt
Level 0
**


Lolcat


View Profile
« Reply #4 on: November 03, 2012, 03:03:41 AM »

I'll follow this :D
Much appreciated  Wink

So a little Game Status Update:
Progress is not going that well, but stuff is moving... sorta.
Old ideas are being rethought and errors are being removed but I'm still hitting quite a few programming quircks.
Just a few hours ago I realized that using SFML renderTextures for me is useless and that I should just use vertexArrays instead. Made me really facepalm, since I have to redo most of the rendering stuff that I've done till now  Facepalm
On a good note thought, I moved to c++11 and it's awesome! Grin

So I hope, I'll be able to get some new visuals soon....ish Droop
Logged

Maud'Dib Atreides
Level 4
****


Obsessed with space


View Profile WWW
« Reply #5 on: November 03, 2012, 08:13:43 AM »

I understand the feeling.

I've been drawing textures in Immediate Mode in OpenGL- which means:

Eventually I'll have to use vertex arrays instead to sate the performance issues, and it's a pain because I just finished with programming all rendering operations.

Still following this!
Logged

Guy: Give me all of your money.
Chap: You can't talk to me that way, I'M BRITISH!
Guy: Well, You can't talk to me that way, I'm brutish.
Chap: Somebody help me, I'm about to lose 300 pounds!
Guy: Why's that a bad thing?
Chap: I'M BRITISH.
zalzane
Level 5
*****


View Profile
« Reply #6 on: November 03, 2012, 08:32:02 AM »

using opengl immediate mode is a crime
Logged
jmcmorris
Level 1
*



View Profile WWW
« Reply #7 on: November 14, 2012, 10:25:12 AM »

For your composite animations I suggest looking into Spriter. That is what we are using for my game, Crea.

As for the block size, another thing you need to keep in mind is memory and cpu usage. You have to draw all of the tiles on screen. 8x8 tiles means you are drawing 4 times as many tiles as 16x16 and also you have 4 times as many tiles in your world. If you plan to have a large world then that can get quite expensive.
Logged

Maud'Dib Atreides
Level 4
****


Obsessed with space


View Profile WWW
« Reply #8 on: November 14, 2012, 12:17:57 PM »

spriter looks nice, but does the free version export to a format that's not just PNG sheets?

say, some form of text, binary, or XML file that I would write a parser for?
Logged

Guy: Give me all of your money.
Chap: You can't talk to me that way, I'M BRITISH!
Guy: Well, You can't talk to me that way, I'm brutish.
Chap: Somebody help me, I'm about to lose 300 pounds!
Guy: Why's that a bad thing?
Chap: I'M BRITISH.
jmcmorris
Level 1
*



View Profile WWW
« Reply #9 on: November 14, 2012, 01:50:45 PM »

spriter looks nice, but does the free version export to a format that's not just PNG sheets?

say, some form of text, binary, or XML file that I would write a parser for?
They have their SCML format which is a xml style file that you can parse. I recommend reading this document.
Logged

Maud'Dib Atreides
Level 4
****


Obsessed with space


View Profile WWW
« Reply #10 on: November 14, 2012, 03:28:51 PM »

Wow!

I was trying to create something like this before because i didnt think that anything quite like this existed!

This is a wonderful program! You should use it Vovosunt!
Logged

Guy: Give me all of your money.
Chap: You can't talk to me that way, I'M BRITISH!
Guy: Well, You can't talk to me that way, I'm brutish.
Chap: Somebody help me, I'm about to lose 300 pounds!
Guy: Why's that a bad thing?
Chap: I'M BRITISH.
Vovosunt
Level 0
**


Lolcat


View Profile
« Reply #11 on: November 15, 2012, 11:40:45 AM »

For your composite animations I suggest looking into Spriter. That is what we are using for my game, Crea.
This is a wonderful program! You should use it Vovosunt!
I've thought about using an already made product for animating, but I'm still not sure what I want for my animations. Moreover the requierments that I have set for myself are already more than Spriter can offer. And actually I want to code it myself. I've made a functional skeleton system during one of my experiments before(without animations thought) and it was quite fun Smiley

As for the block size, another thing you need to keep in mind is memory and cpu usage. You have to draw all of the tiles on screen. 8x8 tiles means you are drawing 4 times as many tiles as 16x16 and also you have 4 times as many tiles in your world. If you plan to have a large world then that can get quite expensive.
Yeah, I've thought about that too. I've set my mind on 16x16 blocks and a 64 pixel high character. Mostly due to the fact that 8x8 blocks are not art friendly  Giggle
(Initially I wanted the game to be "per-pixel",  but I just couldn't find a way to execute that  Sad )

Thanks for your comments!  Gomez
Logged

Vovosunt
Level 0
**


Lolcat


View Profile
« Reply #12 on: November 21, 2012, 07:32:51 AM »

Soo, over the last two weeks I've been tinkering on the terrain/map rendering code.
Getting a feeling that I'm doing things wrong, trying to optimize everything before it even becomes an issue >_<
I've come up with several rendering schemes: one with an array of tiles that is updated and wrapped around the visible part of the map, another where the chunks of the maps are generated as separate pieces and then rendered and a third one where I tried to combine the two.
Basically the issue is that I need some tiles to be drawn over the other so the tiles have to be drawn in the correct order.
Currently I'm using the second method. It takes at most around 6 ms to generate one 16x16 chunk with 2 layers of tiles and then the rendering takes up to 0.6 - 0.7 ms per chunk, which is quite a lot, since rendering all the chunks for 800x600 screen will take up to 10 ms or so.
Well, I guess optimising will come later, cause I'm tired of this, wanna get to the fun stuff sooner XD
Anyway here's a screen  Smiley (Note: the tiles are placeholder and the the view is 2 times bigger)



Okay boring stuff away, I've been thinking about other part of the game a lot too! :D
There's gonna be lots of complex generated locations (cities, pyramids, dungeons, villages), dynamic events and a random dynamically driven story (well not exactly a story, but every choice you make will affect the entire progress). Monsters, Weapons and some items will be semi-randomly-generated: Every monster will vary in the stats, logic, skills and so on even among the same of it's kind; Weapons and some items are going to be modular and will have attachment slots too (for enchantments, seals, augmentations and so on); "Furniture" (basically workbench, table, furnace and so on; stuff you place that's not blocks) will have upgrades. The player will have skills and spells. Skills are stuff like double jumps, wall jump, kick, strike, slash and so on will be activated with a button combination (like in fighting games) and spells will be, well, spells  Durr...?
You'll be able to immediately make some stuff, while other will require recipes that you learn from NPCs or find in the world.
And that's not all the ideas I have prepared Well, hello there!
Moreover, I'm pretty sure I'll be able to implement most of them too Smiley

Okay on the last note some undecided stuff: I'm still not sure if I want to use box2d for physics or not, since it seems to be fairly efficient. I might implement physically based animations too, if I use it. Design-wise I'm still not sure how to mix magic and technology in the game. It feels like I'm trying to mix the past with the future >~<

And oh yeah, I forgot to mention that originally the game was going to be called This World Is Random, TWIR for short, but I'm not sure I like the name anymore Concerned
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic