These are chat archives for cjgendron/dragons-lair

15th
Oct 2014
qwaszxlll
@qwaszxlll
Oct 15 2014 00:05
change the spawn coeff for each individual camp if you want to increase spawn time
right now it's at 12 but u can raise it
Cathleen Gendron
@cjgendron
Oct 15 2014 00:36
Our design changelog is empty. I can backtrack through our trello board and try to reconstruct it. I'll just have to guess for the dates.
Mikhail Rudoy
@Mikhail-Rudoy
Oct 15 2014 01:28
hey guys; is anyone getting music done? It's not on trello, so I can't tell if it's in progress or not. I can try to find something online thats fitting and that we can legally use if no one's on that yet.
Mikhail Rudoy
@Mikhail-Rudoy
Oct 15 2014 02:00
The project is due tomorrow. Who is working on it right now?
Žygimantas Stražnickas
@zygi
Oct 15 2014 02:01
I'm rebuilding the GUI
Mikhail Rudoy
@Mikhail-Rudoy
Oct 15 2014 02:01
how close to done is that?
Žygimantas Stražnickas
@zygi
Oct 15 2014 02:01
not that close
Mikhail Rudoy
@Mikhail-Rudoy
Oct 15 2014 02:01
ok
Žygimantas Stražnickas
@zygi
Oct 15 2014 02:02
because the current UI is built with the old system, I need to rewrite it to use the new system to stylize it properly
Roy Wedge
@rwedge
Oct 15 2014 02:06
i'm working on the game over menu. Currently it's just going to be the gold, infamy, and dragon level
Žygimantas Stražnickas
@zygi
Oct 15 2014 02:13
I just edited the screen bounding box (moved it to a separate object). If anyone is changing the game scene, pull before making any big changes
Mikhail Rudoy
@Mikhail-Rudoy
Oct 15 2014 02:19
There's a bug where playing the game multiple times has the buildings maintain their spawn rates between playthroughs
Žygimantas Stražnickas
@zygi
Oct 15 2014 02:22
are the spawn rates static variables?
Unity should destroy and recreate all objects (and all script instances) on scene change
Mikhail Rudoy
@Mikhail-Rudoy
Oct 15 2014 02:25
I don't know
try playing several times
deal damage to a castle each time
they start spawning like crazy after a few playthroughs
Žygimantas Stražnickas
@zygi
Oct 15 2014 02:37
can someone else fix that? I'm really busy with the gui
qwaszxlll
@qwaszxlll
Oct 15 2014 02:41
i also had a friend help do some art potentially for a startup page, @lizrita if you want to use it to save time you can just draw a background and color it in
or find a background
at this point we should just take graphics from online if it doesn't present a copyright issue
i'm not sure where the spawn bug is coming from, i wrote all that code and replaying should restart all teh variables at their starting values
Žygimantas Stražnickas
@zygi
Oct 15 2014 02:51
Is anyone working with the game scene?
I don't think we necessarily need music but I could try and find free music as well
Roy Wedge
@rwedge
Oct 15 2014 02:53
i want to add an empty scene object to gamescene real quick so i can send values to another scene
lizrita
@lizrita
Oct 15 2014 02:53
I had a class from 7-10pm so sorry about not responding during that time
Roy Wedge
@rwedge
Oct 15 2014 02:58
ok if i push my changes to gamescene?
Žygimantas Stražnickas
@zygi
Oct 15 2014 02:59
sure
I'll merge everything when I'm done with the gui
lizrita
@lizrita
Oct 15 2014 03:06
I just uploaded two mp3's that I think would make decent background music for the game
Those are royalty free as well
Žygimantas Stražnickas
@zygi
Oct 15 2014 03:16
Does each building still have food, gold and population?
Žygimantas Stražnickas
@zygi
Oct 15 2014 03:22
and how are farms different from castles now?
Žygimantas Stražnickas
@zygi
Oct 15 2014 03:28
sorry to spam, but I need to know this to do the gui properly.
qwaszxlll
@qwaszxlll
Oct 15 2014 03:34
what dou mean
if you look at the stats you'll see
so this is the way i've set it up

Farms:

Can Attack: No
Player Can Steal Food: Yes
Spawn Champions: No
Population: Low
Food: Medium

Villages:

