Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

878939 Posts in 32946 Topics- by 24353 Members - Latest Member: kanki

May 23, 2013, 01:16:45 AM
TIGSource ForumsCommunityCompetitionsOld CompetitionsAssemblee: Part 2Video Game Generator [FINISHED!]
Pages: 1 [2] 3 4
Print
Author Topic: Video Game Generator [FINISHED!]  (Read 10620 times)
Hideous
That's cool.
Level 10
*****


holy shit


View Profile WWW Email
« Reply #15 on: December 08, 2009, 03:55:48 AM »

"In Another Shit"  Cheesy
« Last Edit: December 08, 2009, 08:07:23 AM by Hideous » Logged

In a world where ugly babies rule supreme...
Sos
Level 8
***


[cluck]


View Profile WWW Email
« Reply #16 on: December 08, 2009, 07:51:47 AM »

OK, today I gonna tweak the tile arranger into a sprite arranger, produce several sets and focus on the generator. I  will probably drop the idea of having a database, or just use it partially.
Logged

Synnah
Level 7
**


La la la la - oh, what fun!


View Profile WWW Email
« Reply #17 on: December 08, 2009, 09:22:36 AM »

I will probably drop the idea of having a database...

If you do that, how will anyone get to play my game idea, 'Trampocalypse Now'?

Really interested to see what you do with this, though; it's a very ambitious idea, and obviously reminiscent of ROM CHECK FAIL. Your tile arranger tool looks really useful, too.
Logged

"What's that thing at the end of the large intestine? Because that's exactly what you've done here." - Ray Smuckles, Achewood.

My music. Will compose for free!
Sos
Level 8
***


[cluck]


View Profile WWW Email
« Reply #18 on: December 08, 2009, 10:38:05 AM »

I will probably drop the idea of having a database...

If you do that, how will anyone get to play my game idea, 'Trampocalypse Now'?

I mean databasing the tiles instead of rearanging them. you will get your trapocalypse armadillo game whatsoever Tongue

Really interested to see what you do with this, though; it's a very ambitious idea, and obviously reminiscent of ROM CHECK FAIL. Your tile arranger tool looks really useful, too.

Thanks Smiley I hope the tool will come in handy, sprite arranger is in the making.

