These are chat archives for dukeayers/educationGame

26th
Feb 2015
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 01:21
Alright I just pushed the meteor changes, there are 6 now and they are selected at random. Still working on getting the background to scroll and also displaying a score
Duke Ayers
@dukeayers
Feb 26 2015 01:23
Looks dope Matt
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 01:23
Thanks bra
I can add more if you want, it is super easy
Duke Ayers
@dukeayers
Feb 26 2015 01:25
Nope, I think that looks fucking dope
Get that background scroll working and we will be good
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 02:34
Alright will do
Is someone working on a main menu? Basically after that and adding different equations I think we will have most of it done
Duke Ayers
@dukeayers
Feb 26 2015 03:21
^^
Pretty sure zac said he was
ZacDP
@ZacDP
Feb 26 2015 03:52
ya im working on it right now
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 21:51
Just pushed some small changes I made, details are in the commit. I noticed also that since implementing the main menu the game no longer removes the equations correctly from the screen when entering the correct equation?
Duke Ayers
@dukeayers
Feb 26 2015 23:03
yeah... I noticed this too
The game is broken at the moment, not sure what is going on
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:13
Changed a bunch of stuff. Added Multiplication.hx and Subtraction.hx to src. I did this because in Main.hx selecting a button (mult, add, sub) will call the correct file. I then changed those files so that subtraction has a "-" sign, and mult has a "x" sign. I did not change the actual math for them yet." I also added different call functions for the buttons on the main menu. Just need to add a credits screen and it should be good
That was my commit message but it broke so i posted it here
The game is still broken though
Duke Ayers
@dukeayers
Feb 26 2015 23:17
I can't get it to start on my computer right now
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:17
What is the error?
Duke Ayers
@dukeayers
Feb 26 2015 23:18
SWC library can't be found...
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:18
Check to see if you still have that starling1_6 patch
in vendor
Duke Ayers
@dukeayers
Feb 26 2015 23:19
that is a .swc file isn't it?
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:19
it should be
Duke Ayers
@dukeayers
Feb 26 2015 23:19
Yeah, I had to re add it again
something isn't right
this is pissing me off
copy/paste your code that is in your makefile
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:20
Just untrack it from git so that nobody messes it up for you

Last login: Thu Feb 26 15:14:16 on ttys003
mostovarpour:src mostovarpour$ ls
EndGame.hx Main.hx Root.hx SubGame.hx
Game.hx MultGame.hx Startup.hx TextInput.hx
mostovarpour:src mostovarpour$ vim SubGame.hx
mostovarpour:src mostovarpour$ vim MultGame.hx
mostovarpour:src mostovarpour$ ls
EndGame.hx Main.hx Root.hx Subtraction.hx
Game.hx Multiplication.hx Startup.hx TextInput.hx
mostovarpour:src mostovarpour$ vim Root.hx
mostovarpour:src mostovarpour$ vim Subtraction.hx
mostovarpour:src mostovarpour$ vim Multiplication.hx
mostovarpour:src mostovarpour$ vim Subtraction.hx
mostovarpour:src mostovarpour$ vim Multiplication.hx
mostovarpour:src mostovarpour$ vim Multiplication.hx
mostovarpour:src mostovarpour$ cd ..
mostovarpour:educationGame mostovarpour$ ls
Makefile assets bin game.xml vendor
README.md assets-src game.swf src
mostovarpour:educationGame mostovarpour$ vim Makefile

1 FLEX_SDK ?= /Users/mostovarpour/ApacheFlex
2
3 APP=game
4 APP_XML=$(APP).xml
5 ADL=$(FLEX_SDK)/bin/adl
6 AMXMLC=$(FLEX_SDK)/bin/amxmlc
7 SOURCES=src/*.hx
8
9 all: $(APP).swf
10
11 $(APP).swf: $(SOURCES)
12 haxe \
13 -cp src \
14 -cp vendor \
15 -swf-version 11.8 \
16 -swf-header 960:480:60:ffffff \
17 -main Startup \
18 -swf $(APP).swf \
19 -swf-lib vendor/starling.swc --macro "patchTypes('vendor/starling.patch')"
20
21 clean:
22 rm -rf $(APP).swf
23
24 test: $(APP).swf
25 $(ADL) -profile tv -screensize 960x480:960x480 $(APP_XML)
26
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
Makefile 1,1 All
"Makefile" 26L, 495C

Duke Ayers
@dukeayers
Feb 26 2015 23:21
nvm
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:21
Did you get it?
Duke Ayers
@dukeayers
Feb 26 2015 23:21
C:\HaxeToolkit\haxe\std/haxe/macro/Compiler.hx:236: characters 4-9 : Invalid type patch PK
C:\HaxeToolkit\haxe\std/haxe/macro/Compiler.hx:197: characters 2-5 : Called from
What the literal fuck is this grrr
gg
got it
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:22
Is your starling.patch and starling.swc
Oh nice
Duke Ayers
@dukeayers
Feb 26 2015 23:22
Let me look at who has altered the game file to determine what's going on
was it working when you committed your stuff?
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:23
Yea it is working for me, well it still isn't deleting the equations but yea
Duke Ayers
@dukeayers
Feb 26 2015 23:25
I mean, was it deleting equations for you when you committed your files yesterday? Before the main menu/sounds?
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:27
Yea it was
Drew how do you spell your last name?
Duke Ayers
@dukeayers
Feb 26 2015 23:30
Hmm
This is the weirdest thing...
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:30
Yea I took a quick look and I couldn't see where the problem is.
I think it has to do with not removing the children properly?
Duke Ayers
@dukeayers
Feb 26 2015 23:31
But it was working just fine before all the commits...
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:31
Yup
Duke Ayers
@dukeayers
Feb 26 2015 23:45
I've really got no idea man
FUCKING FOUND IT
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:46
SHUT THE FRONT DOOR
Nice an
man*
Duke Ayers
@dukeayers
Feb 26 2015 23:51
Holy shit
subtraction is hella hard
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:52
Haha yea
too many negatives
Duke Ayers
@dukeayers
Feb 26 2015 23:52
tsall good
Matthew Ostovarpour
@mostovarpour
Feb 26 2015 23:52
Working on the credit screen right now
Duke Ayers
@dukeayers
Feb 26 2015 23:52
Finishing the subtraction and multiplicaiton