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

Login with username, password and session length

 
Advanced search

1286149 Posts in 56992 Topics- by 47923 Members - Latest Member: Buhhr

March 25, 2017, 01:41:45 pm

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsFeedbackDevLogsmoonman
Pages: 1 2 [3] 4 5 ... 185
Print
Author Topic: moonman  (Read 940645 times)
twobitart
Level 0
***



View Profile WWW
« Reply #40 on: October 19, 2011, 06:21:08 am »

decreased strut factor:


I like the little flick you get in his "hand" at the end of the walk cycle. And I totally love that the grass is affected by you as you walk. It's as if it's afraid of you stepping on it!
Logged

sabajt
Level 1
*



View Profile WWW Email
« Reply #41 on: October 19, 2011, 07:04:30 am »

decreased strut factor:


I like the little flick you get in his "hand" at the end of the walk cycle. And I totally love that the grass is affected by you as you walk. It's as if it's afraid of you stepping on it!

It better be afraid, because Moonman might zap it with his invisible laser vision.  At least that's what I think is going on here  Tongue
Logged

Belimoth
Level 10
*****


high-heeled cyberbully


View Profile
« Reply #42 on: October 19, 2011, 01:23:56 pm »

Oh, it's a laugh, is it? Big Laff I wasn't sure if he was looking skyward or trying to headbang. I guess that explains the shoulder movement.
Logged

rek
Level 7
**



View Profile
« Reply #43 on: October 19, 2011, 03:11:27 pm »

Trying using that darker shade of green under the chin when he tilts his head back, that should help clarify what his face is doing
Logged
eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #44 on: October 19, 2011, 07:50:27 pm »

Update: Finished the initial refactor of physics into the entity-system. Here's a

of a few spawned entities randomly jumping around. Still a few bugs in the physics system though.

@momeka,@twobit,@sabajit thx!
@rek cheers, i did a new version


Logged

MOONMAN devlog WWW FORUM
Pemanent
Level 3
***



View Profile Email
« Reply #45 on: October 19, 2011, 11:05:02 pm »

Quote
Niiice. The darker chin is sweet.
Logged

Montoli
Level 7
**


i herd u liek...?


View Profile WWW Email
« Reply #46 on: October 19, 2011, 11:34:59 pm »

Oh nice!  I love the random plant-life you've got going on there.  Particularly how the grass wiggles around when he walks by it.  Really cool ambiance!
Logged

www.PaperDino.com

I just finished a game!: Save the Date
You should go play it right now.
Ashkin
Guest
« Reply #47 on: October 20, 2011, 12:47:42 am »

Hehe, that grass is cute :3
Logged
Belimoth
Level 10
*****


high-heeled cyberbully


View Profile
« Reply #48 on: October 20, 2011, 08:31:41 am »

@rek cheers, i did a new version


Perfect.  Hand Thumbs Up Left Smiley
Logged

eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #49 on: October 20, 2011, 10:31:56 pm »

Thanks for the feedback peeps. Smiley

Update: Nothing tangible today, but got lots of scrawls on paper about the rendering system, sprites, batching, composing sprites into bigger sprites, sprite anchors and pivots, layers, parallax, lighting, tinting, caching chunks of terrain as textures, dynamic lighting, mashing together the data-driven system with rendering somehow, and how a sprite can be specified.

here's an example of the specification of a monster's head sprite, with three states, normal, laughing and dieing..
Code:
sprite {
version = 1, -- version of the moonman sprite engine
orientable = true, -- provide versions for facing forward, left and right
sprite_sheet = "monsters/undead", -- the sprite_sheet reference
states = {"nrml","laff","die0"}, -- fourCC codes for animation states
width = 8,
height = 10,
frames = {
nrml = {
F_FORWARD = frame {x=0,y=8,ax=4,ay=8},
F_LEFT = frame {x=8,y=8,ax=5,ay=8},
F_RIGHT = frame {x=0,y=16,ax=3,ay=8}
},
laff = {
F_FORWARD = animation {duration = 0.1, loop = true, frames = {{x=0,y=32,ax=4,ay=8}, {x=8,y=32,ax=4,ay=8}, {x=8,y=32,ax=4,ay=8}}},
-- etc
},
die0 = {}
}
}
Logged

MOONMAN devlog WWW FORUM
Cellusious Games
Level 0
***


Meows. Pixels.


View Profile WWW Email
« Reply #50 on: October 21, 2011, 04:36:23 am »

Take my money now  Hand Money Left

It's really cool, and i would like to be a tester if you need one.
Keep it up :D
Logged

https://twitter.com/Cellusious - Pixel Artist - Concept Artist - 3D modeler - Wannabe Coder - Wannabe Musician.
xoorath
Level 2
**


I make things.


View Profile WWW Email
« Reply #51 on: October 21, 2011, 06:30:51 am »