Also I included the source (i didn't notice i did that, but it's a nice thing to do, isn't it?) so feel free to submit any changes.

The tool uses: allegro, libpng, loadpng (and some windows filesave common crap)
Logged

Ed
Level 5
*****



View Profile WWW
« Reply #19 on: December 08, 2009, 11:30:34 AM »

It's cool if I wait til you submit this and then generate my entry for the compo right?
Looking forward to some random fun!  Evil
Logged

Sos
Level 8
***


[cluck]


View Profile WWW Email
« Reply #20 on: December 08, 2009, 12:00:58 PM »

It's cool if I wait til you submit this and then generate my entry for the compo right?

Armmadillo themed?
Logged

Ed
Level 5
*****



View Profile WWW
« Reply #21 on: December 08, 2009, 01:39:36 PM »

It's cool if I wait til you submit this and then generate my entry for the compo right?

Armmadillo themed?

Wha? I mean, sure Smiley

Edit: Oh, I see that Armadillo-based names are popular...

Have you checked out WordNet by the way? Its an online database of words and info about them... grammar, categories, etc. You might be able to query it to find out nouns and verbs and stuff from input text (the titles).

Not exactly sure how it works, but maybe its of some interest

http://wordnet.princeton.edu/
« Last Edit: December 08, 2009, 01:45:02 PM by Ed » Logged

Sos
Level 8
***


[cluck]


View Profile WWW Email
« Reply #22 on: December 08, 2009, 02:07:53 PM »

Yeah, I seen Wordnet, that would fit my needs. But i don't think i would bother using that.

I have got a plan already considering text theft generation   Hand Thumbs Up LeftWell, hello there!
Logged

Ed
Level 5
*****



View Profile WWW
« Reply #23 on: December 08, 2009, 02:10:44 PM »

Yeah, I seen Wordnet, that would fit my needs. But i don't think i would bother using that.

I have got a plan already considering text theft generation   Hand Thumbs Up LeftWell, hello there!

Sure, might be a bit of a (n additional) monster for a 6 week deadline Smiley
Logged

Sos
Level 8
***


[cluck]


View Profile WWW Email
« Reply #24 on: December 08, 2009, 10:32:21 PM »

I arranged 75 tilesets Smiley
Logged

LazyWaffle
Guest
« Reply #25 on: December 09, 2009, 04:57:53 AM »

I had an idea like this a while ago, it was based on a player-input seed. I dubbed it impossible and moved on Smiley
Logged
Sos
Level 8
***


[cluck]


View Profile WWW Email
« Reply #26 on: December 09, 2009, 05:05:57 AM »

I had an idea like this a while ago, it was based on a player-input seed. I dubbed it impossible and moved on Smiley

I plan something more cruel than just seeding the randomizer with the game name, I want the game to be themed the way that people desire, or use some random crap and cheap optical illusions my sublimal hypnotic techniques to make the player believe that it is this way Tongue

PS I already arranged major randomness into tilesets, now i have to do the same with several sprites and general objects (what wil hopefully go faster, and I can focus on the generator.
« Last Edit: December 09, 2009, 05:11:07 AM by Sos » Logged

Sos
Level 8
***


[cluck]


View Profile WWW Email
« Reply #27 on: December 09, 2009, 01:11:23 PM »

I ahave tweaked my Tile arranger app, so it can be used to produce massive amounts of sprite .bmps with a single mosue click each. I jhave incorporated it with a single package with the Tile arranger Behold



You can see two previews in the screenshots:
The left one previes what's currently under the mouse, and will be selected after you click
The right one is the selected set, and will be saved when pressed enter


Instructions:
Setup:
1. Install to default dir (overwrite the old ones if it has to)
2. Agree on messing up your registry (i will post registry messup removal tips later on)
3. Right click on a PNG and you have two options now (object leech and tile arranger (see below))

Usage:
[Arrows] change size of sprite
[A S] change sheet margin
[Z] [X] change frame padding
[1] [2] change frame number (can get up to 32, will crash after that, sorry)
[TAB] Change saving directory
[Left click] select current sprite
[Right click] select mask colour (will be paintted to magic pink while saving]
[Mouse wheel and wheel click] - move / zoom the sheet
[space] change sprite picking mode, there are two:
1. Divides the sheet into tiles
2. Captures what's currently under the mouse cursor
[ENTER] Save current sprite.

When you pick the directory, it will create two files there (unless you already used that dir):
count.txt: keeps the current sprite number for generating file names
db.txt: saves some useful info about the file (in format: filename|width|height|frame_number|)

Then just click on sprites like mad, and press enter to save them (it will indicate that you did that)



OK, I made an application that can arrange tiles into uniform tilesets, so you don't have to write different code for each tileset.

It is a crucial tool for my VGG, and I will surely make more of these (for sprites and other stuff). Sharing is caring whatsoever, so with few usability tweaks it's ready to meet the public.

Setup:
DO NOT CHANGE THE INSTALL PATH, OR IT WILL NOT WORK!!!
Also, it will ask your permission to add stuff to your registry, say yes.
ps. it handles only png files (a subject to change it there's a demand)

Usage is as simple as that:

1. Open file using context menu


2. Arange tiles so that they match the mock-block yellow tiles

Pick a yellow mock-block tile with left mouse button and browse the tileset for appropriate tile.
Press TAB to toggle whether yellow tiles or tileset tiles should appear on top.

On the top-left you can see a preview of your yellow tile, and the tile that you are hovering your mouse above at the moment for reference. On the top-right you have a preview of full tileset, (switchable with tab, as I aid  before)

Some more keys:
Q W - change tile size
A S - change margin (top-left)
Z X - change tile padding (spacing)
Left mouse button - Select tile
Right mouse button - pick mask colour (this will be applied while saving)
Mouse wheel - zoom
Middle mouse button - hold and move the tileset about
Space - Preview (hold)
Enter - Save


3. Press Space to preview if it tile well


4. press enter to open the file save dialog


Do enjoy Smiley


PS I just produced 335 sprites in about 20 minutes.
« Last Edit: December 09, 2009, 02:16:44 PM by Sos » Logged

Sos
Level 8
***


[cluck]


View Profile WWW Email
« Reply #28 on: December 09, 2009, 04:47:28 PM »

I made a tool that let's people tag the assets so that they can be picked by a generator later on. Please contribute randomness tags if you have spare 30 seconds.



Feel free to use this tagging:
Browse tagged images
Sprites
Database
« Last Edit: December 09, 2009, 05:14:19 PM by Sos » Logged

SirNiko
Level 10
*****


View Profile Email
« Reply #29 on: December 09, 2009, 08:11:41 PM »

I'm visualizing something akin to Indy's Desktop adventures where the randomized features are pretty samey from game to game. Or will this be crazily random, to the point that you get nonsense (or impossible) combinations, maybe like ROM CHECK FAIL?

-SirNiko
Logged
Pages: 1 [2] 3 4
Print
Jump to:  

Theme orange-lt created by panic