Can Attack: Yes
Player Can Steal Food: No
Spawn Champions: Yes
Population: Medium-High
Food: Low
qwaszxlll
@qwaszxlll
Oct 15 2014 03:39

all buildings are completely looted when destroyed, so the player takes all food stored in the structure. This creates the tradeoff for farms where the player has to choose to raid the farm or take all the food at once. Regen rate for population and food are also based off of existing amounts, I think
Žygimantas Stražnickas
@zygi
Oct 15 2014 03:39
which building stats do we want to display? There's food, population, attack, armor, gold rate, spawn rate
and displaying all of them is probably too much info
qwaszxlll
@qwaszxlll
Oct 15 2014 03:40
so we want to show food, population, and spawn timer
which is currently adjusted to display on a timer of 1-20
with about 1 tick per 2-3 seconds
Žygimantas Stražnickas
@zygi
Oct 15 2014 03:41
oh, sorry, didn't notice your recent gui changes
thanks
qwaszxlll
@qwaszxlll
Oct 15 2014 03:41
but at the same time, we could denote population by health, so maybe omit population and just have food and spawn timer
no problem
i'm about to create a public variable for range so that i can adjust it based on the sprite size
in the game scene
Mikhail Rudoy
@Mikhail-Rudoy
Oct 15 2014 03:43
I don't know if you guys agree, but I think gold might be more important than the spawn timer for the player
Žygimantas Stražnickas
@zygi
Oct 15 2014 03:44
but we don't have gold anymore, we have goldRate. How would we display a float variable nicely?
lizrita
@lizrita
Oct 15 2014 03:51
(when I said uploaded, I meant to the drive, not the GitHub. I can't implement these and could only scour the internets for them, so it would be useful for someone to implement sound.)
Also, do we know if we need slides for a presentation tomorrow?
qwaszxlll
@qwaszxlll
Oct 15 2014 03:54
i have rounders on GUI display for all teh variables
takes the floor of all the floats
we can have an internal amount of gold that gets stolen, similar to farms
but i don't think it's necessary
it'd just be nice to have a gold coins pop out of the castle when attacking it so the player knows they're getting gold. Also if we can have a damage animation or indicator to show when the player is being attacked
this will help a lot with game clarity which i found to be a problem
Žygimantas Stražnickas
@zygi
Oct 15 2014 03:56
yup, I'll add the visual indicators
qwaszxlll
@qwaszxlll
Oct 15 2014 03:59
could just be numbers popping up
red for damage
yellow for gold
like
-10, +10 etc
also can someone modify the dragon's attack range calculation so that it targets the castles when he is within the castle's attack range (3 from center) without changing the dragon's attack range itself?
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:06
okay, I'm trying to merge the initial gui changes
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:14
@rwedge did your commit change anything in the scene other than the highscore object?
qwaszxlll
@qwaszxlll
Oct 15 2014 04:15
umm
oh that's not me lol
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:17
@qwaszxlll your script changes merged successfully, but I had to override your GameScene and Village.prefab changes
can anyone pull and verify that the new gui system is working?
lizrita
@lizrita
Oct 15 2014 04:19
i can if you want
here's a screencap: http://i.imgur.com/nEFl3mB.jpg
I don't see any damage indicators or gold popups
lizrita
@lizrita
Oct 15 2014 04:24
and there's a helloworld off to the left there
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:24
still working on them
lizrita
@lizrita
Oct 15 2014 04:25
ok
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:28
10/15 Prototypes: Digital game prototypes must be hosted on an external server and
accessible via a web link, posted to Stellar (links to files stored in personal Athena accounts are
acceptable). The following builds must be accessible and playable within the latest Chrome
browser (with assistance from plug­ins where applicable):
❖ Final build
❖ Build used during external playtest (pictures of paper prototype or link to playable digital
prototype)
❖ Build used during in­class testing on 10/8
❖ Any additional builds used for testing and referred to in focus test reports, clearly labeled
by date of build creation.
is there an icon for infamy?
qwaszxlll
@qwaszxlll
Oct 15 2014 04:39
awesome, I'll take a look
i don't know if there is an icon for infamy
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:43
or are we displaying infamy as baby dragon -> dragon -> big dragon?
qwaszxlll
@qwaszxlll
Oct 15 2014 04:45
that was the initial intention but we may not have time
is there a way to make the stats transparent?
currently they're covering up units
Cathleen Gendron
@cjgendron
Oct 15 2014 04:46
I've filled out the design changelog. Since we had a really good grasp from the beginning I couldn't come up with too many changes. If someone wants to add something please do.
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:46
i'll add the design changes
the UI changes
*
Cathleen Gendron
@cjgendron
Oct 15 2014 04:46
okay great
thank you
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:48
We need to decide who
  • is doing the presentation tomorrow
  • is going to host all the game versions online and submit it
qwaszxlll
@qwaszxlll
Oct 15 2014 04:51
i'm editing the gamescene now
so the map adheres to a standard viewport
can we change the timer to a clock symbol
rather than a sword, cuz it makes me think of attack rather than spawn time
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:52
sure
lizrita
@lizrita
Oct 15 2014 04:58
is the sound implemented yet? it's a requirement of the project.
Žygimantas Stražnickas
@zygi
Oct 15 2014 04:59
no
Žygimantas Stražnickas
@zygi
Oct 15 2014 05:04
Someone should definitely start working on sound now
qwaszxlll
@qwaszxlll
Oct 15 2014 05:20
should we work on a separate scene to buy stuff
i think switching scenes automatically pauses the current scene
Žygimantas Stražnickas
@zygi
Oct 15 2014 05:20
we should cut buying stuff
qwaszxlll
@qwaszxlll
Oct 15 2014 05:20
if someone can look into that
so what should we do with gold then
Žygimantas Stražnickas
@zygi
Oct 15 2014 05:20
no idea
qwaszxlll
@qwaszxlll
Oct 15 2014 05:21
can we at least have a popup that allows the user to use gold to buy armor, health, max health, or attack?
or speed
Žygimantas Stražnickas
@zygi
Oct 15 2014 05:21
but since many of us have lectures in the morning, we realistically have about three hours of working time left
if someone can claim the task, great
qwaszxlll
@qwaszxlll
Oct 15 2014 05:32
i guess I'll work on it
Žygimantas Stražnickas
@zygi
Oct 15 2014 05:47
@rwedge is the game over screen close to being done?
@qwaszxlll how close you are to merging the GameScene changes?
Roy Wedge
@rwedge
Oct 15 2014 05:49
the highscore object transitions to the DeadScene correctly, but I can't figure out how to dynamically generate UI Text like we used for the start screen
Žygimantas Stražnickas
@zygi
Oct 15 2014 05:51
put it in as a scene object,
Text text = GameObject.Find("objectName").GetComponent<Text>(); text.text = someSortOfNumber.ToString();
qwaszxlll
@qwaszxlll
Oct 15 2014 05:52
yeah let me merge
Žygimantas Stražnickas
@zygi
Oct 15 2014 05:54
when did our second playtesting session take place?
qwaszxlll
@qwaszxlll
Oct 15 2014 05:57
ok i just merged
that was supposed to be this weekend
i think
on our own
Žygimantas Stražnickas
@zygi
Oct 15 2014 05:58
yup, but we had to submit a report for the second session
I'm editing the design changelog and want to stay consistent with the dates
Roy Wedge
@rwedge
Oct 15 2014 05:59
ok, a really sad game over screen exists now
i need to fix a bug where the lair being destroyed doesn't bring you to the game over screen though
qwaszxlll
@qwaszxlll
Oct 15 2014 06:00
@shilingas can you make a GUI update so that camps and castles show attack and spawn time, and the spawn time icon is the clock icon i just added? if we don't want attack we can just put the spawn time, up to u
can we also change the food icon to the tbone steak
nom nom nom
Žygimantas Stražnickas
@zygi
Oct 15 2014 06:01
:D sure
did you change the transparency of the gui box?
Roy Wedge
@rwedge
Oct 15 2014 06:04
what function did you guys use to round floats to whole numbers?
Žygimantas Stražnickas
@zygi
Oct 15 2014 06:04
(int) floatNum
aka cast to int
is anyone still up and not busy?
qwaszxlll
@qwaszxlll
Oct 15 2014 06:07
i did change transparency
i'm up but working on this lolol
Žygimantas Stražnickas
@zygi
Oct 15 2014 06:07
we still need sound and a tutorial screen
qwaszxlll
@qwaszxlll
Oct 15 2014 06:11
i know
fck
Žygimantas Stražnickas
@zygi
Oct 15 2014 06:11
i'll do the tutorial
just pushed a change to GameScene
qwaszxlll
@qwaszxlll
Oct 15 2014 06:18
i merged but there are some annoying conflicts
fck
what is YAML
Žygimantas Stražnickas
@zygi
Oct 15 2014 06:18
a markup language
but I don't think it's used in unity?
qwaszxlll
@qwaszxlll
Oct 15 2014 06:19
it says unable to parse YAML file
Žygimantas Stražnickas
@zygi
Oct 15 2014 06:19
which file?
qwaszxlll
@qwaszxlll
Oct 15 2014 06:22
fixed
wait so the lines u added
public GameObject minusOneHealthPrefab;
in dragon
oh wait nvm i got confused
Roy Wedge
@rwedge
Oct 15 2014 06:32
ok, so i got the game over screen working
merge time?
Žygimantas Stražnickas
@zygi
Oct 15 2014 06:33
It shouldn't be too difficult if you didn't change the GameScreen
@rwedge after you merge can you also take care of the start screen (title, intro text, mini tutorial)?
I'll do sound
Žygimantas Stražnickas
@zygi
Oct 15 2014 06:57
Merged some very basic sound effects
Roy Wedge
@rwedge
Oct 15 2014 07:05
i pushed the game over screen
qwaszxlll
@qwaszxlll
Oct 15 2014 07:10
after i merged, dragon no longer attacks objects
did u have this problem in your build?
do you have an audio variable
like a public one
Žygimantas Stražnickas
@zygi
Oct 15 2014 07:12
?
qwaszxlll
@qwaszxlll
Oct 15 2014 07:14
nvm for some reason my gamescene didn't update the audio source
is there a way to make the flames louder
they're reallyy quiet
Žygimantas Stražnickas
@zygi
Oct 15 2014 07:15
is the volume slider at 1?
if it is, then probably not
Roy Wedge
@rwedge
Oct 15 2014 07:16
it looks like the Dragon script has a merge conflict
i'm pushing a fixed version
Roy Wedge
@rwedge
Oct 15 2014 07:26
how did you fix the no flames / sound bug?
qwaszxlll
@qwaszxlll
Oct 15 2014 07:32
i fixe dthe script
im going to make a pause and upgrade menu
lizrita
@lizrita
Oct 15 2014 08:58
hm, there seem to be transparancy issues on the .png
Would it be easier to change the background from blue to white or for me to edit the infamy dragon images?
(on the ending page)
(I think it would look better if it wasn't blue also)
ill start editing the dragon transparency for now
Roy Wedge
@rwedge
Oct 15 2014 09:01
try changing the background field in main camera
lizrita
@lizrita
Oct 15 2014 09:13
how finicky is github about images? like, can i just replace the image without issues or should i just add the new dragons under different names to prevent weird merge conflicts?
lizrita
@lizrita
Oct 15 2014 09:24
okei well i changed stuff cautiously bc im scared of github merging bs
qwaszxlll
@qwaszxlll
Oct 15 2014 09:29
if you just replace it should be fine
unless we edit it
lizrita
@lizrita
Oct 15 2014 09:32
well i just made new images ;p
the game looks good, even if its a bit hard heheh
qwaszxlll
@qwaszxlll
Oct 15 2014 09:32
liz
can u trace these images for me
and make them our style
lizrita
@lizrita
Oct 15 2014 09:32
ok
i'm working on the upgrade page
Roy Wedge
@rwedge
Oct 15 2014 09:37
can anyone replicate that infamy on the game over screen is only correct if the dragon dies instead of the lair?
lizrita
@lizrita
Oct 15 2014 09:45
you're right
that happened to me as well
lizrita
@lizrita
Oct 15 2014 09:54
added the traced images to the gui folder @qwaszxlll
lizrita
@lizrita
Oct 15 2014 10:01
im probably going to bed soon. do we know if anyone claimed presenting and/or hosting the project?
also do we need slides ._.
qwaszxlll
@qwaszxlll
Oct 15 2014 10:07
awesome
i don't really feel like presenting
i've coded a lot
can u push
lizrita
@lizrita
Oct 15 2014 10:16
oops
mb thought i pushed already
lizrita
@lizrita
Oct 15 2014 10:22
ok ill be up too early to think about and check if anyone's claimed presenting by then
good job, though, everyone~ it's a pretty solid game.
qwaszxlll
@qwaszxlll
Oct 15 2014 10:25
yup yup
gj all
Roy Wedge
@rwedge
Oct 15 2014 10:47
well i might spend a little more time bashing this lair vs dragon problem but after that i'm probably sleepig
Žygimantas Stražnickas
@zygi
Oct 15 2014 11:46
morning
I can host
qwaszxlll
@qwaszxlll
Oct 15 2014 13:36
what's the lair vs dragon problem
Žygimantas Stražnickas
@zygi
Oct 15 2014 14:47
hey
a very important question
does anyone have a laptop that doesn't have unity 4.6 beta installed?
qwaszxlll
@qwaszxlll
Oct 15 2014 14:51
on another note, i finished almost all the audio
if someone could just go in and do a crumbling sound when you destroy a structure and a cow moo or horse neigh or something when you raid a farm, that would be awesome
Žygimantas Stražnickas
@zygi
Oct 15 2014 14:55
Try visiting http://mit.edu/zygi/www/playtest1/playtest1.html with a computer that doesn't have unity beta installed
When exporting I got a very scary sounding error message that said that only computers with beta installed will be able to play the web version of the game
I really need to verify this
Or disprove this. Yeah, disproving it would be much better.
qwaszxlll
@qwaszxlll
Oct 15 2014 14:58
i can't help sorry, i have unity eta
beta
can you host my last commit
it's a potential final version
31eb2ac
or i can do it later
im about to head to lunch
you guys please figure out the rest, i need to write my postmortem
Žygimantas Stražnickas
@zygi
Oct 15 2014 15:19
Okay
It would be really great if someone could load the page with a computer that doesn’t have unity 4.6 beta installed
and see if it works
lizrita
@lizrita
Oct 15 2014 15:56
the page just crashes for me?
does anyone want to present? x.x
I guess I'll put together a presentation
but can someone figure out why the hosted game is just crashing when i open it?
lizrita
@lizrita
Oct 15 2014 16:06
also caleb isnt in the credits at the bottom
lizrita
@lizrita
Oct 15 2014 16:23
added a postmortem presentation to the deliverables folder
please look at it and tell me if im being silly about something
Žygimantas Stražnickas
@zygi
Oct 15 2014 16:31
what os are you using/ do you have 4.6 installed?
lizrita
@lizrita
Oct 15 2014 16:32
I do have 4.6 installed. it might be my computer having issues?
let me try and test it on another computer
its weird it like crashes your page and the gitter o.O
ok
it works on a computer without 4.6
mine is just having issues D':
Žygimantas Stražnickas
@zygi
Oct 15 2014 16:34
fuck. I was afraid it would crash for users that don’t have 4.6 installed. Now apparently it crashes for people who do.
oh
then everything’s mostly ok
lizrita
@lizrita
Oct 15 2014 16:35
its ok! hahahaha ill have to look at my computer later ;-; but yeah thanks for hosting it
Žygimantas Stražnickas
@zygi
Oct 15 2014 16:36
the crashes might be happening because we’re using a not-really-stable beta
or because Unity web player is shit in general
both of these cases are equally likely
lizrita
@lizrita
Oct 15 2014 16:37
k so I'm leaving for class now
please look over the presentation everyone!
Žygimantas Stražnickas
@zygi
Oct 15 2014 16:38
Re: For the Future slide
organizing meetings and dealing with tasklists are scrum master jobs, not project manager
lizrita
@lizrita
Oct 15 2014 16:39
ok i will change that
Žygimantas Stražnickas
@zygi
Oct 15 2014 16:42
@lizrita one more question - was the computer without 4.6 that ran the game a windows or a mac?
lizrita
@lizrita
Oct 15 2014 16:52
windows
also, the pause screen shows only the baby dragon infamy level
for me
qwaszxlll
@qwaszxlll
Oct 15 2014 16:53
can we load this new commit
e0f05fb
yeah i fixed the pause screen
hopefully