Do you think it's wise hard coding the frames in there?
I think it can be simple and time saving, but if you have a lot of sprites later it could get cumbersome...

Are you considering fixed width/height frames, or maybe even an editor?
Logged

eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #52 on: October 21, 2011, 04:08:57 pm »

@cellusious thx, i'll jot u down as a potential alpha tester Smiley

@xoorath This is kind of the file format, but meant to be human readable too. So if I ever get round to making a sprite editor, it will output a file like this. But I'll probably just make a sprite viewer and edit the script in real-time to see the effects in the sprite window.

I see what your saying about the awkwardness of specifying individual frames, but I'll counter that with have a number of shortcuts like
Code:
framestrip = {x=0, y=0, num=8}
which would abstract
Code:
frames = {{x=0,y=0},{x=8,y=0},{x=16,y=0}, ... }

I'd love to make an editor, but I think that modifying a script in any text editor (or any other resource) while viewing the results immediately in the game engine will be enough.
Logged

MOONMAN devlog WWW FORUM
namragog
Guest
« Reply #53 on: October 22, 2011, 02:24:23 pm »

I AM FOLLOWING THIS.
Logged
xoorath
Level 2
**


I make things.


View Profile WWW Email
« Reply #54 on: October 22, 2011, 08:35:02 pm »

@cellusious thx, i'll jot u down as a potential alpha tester Smiley

@xoorath This is kind of the file format, but meant to be human readable too. So if I ever get round to making a sprite editor, it will output a file like this. But I'll probably just make a sprite viewer and edit the script in real-time to see the effects in the sprite window.

I see what your saying about the awkwardness of specifying individual frames, but I'll counter that with have a number of shortcuts like
Code:
framestrip = {x=0, y=0, num=8}
which would abstract
Code:
frames = {{x=0,y=0},{x=8,y=0},{x=16,y=0}, ... }

I'd love to make an editor, but I think that modifying a script in any text editor (or any other resource) while viewing the results immediately in the game engine will be enough.

Fair enough. I'm designing a few things like this too. It has it's benefits. =]
Logged

eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #55 on: October 22, 2011, 10:51:38 pm »

Update: I've decided to go with simple Lua-style files for specifying resources, such as sprites. The main reason is that I'm already using Lua for scripting, so it requires not much effort on my behalf (as opposed to using e.g., json, yaml, or xml). By using a Lua subset, it should be easy enough to parse if you don't have a lua interpreter.

An example sprite definition file is below:

Code:
-- resources/entities/monsters/jelly/sprite.lua
sprite {
name = "jelly_idle1",
sprite_sheet = "entities/monsters/jelly/jelly.png",
width = 8,
height = 8,
animated = true,
loop = true,
duration = 0.1, -- duration of each frame
frames = {{x=0,y=0,ax=4,ay=8},{x=8,y=0,ax=4,ay=8},{x=16,y=0,ax=4,ay=8},{x=24,y=0,ax=4,ay=8}}
}

sprite {
name = "jelly_idle2",
sprite_sheet = "entities/monsters/jelly/jelly.png",
width = 8,
height = 8,
animated = true,
loop = true,
duration = 0.1,
framestrip = {x=0,y=0,ax=4,ay=8,num=4}
}

sprite {
name = "jelly_shock",
sprite_sheet = "entities/monsters/jelly/jelly.png",
width = 8,
height = 8,
frame = {x=32,y=0,ax=4,ay=8}
}

This is simultaneously a readable specification and legit Lua code (which executes the sprite callback three times with different parameters.) On the c++ side, we can call lua_dofile on this file (which executes it), setting sprite to be whatever function we want. For example, a resource listing tool might declare sprite to just print out its arguments, whereas the main game will declare sprite to register the sprite with the game and load the sprite_sheet image into memory.

footnote: Storing data as Lua code is described in more detail in Programming In Lua 2nd Ed.
Logged

MOONMAN devlog WWW FORUM
eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #56 on: October 23, 2011, 01:29:09 am »

jelly jump!
Logged

MOONMAN devlog WWW FORUM
Ashkin
Guest
« Reply #57 on: October 23, 2011, 01:53:38 am »

jelly jump!
That animation. It's... It's perfect. <3
Logged
eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #58 on: October 23, 2011, 11:46:01 pm »

mini update

Worked today, so couldn't do much on moonman. I'll try to keep this devlog kicking by showing whatever little bits and pieces I've been doing, however lame. So without further ado, two dogs and some dying mini-jelly tests ..


Logged

MOONMAN devlog WWW FORUM
BlueSweatshirt
Level 10
*****

the void


View Profile WWW
« Reply #59 on: October 24, 2011, 02:19:59 am »

I love this!  Grin

Your animation is charming.  Smiley
The laughing/head bobbing slightly disturbs me though.


Nonetheless, I look forward to playing this.
Logged

Pages: 1 2 [3] 4 5 ... 185
Print
Jump to:  

Theme orange-lt created by panic