phoenixeliot
d388975217
Fix unescaped HTML in goal descriptions
2016-07-29 16:21:13 -07:00
phoenixeliot
4af822d13a
Revert "Add game UI programming language label"
...
This reverts commit b7f916116d
.
Some heights in gameplay were made worse by this; needs some more work.
2016-07-29 11:23:42 -07:00
phoenixeliot
dd66a8c252
Add detection of HTML/CSS/JS comments for entrypoints
2016-07-28 15:10:01 -07:00
Nick Winter
d77625bc77
Game dev levels ( #3810 )
...
* Tweak API doc behavior and styling
* Instead of moving to the left during active dialogues, just move to the top
* Allow pointer events
* Adjust close button
* Re-enable pinning API docs for game-dev and web-dev levels
* Make sidebar in PlayGameDevLevelView stretch, better layout columns
* Set up content of PlayGameDevLevelView sidebar to scroll
* Add rest of PlayGameDevLevelView sidebar content, rework what loading looks like
* Finish PlayGameDevLevelView
* Add share area below
* Cover the brown background, paint it gray
* Tweak PlayGameDevLevelView
* Have progress bar show everything
* Fix Surface resize handling
* Fix PlayGameDevLevelView resizing incorrectly when playing
* Add GameDevVictoryModal to PlayGameDevLevelView
* Don't show missing-doctype annotation in Ace
* Hook up GameDevVictoryModal copy button
* Fix onChangeAnnotation runtime error
* Fix onLevelLoaded runtime error
* Have CourseVictoryModal link to /courses when course is done
* Trim, update CourseDetailsView
* Remove last vestiges of teacherMode
* Remove giant navigation buttons at top
* Quick switch to flat style
* Add analytics for game-dev
* Update Analytics events for gamedev
* Prefix event names with context
* Send to Mixpanel
* Include more properties
* Mostly set up indefinite play and autocast for game-dev levels
* Set up cast buttons and shortcut for game-dev
* Add rudimentary instructions when students play game-dev levels
* Couple tweaks
* fix a bit of code that expects frames to always stick around
* have PlayGameDevLevelView render a couple frames on load
* API Docs use 'game' instead of 'hero'
* Move tags to head without combining
* Add HTML comment-start string
Fixes missing entry point arrows
* Fix some whitespace
2016-07-28 13:39:58 -07:00
Matt Lott
b7f916116d
Add game UI programming language label
2016-07-28 12:00:52 -07:00
Rob
b7fcaa50a6
Change keyword autocomplete logic.
2016-07-27 16:37:57 -07:00
Scott Erickson
8117a000c1
Fix PlayLevelView race condition typo
2016-07-26 10:38:15 -07:00
Nick Winter
ea61499a10
Add Done button hotkey
2016-07-22 17:59:32 -07:00
phoenixeliot
cac87559c6
Remove frequent console logs in web levels
2016-07-22 10:43:08 -07:00
phoenixeliot
f9d0adaca6
Fix levelType refactor
2016-07-22 10:43:08 -07:00
Matt Lott
01679982d5
Remove intro/overview from guide game menu
...
Unless picoCTF
Will show guide option if non-course and help videos.
2016-07-21 11:11:11 -07:00
phoenixeliot
2ebf94c3db
Combine extracted script/style tags
2016-07-20 17:20:21 -07:00
phoenixeliot
f28c17c9bf
Fix spacing to be consistent
2016-07-20 15:47:20 -07:00
phoenixeliot
62813e41a3
Extract styles and scripts
2016-07-20 15:44:01 -07:00
phoenixeliot
58284dff33
Turn on Ace HTML worker for syntax errors
2016-07-19 11:30:02 -07:00
Nick Winter
6e65171a83
i18n, comments, misc cleanup
2016-07-17 00:53:17 -07:00
Nick Winter
b04e968da5
Add support for CSS docs
2016-07-16 23:17:05 -07:00
Nick Winter
5d0b9c875a
Fix some typos that made it not work in Firefox (not sure how it worked in Chrome)
2016-07-16 13:32:54 -07:00
Nick Winter
0cd3278b8f
Add simple ImageGalleryView for some sample images in web-dev levels
2016-07-16 13:11:43 -07:00
Nick Winter
b64bcd9f02
Use shareable false/true/'project' for different levels of shareability
2016-07-15 23:26:43 -07:00
Nick Winter
6ae89e31f1
Add direct link to play game/web-dev creations while coding them
2016-07-15 22:14:25 -07:00
Nick Winter
5d26b03918
Add buttons to view game/web-dev levels to courses views
2016-07-15 21:57:04 -07:00
Nick Winter
5f95a4d158
Play game-dev levels without API restrictions. Show game button in CourseDetailsView only when appropriate.
2016-07-15 20:47:09 -07:00
Nick Winter
224ad54bdd
View web dev levels. Add proper victory modal game/webpage share links. Fix playing game dev levels. Add generic change transition to all web-dev pages.
2016-07-15 20:03:12 -07:00
Scott Erickson
0570644943
Set up a bunch of game dev, web dev playing logic
2016-07-15 16:57:39 -07:00
Nick Winter
788a14398a
Fix starting web dev levels
2016-07-15 16:22:33 -07:00
Scott Erickson
ab704a1cab
Merge remote-tracking branch 'origin/web-dev-levels' into game-dev-levels
...
# Conflicts:
# app/views/play/level/PlayLevelView.coffee
2016-07-15 16:01:57 -07:00
Scott Erickson
10ca59d10f
Have CourseVictoryModal used for course-ladder levels
2016-07-15 15:54:22 -07:00
Nick Winter
9be8151959
Don't create God for web-dev levels
2016-07-15 13:24:54 -07:00
Nick Winter
5a688e42c7
Slightly more flexible iframe origin checking
2016-07-15 11:19:22 -07:00
Nick Winter
1e89775486
Basic campaign mode victory modal hookup for web-dev levels
2016-07-15 09:53:16 -07:00
Nick Winter
739973cb47
Sending goal states to GoalManager and GoalStatusView
2016-07-15 09:11:36 -07:00
Nick Winter
c44c16e5d2
Started implementing web-dev goals
2016-07-15 00:40:32 -07:00
Nick Winter
e3670165e7
Remove code for multiple spells; rename SpellListTabEntryView to SpellTopBarView; remove hero avatar from SpellTopBarView
2016-07-14 22:43:25 -07:00
Nick Winter
220db3106c
Run button now recreates web-dev DOM; no submit button
2016-07-14 19:48:27 -07:00
Nick Winter
33ba3f6033
Enable docs for web-dev levels
2016-07-14 19:14:18 -07:00
Nick Winter
ed320a8d9e
WebSurfaceView now parsing player code through virtual DOM into iframe
2016-07-14 18:07:36 -07:00
Scott Erickson
9d0ad7af44
Start work on having course arenas use the CourseVictoryModal
2016-07-14 16:50:17 -07:00
Scott Erickson
9a79cae09d
Fix PlayGameDevLevelView to run in course mode
2016-07-14 16:49:48 -07:00
Scott Erickson
61caf3dcd3
Merge branch 'master' into game-dev-levels
2016-07-14 15:50:04 -07:00
Scott Erickson
0cb92582f4
Add destroy method
2016-07-14 15:13:02 -07:00
Nick Winter
16b10612b6
Stub WebSurface showing for web-dev levels
2016-07-14 12:34:22 -07:00
Nick Winter
c5c831c211
Remove real-time multiplayer prototype code
2016-07-14 10:26:09 -07:00
Nick Winter
349ab24da7
First pass at adding 'web-dev' level type
2016-07-14 09:38:45 -07:00
Nick Winter
c0a70cb2ab
Refactor level type checks for easy greppability (level.isType)
2016-07-14 08:58:43 -07:00
Nick Winter
87ed53b24b
Merge branch 'master' into web-dev-levels
2016-07-14 08:26:27 -07:00
Scott Erickson
b982f3fd52
Fix Camera bounds by adding ScriptManager
2016-07-13 16:05:41 -07:00
Scott Erickson
4a51045a41
Fix PlayGameDevLevelView when playing the first time, get frames streaming
...
For whatever reason, the Angel does not normally allow streaming on the first world.
I hacked around it, but would be good to figure out why that restriction is there
in the first place.
2016-07-13 16:05:41 -07:00
Scott Erickson
c9986ee05a
Tweak Promises in PlayGameDevLevelView
2016-07-13 16:05:41 -07:00
Scott Erickson
d7a2219b16
Refactor PlayGameDevLevelView to use promises
2016-07-13 13:28:54 -07:00
Scott Erickson
1b7ac76b9f
Add loading and playing to PlayGameDevLevelView
2016-07-13 11:43:25 -07:00
Nick Winter
872e83e9b7
Don't use course hero in verifier / level editor for type: 'course' level
2016-07-13 10:04:43 -07:00
Scott Erickson
3a0695f59c
Add some basic info to PlayGameDevLevelView
2016-07-12 15:12:11 -07:00
Scott Erickson
25e348c5ad
Initial, basically working PlayGameDevLevelView
2016-07-12 14:07:10 -07:00
Scott Erickson
0b1e1ddcb4
Merge branch 'game-dev-levels'
2016-07-12 11:00:29 -07:00
Matt Lott
f8a67ace0e
Remove items from course victory dialog
2016-07-11 16:01:34 -07:00
Matt Lott
16c9f10043
🐛 Fix course victory dialog level progress counts
...
Use classroom versioned levels instead of latest course levels.
Use current level session instead of stale one.
2016-07-11 13:28:52 -07:00
Nick Winter
a5a955ca6b
Always show indent guides
2016-07-11 08:35:44 -07:00
Nick Winter
8c48e4fc14
Remove transpiledCode and screenshot from LevelSession
2016-07-08 17:04:24 -07:00
Scott Erickson
f5c9be4831
Merge branch 'master' into game-dev-levels
2016-07-08 14:26:48 -07:00
Scott Erickson
b2bb129cbf
Add realTimeInputEvents to world and gameUIState, with just mousedown events
2016-07-08 14:17:07 -07:00
Scott Erickson
10d344504a
Add check to TomeView
...
Found a bug while playing Ogre Encampment: click the Chest before clicking past the
intro screen and the game throws an error, when `updateSpellPalette` tries to access
call `spell.getSource()` but `spell` is undefined. This check keeps the same behavior
but handles the error.
2016-07-08 13:27:42 -07:00
Rob
228019ac89
- Limit when this autocompletion can pop up.
...
- Remove some left over cruft from the text completer.
2016-07-06 13:31:46 -07:00
Rob
c7901c3237
Unbreak things when you don't have glasses.
2016-07-05 12:34:54 -07:00
Rob
9c7320e26a
- Move Zatanna out of own repo and into CodeCombat
...
- Move snippet creation out of SpellView
- Disable text based completions.
2016-07-01 16:39:21 -07:00
Matt Lott
d72e4eb750
Practice levels Ux and next level algorithm
...
Update classroom and gameplay Ux to surface practice levels as 3a, 3b,
etc.
Update next level logic to leverage practice levels based on per level
completion playtime thresholds.
Patrol buster and patrol buster A are live for testing.
Fix a few classroom Ux progress hover bubble info bugs.
Closes #3767
2016-06-27 14:05:42 -07:00
Matt Lott
425115ad37
Remove level type 'hero-practice', use level.practice
2016-06-25 08:38:59 -07:00
Nick Winter
69eb1dc07a
Preparing for master-wizard
2016-06-24 15:01:49 -07:00
Nick Winter
a4654f613d
Add two starting new heroes. Fix #2753 again for now.
2016-06-24 14:57:21 -07:00
Nick Winter
7c876401bc
Do show bonus goals in course mode if you actually achieve them
2016-06-24 08:50:38 -07:00
Catsync
f1d17ebcba
Don't show optional goals if playing level as type 'course' ( #3758 )
2016-06-24 08:32:50 -07:00
Rob
f100e7ab52
Non-integer indentation levels are impossible.
2016-06-22 15:08:20 -07:00
Matt Lott
e0170d0339
Add hero-practice level type and threshold to schema
...
Filtering out hero-practice levels from classrooms until the Ux
supports them.
2016-06-19 20:23:32 -07:00
Matt Lott
6739353d8e
🐛 Fix hint intro overview duplicates
2016-06-16 10:21:37 -07:00
Scott Erickson
86fc4a3846
Hints v1
...
Add per-level tips and tricks, available during gameplay to help unstick players.
Closes #3736
2016-06-15 16:12:41 -07:00
Nick Winter
a96d5df78e
Don't protect APIs in game-dev levels
2016-06-13 16:21:22 -07:00
Nick Winter
d2634e63ed
Fix #3642 : AIs using aiSource now don't need API protection (with new Aether)
2016-06-09 17:59:19 -07:00
Rob
aa7f2af700
No ads, act two.
2016-06-09 12:13:17 -07:00
Matt Lott
9dbcf27e11
Add classroom Mixpanel logging
...
Closes #3720
2016-06-09 10:46:26 -07:00
Nick Winter
b0fcddac68
Add game-dev level type ( #3725 )
...
* Initial pass adding new game-dev level type.
* Fix a failing test with updated LevelSystem required properties
* Bring back normal Angel worker timeout times
* Fix another failing LevelSystem test since removing propertyDocumentation
2016-06-08 16:57:00 -07:00
duybkict
f439ffddc7
fix issue #3678
2016-06-07 09:42:57 +07:00
Rob
2ef10f58b3
Fix bug where visual indents couldn't nest.
2016-06-03 14:01:37 -07:00
Rob
8d2df0baff
Kill some console logs @poojawins
2016-06-02 20:17:52 -07:00
Rob
3485abd413
Don't show indent guides for incorrect python indention.
2016-06-02 18:46:47 -07:00
Rob
c20ee729ca
Merge branch 'bug-smash'
2016-06-01 16:45:01 -07:00
Josh Callebaut
13b69d15f2
Display auto-complete box even after adding a new line
2016-05-31 16:50:22 -07:00
Scott Erickson
d4c5d418ff
Improve CampaignEditor saving, particularly level order
...
* Do not cache campaign
* Instead have an on leave message if there are unsaved changes
* Propagate campaignIndex values to campaign and levels so that they signal a change in order
The save modal seems to have a lot of issues with identifying what models have
changed. I tried using different methods, but none were consistent. Moving on
to other bugs.
2016-05-31 15:09:26 -07:00
Nick Winter
da90ab980e
Fix some failing tests
2016-05-31 10:59:06 -07:00
Matt Lott
fd8f65cadc
Help button should open "Overview" (Guide) by default
2016-05-31 10:37:30 -07:00
Matt Lott
ffcd89d327
Turn off video tutorials for course levels
2016-05-31 10:12:22 -07:00
Nick Winter
4160058505
Make skipping real-time playback jump to final frame. Fix #2827 .
2016-05-31 08:50:17 -07:00
Nick Winter
96e6e0de9e
Fix #2889 : show incremental gem and xp award for replayable levels, not total
2016-05-30 17:33:15 -07:00
Nick Winter
88a07b5c09
Destroy vim mode option
2016-05-30 17:08:11 -07:00
Nick Winter
065069cfdd
Make CourseVictoryModal respect Markdown in next level description
2016-05-30 16:26:55 -07:00
Matt Lott
4bb3ac1f0a
Replace Anoner with Anonymous
...
Closes #3686
2016-05-26 16:54:24 -07:00
Nick Winter
dd08a8bd64
Fix always using JavaScript for enemy AI in multiplayer
2016-05-24 13:54:49 -07:00
Nick Winter
8fce97aad3
Fully remove Clojure and Io. Use new Aether 0.5.0.
2016-05-24 12:00:04 -07:00
Rob
dbc6f6821f
No ads for now.
2016-05-13 11:26:52 -07:00
Cat Sync
6e11b0dcda
Definitely use hero if hero is present in the user code.
2016-05-13 13:37:36 -04:00
Cat Sync
59408c0de2
Merge remote-tracking branch 'codecombat/master' into flip-hero-logic
2016-05-13 13:32:46 -04:00