Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411431 Posts in 69363 Topics- by 58417 Members - Latest Member: gigig987

April 20, 2024, 04:11:39 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsMoonQuest
Pages: 1 ... 77 78 [79] 80 81 ... 189
Print
Author Topic: MoonQuest  (Read 1320053 times)
eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #1560 on: May 18, 2013, 04:44:55 PM »

Choose your weapon! Shovel, pickaxe, axe, battle axe, flail, hammer, sword, crossbow, diresword, or autobow.

Logged

Kurt
Level 5
*****



View Profile
« Reply #1561 on: May 18, 2013, 05:13:31 PM »

I'll only be happy if the metal ball of the flail swings and has gravity.
Logged

poe
Guest
« Reply #1562 on: May 18, 2013, 05:25:21 PM »

Cookieface or eyebrows?
Logged
eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #1563 on: May 18, 2013, 05:45:03 PM »

kurtss: you expect too much from me!
poe: kookie face
Logged

gimymblert
Level 10
*****


The archivest master, leader of all documents


View Profile
« Reply #1564 on: May 18, 2013, 10:18:22 PM »

after kookieman can't wait for megaman and superman
but the cream is eigenbomman
Logged

happymonster
Level 10
*****



View Profile WWW
« Reply #1565 on: May 19, 2013, 01:41:02 AM »

Not so keen on the weapons myself, looking forward to more exploration type stuff. Smiley
Logged
:^)
Level 10
*****


wat a hell


View Profile WWW
« Reply #1566 on: May 19, 2013, 05:33:54 AM »

I'll only be happy if the metal ball of the flail swings and has gravity.

Read that as

"I'll only be happy if the metal ball of the flail swings and has depravity."

the first time. ha
Logged
eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #1567 on: May 22, 2013, 06:11:22 PM »

Update: Lots more work done: enemies now attack and chase you, objects can be attached to walls (see torches and arrows below), focus direction of humanoids can be different to walking direction (so e.g., you can be walking left but facing and shooting right).





Update2: Works on slopes too, that was a bit trickier..

« Last Edit: May 22, 2013, 07:01:13 PM by eigenbom » Logged

jO
Level 4
****


Adventure awaits!


View Profile WWW
« Reply #1568 on: May 23, 2013, 12:21:16 AM »

hahahahahaha thats awesome!
Logged

Quarry
Level 10
*****


View Profile
« Reply #1569 on: May 23, 2013, 06:22:31 AM »

How hacky did it end up being
Logged
eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #1570 on: May 23, 2013, 03:33:17 PM »

How hacky did it end up being

I actually spent a bit more time on it so it wasn't too hacky. An item in the world can be one of three types: projectile, free, or attached.

When a projectile item like the arrow collides with the world geometry I get a callback from Box2D. I then do a quick raycast to get the precise point of intersection, and from that determine the block that the projectile hit. The arrow projectile is then removed and an 'attached' arrow item (a static body) is created at the right position and attached to the block. The system keeps track of blocks that things are attached to, so that when the blocks are destroyed the attached items are unattached and become 'free' items (dynamic bodies). Attached items can also inhabit spaces, so e.g., you can't place a block in the space where a torch is. Also you can mouse-over an attached item to target it and then hit it; once it's health is zero it is destroyed and spawns the free version of itself.

So it took a couple of days but the whole approach is general enough to be used for other things down the line, like wall-mounted levers, grenades that explode on impact, or more complex scripted things like a projectile that drops fire or spiders on impact or something.
Logged

eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #1571 on: May 25, 2013, 11:54:00 PM »

Turned 32. Worked a little on Moon, Strange, and Charmed.

Logged

Belimoth
Level 10
*****


high-heeled cyberbully


View Profile
« Reply #1572 on: May 25, 2013, 11:55:07 PM »

Very nice, I especially like what you've done with Charmed.
Logged

eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #1573 on: May 25, 2013, 11:58:34 PM »

cheers bel, i originally was trying for faceted but it evolved into that. i have to be careful to stick to my simple aesthetic and not to make things too complex. Would also be cool to have Strange's eye follow you around.. Blink
Logged

Belimoth
Level 10
*****


high-heeled cyberbully


View Profile
« Reply #1574 on: May 26, 2013, 12:05:57 AM »

Yeah, and/or blink once every few minutes.
Logged

eigenbom
Level 10
*****


@eigenbom


View Profile WWW
« Reply #1575 on: May 26, 2013, 12:13:06 AM »

ooh that could be cool..
Logged

Franklin's Ghost
Level 10
*****



View Profile WWW
« Reply #1576 on: May 26, 2013, 12:36:07 AM »

Turned 32. Worked a little on Moon, Strange, and Charmed.



Those look really nice and go well with the moonman aesthetic. Like the blink and follow idea.

And happy 32nd birthday, you beat me by a few days. Turn 31 on wednedsay.

Logged

happymonster
Level 10
*****



View Profile WWW
« Reply #1577 on: May 26, 2013, 01:20:13 AM »

Happy Birthday! Like the new moons.. Smiley
Logged
Ashkin
Guest
« Reply #1578 on: May 26, 2013, 01:49:02 AM »

Agh, the thought of that moon staring down at me... Creepy. Especially if its eye started darting everywhere crazily, having a seizure, when you use your moon powers. And suddenly a bunch of other eyes opening on it and aaaaaaaagh Epileptic
Logged
rundown
Level 5
*****



View Profile WWW
« Reply #1579 on: May 27, 2013, 03:46:32 AM »

What will the eye focus on? The player? Would be fun to feel like you're being watched!  Blink
Logged

Pages: 1 ... 77 78 [79] 80 81 ... 189
Print
Jump to:  

Theme orange-lt created by panic