Compare commits

...

3230 Commits

Author SHA1 Message Date
Florian Rival
8a4d3cd26a Bump newIDE version 2019-08-04 21:57:45 +01:00
Wend1go
dba5c08569 Reduce spikes/artifacts from text outlines (#1180) 2019-08-04 21:48:14 +01:00
Florian Rival
35fb1d91c0 Add explanations about git in the developer docs 2019-08-04 21:37:52 +01:00
FAlooC
14ba8d34aa Fix crash when using Text Object actions/conditions without object on the scene (#1183)
Added "Extensions/TextObject/textruntimeobject-pixi-renderer.js" and "Extensions/TextObject/textruntimeobject-cocos-renderer.js" wherever "Extensions/TextObject/textruntimeobject.js" was imported.
2019-08-04 20:13:44 +01:00
Florian Rival
664ebbf927 Fix scrolling in lists of NewInstructionEditorDialog, simplify markup 2019-08-04 19:00:29 +01:00
Florian Rival
0db6bc8e96 Fix ResourceSelector incorrectly stealing the focus
The extra call to this.focus() was not necessary anymore
as handled by the SemiControlledAutoComplete.
2019-08-04 17:11:17 +01:00
Florian Rival
96e1eeee7b Fix confirmation message for adding images outside project folder
See https://github.com/lingui/js-lingui/issues/437, i18n.plural
is not working in production mode. Use macro + i18n._ instead.
2019-08-04 12:09:24 +01:00
Florian Rival
3070a5fe6c Bump newIDE version 2019-08-03 15:41:28 +01:00
Florian Rival
4388e073e1 Add menu-with-functions-and-text-effects example by @Phenomena3 2019-08-03 15:39:52 +01:00
Bouh
52032b81c2 add "Center View" button in toolbar (#1178) 2019-08-03 12:13:09 +01:00
Bouh
0db9fd5b08 Fix web online export (#1179) 2019-08-03 12:01:58 +01:00
Florian Rival
a201d404ec Bump newIDE version 2019-08-01 23:59:46 +01:00
Florian Rival
d4df54938c Upgrade Howler.js to v2.1.2 2019-08-01 23:43:45 +01:00
Florian Rival
543a8e559b Fix NewInstructionEditorDialog size after starting a search, when dialog height is small 2019-08-01 23:30:51 +01:00
Florian Rival
c78ecd27d8 Fix display of instructions without group 2019-08-01 22:52:01 +01:00
Florian Rival
4cc6048e74 Fix crash/memory corruption when setting an object as a global object 2019-08-01 21:04:51 +01:00
Florian Rival
a198bcb706 Bump newIDE version 2019-07-30 22:26:44 +01:00
Florian Rival
e210eb0ca2 Fix fields objects editors where invalid values could be entered 2019-07-30 22:19:14 +01:00
Florian Rival
5c45f88e5a Update translations 2019-07-30 21:51:07 +01:00
Florian Rival
b6e83402f6 Fix issue in extract-all-translations where output .po file can't be used as a .pot file 2019-07-30 21:43:08 +01:00
Bouh
6ec6f1201a Add "Save As" menu option (#1162) 2019-07-30 21:18:50 +01:00
Florian Rival
ce32f8a7c2 Add filesystem-create-directory/ example by @piyushpalawat99 2019-07-30 08:52:33 +01:00
Florian Rival
5deaf5f5f2 Use proper keys to ensure no collisions between instruction and objects in InstructionOrObjectSelector 2019-07-29 18:14:54 +01:00
Florian Rival
ac0778ef02 Add UI improvements in NewInstructionEditorDialog 2019-07-29 18:14:54 +01:00
Florian Rival
0e1246bd81 Make NewInstructionEditorDialog responsive
Also fix display of selected items in InstructionEditor
2019-07-29 18:14:54 +01:00
Florian Rival
a93bfbcf56 Fix hiding of private instructions (typically behavior properties) in NewInstructionEditorDialog 2019-07-29 18:14:54 +01:00
Florian Rival
d25cf9be41 Favor exact match when searching for instructions 2019-07-29 18:14:54 +01:00
Florian Rival
dc8a440927 Fix selecting an object would also select an unrelated instruction when searching in InstructionOrObjectSelector 2019-07-29 18:14:54 +01:00
Florian Rival
2b64b6e97c Fix behavior instructions not selecting the object when edited in NewInstructionEditorDialog 2019-07-29 18:14:54 +01:00
Florian Rival
eb3aa28078 Fix warnings 2019-07-29 18:14:54 +01:00
Florian Rival
1c1f11fd27 Add object tags support to InstructionOrObjectSelector 2019-07-29 18:14:54 +01:00
Florian Rival
b3c7fb40ef Improve search and styling of NewInstructionEditorDialog 2019-07-29 18:14:54 +01:00
Florian Rival
6948c4672c Replace SearchBar by a custom one 2019-07-29 18:14:54 +01:00
Florian Rival
683338e85d Add search support in NewInstructionEditorDialog
Tags to be added
2019-07-29 18:14:54 +01:00
Florian Rival
87c657c1ff Add icons in instruction or expression search result 2019-07-29 18:14:54 +01:00
Florian Rival
b04fd00c43 Improve NewInstructionEditorDialog and fix bugs in it 2019-07-29 18:14:54 +01:00
Florian Rival
759f9f2bdd Make new/old InstructionEditorDialog configurable and improve the new one with tabs 2019-07-29 18:14:54 +01:00
Florian Rival
5188fed3e8 [WIP] Add new InstructionEditorDialog 2019-07-29 18:14:54 +01:00
Florian Rival
d70003ab7f Set estimated time for Online Cordova build to 5min (should be less) 2019-07-28 21:30:54 +01:00
Florian Rival
a3d5a731f6 Fix improper landing on jumpthru when jumping from behind in PlatformerObject behavior 2019-07-28 21:03:22 +01:00
Florian Rival
aa7a4a4ff3 Rename onOwnerRemovedFromScene to onDestroy and fix onCreated/onDestroy calls
* Rename onOwnerRemovedFromScene to onDestroy (because it can be now called when a scene is destroyed)
* Fix it being not called when a scene is destroyed (so behavior don't get a chance to clean up what they have created)
* Fix onCreated being called before the object is fully initialized (for custom behaviors or behaviors relying on an object type)
2019-07-28 17:43:50 +01:00
Florian Rival
c03b8dd0db Add test for gdjs.RuntimeScene with object and behaviors 2019-07-28 17:43:50 +01:00
Florian Rival
e7dec09802 Fix GDevelop.js tests 2019-07-28 14:08:35 +01:00
Florian Rival
a74562e627 Fix Travis CI tests (need to use xvfb) (#1168) 2019-07-28 13:59:36 +01:00
Florian Rival
f76a661bbc Set default text color to black 2019-07-28 12:42:31 +01:00
Florian Rival
82b248b9b4 Fix Travis link in README [ci skip][skip ci] 2019-07-28 11:55:12 +01:00
Florian Rival
fa6428f985 Fix CircleCi build order to avoid dependency on pre-built GDevelop.js 2019-07-28 11:43:14 +01:00
Florian Rival
b3cbdc0304 Try more master commits to find libGD.js when not compiled locally 2019-07-27 17:08:42 +01:00
Florian Rival
0271c06e12 Fix Travis CI builds (#1167)
Fix for Travis now using Ubuntu Xenial
2019-07-27 17:08:21 +01:00
Florian Rival
269b427980 Use "cmake" package in Travis instead of deprecated "cmake3"
Ubuntu Xenial (used by Travis) "cmake" package is CMake 3.5+
2019-07-27 16:44:23 +01:00
Wend1go
5a95d3ad50 Remove ES6+ syntax in tweenruntimebehavior.js for backwards compatibility (#1151) 2019-07-27 16:35:30 +01:00
Florian Rival
010a9cd7da Fix ResourcesMergingHelper tests 2019-07-27 16:08:45 +01:00
Florian Rival
6a014c8b88 Rework ResourcesMergingHelper and expose gd.ProjectResourcesCopier 2019-07-27 16:05:27 +01:00
Florian Rival
6b75405f91 Update breakout example and add breakout tutorial to Tutorials list 2019-07-23 23:07:09 +01:00
Florian Rival
899c173627 Add proper validation of package name using a regex 2019-07-23 22:30:28 +01:00
Florian Rival
df6067697b Fix typo in FileSystem 2019-07-17 23:30:57 +01:00
Florian Rival
401a441c6e Fix pasting in subinstructions 2019-07-11 17:20:39 +01:00
Piyush Palawat
5f576acc3c Add documentation links (#1146) 2019-07-09 19:03:24 +01:00
Piyush Palawat
0ad06581ec Add various documentation links (#1131) 2019-07-05 09:30:28 +01:00
Florian Rival
4683f06f3e Allow copy/pasting of actions and conditions & add paste button on hover
* Display a paste button when hovering add condition or add action button,
if there are conditions or actions in the clipboard
* Allow to copy actions and conditions at the same time. Pasting will only
paste the proper actions or conditions.
2019-07-05 08:31:06 +01:00
Florian Rival
c6caef929a Reduce zoom speed in ImagePreview 2019-07-04 22:13:22 +01:00
Florian Rival
72f294a059 Add SetHelpPage for expressions 2019-07-04 22:06:51 +01:00
Todor Imreorov
a8b44839ed Fix gitignore for piskel folder (#1143) 2019-07-04 21:57:21 +01:00
Florian Rival
fcf6f5c083 Add icons in ObjectSelector 2019-07-04 21:15:02 +01:00
Florian Rival
0704d82348 Fix getColor in TiledSpriteRuntimeObject 2019-07-04 08:41:36 +01:00
Florian Rival
cb56364539 Make extension search case insensitive 2019-07-02 22:57:43 +01:00
Florian Rival
e3244d64af Add HelpButton for PointsEditor 2019-07-02 22:47:02 +01:00
Florian Rival
01b854b1b9 Fix reordering and drag'n'drop of objects when list is filtered (tags or search)
* Also possibly improve performance by filtering only once the list, not three times.
* Cleaner code for reordering/dragging objects
2019-07-02 22:34:13 +01:00
Florian Rival
a9bf3a6c80 Fix issue when setting the pathfinding destination too close to current object position 2019-07-02 21:39:37 +01:00
Bouh
a714592917 Add mouse wheel support (#1130) 2019-07-02 08:15:39 +01:00
Florian Rival
9680bc5756 Fix uncaught errors in exporters 2019-07-01 23:43:00 +01:00
Florian Rival
83424cac6e Remove outdated comment 2019-07-01 23:06:54 +01:00
Florian Rival
5e8f8324ad Add help button for collision masks 2019-07-01 23:00:15 +01:00
Florian Rival
9b61a39745 Add icons for variables in EventsSheet 2019-07-01 22:53:00 +01:00
Florian Rival
666b5f78ce Fix newly created DestroyOutsideBehavior not working 2019-07-01 22:46:42 +01:00
Florian Rival
5b3bb9d0cf Add getJsonManager to gdjs.RuntimeGame 2019-07-01 22:24:48 +01:00
Florian Rival
52cec48bf1 Add zoom to ImagePreview and fix Physics2 behavior vertices edition
* Refactor overlays (points, collision masks, physics shape preview)
to be a render prop.
* Fix Physics2 polygon vertices edition
2019-07-01 22:18:21 +01:00
Florian Rival
6a9f1099a7 Copy (after asking user) new resources inside project folder if they are not inside 2019-06-30 22:38:23 +01:00
Florian Rival
a7e0cd2cec Add gdjs.JsonManager to load json + added icons in ResourcePreview for all resources 2019-06-30 15:50:21 +01:00
Florian Rival
45070d3323 Add support for choosing json resource in IDE 2019-06-30 15:50:21 +01:00
Florian Rival
bf065dcf6f Add JsonResource to ResourcesManager 2019-06-30 15:50:21 +01:00
Bouh
5d5f7fcc7d Ensure base layer cannot be removed (#1133) 2019-06-30 14:18:21 +01:00
Florian Rival
90f0828474 Remove translation for a magic field 2019-06-30 14:01:26 +01:00
Bouh
0dbae8f117 Add button to turn groups to global groups in IDE (#1129) 2019-06-28 18:50:01 +01:00
Todor Imreorov
6281e7299c Add npm command to update extensions (#1089) 2019-06-27 21:47:11 +01:00
Florian Rival
f478c861af Add link to help page for project properties created by @Bouh 2019-06-27 21:39:17 +01:00
Florian Rival
c71484326f Allow to create a new empty game in the web-app 2019-06-27 08:31:29 +01:00
Bouh
7f110e0fd1 Add separator between mosaic windows and make Dark theme blue a bit lighter (#1124) 2019-06-25 08:14:10 +01:00
Florian Rival
ef87a0fafa Bump newIDE version 2019-06-24 21:16:05 +01:00
Wend1go
425e890c5a Add opacity/tint to Panelsprite (#1114) 2019-06-24 21:07:40 +01:00
Florian Rival
5e132ddd23 Fix rendering of events after changes in an instruction or new instruction 2019-06-24 20:40:50 +01:00
Florian Rival
1ddb29ba65 Show grab cursor when space is pressed on scene editor 2019-06-23 17:38:43 +01:00
Florian Rival
925b50627c Fix warning 2019-06-23 16:57:59 +01:00
Florian Rival
2a420044ed Fix typo in minimist option handling 2019-06-23 16:19:23 +01:00
Florian Rival
b21e617e9c Bump newIDE version 2019-06-23 15:13:11 +01:00
Florian Rival
5068248525 Update translations 2019-06-23 15:11:06 +01:00
Florian Rival
20a7d424c2 Fix Prettier 2019-06-23 12:53:28 +01:00
Florian Rival
18ea55600f Handle error when game cannot be created in the specified folder 2019-06-23 12:39:36 +01:00
Florian Rival
3cdf539f42 Fix uncaught exceptions on login/account creation/password reset 2019-06-23 12:27:10 +01:00
Florian Rival
3008898917 Add tutorials by @piyushpalawat99 and Nilarjun 2019-06-22 18:53:53 +01:00
Florian Rival
3c5c3735be Add Castpixel to the list of contributors 2019-06-22 18:37:30 +01:00
Florian Rival
5feddb98f6 Fix yarn.lock 2019-06-22 18:33:25 +01:00
Florian Rival
f8c8d938f5 New space shooter example with custom behaviors and art by @castpixel 2019-06-22 18:33:00 +01:00
Florian Rival
c4cd2c4a26 Move resources (res, JsPlatform, CppPlatform) to newIDE and remove old, unused folders 2019-06-22 17:17:09 +01:00
Florian Rival
3b454616a5 Fix selection being dismissed when panning the view in InstancesEditor 2019-06-22 16:30:35 +01:00
Florian Rival
e42582cde0 Upgrade a bunch of dependencies
Upgrade react to v16.8
Upgrade storybook to v5
Upgrade react-mosaic to v3.1.0
Upgrade react-sortable-tree
Upgrade react-sortable-hoc
Upgrade react-dnd to 7.7.0

Fix a crash (infinite loop) when using Trans as title of MosaicWindow
(because old versions of react-mosaic where doing a deep equality
check of props in shouldComponentUpdate).
2019-06-22 16:03:53 +01:00
Piyush Palawat
d44e7868c1 Add link to documentation for CommonConversionsExtension.cpp (#1122) 2019-06-22 15:22:04 +01:00
Florian Rival
cd9c5d6095 Fix first argument swallowed when launching from command line 2019-06-21 19:35:08 +01:00
Florian Rival
181fcdab09 Catch exception and display error if an extension can't be loaded properly 2019-06-21 19:31:49 +01:00
Florian Rival
c3f3021509 Use 'My Documents' as the default folder for GDevelop projects 2019-06-20 23:06:03 +01:00
Florian Rival
6aac240425 Add link about publishing on Kongregate or Game Jolt 2019-06-20 23:02:15 +01:00
Piyush Palawat
4e64b37bab Add various links to documentation (#1118) 2019-06-20 22:46:58 +01:00
Florian Rival
4c59e90a1c Fix generation of behavior code for properties with empty number as default value 2019-06-19 21:54:16 +01:00
Florian Rival
4483e0659a Rename 'Value to test' to 'Value to compare' 2019-06-19 21:28:58 +01:00
Florian Rival
73827f6f30 Make a fix in pixi-simple-gestures to prevent potential error 2019-06-19 19:30:46 +01:00
Florian Rival
7f97d753a8 Fix behavior number properties action 2019-06-19 08:50:09 +01:00
Florian Rival
a4a638371f Disable sending analytics for warnings (too much noise) 2019-06-19 08:48:44 +01:00
Florian Rival
ed3f6425b2 Add multiplayer-platformer-with-gamepads example 2019-06-17 22:14:56 +01:00
Florian Rival
bbb0738f5f Hide a property of a behavior in a test game 2019-06-16 17:08:55 +01:00
Florian Rival
0231d30508 Add EventsScope and hide behavior private instructions when not in the proper scope 2019-06-16 17:08:55 +01:00
Florian Rival
64db614914 Allow instructions/expressions to be marked as private 2019-06-16 17:08:55 +01:00
Florian Rival
b5acc58b41 Improve typing of expression/instruction selectors and add support for displaying subheaders 2019-06-16 17:08:55 +01:00
Florian Rival
1b1e6b67c6 Fix object filtering by type not applied 2019-06-16 17:08:55 +01:00
Florian Rival
2891c6b7e4 Fix behavior properties code generation 2019-06-16 17:08:55 +01:00
Florian Rival
689136cadb Allow behavior properties to be hidden in the editor 2019-06-16 17:08:55 +01:00
Florian Rival
181976e1b3 Add refactoring of properties actions/conditions/expressions when renaming property/behavior/extension 2019-06-16 17:08:55 +01:00
Florian Rival
b1f7660ffa Add editor for properties of events based behaviors 2019-06-16 17:08:55 +01:00
Florian Rival
52489c3cc9 Add generation of action/conditions/expressions to use properties of events based behavior 2019-06-16 17:08:55 +01:00
Florian Rival
129f932e26 Add properties to EventsBasedBehavior 2019-06-16 17:08:55 +01:00
Florian Rival
38575e8f24 Use implements webidl keyword to simplify some bindings (2) 2019-06-16 17:08:55 +01:00
Florian Rival
c4a426c65f Use implements webidl keyword to simplify some bindings (1) 2019-06-16 17:08:55 +01:00
Florian Rival
c2b123d20b Add NamedPropertyDescriptor 2019-06-16 17:08:55 +01:00
Wend1go
26cf2e35f2 Add outline, shadow, gradient and alignment to Text object (#1096) 2019-06-16 11:36:26 +01:00
Florian Rival
c77d522abc Make name of object parameter consistent in TiledSpriteObject extension 2019-06-16 11:12:31 +01:00
Wend1go
d4a6f4d562 Add opacity and tint support to Tiled Sprite (#1110) 2019-06-15 19:43:00 +01:00
Florian Rival
69b182b08f Add color, layer and sceneName to function parameter types in IDE 2019-06-15 13:33:21 +01:00
Piyush Palawat
26dbd7e971 Fixed broken images for Shopify (#1106)
The images in the beta and web version of "Shopify" category were broken, while the ones in the version built from source were not. I believe it was because of case-sensitivity and have fixed the same, even though I wasn't able to try it.
2019-06-15 13:10:24 +01:00
Florian Rival
8f99eac776 Automatically disable smoothing of new images if project scale mode is set to nearest (pixel-perfect) 2019-06-09 23:04:03 +01:00
Florian Rival
61a125f293 Fix centering of the view when opening a scene 2019-06-09 22:29:45 +01:00
Wend1go
6448c6a78a Add scale actions/conditions for Text objects (#1092) 2019-06-09 21:20:30 +01:00
Florian Rival
d290c98e28 Use unicode sign for relational operators shown in EventsSheet 2019-06-08 16:08:31 +01:00
Florian Rival
973c282b57 Improve various parameter fields
* Add SceneNameField
* Simplify some fields
* Fix ObjectSelector/ObjectField error display
2019-06-08 16:53:22 +02:00
Florian Rival
d911610d80 Display inline errors in events sheet for mouse and key parameters 2019-06-08 16:53:22 +02:00
Florian Rival
bc2e273f43 Fix crash when pressing Esc while selecting an object in InstructionParametersEditor 2019-06-08 16:53:22 +02:00
Florian Rival
234d2f4923 Bump newIDE version 2019-06-06 17:48:19 +02:00
Florian Rival
2c2efa4a99 Fix SerializerElement broken when using attributes with children (#1088)
* Fix SerializerElement broken when using attributes with children
* Fix usage of AddChild on arrays without named children
2019-06-06 17:43:15 +02:00
Florian Rival
3f7fe1d55d Search in more parents when downloading libGD.js 2019-06-06 00:23:03 +02:00
mohajain
1bb5a6614e Fix typo in Readme (#1085) 2019-06-05 21:16:07 +02:00
Piyush Palawat
8e8d96dd3a Fix broken images for Sensors category in expressions list (#1083) 2019-06-04 23:43:45 +02:00
Florian Rival
3b07b9f354 Update web-app to GDJS 5.0.0-beta70 2019-06-02 23:56:18 +01:00
Florian Rival
0f0c9b8fe8 Use behavior name for display if full name is not entered 2019-06-02 23:34:14 +01:00
Florian Rival
c1e78ee1e3 Add Layer string expression to get object layer 2019-06-02 23:33:50 +01:00
Florian Rival
49fd9554ee Add AlertMessage about running games locally 2019-06-02 18:50:17 +01:00
Florian Rival
92f682e693 Bump newIDE version 2019-06-01 12:57:49 +01:00
Florian Rival
e6aae81ca3 Fix object paste/duplicate setting a wrong name to the object
Fix #1076
2019-06-01 12:57:00 +01:00
Florian Rival
bd1feb9270 Bump newIDE version 2019-06-01 12:38:18 +01:00
Florian Rival
5bfb6369db Fix firebase import warning by only importing app and auth 2019-05-31 19:51:12 +01:00
Florian Rival
ea05994702 Fix Physics2Behavior shared data not properly initialized 2019-05-31 19:22:58 +01:00
Florian Rival
e303734ac0 Update CircleCI configuration to build GDevelop.js too 2019-05-30 18:12:52 +01:00
Florian Rival
5467eededf Update CircleCI configuration 2019-05-30 08:20:25 +01:00
Florian Rival
98f431b903 Update firebase to version 6.1.0 2019-05-30 08:20:25 +01:00
Bouh
94a1701648 Fix width of images in Changelog (#1069) 2019-05-29 21:38:29 +01:00
Florian Rival
03de6a8fef Add experimental CircleCI configuration 2019-05-29 21:20:11 +01:00
Florian Rival
7c787e2531 Bump newIDE version 2019-05-28 23:13:06 +01:00
Florian Rival
feb0baf1e6 Avoid description fields being too tall in OptionsEditorDialog 2019-05-28 23:06:42 +01:00
Florian Rival
bf8c3312f7 Add StrEqual condition 2019-05-28 23:00:06 +01:00
Florian Rival
8198f3c817 Fix Prettier 2019-05-28 22:26:18 +01:00
Florian Rival
8edf08cc5f Fix StatusBar 2019-05-28 22:15:16 +01:00
Florian Rival
05aeffe5f0 Add StatusBar to InstancesEditor, showing mouse position 2019-05-28 22:11:16 +01:00
Bouh
007db6e9be Add copy/cut/paste for events based behaviors (#1066) 2019-05-28 21:10:06 +01:00
Florian Rival
452f83eef6 Add explanation about not playing music before first user interaction 2019-05-28 08:14:44 +01:00
Florian Rival
b08bd9e108 Fix object renaming from ObjectEditorDialog
Fix #1060
2019-05-27 23:22:52 +01:00
Florian Rival
2e9601757c Add support for adding tags to objects and filter by tags (#1065) 2019-05-27 23:20:07 +01:00
Piyush Palawat
fecb22d61e Fix spelling mistakes in the "Vibrate by pattern" action. (#1063) 2019-05-27 17:55:58 +01:00
Florian Rival
8cb5e137ce Display error messages in case no key or mouse button is selected 2019-05-24 20:49:39 +01:00
Florian Rival
5957c35afe Bump newIDE version 2019-05-23 23:46:56 +01:00
Florian Rival
4d0ac8d9a4 Update translations 2019-05-23 23:44:56 +01:00
Florian Rival
3a90d15ddb Remove useless translations markers 2019-05-23 23:00:25 +01:00
Florian Rival
d7bee58182 Improve support for JS code events by exposing the context of the events function, if any 2019-05-23 22:02:32 +01:00
Florian Rival
65a14eea7f Add tests for gdjs.VariablesContainer 2019-05-23 17:34:06 +01:00
Florian Rival
899b70c9bf Display errors for resources before warning 2019-05-22 08:39:47 +01:00
Todor Imreorov
b2de428820 Add warning for resources located outside of project folder (#1055) 2019-05-22 08:34:50 +01:00
Florian Rival
51060f806d Add help buttons 2019-05-21 23:33:50 +01:00
Florian Rival
6725a30111 Add more fallbacks to download a version of libGD.js 2019-05-21 21:24:30 +01:00
Todor Imreorov
b65eefc3ee Add npm/yarn commands to run Electron (#1057) 2019-05-21 20:12:00 +01:00
Florian Rival
0a710481af Fix formatting of expressions having code-only (hidden) parameters 2019-05-21 00:21:16 +01:00
Florian Rival
724d76e00d Only display extensions with behaviors in NewBehaviorDialog 2019-05-21 00:07:23 +01:00
Florian Rival
7e3966f04c Fix Prettier 2019-05-21 00:01:59 +01:00
Florian Rival
049483dbbd Fix support for calling behavior methods from other behavior methods 2019-05-20 23:36:13 +01:00
Florian Rival
b8270eb55e Fix typo 2019-05-19 23:28:37 +01:00
Florian Rival
e737ab2443 Merge pull request #1049 from 4ian/feature/runtime-behavior
Events based behaviors 🚀
2019-05-19 23:20:58 +01:00
Florian Rival
7fe3fa1c6f Fix search/tags in ExtensionsSearch 2019-05-19 22:19:58 +01:00
Florian Rival
8d0ba97fbf Add author to EventsFunctionsExtension 2019-05-19 22:13:17 +01:00
Florian Rival
0be7ee859a Fix SetReturnString argument type 2019-05-19 16:51:55 +01:00
Florian Rival
eeeafff2b2 Add tags in ExtensionsSearch 2019-05-18 17:15:37 +01:00
Florian Rival
2bccc31cbb Remove useless TODO 2019-05-18 16:17:45 +01:00
Florian Rival
60bb4ad69f Remove warnings from .vscode/c_cpp_properties.json (2) 2019-05-18 16:08:32 +01:00
Florian Rival
fdfe7b35f6 Allow to replace an extension when importing one 2019-05-18 16:08:00 +01:00
Florian Rival
457940ab04 Add import/export to file for events functions extensions 2019-05-18 15:31:50 +01:00
Florian Rival
c9a90b2b77 Add support for short description and tags in EventsFunctionsExtension 2019-05-18 12:05:21 +01:00
Florian Rival
4e23c46ca1 Remove warnings from .vscode/c_cpp_properties.json 2019-05-18 00:58:28 +01:00
Florian Rival
a98575133f Add button to explain how to create new behaviors 2019-05-18 00:58:04 +01:00
Florian Rival
b7e85078d1 Remove some TODOs and add messages if too much extensions to display 2019-05-18 00:47:46 +01:00
Florian Rival
1494a474f1 Add button to search extensions in ProjectManager 2019-05-17 19:49:11 +01:00
Florian Rival
c7ba85ce03 Display extension full header in ExtensionInstallDialog and handle errors 2019-05-17 19:16:39 +01:00
Florian Rival
327be156f3 Rework EventsFunctionsExtensionsLoader to use context 2019-05-17 08:54:14 +01:00
Florian Rival
2d850b0798 [WIP] Add ExtensionsSearch to NewBehaviorDialog 2019-05-16 21:03:51 +01:00
Florian Rival
7d144f19c0 Add missing translation tags 2019-05-15 21:33:13 +01:00
Florian Rival
6496095d7c Add help links for events based behaviors 2019-05-15 21:31:54 +01:00
Florian Rival
1778aa1bc3 Add copy/cut/paste for events functions 2019-05-12 23:35:15 +01:00
Florian Rival
7769c02a86 Fix flow 2019-05-10 16:15:06 +01:00
Florian Rival
a97486b92b Remove CopyOf prefix when pasting things in ProjectManager 2019-05-10 16:08:38 +01:00
Florian Rival
6315857651 Fix copy/cut/paste for Events Functions/Behaviors Extensions 2019-05-10 16:02:29 +01:00
Florian Rival
99238a099d Only allow changing behavior's object type if actually possible 2019-05-10 15:49:27 +01:00
Florian Rival
58db3beaf8 Add more tests for WholeProjectRefactorer 2019-05-10 14:05:04 +01:00
Florian Rival
ccb18a0da4 Fix opening of behavior function from events sheet and prevent using reserved names 2019-05-10 12:49:54 +01:00
Florian Rival
89ac323c8e Add support for automatic refactoring when events function (including expressions) is renamed 2019-05-10 11:37:33 +01:00
Florian Rival
3073b9f44d Fix typos 2019-05-09 11:25:40 +01:00
Florian Rival
32dd269d18 Add automatic refactoring of project when an events based behavior is renamed 2019-05-08 16:05:03 +01:00
Florian Rival
b96fda0f8c Run Prettier 2019-05-08 10:47:57 +01:00
Florian Rival
4b85f23969 Prepare the new refactorings in WholeProjectRefactorer for behaviors 2019-05-08 00:20:02 +01:00
Florian Rival
e670563c92 Add tests for WholeProjectRefactorer and events based functions/extensions 2019-05-07 18:11:52 +01:00
Florian Rival
1e9dab2117 Fix Behavior field not automatically filling when editing expressions 2019-05-07 14:32:04 +01:00
Florian Rival
aac867f960 Set default minimum FPS to 20 2019-05-07 13:56:08 +01:00
Florian Rival
9e89f51a59 Ensure behavior type is displayed in selector even if unknown 2019-05-07 12:28:04 +01:00
Florian Rival
2d31e910fa Add support for EventsBasedBehavior object type 2019-05-07 00:46:45 +01:00
Florian Rival
6332230c4c Add basic test game for EventsBasedBehavior 2019-05-06 23:32:37 +01:00
Florian Rival
3161f641d8 Rename ownerRemovedFromScene to onOwnerRemovedFromScene 2019-05-06 23:08:41 +01:00
Florian Rival
6dba9d9031 Improve EventsBasedBehavior edition in IDE 2019-05-06 22:51:50 +01:00
Florian Rival
433dc763d1 Separate Behavior into BehaviorContent and Behavior, and add RuntimeBehavior for GDCpp 2019-05-03 22:47:21 +01:00
Wend1go
99416e93cc Fix the display of two parameters in FileSystem extension (#1046) 2019-05-02 10:35:37 +01:00
Florian Rival
68e01e253e Bump newIDE version 2019-05-01 17:49:48 +01:00
Florian Rival
b764fbbde7 Use checksum to verify if a third party editor needs update.
Also a protection against potential tampering of third party editors.
2019-05-01 13:53:59 +01:00
Florian Rival
73121d5d53 [WIP] Add code generation for EventsBasedBehavior (2) 2019-04-29 21:48:28 +01:00
Florian Rival
0a14872660 Bump newIDE version 2019-04-29 20:46:39 +01:00
Florian Rival
78834cbbfc Update translations 2019-04-29 20:43:05 +01:00
Florian Rival
7b69d41857 Remove useless GetCustomCodeInMain and related methods 2019-04-29 11:56:02 +01:00
Florian Rival
668bd6a983 Fix action to set the string returned by an events function (SetReturnString) 2019-04-29 11:25:27 +01:00
Florian Rival
2353815fdf [WIP] Add code generation for EventsBasedBehavior 2019-04-26 17:49:06 +01:00
Florian Rival
9bbc5e426c [WIP] Add support for EventsBasedBehavior in newIDE 2019-04-26 14:12:59 +01:00
Florian Rival
7925e75652 [WIP] Add EventsBasedBehavior 2019-04-26 14:12:59 +01:00
Florian Rival
13bc2a5cd8 Remove more dead code 2019-04-26 14:12:59 +01:00
Florian Rival
bf8d1a6a28 Remove dead code from gd::Layout 2019-04-26 14:12:59 +01:00
Florian Rival
338f062781 Refactor EventsFunctionsExtension to use EventsFunctionsContainer/SerializableWithNameList 2019-04-26 14:12:59 +01:00
Florian Rival
2cf2622b9e Fix crash at save (missing functions after integrating GDevelop.js in the repository) 2019-04-26 14:12:23 +01:00
Florian Rival
6d92430e76 Fix size of the game window when exported with Electron 2019-04-25 09:44:50 +01:00
Florian Rival
9b5a6d8bf0 Try more previous revision to find a pre-built libGD.js 2019-04-24 21:35:33 +01:00
Florian Rival
90c3f4f72b Avoid useless copy of arrays in ForEach event generated code
Lists of objects were wrongly initialized, creating a useless performance hit. All the objects of the "for each" were copied into arrays, before being emptied. And this, for every single object in the for each loop. This was particularly bad when a lot of objects were picked by the for each (if we have N objects, complexity was N*N copies of the array).
2019-04-24 21:23:16 +01:00
Florian Rival
c3794950ab Rename methods to declare list of objects without picking from scene, for consistency 2019-04-24 21:23:16 +01:00
Florian Rival
e7516baa0b Update bug report template to mention web-app 2019-04-24 19:29:28 +01:00
Florian Rival
88366b3362 Add margin around the full width InstructionEditorDialog 2019-04-23 22:47:13 +01:00
Florian Rival
dd93cecbcf Fix Events Sheet shortcuts 2019-04-23 21:53:35 +01:00
Florian Rival
359159b402 Remove VSCode flow workaround, as not needed anymore 2019-04-23 20:33:06 +01:00
Florian Rival
14b30677db Update README 2019-04-23 18:26:21 +01:00
Florian Rival
9f3dd50f99 Robustify import-libGD.js: allow to download a previous version of libGD.js if necessary 2019-04-23 18:00:54 +01:00
Florian Rival
1503b8eabd Update import-libGD.js error wording 2019-04-23 17:21:05 +01:00
Florian Rival
f3a86e93fd Don't error if libGD.js can't be downloaded, but a local one exists
This will happen when developers create commits on top of master
2019-04-23 17:19:12 +01:00
Florian Rival
c4b20ea7a4 Fix order for installation on Travis-CI
Install newIDE before building GDevelop.js will result in not finding any libGD.js for newIDE
2019-04-23 17:12:40 +01:00
Florian Rival
abf9321ed0 Update import-libGD.js to use an automatically built version 2019-04-23 17:08:30 +01:00
Florian Rival
ce9df3b57b Add back flags for C++11 2019-04-23 16:42:19 +01:00
Florian Rival
680c42c113 Remove check for C++11 compiler - assume compilers are now new enough to support it 2019-04-23 16:09:15 +01:00
Florian Rival
a648248680 Change output path of the Travis artifacts 2019-04-23 16:09:15 +01:00
Florian Rival
1693d863d3 Integrate GDevelop.js (emscripten bindings of Core/Extensions to JS) inside the repository 2019-04-23 16:09:15 +01:00
Florian Rival
ccc29ef416 Merge pull request #1034 from 4ian/refactor/remove-ide
Remove old IDE from GDevelop 5 codebase
2019-04-23 14:43:35 +01:00
Florian Rival
b9680e26e7 [WIP] Remove almost all remaining references to wxWidgets/GD4 IDE related code from codebase 2019-04-23 13:08:22 +01:00
Florian Rival
d444ed7e39 [WIP] Clean more old methods used only in GD4 2019-04-22 20:57:59 +01:00
Todor Imreorov
bb94cb2200 Add "Insert a New Object" to the Scene Editor context menu (#1025)
Visible when no instance selected
2019-04-22 15:01:27 +01:00
Florian Rival
eaf9494f91 [WIP] Remove deprecated network action 2019-04-22 14:57:28 +01:00
Florian Rival
d7abf86050 Fix preview crash with Firefox 2019-04-22 11:33:50 +01:00
Florian Rival
e8f4cfda85 Bump newIDE version 2019-04-22 00:34:48 +01:00
Florian Rival
e85c7dce01 Fix regression: slow opening of very large games 2019-04-21 22:58:24 +01:00
Florian Rival
87adc2cab9 [WIP] Clean old methods used only in GD4 in objects and behaviors (3) 2019-04-21 20:52:48 +01:00
Florian Rival
d59f40ff5d [WIP] Clean old methods used only in GD4 in objects and behaviors (2) 2019-04-21 19:40:05 +01:00
Florian Rival
edd98d8bd5 [WIP] Clean old methods used only in GD4 in objects and behaviors 2019-04-21 10:20:32 +01:00
Florian Rival
a8a6f2dfe9 Update translations 2019-04-21 00:01:36 +01:00
Florian Rival
73d9604107 [WIP] Remove all GDevelop 4 extensions not used in GDevelop 5 2019-04-20 23:29:59 +01:00
Florian Rival
04267acabc Add example video to BrowserResourceSources 2019-04-20 22:46:35 +01:00
Florian Rival
20e90e699c Add video-player example 2019-04-20 21:55:43 +01:00
Florian Rival
7f0033989a [WIP] Partially clean GDJS/GDCpp/GDCore of wxWidgets related code 2019-04-20 01:21:28 +01:00
Florian Rival
1de33312f3 Fix crash when using resource editor on web-app 2019-04-19 17:44:44 +01:00
Florian Rival
d1c6347f3d Add warning/information about using the Video object in the editor 2019-04-18 16:42:36 +01:00
Todor Imreorov
0ba44a4620 Add tooltips in Instances editor (#1023) 2019-04-17 17:43:28 +01:00
Florian Rival
db753e75cc Add empty renderer for VideoRuntimeObject for Cocos2D-JS 2019-04-17 09:46:25 +01:00
Bouh
db93a25b33 Add experimental Video extension (#951)
See remaining items here: https://github.com/4ian/GDevelop/pull/951#issuecomment-483974639
2019-04-17 08:43:30 +01:00
Florian Rival
1940b0cccd [WIP] Remove old IDE 2019-04-16 17:05:25 +01:00
Florian Rival
b101549c5b Add support for saving projects as multiple files (Folder Project) 2019-04-15 23:21:12 +01:00
Florian Rival
fefd862fbd Fix regression when launching external layout preview 2019-04-15 23:11:56 +01:00
Todor Imreorov
6333df011a Autosave projects when a preview is launched (#1015)
* Ask the user if they want to restore the autosave when opening a project with a recent autosave.
2019-04-14 17:46:15 +01:00
Florian Rival
d127cefdfb Fix Prettier 2019-04-13 16:02:11 +01:00
Florian Rival
5e325af153 Add help button in EventsFunctionExtractorDialog 2019-04-13 15:28:10 +01:00
Florian Rival
f57907c3d3 Update libGD.js version number 2019-04-13 10:10:24 +02:00
Florian Rival
64b59fd204 Fix some spacing 2019-04-13 10:09:43 +02:00
Florian Rival
ee53a59d69 Remove useless prop 2019-04-13 10:09:43 +02:00
Florian Rival
bf632c4c62 Add explanation about behavior arguments that differ from the behavior parameter name 2019-04-13 10:09:43 +02:00
Florian Rival
5add209ccf Improve naming in EventsContextAnalyzer 2019-04-13 10:09:43 +02:00
Florian Rival
480fc0dd4e Fix display of lists in EventsFunctionConfigurationEditor 2019-04-13 10:09:43 +02:00
Florian Rival
d9b22112c0 Add test for EventsFunctionExtractor 2019-04-13 10:09:43 +02:00
Florian Rival
9c4c2135d9 Add ScrollView 2019-04-13 10:09:43 +02:00
Florian Rival
1fca0e29ff Improve events function performance when querying objects 2019-04-13 10:09:43 +02:00
Florian Rival
b313b12004 Improve group support in EventsFunctionExtractor
Only expand groups into objects if the events are referencing one of these objects.
2019-04-13 10:09:43 +02:00
Florian Rival
37a3cf96b4 Add support for groups with behaviors in EventsFunctionExtractor 2019-04-13 10:09:43 +02:00
Florian Rival
59c2167f55 Add support for groups in EventsFunction 2019-04-13 10:09:43 +02:00
Florian Rival
42cbe3534f Add support for behaviors in EventsFunctionExtractor 2019-04-13 10:09:43 +02:00
Florian Rival
0a8ba7b838 Add EventsFunctionExtractor
No support for now for behaviors
2019-04-13 10:09:43 +02:00
Todor Imreorov
4e00dcf5ec Fix unzipper failing to extract external editors on Windows (#1018)
* Normalize paths
2019-04-10 09:44:00 +01:00
Todor Imreorov
098ec4941e Show resource name when hovering thumbnail (#1017) 2019-04-09 21:01:39 +01:00
Florian Rival
0b3b6f1b94 Robustify Clipboard handling 2019-04-07 20:28:16 +01:00
Todor Imreorov
9a64092244 Add variable/object thumbnail icons in the event sheet (#936) 2019-04-07 17:14:58 +01:00
Florian Rival
bc4fee0121 Remove preference to use the old expression parser 2019-04-07 16:38:33 +01:00
Florian Rival
b5e5db7755 Fix Flow 2019-04-07 16:37:10 +01:00
Florian Rival
c172d52116 Add alerts when entering dangerous values for minimum/maximum FPS values 2019-04-07 16:16:16 +01:00
Florian Rival
b7b94a18fb Add supporting for capping the maximum number of FPS, with safety margin 2019-04-07 16:06:05 +01:00
Wend1go
62858bbb68 Remove local paths in Pairs example (#1006) 2019-04-04 09:08:14 +01:00
Florian Rival
f078ad02f3 Add description for Pairs example, add it as starter 2019-04-04 00:24:24 +01:00
Wend1go
1c7d11a302 Add Tween behavior to animate object position/angle/properties (#980)
* Implementation based on Shifty.js
* Add examples
2019-04-03 23:34:11 +01:00
Bouh
20a62ef2dd Update link to Discord channel (#1004) 2019-04-02 13:18:41 +01:00
Kink
74e2aa1d24 Fix color picker in the scene properties (#1003)
Just inverted the checkbox and the colorfield : now the colorpicker doesn't show up over the checkbox button, and so there is no more "dead zone"  to pick a color in the color picker on the scene editor.
2019-04-02 12:36:35 +01:00
Florian Rival
18a99c664b Potential fix for games running on monitor/browsers with higher refresh rate (144hz, 70hz...) 2019-04-01 17:28:04 +01:00
Florian Rival
dde8d08693 Fix crash with LocalFolderPicker 2019-04-01 17:16:36 +01:00
Bouh
de1a47b013 Add checkboxes to filters by conditions/actions in the Events Search Panel (#996) 2019-04-01 17:48:04 +03:00
Todor Imreorov
75eaf911a2 Show object name when pasting and show hint if pasting as global
* also make font bold when object is global - so that it's easier to notice its status
2019-04-01 17:36:45 +03:00
Florian Rival
1dba4bbda8 Add updated package-lock.json after switching to unzipper 2019-03-26 22:17:53 +00:00
Todor Imreorov
9d14afa671 Disable menu items for disabling event/adding subevent if not applicable 2019-03-26 23:07:31 +01:00
Florian Rival
fd23daa3d2 Use unzipper instead of unzip2, removing dependencies on old fstream/graceful-fs 2019-03-26 21:51:20 +00:00
Florian Rival
9ba461675f Fix EmptyMessage wording in ResourcesPropertiesEditor 2019-03-18 20:55:16 +00:00
Florian Rival
0623cb2aaf Fix flow error 2019-03-17 22:59:08 +00:00
Florian Rival
ec6f8d04ed Add comment/errors for new version of react-sortable-tree 2019-03-17 22:16:05 +00:00
Florian Rival
06a4d30223 Make InstancesEditor initialization more robust against new react-dnd versions 2019-03-17 21:56:03 +00:00
Florian Rival
a27d0705a4 Fix typo in ParticleEmitterEditor 2019-03-17 20:39:35 +00:00
Florian Rival
60d7c8ca1e Fix deprecation warning with Pixi v4.8.6 2019-03-17 17:02:04 +00:00
Florian Rival
4b037c2543 Add marging to culling, to avoid issues when moving objects slightly out of the editor 2019-03-17 17:02:04 +00:00
Florian Rival
13302d7b30 Update to Pixi.js v4.8.6 (newIDE and GDJS game engine) 2019-03-17 17:02:04 +00:00
Florian Rival
596845cd76 Fix downhill-bike-physics-demo starter on web-app 2019-03-16 16:18:47 +00:00
Florian Rival
89316cbf50 Fix warning 2019-03-16 16:12:58 +00:00
Florian Rival
3cf8a8ea65 Add callbacks for when a gdjs.RuntimeScene is paused/resumed 2019-03-14 22:56:19 +00:00
Florian Rival
137a23b86a Bump newIDE version 2019-03-11 22:17:21 +00:00
Florian Rival
3dae2c50e6 Add geodash example and betabox-basics-learning-experience 2019-03-11 22:13:08 +00:00
Florian Rival
e288414684 Update translations 2019-03-11 21:53:00 +00:00
Florian Rival
0d965fc23c Merge branch 'master' of github.com:4ian/GDevelop 2019-03-11 21:01:36 +00:00
Florian Rival
728188114e Update forum links 2019-03-11 21:01:23 +00:00
Florian Rival
72a61be8ec Add button to report wrong translation 2019-03-11 20:34:19 +00:00
Florian Rival
3e822e4ef0 Remove useless minus sign 2019-03-11 20:34:08 +00:00
Bouh
29f7501dcf Add button to "Open Project Folder" in Resources Editor (#968) 2019-03-10 21:21:57 +00:00
Florian Rival
2544c71f30 Fix Flow 2019-03-10 19:09:20 +00:00
Florian Rival
6c629f6d68 Add performance warning for text object character size action 2019-03-09 19:54:32 +00:00
Florian Rival
fa022747e2 Make warnings about instruction/behaviors translatable 2019-03-09 19:51:44 +00:00
Florian Rival
d0a2491acd Fix wrong forbidden characters in translations 2019-03-07 23:48:56 +00:00
Florian Rival
816513ad85 Fix wrong merging of some duplicated translations and update translations 2019-03-07 23:42:54 +00:00
Florian Rival
b36cb17e4c Fix Prettier 2019-03-07 23:25:01 +00:00
Florian Rival
4fb27b6135 Don't mark Algolia as translatable 2019-03-07 23:18:31 +00:00
Florian Rival
96674f36b4 Fix click while renaming project item and warning when name is not changed 2019-03-07 23:13:37 +00:00
Florian Rival
c31de12048 Add max displayed rows number in TextEditor to avoid dialog mis positioning 2019-03-07 23:05:28 +00:00
Florian Rival
aaeaa8338b Fix Prettier 2019-03-07 22:03:50 +00:00
Florian Rival
f5827d4a48 Add missing translation in InstructionParametersEditor 2019-03-07 21:54:48 +00:00
Florian Rival
afe9d18b03 Button to open the events function editor from instruction editor 2019-03-07 21:53:51 +00:00
Zat
175e12b25b Allow both "Center" and "Centre" for Center point in expressions (#955) 2019-03-05 18:13:05 +00:00
Florian Rival
c4bb03d360 Revert to Pixi.js 3.0.11 for the IDE - will upgrade properly later 2019-03-03 16:27:03 +00:00
Florian Rival
acc34e8bda Add hint and differentiate buttons between string/number expression fields 2019-03-02 20:35:19 +00:00
Florian Rival
edecc01e14 Clean folder when importing GDJS Runtime files in newIDE 2019-03-02 20:34:13 +00:00
Florian Rival
808721a29f Update newIDE Pixi.js to version 4.8.6 2019-03-02 18:42:32 +00:00
Florian Rival
b57316b4f4 Fix Storybook build (babel stuck by locales large file) and add language button in StartPage 2019-03-02 16:04:40 +00:00
Florian Rival
8d57aa5353 Update translations and add translation support to LinkEvent 2019-03-02 15:18:49 +00:00
Florian Rival
2ce1c56005 Improve translation coverage and fix BrowserPreviewLinkDialog 2019-03-02 13:00:14 +00:00
Florian Rival
fc7c092cfb Exclude some files from the i18n coverage script 2019-03-02 12:19:35 +00:00
Florian Rival
e100b6f2c3 Add support for translations in Main menu 2019-03-02 01:41:09 +00:00
Florian Rival
ac2867f1a7 Fix Prettier 2019-02-28 23:08:18 +00:00
Florian Rival
3166daf041 Fix a bunch of mistakes/typos 2019-02-28 23:07:34 +00:00
Florian Rival
0c2d58e70b Make "Downhill Bike Racing" a starter 2019-02-28 22:57:27 +00:00
Florian Rival
af9ab09b3b Make some tooltips translatable 2019-02-28 22:45:43 +00:00
Florian Rival
0c8560e60d Separate languages in LanguageDialog according to progress 2019-02-28 22:18:35 +00:00
Florian Rival
5a44fd8b9f Fix wording in Particle actions/conditions 2019-02-24 17:11:57 +00:00
Florian Rival
20ce83ccfe Add image resource to the dummy example object 2019-02-23 14:58:05 +00:00
Florian Rival
0cc4543948 Add support for "resource" property and field in PropertiesEditor 2019-02-23 14:58:05 +00:00
Florian Rival
5ff045d74a Fix Prettier 2019-02-23 12:34:47 +00:00
Florian Rival
0fdf123f8d Improve Flow typing and fix tests 2019-02-23 12:17:10 +00:00
Florian Rival
ec0b934557 Add VideoResource 2019-02-22 20:20:13 +00:00
Florian Rival
7fa1e50c17 Fix typos 2019-02-22 20:00:46 +00:00
Florian Rival
9a7c5ead3a Fix edition button for children variables 2019-02-19 22:52:36 +01:00
Todor Imreorov
72282d4e6d Show instance variables in panel + inherited object variables + fix crash
* Show instance variables in InstancePropertiesEditor
* Display parent variables (not editable) and overriden variables in italic.
* Also Fix (existing) crashes when deleting variables.
  This was wrongly written:
    * no recursive search (`contains` 2nd argument not passed)
    * comparing a VariableAndName with a gdVariable made no sense.
2019-02-19 22:19:27 +01:00
Florian Rival
be950a7779 Add pseudolocalization (fake language) to detect hardcoded strings 2019-02-19 00:19:45 +01:00
Zat
d37ef30041 Update Howler to 2.1.1 (#939) 2019-02-17 12:43:36 +00:00
Florian Rival
53360bc189 Reload all extensions (including builtin) after a language change 2019-02-17 00:55:58 +00:00
Florian Rival
bfd6712a93 Ensure changes to language are immediately applied to interface.
Still need to reload GDevelop built-in extensions.
2019-02-17 00:25:29 +00:00
Florian Rival
6902f1495d Update translations 2019-02-16 19:40:26 +00:00
Florian Rival
156fd3bc19 Make Debugger Toolbar translatable 2019-02-16 19:33:35 +00:00
Florian Rival
b1303b4ad6 Update package-lock.json 2019-02-16 19:33:05 +00:00
Florian Rival
2fa3bb7b1b Merge pull request #919 from 4ian/refactor/cra2-and-jslingui
Add support for translations in GDevelop 5 🌎

For contributors, please merge master in your branches for your Pull Requests. 
See this comment: https://github.com/4ian/GDevelop/pull/919#issuecomment-464371931
Don't forget to remove `node_modules` folder in `newIDE/app`, and relaunch `npm install` or `yarn`, then `npm start` or `yarn start`.
2019-02-16 18:56:24 +00:00
Florian Rival
fca6f7627a Add unsafe-eval to fix issue with webpack for now 2019-02-16 18:22:43 +00:00
Florian Rival
e7bca87063 Update react-scripts and fix npm install 2019-02-12 23:50:28 +00:00
Florian Rival
a7afaa1241 Update translations 2019-02-10 20:34:27 +00:00
Florian Rival
e98f25255c Exclude deprecated extensions from translations 2019-02-10 18:35:52 +00:00
Florian Rival
b4bd225f78 Exclude GDCpp messages from translations (as only used in old IDE) 2019-02-10 18:10:44 +00:00
Florian Rival
2c0253fafa Improve translation handling and update all locale messages 2019-02-10 18:03:28 +00:00
Florian Rival
c8201949df Add LanguageDialog to choose language 2019-02-09 17:47:11 +00:00
Florian Rival
0426bcb2a6 Run Prettier 2019-02-09 16:11:52 +00:00
Florian Rival
9025d055a0 Fix translated dialog titles rendering and strings not to be translated 2019-02-09 16:10:32 +00:00
Florian Rival
bef6f04f89 Run "codemod" to internationalize files 2019-02-09 16:10:32 +00:00
Florian Rival
800d4f7098 Fix Prettier and npm/yarn format command to exclude locales folder 2019-02-09 16:02:22 +00:00
Florian Rival
e8d9d4fa4b Use custom build of @lingui/react while waiting for new version for Flow fixes 2019-02-09 15:51:42 +00:00
Florian Rival
c9e2d3f4e0 Fix broken TimeExtension.cpp 2019-02-09 14:12:56 +00:00
Florian Rival
43230003b8 Fix ExampleJsExtension broken after internationalization 2019-02-09 14:08:22 +00:00
Florian Rival
725069026c Fix issue with incompatible babel-loader version 2019-02-09 14:08:22 +00:00
Florian Rival
7729137a72 Upgrade to Storybook v4 2019-02-09 14:08:22 +00:00
Florian Rival
3c81b3decb Internationalize a few files and add a script to codemod most newIDE files 2019-02-09 14:08:22 +00:00
Florian Rival
460946e8f4 Add analyze-translations-coverage script 2019-02-09 14:08:22 +00:00
Florian Rival
6908ab9b3f Fix ElectronEventsBridge regression (menus not working anymore) 2019-02-09 14:08:22 +00:00
Florian Rival
0286f97145 Add temporary translation files to .gitignore 2019-02-09 14:08:22 +00:00
Florian Rival
a40ba2551d Update README to add commands for updating translations 2019-02-09 14:08:22 +00:00
Florian Rival
02c65bcf66 [WIP] Add translations support, using js-lingui, to newIDE (including libGD.js)
* Upgrade to Flow 0.92 and make fixes for it
* Convert all extensions to use _("...") instead of t("...") for translations,
  to be able to be parsed by gettext
* Handle translation in JS extensions
* Move Providers out of MainFrame
* Remove i18next
* Adapt ExtractTranslations script to handle js files (for extensions)
2019-02-09 14:08:22 +00:00
Florian Rival
ecf5401626 Update to create-react-app v2 2019-02-09 14:08:22 +00:00
Florian Rival
8866719ef0 Fix Time expression and add "timestamp" support 2019-02-09 13:27:55 +00:00
Wend1go
6a02f1b3c5 Add handling of 'stringWithSelector' parameters (#911) 2019-02-08 19:37:38 +00:00
Florian Rival
02d7c84e17 Update description of some actions/conditions 2019-02-08 17:49:49 +00:00
Florian Rival
0a9fb45841 Update link to download libGD.js 2019-02-06 23:48:16 +00:00
Florian Rival
6ddace1ec4 Add an example of an object action in ExampleJsExtension 2019-02-06 23:34:43 +00:00
Florian Rival
fc4107107b Make parameters like objectvar use the last object (not necessarily the parameter just before) 2019-02-06 23:17:13 +00:00
Florian Rival
30da9e6556 Add support for stringWithSelector parameter type 2019-02-06 22:53:53 +00:00
Florian Rival
939de1e928 Fix potential error in Facebook Instant Games export 2019-02-06 22:45:23 +00:00
Florian Rival
c8b3572cd8 Fix parameter extra information being prefixed by extension namespace 2019-02-06 22:44:29 +00:00
Florian Rival
d350243b2e Fix spelling of some conditions and actions 2019-02-06 22:08:50 +00:00
Florian Rival
ea68c31c07 Fix typo in "Common actions" category title 2019-02-05 12:01:53 +00:00
Wend1go
0dd837d127 Fix typo/spelling in README (#926) 2019-02-05 10:01:30 +00:00
Florian Rival
b5c019ae6b Add mention to JavaScript flavor in the newIDE readme. 2019-02-05 00:10:34 +00:00
Florian Rival
b4337d3746 Mention JavaScript flavor in extension README. 2019-02-05 00:08:45 +00:00
Franco Maciel
afc0a86903 Ensure size of the game during preview is the same as in settings (#924) 2019-02-04 22:15:55 +00:00
Florian Rival
2e6821d231 Add documentation about JS features/code style/typing 2019-02-04 21:30:54 +00:00
Kink
ea8a827937 Remove simulated clicks in game when the cursor leaves the window (#923) 2019-02-04 17:57:09 +00:00
Florian Rival
bc352424e1 Move "About GDevelop" menu item to help menu on Windows/Linux 2019-02-04 13:47:37 +00:00
Florian Rival
8e83f1581e Remove menu item to close the window (Win/Linux)
Was confusing with "Quit GDevelop 5" menu item
and was adding a Ctrl+W as shortcut that would
close the window.
2019-02-04 13:43:59 +00:00
Kink
ba593b46dd Update ColorPicker placement to avoid it going out of screen (#917) 2019-02-03 23:46:38 +00:00
Florian Rival
d8cfead994 Fix broken alignment for text and icons in Link events 2019-02-03 23:32:32 +00:00
Kink
cf7db809ac Properly show disabled Link events and adapt the rendering to the theme (#916) 2019-02-03 23:23:18 +00:00
Florian Rival
26dd33854f Bump newIDE version 2019-01-30 22:17:33 +00:00
Florian Rival
1ed530d946 Add endless-up-runner and space-invaders examples 2019-01-30 21:55:11 +00:00
Florian Rival
b85008c269 Fix prettier 2019-01-30 21:52:49 +00:00
Florian Rival
08ddb6e519 Fix potential crash if new release without description 2019-01-30 21:35:12 +00:00
Florian Rival
d37c55e86f Update version of libGD.js 2019-01-28 23:43:12 +00:00
Florian Rival
e2c7e1a145 Merge pull request #780 from 4ian/feature/expression-parser-2
Use ExpressionParser2 as the default parser for expression in games
2019-01-28 23:36:07 +00:00
Florian Rival
6ebf40647e Bump newIDE version 2019-01-28 23:16:20 +00:00
Florian Rival
ed42f1c54a Fix wrong parameters in downhill-bike-physics-demo 2019-01-28 23:16:20 +00:00
Florian Rival
c94097acfb Fix deprecated usage of X and Y with point name 2019-01-28 23:16:20 +00:00
Florian Rival
9c6c8564fa Fix handling of object parameters in expressions 2019-01-28 23:16:20 +00:00
Florian Rival
4b33373296 Fix ConvertToString and code generation for strings with backlash/escaped characters 2019-01-28 23:16:20 +00:00
Florian Rival
7ce11c5252 Add expression parser test checking for big list of naughty strings 2019-01-28 23:16:20 +00:00
Florian Rival
0d864ce6a7 Update error message and add test case 2019-01-28 23:16:20 +00:00
Florian Rival
a6360152cd Fix typing 2019-01-28 23:16:20 +00:00
Florian Rival
827fdbf05a Bump GDevelop Core version 2019-01-28 23:16:20 +00:00
Florian Rival
a4c372d945 Convert PointX/PointY argument to a string 2019-01-28 23:16:20 +00:00
Florian Rival
93708cb2f3 Properly handle numbers with leading 0 (normalize them to remove the extra 0) 2019-01-28 23:16:19 +00:00
Florian Rival
3035bc9386 Improve error messages for empty expressions 2019-01-28 23:16:19 +00:00
Florian Rival
4c789967c3 Fix code generation of invalid variable expressions 2019-01-28 23:16:19 +00:00
Florian Rival
75797f2c41 Fix real-time error highlighting in case expression is being written 2019-01-28 23:16:19 +00:00
Florian Rival
571686f180 Add highlighting of errors 2019-01-28 23:16:19 +00:00
Florian Rival
df68978adc Add edge cases fixes and fuzzy tests for ExpressionParser2 2019-01-28 23:16:19 +00:00
Florian Rival
7a87fd9924 Add support for unary operator in ExpressionParser2 2019-01-28 23:16:19 +00:00
Florian Rival
8d1502cb20 Fix parsing of behaviors expressions 2019-01-28 23:16:19 +00:00
Florian Rival
34b5038bd5 Refactor to use the new ExpressionCodeGenerator (or old one with a flag) 2019-01-28 23:16:19 +00:00
Florian Rival
a9e1120f00 Add gd::ExpressionCodeGenerator::GenerateExpressionCode 2019-01-28 23:16:19 +00:00
Florian Rival
b14238c692 Use ExpressionParser2 for EventsVariablesFinder 2019-01-28 23:16:19 +00:00
Florian Rival
dfe4a75fbd Use ExpressionParser2 for EventsContextAnalyzer 2019-01-28 23:16:19 +00:00
Florian Rival
4fd88072e9 Improve ExpressionParser2 and use it for GenericExpressionField and EventsRefactorer 2019-01-28 23:16:19 +00:00
Florian Rival
f2e6f19c34 Add ExpressionParser2NodePrinter 2019-01-28 23:16:18 +00:00
Florian Rival
66029c62ed Add Variable code generation for ExpressionParser2 2019-01-28 23:16:18 +00:00
Florian Rival
43d78a74bd Enhance ExpressionParser2 and add ExpressionCodeGenerator 2019-01-28 23:16:18 +00:00
Florian Rival
0ec6ebad07 Add ExpressionParser2 and tests 2019-01-28 23:16:18 +00:00
Florian Rival
8743672038 Update links to social network pages/profiles 2019-01-28 23:02:31 +00:00
Florian Rival
3fd032d898 Fix potential crash when deleting events or instructions 2019-01-27 23:54:56 +00:00
Florian Rival
2b40f57189 Fix Duration parameter of Vibrate action 2019-01-24 23:12:37 +00:00
Wend1go
fc3f8a945b Add actions for loading/saving files (raw or JSON) to Filesystem (#884) 2019-01-24 22:04:43 +00:00
Florian Rival
ed24871130 Fix crash in profiler when using a lot of nested groups 2019-01-23 22:12:49 +00:00
Florian Rival
e416fb0586 Merge branch 'master' of github.com:4ian/GDevelop 2019-01-23 21:52:45 +00:00
Florian Rival
5778131deb Improve debugger performance 2019-01-23 21:52:31 +00:00
Todor Imreorov
8e81f78596 Remember zoom/grid/window mask state for scenes and external layouts (#892) 2019-01-23 21:23:09 +00:00
Todor Imreorov
1abdcaf0c0 Warn user when renaming resource that it might break objects (#899) 2019-01-23 19:14:24 +00:00
Florian Rival
4af867ba3a Fix expression transforming structure variable to JSON 2019-01-23 17:47:15 +00:00
Todor Imreorov
f75c2297d7 Fix "Locate File" and related menu options after a resource is renamed (#898) 2019-01-22 19:28:47 +01:00
Florian Rival
72c4f88936 Add screen-shake and update downhill-bike-physics-demo example 2019-01-21 16:48:10 +01:00
Florian Rival
34bcfdfee7 Customize the style of markdown rendered text 2019-01-20 20:54:47 +00:00
Florian Rival
7e78d4de5a Display changelog when launching a new version for first time
* Also display changelog in AboutDialog
2019-01-20 20:54:47 +00:00
Bouh
971b7a2322 Prevent renaming elements with an already existing name in Project Manager (#888) 2019-01-19 17:44:07 +00:00
Todor Imreorov
9a95aabc87 Add --disable-update-check option to disable check for updates (#887) 2019-01-19 16:28:38 +00:00
Florian Rival
53dcfa1cbf Fix enabling/disabling alert messages 2019-01-18 17:45:20 +00:00
Florian Rival
0ed7ccfb72 Set shortcut to close project to Ctrl/Cmd+Shift+W 2019-01-17 17:31:15 +00:00
Florian Rival
0fcd5cbbb9 Bump newIDE version 2019-01-17 17:30:48 +00:00
Florian Rival
fb6b959636 Add downhill-bike-physics-demo example 2019-01-14 22:42:26 +00:00
Florian Rival
1d7f0f9f94 Fix Prettier 2019-01-14 21:54:34 +00:00
Florian Rival
4be527c18a Try to prevent any crash by catching any exception when setting window title 2019-01-14 21:47:03 +00:00
Florian Rival
5e770d460d Merge branch 'master' of github.com:4ian/GDevelop 2019-01-14 21:25:31 +00:00
Florian Rival
73daf0e940 Fix Facebook instant games needing a bundle configuration file 2019-01-14 21:25:22 +00:00
Franco Maciel
58d88835c5 Fix initial motors speed in actions of Physics2 behavior (#872) 2019-01-14 21:09:09 +00:00
Florian Rival
0aa66837d4 Fix login dialog not showing on top of export dialog
Fix #868
2019-01-14 11:29:02 +00:00
Florian Rival
11349086c7 Update all remaining examples from old Physics engine to Physics Engine 2.0 2019-01-13 23:36:29 +00:00
Zat
d3d636744e Fix wheel joint argument definitions (#871) 2019-01-13 22:10:50 +00:00
Bouh
5baf2d9735 Fix sentence a FB Instant Game action (#869) 2019-01-13 19:13:04 +00:00
Florian Rival
d0daf0b5a8 Update bouncing-ball-and-rope example with new Physics engine 2019-01-12 17:35:39 +00:00
Florian Rival
21841e0bce Add Ragdoll example 2019-01-12 17:06:35 +00:00
Florian Rival
417ab2ff3d Gray out the deprecated Physics Engine category in InstructionSelector 2019-01-11 20:04:24 +00:00
Florian Rival
caee5fdcc7 Change default name of Physics2 behavior 2019-01-11 19:48:25 +00:00
Florian Rival
1fbd58fa75 Change wording of the old Physics extension 2019-01-11 19:48:25 +00:00
Florian Rival
389deadac5 Also improve flow typing of Debugger Toolbar
Note that the way translations are done might be changed later, but
this is for reference if needed.
2019-01-11 19:48:25 +00:00
Florian Rival
7d52165a82 Add deprecation alert for instructions of old Physics engine 2019-01-11 19:48:25 +00:00
Florian Rival
5e3e7e25fc Fix opening of ExpressionSelector not showing the top with the search field 2019-01-10 08:35:08 +00:00
Florian Rival
56afb11e2c Hide object drop-down list after an object is selected 2019-01-10 08:26:07 +00:00
Florian Rival
b6a0cfef32 Fix linter warning 2019-01-10 08:10:17 +00:00
Florian Rival
37c3a6d38a Add explicit "OK" button in message box to fix issue on Linux
See #856
2019-01-10 08:07:55 +00:00
Zat
30f830589c Add expressions relative to body to Physics2 behavior (#854) 2019-01-09 09:26:31 +00:00
Florian Rival
5f8546c3b9 Avoid crash of the debugger with Particle Emitters
This is done by using _renderer as the name for the renderer property,
with an underscore, which is filtered by the debugger when the game
is dumped.
2019-01-06 22:59:21 +00:00
Zat
4c2997b2d9 Add missing Physics2Behavior expressions (#848) 2019-01-06 20:43:12 +00:00
Franco Maciel
2338b5bfd6 Use AABB to check if cursor is on object (#852) 2019-01-06 20:23:19 +00:00
Franco Maciel
8a07e9b6c5 Prevent crash with repeated and aligned vertices in Physics2 behavior (#850) 2019-01-06 17:26:43 +00:00
Florian Rival
61303c7cf9 Fix Prettier 2019-01-06 00:59:07 +00:00
Florian Rival
43eaf30750 Fix error in Flow typing in recent Flow versions 2019-01-05 19:01:30 +00:00
Florian Rival
db278485fc Improve Flow typing 2019-01-05 18:42:19 +00:00
Florian Rival
3f5b42dc90 Fix tests of InstructionOrExpressionSelector and make them more robust against changes 2019-01-05 18:38:55 +00:00
Florian Rival
cd285b5676 Display icons in the list of instructions or expressions 2019-01-05 18:11:47 +00:00
Franco Maciel
509ac8966e Prevent undefined vertices in Physics2 behaviors (#845) 2019-01-05 17:03:42 +00:00
Florian Rival
bda2a10b5f Improve Flow typing of InstructionOrExpressionSelector 2019-01-05 17:03:11 +00:00
Florian Rival
841e1a66b6 Fix updating shared properties of Physics2 2019-01-05 13:52:18 +00:00
Franco Maciel
3fc588b6e3 Add a new editor (with Polygon support) for Physics2 engine (#825)
* Physics editor and custom polygon support
* Add shape preview
* Dynamic dimension labels in function of the shape
* Add polygon editor
* Preview box, circle and edge
* Prevent invalid properties values
* Add BehaviorsEditorService
2019-01-05 12:28:45 +00:00
Florian Rival
50ebf6e5a2 Add support for creating objects in JS extensions + example 2019-01-05 12:03:24 +00:00
Florian Rival
cbe33d2bd1 Improve/fix mistakes in gdjs.TextRuntimeObject documentation 2019-01-03 22:45:24 +00:00
Florian Rival
8c8c297adb Make mouse button labels more accessible 2019-01-03 21:07:18 +00:00
Florian Rival
a8d927994b Change the mouse button labels in newIDE 2019-01-03 21:07:18 +00:00
Florian Rival
1fb3231f98 Use constants to represents button in the game engine 2019-01-03 21:07:18 +00:00
Bouh
70a58f1bd4 Fix Middle mouse button handling (#841) 2019-01-03 18:34:03 +00:00
Franco Maciel
302bcb718f Fix initial opacity undefined 2019-01-03 13:59:08 +00:00
Florian Rival
857c706f48 Add help link for PanelSprite object editor 2018-12-30 22:55:11 +01:00
Wend1go
5b5f91c1f9 Add example for screenshot extension (#835) 2018-12-30 21:54:15 +01:00
Wend1go
0652e19190 Brighten up Screenshot icons to better fit the dark theme (#834) 2018-12-30 11:34:25 +01:00
Wend1go
5feb4caa31 Add FileSystem extension (special path, file existence and creating directory) (#828) 2018-12-29 20:11:53 +01:00
Florian Rival
1cd5519b93 Fix snapshot tests 2018-12-29 20:08:56 +01:00
Florian Rival
96761c461d Adapt descriptions of storage actions to make clear that no files are written 2018-12-29 18:27:21 +01:00
Florian Rival
1a82663968 Add dismissable alerts to warn/help the user 2018-12-27 18:50:15 +01:00
Florian Rival
9111b56eb3 Add GetAngle/Get(X|Y)Velocity to top-down behavior 2018-12-27 16:53:44 +01:00
Florian Rival
d7f22bcf26 Update isometric-game example 2018-12-27 14:02:05 +01:00
Florian Rival
b9b0ed812d Update Platformer example 2018-12-27 12:03:00 +01:00
Florian Rival
6734644df4 Fix non prettified files 2018-12-27 12:00:51 +01:00
Florian Rival
ddeff6bfae Add shortcut to open Project Manager and focus search field when opening 2018-12-27 11:56:01 +01:00
Florian Rival
8f10eac512 Fix snapshot tests 2018-12-27 11:37:31 +01:00
Florian Rival
162524f779 Automatically close project manager after opening functions 2018-12-27 11:19:32 +01:00
Wend1go
1da347b08b Add Screenshot extension (for games running on Windows/macOS/Linux) (#806)
* Add functionality to take screenshots, when running on Electron.
2018-12-27 11:07:42 +01:00
Florian Rival
01b7f81507 Fix regression on rounding of platformer object X position and skeleton collision 2018-12-26 23:22:10 +01:00
Florian Rival
5a3d2cc2b9 Reduce iterations of polygon benchmark 2018-12-26 23:22:10 +01:00
Florian Rival
cb659eee6d Add pixel-perfect-platform-engine and update other examples 2018-12-26 23:22:10 +01:00
Florian Rival
0f24410a2e Fix platform engine 1-pixel offset bug
* "Bug" is fixed by ignoring edges when doing collision tests for
the platform engine.
* Also add an option to round coordinates and ensure pixel-perfect
alignement of characters on platforms (on by default)
* Also add an optional parameter to ignore edges when
doing a collision test (or when separating objects)
2018-12-26 23:22:10 +01:00
Todor Imreorov
a31ea1475d Add button to choose a new file for a resource in ResourcePropertiesEditor (#822) 2018-12-26 17:55:59 +01:00
Todor Imreorov
0cecf685ca Autoclose project manager when opening an editor (#826) 2018-12-26 14:36:49 +01:00
Florian Rival
f39af51fda Add benchmark for polygon collision test and add test runner for Firefox 2018-12-26 13:45:45 +01:00
Florian Rival
704eaacc7e Enable back all GDJS tests 2018-12-26 12:52:51 +01:00
Florian Rival
1f7bec0ff1 Add option to set scale mode ("sampling") of the game to nearest ("pixel-perfect") 2018-12-25 23:27:09 +01:00
Florian Rival
69ffa45ea9 Fix touch/mouse handling regression 2018-12-25 21:37:11 +01:00
Florian Rival
2558052a61 Fix visual artifacts when rendering rescaled games.
Artifacts where visible on rescaled games, especially when canvas
was small and the game pixel perfect. This was due to changing
Pixi renderer size instead of scaling the canvas.

For a perfect "pixel perfect" rendering, "image-rendering: pixelated"
would be needed on the canvas (to be added as a game settings)
(see for instance: https://gablaxian.com/articles/creating-a-game-with-javascript/scaling-the-canvas)
2018-12-25 18:15:27 +01:00
Florian Rival
abf40200cb Fix prettier for ExamplesInformation.js (auto-generated file) 2018-12-24 19:36:27 +01:00
Florian Rival
2fd4459364 Add 2 example for the new Physics Engine 2018-12-24 18:34:10 +01:00
Florian Rival
2ed9088b58 Fix lint warnings 2018-12-24 18:02:39 +01:00
Florian Rival
f69b9132ad Add test case for JSON array with numbers 2018-12-24 14:02:58 +01:00
Franco Maciel
fb7d3d589d Fix LShift key code (#823) 2018-12-24 13:19:08 +01:00
Franco Maciel
87acba5105 Fix JSON array parser separators (#819) 2018-12-23 19:17:36 +01:00
Franco Maciel
2d314ff51b Add New physics behavior (Physics2) (#775) 2018-12-23 00:15:25 +01:00
Florian Rival
5054678193 Fix functions list rendering and always shown functions in project manager 2018-12-22 23:44:25 +01:00
Todor Imreorov
aaf9d318a9 Add error color to resources with missing files (#818) 2018-12-22 22:52:34 +01:00
Florian Rival
cc92445d4c Update READMEs with more links/information/commands 2018-12-22 16:39:19 +01:00
Florian Rival
1649591442 Add check-format to check non prettified files and add it to TravisCI 2018-12-22 12:09:04 +01:00
Florian Rival
77faff3919 Upgrade Prettier and run Prettier on newIDE/app/src to fix some files 2018-12-22 11:41:50 +01:00
Florian Rival
873280d818 Fix tests after libGD.js update 2018-12-22 00:05:21 +01:00
Florian Rival
238b6a2a09 Fix un/serialization of JSON arrays by gd::Serializer 2018-12-21 21:02:13 +01:00
Florian Rival
98d0d5102e Bump newIDE version 2018-12-20 22:05:25 +00:00
Florian Rival
47818846e7 Fix Jfxr not opening 2018-12-20 21:56:27 +00:00
Florian Rival
8276eda243 Bump newIDE version 2018-12-20 17:51:36 +00:00
Todor Imreorov
ca2e00bd91 Add input for setting FPS for animation playback speed (#814) 2018-12-20 16:08:44 +00:00
Franco Maciel
6177b0197e Don't load AdMob ads if already loading/showing (#817) 2018-12-19 15:20:04 +00:00
Florian Rival
fb65b56cb7 Remove Submit Your Example button from web-app 2018-12-18 08:46:26 +00:00
Todor Imreorov
6f780f79e9 Add field to change time between frames to AnimationPreview (#811) 2018-12-18 08:44:29 +00:00
Florian Rival
d31f0793d5 Set default time between frames to 0.08 2018-12-18 08:14:20 +00:00
Todor Imreorov
88c88ad1eb Add menu item to remove all resources with invalid paths (#812) 2018-12-17 21:25:39 +00:00
Franco Maciel
4202e2672d Add actions to set Sprite size in pixels (#808) 2018-12-17 16:45:47 +00:00
Florian Rival
f29cc503bf Fix version number not properly applied to Android/Cordova builds
Fix #804
2018-12-16 13:58:26 +00:00
Florian Rival
1aa81949ce Fix AdMob extension not loaded in web-app 2018-12-16 12:56:30 +00:00
Florian Rival
4593f09131 Fix empty menu options shown in scene editor context menu 2018-12-16 12:49:47 +00:00
Florian Rival
782ea0e0af Fix right click in CodeEditor that could trigger the event context menu 2018-12-16 12:42:17 +00:00
Florian Rival
8e893e660b Add hint text on ObjectSelector 2018-12-16 12:28:51 +00:00
Florian Rival
384346c54e Fix horizontal scrollbar displayed in events + prettify EventsSheet.css 2018-12-16 12:25:04 +00:00
Florian Rival
df3920cce3 Fix link to help page for mouse action/conditions 2018-12-16 12:17:29 +00:00
Florian Rival
6e9ff4b682 Bump newIDE version 2018-12-11 21:26:07 +00:00
Todor Imreorov
df161c48fd Fix Piskel loading (#795)
Fix #792
2018-12-11 21:21:11 +00:00
Florian Rival
ee6a337e71 Bump the GDJS version used for web-app 2018-12-11 00:23:20 +00:00
Florian Rival
d5146a0c65 Bump newIDE version 2018-12-10 23:37:13 +00:00
Florian Rival
eae4683c4f Add plane-and-clouds and bouncing-ball-and-rope examples 2018-12-10 23:34:28 +00:00
Florian Rival
dec96a2f3a Add condition to check if Facebook Instant Games ads are supported 2018-12-10 23:22:44 +00:00
Florian Rival
9610eeb6e5 Add support for interstitial and reward video in Facebook Instant Games 2018-12-10 23:12:03 +00:00
Todor Imreorov
213cd0a8c7 Add options to locate/open/copy path of a resource in ResourcesList 2018-12-10 20:59:28 +00:00
Todor Imreorov
8a117c1813 Add support for Piskel layers (+scan/remove unused font/audio) (#731)
* Layers are stored as resource metadata (for single frame) or Direction metadata (for more than one frame). If metadata is detected, use it to load the frames with layers
* Add options to scan for fonts and remove unused audio and fonts.
2018-12-05 16:32:10 +00:00
Franco Maciel
73ff10bb1f Fix issue with draggable behavior when object is deleted while dragging (#779) 2018-12-01 15:40:39 +00:00
Franco Maciel
300efbbd5c Update forces pre-events, fixing issues like offsets in positioning (#776) 2018-11-30 19:18:30 +00:00
Florian Rival
2e240643a2 Make access to variables 50% faster 2018-11-28 23:12:07 +00:00
Florian Rival
aa16e90aac Fix potential memory corruption with JsCodeEvent (in GDevelop.js) 2018-11-28 22:15:58 +00:00
Florian Rival
137ffc2b84 Optimize and rename clearing to multiplier in gdjs.Force 2018-11-28 21:41:11 +00:00
Florian Rival
34b460e968 Fix typo 2018-11-28 21:41:11 +00:00
Florian Rival
30cb0bcfb3 Add forceMultiplier parameter type and add specific field for it in parameters 2018-11-28 21:41:11 +00:00
Florian Rival
1b7a667c79 Improve description of opacity and other actions/conditions 2018-11-25 19:55:20 +01:00
Florian Rival
9a4655eefc Improve conditions/actions to explain that opacity is in 0-255 range 2018-11-25 19:48:46 +01:00
Florian Rival
ca9a0d3d37 Prevent time between frames to be set too low or to 0 in SpriteEditor 2018-11-25 19:38:29 +01:00
Florian Rival
10d8d6c4a8 Make explicit when scene variables are being used in conditions/actions 2018-11-25 19:24:30 +01:00
Florian Rival
a7f4da8e40 Merge branch 'master' of github.com:4ian/GDevelop 2018-11-25 14:21:21 +01:00
Wend1go
40b3c688d1 Add 400% zoom option to scene editor (#768)
Ideal for pixelart games with 16x16px sprites
2018-11-25 14:15:52 +01:00
Florian Rival
fc340b9477 Add ColorExpressionField 2018-11-23 17:59:39 +00:00
Florian Rival
cc810b3e9f Fix empty icons in Cordova config.xml resulting in build failure 2018-11-21 22:25:06 +00:00
Florian Rival
7d165660a5 Fix rendering of ShapePainterRuntimeObject with absolute coordinates when far from camera
Fix #750
2018-11-21 00:31:37 +00:00
Florian Rival
8d35bbbfdf Update package-lock for electron-app 2018-11-19 23:47:28 +00:00
Florian Rival
8ebff3c15e Bump newIDE version 2018-11-19 23:41:03 +00:00
Florian Rival
a00fff9376 Upgrade to Electron 3.0.9 (#754) 2018-11-19 23:39:08 +00:00
Florian Rival
32f56f3366 Fix typo 2018-11-19 09:36:34 +00:00
Florian Rival
09eab9eb46 Fix ShapePainter hitboxes/aabb not updated when moved 2018-11-17 19:10:57 +00:00
Florian Rival
9fe379d073 Make games exported on Android fullscreen 2018-11-17 15:07:19 +00:00
Florian Rival
f21fbd9871 Fix typo 2018-11-15 10:52:22 +00:00
Oneoeigh
f38dfd1211 Improving wording in README.md (#743)
Slight changes to make it easier to understand
2018-11-14 00:30:10 +00:00
Florian Rival
eefc656d49 Add support for adding filter to icons on themes 2018-11-14 00:12:16 +00:00
Florian Rival
1490b34650 Update link to download libGD.js 2018-11-13 23:54:24 +00:00
Florian Rival
ff496c65a5 Merge pull request #742 from 4ian/feature/font-resource
Rework fonts loading
2018-11-13 23:33:18 +00:00
Florian Rival
e9a3e801f7 Update gdjs.FontManager to support files for Cocos2d-JS 2018-11-13 23:24:49 +00:00
Florian Rival
4f8401ab1a Update PixiResourcesLoader to handle font resource in editor 2018-11-13 22:45:38 +00:00
Florian Rival
871b01124f Refactor ResourcesInUseHelper and TextObject for exposing fonts 2018-11-13 22:13:40 +00:00
Florian Rival
45d2844d8b Add FontResource and rework loading to ensure all fonts are properly loaded
* Add FontManager to the game engine, used to load and get access to loaded fonts.
* Use fontfaceobserver library to detect when a font is loaded.
* Add FontResource as a resource, like AudioResource.
* Update the TextEditor to use a selector for fonts.
* Refactor ResourceSelector floating label text
2018-11-12 23:45:01 +00:00
Florian Rival
566517320d Increase benchmarks timeout to avoid timeout on CI 2018-11-11 22:08:34 +00:00
Florian Rival
15773bca85 Fix unserialization of metadata of Direction 2018-11-11 21:10:42 +00:00
Florian Rival
a48d7017ea Bump newIDE version 2018-11-08 22:15:09 +00:00
Florian Rival
7d1f52ded4 Fix tests broken since AdMobObject extension was removed 2018-11-05 18:58:32 +00:00
Florian Rival
569adc1500 Fix ReosurcesMergingHelper wrongly modifing extensions of files having filename conflicts during export 2018-11-05 18:52:23 +00:00
Florian Rival
e6eb193e8e Add Get/SetMetadata to Sprite's Direction 2018-11-05 16:36:54 +00:00
Florian Rival
b8c63dade1 Add jfxr-editor to the list of git ignored folder 2018-11-05 16:36:11 +00:00
Todor Imreorov
82f92d36f1 Replace Jsfx by Jfxr sound effects generator (#716)
Jfxr yields better results and has a better interface
2018-11-03 21:40:15 +00:00
Florian Rival
6b17c1febd Add new example for the AdMob extension 2018-10-31 23:45:10 +00:00
Florian Rival
95882d1289 Remove AdMobObject extension (replaced by AdMob extension) 2018-10-31 23:11:04 +00:00
Florian Rival
70340bba7f Fix typo and floating label 2018-10-31 22:05:55 +00:00
Florian Rival
c809be9a07 Fix cordova version for AdMob extension 2018-10-31 22:05:37 +00:00
Franco Maciel
cc7b0f524e Add a new AdMob extension (#702)
* Add AdMob application ID to the project
* Export AdMob application ID with Cordova
* Switch to cordova-plugin-admob-free
* Add banners and interstitials support
2018-10-31 00:08:43 +00:00
Florian Rival
a61784bb6c Add validation for function parameters names 2018-10-28 06:41:09 -07:00
Florian Rival
3f92fc2ee5 Add support for key and mouse parameters in functions 2018-10-28 06:41:09 -07:00
Florian Rival
a4c08305c7 Improve UI of function parameters 2018-10-28 06:41:09 -07:00
Florian Rival
067798ff2c Fix EventsSheet toolbar buttons when navigating between functions 2018-10-28 06:41:09 -07:00
Florian Rival
7a838fc8f9 Refactor GDJS benchmarks 2018-10-28 06:41:09 -07:00
Florian Rival
e669190ca2 Add commented lines that can be uncomment to display debug draw 2018-10-28 06:41:09 -07:00
Florian Rival
b84bb8630a Improve accuracy/performance of various computations and add benchmarks
Add tests for gdjs.Force
Add tests for gdjs.Layer
2018-10-28 06:41:09 -07:00
Florian Rival
fb849be246 Fix AABB computation for rotate objects
AABB was not properly computed for rotated objects or objects
with a non default center/origin. This could create issues while checking
collisions and for behaviors/logic relying on spatial hashing (platformer,
pathfinding).

* Add benchmark to compare the speed of the implementation for non rotated object
(simple/faster) and for rotated objects (always exact but 12-15% slower).
* Add a method to render AABB of objects to ease debugging.
* Also add a test game.
* Add tests for AABB
* Add tests for getHitboxes for gdjs.SpriteRuntimeObject
2018-10-28 06:41:09 -07:00
Florian Rival
382aa0f086 Bump newIDE version 2018-10-22 22:43:31 +01:00
Florian Rival
303873974c Improve grammar/wording/typos in SubscriptionDetails 2018-10-22 22:18:47 +01:00
Florian Rival
9f0ec46064 Fix GetArgumentAsString (and fix test game using it) 2018-10-22 22:03:32 +01:00
Wend1go
9b2fa5d080 Fix typos/grammer (#710) (#713)
Thanks to @ValiantCuriosity (See #710)
2018-10-22 21:38:57 +01:00
Florian Rival
93611d8642 Bump newIDE version 2018-10-21 21:29:29 +01:00
Florian Rival
a0f15817ca Ensure functions are shown in Project Manager when they are some (even if option deactivated in preferences) 2018-10-21 21:29:00 +01:00
Florian Rival
6323aefb6b Ensure user is asked to close the project and switch to use native dialog 2018-10-21 21:19:37 +01:00
Florian Rival
6bdc0f3961 Bump newIDE version 2018-10-21 19:10:25 +01:00
Florian Rival
905a459ea2 Handle proper generation of functions using functions (two passes extensions generation) 2018-10-21 19:10:05 +01:00
Florian Rival
eb67604ca6 Update information about examples 2018-10-21 16:14:48 +01:00
Florian Rival
63077c7cef Update examples for functions 2018-10-21 16:12:11 +01:00
Florian Rival
2fed5b9a8b Fix error reporting in import-XXX.js scripts 2018-10-21 15:49:55 +01:00
Florian Rival
88b4b3860b Fix jsfx not loading when electron app is built, due to ES modules loading restrictions with file protocol 2018-10-21 15:46:47 +01:00
Florian Rival
e295efac7f Fix issue where jsfx wasn't properly loaded 2018-10-21 12:35:19 +01:00
Florian Rival
c5554d05fd Fix import-jsfx-editor and add jsfx sources to .gitignore 2018-10-20 20:29:21 +01:00
Florian Rival
6a163a59ca Merge pull request #695 from blurymind/master
Add jsfx sound effects editor
2018-10-20 20:24:56 +01:00
Florian Rival
9f5b63bad9 Fix object creation in functions and add space-shooter-with-functions example 2018-10-20 18:29:36 +01:00
Florian Rival
35aa78ea35 Fix long action/condition words not breaking properly 2018-10-20 16:31:01 +01:00
Todor Imreorov
82442fe618 expose background color in modalWindow, add option to wait for dom...
...to load before showing the window
2018-10-19 19:01:11 +01:00
Florian Rival
9dabcbd1f1 Update Level Editor example for web-app 2018-10-18 23:32:49 +01:00
Florian Rival
7f0fce5f6d Update Level Editor example to use functions 2018-10-18 23:28:14 +01:00
Florian Rival
90baf3cdb5 Add support for events functions on the web-app (BrowserS3EventsFunctionWriter) 2018-10-18 23:19:41 +01:00
Florian Rival
cccbb0e61b Fix Flow in ProjectManager 2018-10-18 22:39:25 +01:00
Florian Rival
702f1b529f Make ProjectManager display if errors occurred in functions generation 2018-10-18 22:28:09 +01:00
Florian Rival
fcc9740a77 Improve typing and remove muiThemeable in ProjectManager 2018-10-18 21:30:02 +01:00
Florian Rival
094bdb60f6 Merge branch 'master' of github.com:4ian/GDevelop 2018-10-18 21:12:57 +01:00
Florian Rival
215044cafe Avoid potential non-stopping re-rendering of events with height 0 2018-10-18 21:12:10 +01:00
Todor Imreorov
4d0185de9d fix flow, apply review notes, cleanup
should pass flow test now
2018-10-18 18:01:41 +01:00
Florian Rival
557f1da2c1 Add 3 examples 2018-10-17 23:54:10 +01:00
Todor Imreorov
becddeab9f jsfx and path editor- get rid of global variable, use parameters
This commit minimizes the use of global variables in jsfx-main and the patheditor
2018-10-17 21:08:17 +01:00
Todor Imreorov
ec6628baba apply review notes wip 2018-10-16 20:22:08 +01:00
Florian Rival
3289285a37 Fix missing support for Escape key in GDJS 2018-10-15 21:15:20 +01:00
Todor Imreorov
c4047702ed tweak jsfx window
size, notes, ui
2018-10-15 19:27:29 +01:00
Todor Imreorov
3c21e33928 Refactor code to use new html5 src es-module option
- also further clean up code and apply @4ian's advice
- loading is now much more robust
- setting and getting metatags is much more robust now

more on the new es-modules option in browsers:
https://jakearchibald.com/2017/es-modules-in-browsers/
2018-10-15 19:05:45 +01:00
Todor Imreorov
25f5550666 more cleanup 2018-10-13 22:00:21 +01:00
Todor Imreorov
2b7caf5fac further cleanup 2018-10-13 21:49:49 +01:00
Todor Imreorov
29f7525290 clean up 2018-10-13 21:43:55 +01:00
Todor Imreorov
80aa1ebec8 Add jsfx sound effects editor, refactor some of piskel's code to
make it easier to reuse
2018-10-13 21:29:20 +01:00
Florian Rival
af7f13c0b8 Add Get/SetMetadata on gd::Resource 2018-10-11 23:39:48 +01:00
Florian Rival
4e71030103 Implement move/delete events functions and clean up various things 2018-10-09 23:06:19 +01:00
Florian Rival
b3b7f181fa Merge pull request #678 from 4ian/feature/events-function-extension
Events functions
2018-10-09 08:58:34 +01:00
Florian Rival
4138f5f4aa Fix compilation of EventStoreDialog 2018-10-09 01:00:00 +01:00
Florian Rival
f302989b9d Fix compilation for GDC++ Runtime 2018-10-09 00:54:12 +01:00
Florian Rival
0f7c2c43cf Fix tests 2018-10-09 00:47:56 +01:00
Florian Rival
04b37bebf7 Update TODO 2018-10-09 00:40:24 +01:00
Florian Rival
a12d999e7b Fix flow 2018-10-09 00:32:37 +01:00
Florian Rival
cad23ed67c Update libGD.js and clean a bunch of TODOs 2018-10-09 00:24:52 +01:00
Florian Rival
f059728fdb Add Help and allow to activate Events Functions from preferences
Move EventsFunction related files and add documentation too
2018-10-09 00:06:37 +01:00
Florian Rival
545676b1f2 Allow user to select types of objects for functions + update parameters design 2018-10-08 22:21:38 +01:00
Florian Rival
48d99457e5 Add refactoring of the project when renaming expression events function 2018-10-08 22:21:38 +01:00
Florian Rival
c2c961f1d4 Fix bad call to gd.Project.validateObjectName 2018-10-08 22:21:38 +01:00
Florian Rival
04131e1795 Remove useless console.log 2018-10-08 22:21:37 +01:00
Florian Rival
53a5dc1742 Add action to set function return value and expressions to get arguments
Also fix unselection of an event function in IDE
2018-10-08 22:21:37 +01:00
Florian Rival
a790be3c37 Fix TrueFalseField not formatting parameter value properly 2018-10-08 22:21:37 +01:00
Florian Rival
6772fecc2e Add test game for events functions 2018-10-08 22:21:37 +01:00
Florian Rival
3244cbd8ad Add refactoring of the project when renaming events function / extension 2018-10-08 22:21:37 +01:00
Florian Rival
066f2b0fea Unload Events Functions Extensions when closing a project 2018-10-08 22:21:37 +01:00
Florian Rival
f370b8b78b Add gdjs.objectsListsToArray and OptionsEditorDialog for EventsFunctionsExtensionEditor 2018-10-08 22:21:37 +01:00
Florian Rival
e24daa4dc3 [WIP] Allow to select event function type and improve editor 2018-10-08 22:21:37 +01:00
Florian Rival
f889c9fc0a [WIP] Add LocalEventsFunctionWriter for functions JS files generation and EventsFunctionConfigurationEditor 2018-10-08 22:21:36 +01:00
Florian Rival
cdc374df9c Use UI/Background instead of material-ui's Paper component 2018-10-08 22:21:36 +01:00
Florian Rival
d60efd2394 [WIP] Add search in EventsFunctionsList 2018-10-08 22:21:36 +01:00
Florian Rival
d448ffb8f2 [WIP] Add EventsFunctionsExtensionEditor 2018-10-08 22:21:36 +01:00
Florian Rival
eb31be67ed [WIP] Adding EventsFunctionsExtensions support to newIDE 2018-10-08 22:21:36 +01:00
Florian Rival
23b4e2c026 Add EventsFunction and EventsFunctionsExtension 2018-10-08 22:21:36 +01:00
Florian Rival
1381ead3b4 [WIP] Add typing to EventsTree 2018-10-08 22:21:35 +01:00
Florian Rival
5377708093 [WIP] Make InstructionEditor and EventsSheet use gd.ObjectsContainer 2018-10-08 22:21:35 +01:00
Florian Rival
e7afebf722 [WIP] Make ObjectSelector and EventsSearcher use gd.ObjectsContainer 2018-10-08 22:21:35 +01:00
Florian Rival
7915d3ba59 [WIP] Make layout/project optional for ParameterFields and add flow typing 2018-10-08 22:21:35 +01:00
Todor Imreorov
c11cc80488 Add button to rotate the selected instances in InstancesEditor (SceneEditor) (#691) 2018-10-08 20:05:28 +01:00
Lizard-13
a33b421de4 Expose particles rotation speed option (#688) 2018-10-05 17:56:44 +01:00
Florian Rival
852d91b745 Update --feature-request.md 2018-10-03 13:09:52 +01:00
Todor Imreorov
df78d5e096 Add a command to invert conditions to the event sheet context menu (#686) 2018-10-03 00:16:15 +01:00
Florian Rival
7718132510 Add support for submenu in ContextMenu of web-app 2018-10-02 22:58:27 +01:00
Todor Imreorov
af00760d3e Add 'other' menu item to EventSheet's context menu (#684) 2018-10-02 22:12:02 +01:00
Todor Imreorov
c88c05f737 Add event, subevent and comment commands in EventsSheet's context menu (#681) 2018-09-30 18:51:10 -04:00
zachThePerson
e3b446cee0 Fix CopyRuntimeToGD.bat when using path with spaces (#673) 2018-09-28 07:42:00 -07:00
Florian Rival
721c31adc9 Simplify SceneEditor _onSelectInstances method 2018-09-28 07:39:46 -07:00
Todor Imreorov
e5c4580483 Fix selection of instances on hidden layers (#671)
Fix #661
2018-09-28 07:24:15 -07:00
Todor Imreorov
4c0d46ae2c Snap position of objects to the grid when inserted (#662) 2018-09-26 19:19:09 -07:00
Florian Rival
d05f2b9674 Add flow typing for SceneEditor and History 2018-09-23 11:13:22 -07:00
Lizard-13
566540133d Add word wrapping for Text Object (#658) 2018-09-23 11:45:18 +01:00
Todor Imreorov
45533cf163 Add "Add Instance of [...]" menu option in SceneEditor (#656) 2018-09-22 16:32:22 +01:00
Florian Rival
ad83d7d08f Merge pull request #654 from 4ian/optimization/avoid-update-project-manager-tabs
Avoid updates in project manager and tabs when they are not visible
2018-09-22 13:12:51 +01:00
Florian Rival
d755e10368 Fix Travis badge in README 2018-09-20 16:59:14 +01:00
Florian Rival
6543544dc1 Avoid updates in project manager and tabs when they are not visible 2018-09-20 00:30:24 +01:00
Florian Rival
6cd9e4b4d9 Merge pull request #650 from 4ian/feature/drop-instance-from-objects-list
* Add support for creating instances by dropping objects from objects list
* Update React to 16.5.1
* Use pointer events instead of mouse events when possible for better touch compatibility.
2018-09-19 23:39:18 +01:00
Florian Rival
b5b90cc838 Reduce distance before dragging list items 2018-09-19 00:06:03 +01:00
Florian Rival
c4be6f6522 Fix highlighted objects not cleared after deleting instances 2018-09-19 00:06:03 +01:00
Florian Rival
fd3698f590 Enable higlighting of a selection of multiple instances (=multiple objects) 2018-09-19 00:06:03 +01:00
Florian Rival
0fdbe19641 Improve compatibility with touch screen of CollisionMasksPreview and PointsPreview 2018-09-19 00:06:03 +01:00
Florian Rival
48e1d04fb6 Update react-dom to 16.5.1 2018-09-19 00:06:03 +01:00
Florian Rival
677478b4a2 Fix selection clearing not updating properties editor 2018-09-19 00:06:03 +01:00
Florian Rival
fc3826d472 Upgrade to React 16.5.1 2018-09-19 00:06:02 +01:00
Florian Rival
d135447e00 Remove dead code and fix typos 2018-09-19 00:06:02 +01:00
Todor Imreorov
856d7cdb46 Highlight the selected object when an instance is selected from the scene editor (#651) 2018-09-19 00:06:02 +01:00
Florian Rival
c2151149d4 Add support for creating instances by dropping objects from objects list 2018-09-19 00:06:02 +01:00
Florian Rival
9de604bd50 Fix action to open URL 2018-09-18 23:55:42 +01:00
Florian Rival
a4899cf030 Fix "Edit Object"/"Delete" options available even without selection 2018-09-16 23:56:29 +01:00
Florian Rival
483090dd32 Fix "Edit Object" in SceneEditor 2018-09-16 23:45:06 +01:00
Florian Rival
0e4304f3d7 Merge branch 'master' of github.com:4ian/GDevelop 2018-09-16 23:43:24 +01:00
Todor Imreorov
9050bfbc6f Add ''Edit Object" and "Delete" options to context menu (#648)
This will make it easier to edit the object of the selected instance in the instances editor, without having to find it in a long list of objects.
2018-09-16 17:35:17 +01:00
Todor Imreorov
32869c0588 Fix error in InstancesEditor (#646)
Fix #645
2018-09-16 11:38:58 +01:00
Florian Rival
f7f08f762d Rename ObjectGroupsList/ObjectGroupEditor to fix typo 2018-09-16 02:14:24 +01:00
Kenny
b19ffb93e0 Add "No Grid snap" keyboard Shortcut (#640)
When alt is pressed, objects can be moved without snapping to the grid.
2018-09-14 14:54:29 +01:00
Todor Imreorov
63a06a4bad Add options to scan for new image resources or remove unused images (#634)
Also add the use of relative paths to name imported/created resources.
2018-09-13 23:24:19 +01:00
Todor Imreorov
12efa6641c Improve cloneAndBuild batch script (#638)
Check if GDevelop electron-app is already built. If it is already built, the script will skip the "npm install" step and will start GDevelop much faster.
2018-09-13 22:08:47 +01:00
Wend1go
edfe915ae5 Add PanelSprite JavaScript function annotations (#637) 2018-09-12 14:19:05 +01:00
Wend1go
2e1509a16b Add DestroyOutsideBehavior JavaScript function annotations (#636) 2018-09-12 14:04:53 +01:00
Florian Rival
2ce1d1b428 Merge branch 'master' of github.com:4ian/GDevelop 2018-09-11 22:35:10 +01:00
Todor Imreorov
0f022e6f8d Update git clone URL in build script and in readme (#633) 2018-09-11 21:46:44 +01:00
Florian Rival
715223d5e6 Add DeviceVibration to the list of extensions loaded in web-app 2018-09-11 08:40:57 +01:00
Florian Rival
65fbd0017d Bump newIDE version 2018-09-11 08:33:54 +01:00
Florian Rival
3cd47c674a Protect against potential crash in PropertiesEditor 2018-09-10 23:10:48 +01:00
Florian Rival
bc5b0b4c9a Fix undo/redo not working properly when moving events 2018-09-10 23:10:31 +01:00
Florian Rival
0c856e72a9 Add warning to prevent objects to be given an invalid name 2018-09-10 21:14:51 +01:00
Florian Rival
ebb2fd36ba Update libGD.js download link 2018-09-10 20:18:00 +01:00
Florian Rival
7722657d2c Add option to serve local folder with https 2018-09-09 23:44:30 +01:00
Florian Rival
f61f525e61 Update GitHub links from 4ian/GD to 4ian/GDevelop 2018-09-09 22:29:32 +01:00
Florian Rival
737b913bce Bump the GDJS version used for web-app 2018-09-09 22:11:32 +01:00
Florian Rival
baca8e900f Merge pull request #626 from 4ian/feature/events-backed-extensions
Refactor EventsCodeGenerator to allow generation without a layout
2018-09-09 22:02:30 +01:00
Florian Rival
dc27d5f962 Rename gd::ClassWithObjects to gd::ObjectsContainer 2018-09-09 21:28:26 +01:00
Florian Rival
2f0d01e577 Fix compilation errors 2018-09-09 21:26:07 +01:00
Florian Rival
026d48b86b Remove useless GDevelop.js related code in index.html 2018-09-09 16:47:09 +01:00
Florian Rival
67c051e9d8 Improve events function code generation and refactor OnceTriggers handler 2018-09-09 16:21:35 +01:00
Florian Rival
b79ab3c829 Refactor some part of code generation into specific functions 2018-09-09 16:21:35 +01:00
Florian Rival
09095a257a Add ParameterMetadataTools to generate an object container from parameters 2018-09-09 16:21:35 +01:00
Florian Rival
dc0b1e99ce Remove dead code in gdjs.EventsContext 2018-09-09 16:21:35 +01:00
Florian Rival
326ec9cac0 Abstract gd::Project/gd::Layout out of code generation 2018-09-09 16:21:35 +01:00
Florian Rival
6e605eacf0 Merge branch 'master' of github.com:4ian/GD 2018-09-09 12:13:06 +01:00
Florian Rival
dd92fe2e9b Add link to https://gametemplates.itch.io/ in AboutDialog 2018-09-09 12:12:50 +01:00
Wend1go
1c39293509 Add device motion to sensor extension (#615)
* Move deviceSensors into `gdjs` namespace to make them more accessible.
* Rename `devicesensors` to `deviceSensors`.
* Add motion sensor to deviceSensor extension
* Add device motion sensor
* Remove isActive expressions from orientation and motion
* Use boolean for [...]IsActive functions again
2018-09-08 18:40:53 +01:00
Florian Rival
b0bf191f75 Ensure AutoComplete keep focus after Enter and give focus to first field in InstructionParametersEditor, if any 2018-09-06 23:17:37 +01:00
Florian Rival
7d31afb4ab Focus first field after pressing Enter when searching for a condition/action 2018-09-06 22:27:39 +01:00
Florian Rival
b44289dae6 Add support for dragging points in PointsPreview 2018-09-05 23:00:46 +01:00
Florian Rival
a969d85fba Add support for dragging vertex of hit boxes 2018-09-05 22:12:38 +01:00
Florian Rival
90ffa90c8c Add option to duplicate selected sprites in SpriteEditor 2018-09-04 23:48:03 +01:00
Florian Rival
3bd24daabc Don't highlight No button when no choice is made in YesNoField 2018-09-04 23:29:06 +01:00
Florian Rival
4b73489d34 Refactor EmptyMessage to use BackgroundText 2018-09-04 22:58:01 +01:00
Florian Rival
35991de8f0 Add a bunch of components to stories of Storybook 2018-09-04 22:24:52 +01:00
Todor Imreorov
e9bf8ff309 Add a build and run Windows batch script in /scripts folder (#611) 2018-09-04 19:48:43 +01:00
Florian Rival
a95a6eb128 Enable undo/redo shortcuts in EventsSheet 2018-09-03 22:39:36 +01:00
Florian Rival
698c6b6cb4 Add device-vibration and move-object-with-mouse-joint 2018-09-03 22:12:58 +01:00
Florian Rival
e184a70cd2 Remove dead code in StartPage 2018-09-03 21:53:50 +01:00
Florian Rival
c486bcea73 Fix DropIndicator slightly moving instructions because of a bad negative margin 2018-09-03 21:18:50 +01:00
Florian Rival
d7a11541f2 Merge branch 'master' of github.com:4ian/GD 2018-09-03 21:10:48 +01:00
Florian Rival
3075ff9639 Fix scrolling offset lost when navigating between tabs (+ add test story for it) 2018-09-03 21:10:01 +01:00
Wend1go
8cad5d7646 Add vibration extension for mobile devices (#610) 2018-09-01 21:02:06 +01:00
Bouh
39e55d9f34 Fix indicator color when drag'n'dropping instructions (#608)
Fix #600
2018-08-31 10:11:39 +01:00
Florian Rival
4975a340d5 Fix tests 2018-08-31 09:44:44 +01:00
Florian Rival
3113df2ed0 Bump newIDE version 2018-08-30 21:40:37 +01:00
Florian Rival
563bc6c64c Fix particle texture not properly handled/corrupted in GD5 2018-08-30 21:38:44 +01:00
Florian Rival
809f3d168a Update path to GDJS for web-app 2018-08-30 21:27:12 +01:00
Florian Rival
a1ea7ad0e3 Add Objects Timers example to GD5 and remove now deprecated example 2018-08-30 21:24:15 +01:00
Florian Rival
642e64d3ea Merge branch 'master' of github.com:4ian/GD 2018-08-30 00:02:43 +01:00
Florian Rival
88486449fb Fix grid resizing and protect against negative values in grid size 2018-08-30 00:02:21 +01:00
Lizard-13
0c31e5ad44 Add object timers for GDJS (#604) 2018-08-29 23:29:20 +01:00
Florian Rival
41bd9f670d Merge pull request #603 from Wend1go/patch-2
Add annotations to Platformer Object
2018-08-29 11:08:22 +01:00
Wend1go
0e9dfb3889 Add annotations to Platformer Object 2018-08-29 11:59:42 +02:00
Florian Rival
55b406c0ac Merge pull request #602 from Wend1go/patch-1
Add annotations to TiledSprite object
2018-08-29 09:40:05 +01:00
Wend1go
75fac21939 Add annotations to TiledSprite object 2018-08-29 10:24:28 +02:00
Florian Rival
138f2692d0 Merge pull request #601 from Lizard-13/master
Fix old IDE instructions help links
2018-08-29 09:00:57 +01:00
Lizard-13
e058466b8f Fix old IDE instructions help links 2018-08-28 23:26:55 -03:00
Florian Rival
85d182bb78 Add Facebook Instant Game example (Thanks @Bouh!) 2018-08-28 22:30:21 +01:00
Florian Rival
46338bf314 Bump newIDE version 2018-08-28 00:32:32 +01:00
Florian Rival
0a7880f98e Fix monaco-editor/vs/loader.js breaking libraries (as defining "define" globally) 2018-08-28 00:27:31 +01:00
Florian Rival
38ae17595e Update newIDE README 2018-08-27 23:29:09 +01:00
Florian Rival
545caa1dbd Bump newIDE version 2018-08-27 23:25:44 +01:00
Florian Rival
3be23212a6 Fix invalid verification of object name leading to memory corruption (libGD.js) 2018-08-27 23:05:51 +01:00
Florian Rival
54b6bf969c Clone drag'n'dropped instructions when Ctrl (or Cmd) is pressed 2018-08-27 22:07:48 +01:00
Lizard-13
d449a478f5 Fix behavior activated condition (#597) 2018-08-27 21:45:12 +01:00
Florian Rival
b410a1e1b3 Merge pull request #596 from 4ian/feature/instructions-dnd
Add support for drag'n'dropping (multiple) conditions and actions
2018-08-27 20:48:50 +01:00
Florian Rival
6d6d86a325 Fix selected events being deleted after drag'n'dropping instructions 2018-08-27 20:46:44 +01:00
Florian Rival
291d6663f2 Avoid calling drop/moveSelectionToInstructionsList more than once 2018-08-27 11:49:57 +01:00
Florian Rival
4ab27e0954 Fix flow typing of authentification 2018-08-27 01:33:06 +01:00
Florian Rival
28ffcf923b Display red indicator if drop can't be done (actions on conditions and vice-versa) 2018-08-27 01:18:05 +01:00
Florian Rival
af5faa2e10 Add drag'n'drop support for instructions 2018-08-27 01:09:22 +01:00
Florian Rival
4bfdc4a2a1 Add flowtype definition for multiple dependencies 2018-08-27 00:52:33 +01:00
Florian Rival
c6141322c5 Avoid potential memory issues by limiting undo/redo history to 50 states 2018-08-26 16:05:32 +01:00
Florian Rival
59f8421a03 Fix potential memory (libGD.js) corruption/crashs by clearing selection after undo/redo in SceneEditor 2018-08-26 15:32:09 +01:00
Florian Rival
b217f80c23 Prevent negative width/height when resizing + fix properties not updated 2018-08-26 15:04:01 +01:00
Florian Rival
70635d1655 Fix modifier key like Shift wrongly detected as pressed in scene editor focused out while pressed 2018-08-26 14:30:32 +01:00
Florian Rival
9dfbe94c13 Round width/height when resizing to avoid floating values in instance sizes 2018-08-26 14:12:12 +01:00
Florian Rival
7244885fd6 Fix React warning 2018-08-26 12:22:58 +01:00
Florian Rival
f8e5ac7828 Fix selected object not highlighted in Objects list 2018-08-26 12:22:28 +01:00
Florian Rival
030f873433 Add missing description for two examples 2018-08-26 02:19:36 +01:00
Florian Rival
74e5b4862e Add menu items to move up/down layout/external events/external layouts 2018-08-26 02:19:13 +01:00
Florian Rival
87f20b82f1 Allow case insensitive search in examples 2018-08-25 17:12:37 +01:00
Florian Rival
992c00c096 Add descriptions for all examples and fix typo in Breakout example name 2018-08-25 17:02:33 +01:00
Florian Rival
2673c1526d Update exit-app example to use Quit Game action now that it is working 2018-08-25 15:52:01 +01:00
Florian Rival
2ddc451691 Merge pull request #593 from 4ian/feature/events-types-lister
Add search bar and chips to filter examples
2018-08-25 13:05:58 +01:00
Florian Rival
0a77880dc3 Improve colors of chips of examples 2018-08-25 12:59:07 +01:00
Florian Rival
aefddd0bf4 Update ExamplesExtensionsUsage.js 2018-08-25 12:38:14 +01:00
Florian Rival
1e1b3a7a42 Fix warning from Webpack with OptionalRequire.js 2018-08-25 12:37:00 +01:00
Florian Rival
e9a50f1146 Add chips to search in examples by extension and a text search 2018-08-25 12:14:45 +01:00
Florian Rival
28957c5662 Factor functions of newIDE scripts, allow to discover JS extensions and dynamically read examples list 2018-08-24 18:29:19 +01:00
Florian Rival
303a489a41 Adapt JsExtensionsLoader to allow it to be used from Node.js 2018-08-24 16:57:37 +01:00
Florian Rival
fe7d66dc1c [WIP] Improve update-stats-from-resources-examples to return used extensions 2018-08-24 14:25:04 +01:00
Florian Rival
a287e24c6b Add MetadataProvider methods that can return the associated extension 2018-08-24 00:23:33 +01:00
Florian Rival
8ec191ebf5 [WIP] Add MetadataProvider methods that can return the associated extension 2018-08-23 18:25:28 +01:00
Florian Rival
9e6a40a07e [WIP] Add EventsTypesLister 2018-08-23 09:04:28 +01:00
Florian Rival
b785b3d2fc Enhance typings/documentation of GDJS 2018-08-22 23:08:20 +01:00
Florian Rival
5bf75f8cd6 Add support for fullscreen and close the app on Electron/Cordova (#590)
* Move openURL to RuntimeGameRenderer for consistency/portability
* Add support for Fullscreen in Electron
* Add support for closing the game/app on Electron and Cordova
* Improve typings and allow RuntimeGame.adaptRendererSizeToFillScreen to be called without args
2018-08-22 21:58:22 +01:00
Florian Rival
e71e019415 Add DeviceSensors to web-app and examples 2018-08-22 20:12:40 +01:00
Wend1go
1bd73f3ff4 Add compass example and add value ranges to orientation instructions (#591) 2018-08-22 19:54:13 +01:00
Florian Rival
f1148655d5 Add 8 examples and update one 2018-08-21 21:14:17 +01:00
Florian Rival
cadfc98b47 Add help links for DeviceSensors extension 2018-08-21 20:19:05 +01:00
Wend1go
bda4a790b9 Add orientation sensor extension with examples (#587) 2018-08-21 17:32:10 +01:00
Bouh
be34bbc0af Fix flickering on mobile and transparent background (#588) 2018-08-20 10:48:10 +02:00
Florian Rival
da91917b40 Remove useless console.log 2018-08-19 15:46:06 +02:00
Florian Rival
9c6978b70a Ensure any new window opened from a link is opened in default browser 2018-08-19 15:44:50 +02:00
Florian Rival
feec79d9de Allow to choose a custom theme for the Monaco code editor 2018-08-19 15:25:17 +02:00
Florian Rival
ed872b8c95 Fix error message of ObjectField not always triggering properly 2018-08-19 14:24:20 +02:00
Florian Rival
04ea7d16fe Fix name of JsCode events 2018-08-19 13:46:36 +02:00
Florian Rival
7ae838bff4 Fix docsearch by directly using algoliasearch and formatting results with ListItems 2018-08-18 19:50:21 +02:00
Florian Rival
a324405695 Improve some documentation/typing for gdjs.Force 2018-08-18 19:21:14 +02:00
Florian Rival
204f6cd1f1 Merge pull request #586 from 4ian/feature/monaco-editor
Add Monaco Editor for editing JavaScript events, with autocompletions
2018-08-18 12:06:56 +02:00
Florian Rival
1a0dcc01df Add example of Platformer with Javascript code blocks to replace events 2018-08-18 00:02:36 +02:00
Florian Rival
bf125a3312 Fix display of tooltip/boxes of CodeEditor overflowing the editor 2018-08-17 23:43:09 +02:00
Florian Rival
747e2961b3 Add autocompletion support for extensions in CodeEditor 2018-08-17 23:42:43 +02:00
Florian Rival
011932ba27 Improve some documentation/typing for GDJS 2018-08-17 23:42:16 +02:00
Florian Rival
2037176b1e Avoid overflow on the right of the content of JsCodeEvent 2018-08-17 21:17:35 +02:00
Florian Rival
525b99697b Improve some documentation/typing for gdjs.RuntimeObject 2018-08-17 21:07:47 +02:00
Florian Rival
69849cb7be Fix resize of JsCodeEvent after the editor is loaded 2018-08-17 18:50:40 +02:00
Florian Rival
c8e56c60c5 Make wording to select objects to pass to JavaScript more explicit 2018-08-17 18:34:38 +02:00
Florian Rival
f182ed0704 Enhance/fix types in documentation of GDJS 2018-08-17 18:34:22 +02:00
Florian Rival
98f97f7b17 Add Monaco editor for JavaScript code events, with autocompletion support 2018-08-17 18:03:06 +02:00
Florian Rival
a60eee9924 Add Content-Security-Policy to newIDE index.html 2018-08-16 17:04:27 +02:00
Florian Rival
6b6cd0b61d Code split between local/browser specific code for slightly faster startup/loading 2018-08-16 17:04:27 +02:00
Florian Rival
5c19c9bb14 Update newIDE to Electron 2.0.7 2018-08-16 17:04:27 +02:00
Florian Rival
3f4d1d66ef Merge branch 'master' of github.com:4ian/GD 2018-08-16 17:04:00 +02:00
Florian Rival
c17fcaf9ac Improve layout of InstancePropertiesEditor (by adding support for grouping by rows) 2018-08-16 17:03:40 +02:00
Bouh
687758a41f Update links to Discord to send users to #announces channel (#583) 2018-08-14 10:37:11 +01:00
Florian Rival
bbb541ce48 Add accelerator shortcut in the tooltip for searching events panel 2018-08-13 21:21:02 +02:00
Florian Rival
10ef38978d Allow to open search panel with Ctrl+F 2018-08-13 21:13:56 +02:00
Florian Rival
c70604f196 Update flow to v0.78 2018-08-13 20:37:39 +02:00
Florian Rival
c5ffa44aa2 Fix tests 2018-08-13 20:33:34 +02:00
Florian Rival
bf69037e46 Fix broken stories in Storybook 2018-08-13 20:26:35 +02:00
Florian Rival
2c422a5927 Reduce margins of newIDE to 4px 2018-08-13 20:12:02 +02:00
Florian Rival
f5149d7c61 Add search/replace panel (SearchPanel) to EventsSheet (#581) 2018-08-13 17:46:37 +01:00
Florian Rival
a1a56f1b3b Add help links for Facebook Instant Games actions 2018-08-10 08:10:59 +01:00
Florian Rival
dcec81519b Bump newIDE version 2018-08-09 22:19:33 +01:00
Florian Rival
c9c2e41bd9 Delay check for updates to 10 seconds after start and fix default theme preference 2018-08-09 22:05:40 +01:00
Florian Rival
39a6aa2a90 Bump Electron version of exported GDJS games to 2.0.7 2018-08-09 17:48:57 +01:00
Florian Rival
f4532e7e4c Rework preferences to allow users to disable auto-updates (#578) 2018-08-09 17:45:28 +01:00
Florian Rival
9a551673e8 Add explicit dependency on electron with a pinned version for GDJS Electron export 2018-08-07 23:04:44 +01:00
Florian Rival
39887ccc80 Add help links in actions/conditions editor (#576)
* Add support for help links in InstructionParametersEditor.
* Add help paths for extensions/objects/behaviors/instructions
2018-08-07 23:03:50 +01:00
Bouh
97c0761288 Change TextField to SemiControlledTextField in TiledSpriteEditor (#577) 2018-08-07 22:22:51 +01:00
Wend1go
edb33e805f Fix object being selected for insertion on scene after double click #574 (#575)
Clicking the canvas after opening and closing the edit object window via double click no longer adds an object
2018-08-05 11:01:26 +01:00
Florian Rival
e1cfca6930 Bump newIDE version 2018-08-02 20:52:02 +01:00
Florian Rival
26ffcda159 Update Bomb The Crate example 2018-08-02 20:43:51 +01:00
Florian Rival
ee905f4f04 Increase timing before sending HelpFinder analytics 2018-08-02 20:19:01 +01:00
Florian Rival
e4b2fe677b Fix Debugger with Pathfinding behavior (fix #570)
This was due to the HSHG grid being serialized.
Also removed unnecessary circular serialization of behavior owners
2018-08-01 08:52:35 +01:00
Lizard-13
2ed9b058be Add minor fixes on Skeleton extension (#568) 2018-07-31 09:24:39 +01:00
Wend1go
35e3015d66 Fix Pixi flickering on some mobile phones (#566)
* Fix flickering on some mobile devices (Android/Ubuntu Touch)
2018-07-30 16:55:58 +01:00
Florian Rival
b6707d62b2 Fix default font loading for Text object 2018-07-28 12:59:50 +01:00
Florian Rival
76466af778 Bump newIDE version 2018-07-25 22:18:29 +01:00
Florian Rival
193b8fa36e Add/update 7 examples 2018-07-25 22:07:03 +01:00
Florian Rival
1c24e4f14d Fix RuntimeObject::PutAroundAPosition and gdjs.RuntimeObject.prototype.putAround
Positioning was not made using center of object which was making it inconsistent
with other related actions/expressions (like the expression to get distance).
2018-07-25 22:06:34 +01:00
Florian Rival
d0bfb37680 Merge branch 'master' of github.com:4ian/GD 2018-07-23 23:11:53 +01:00
Florian Rival
db480f09d8 Add analytics to help links 2018-07-23 22:35:47 +01:00
Lizard-13
b2b3307ff7 Add RandomInRange, RandomFloat and other random functions (#558) 2018-07-21 19:06:26 +01:00
Florian Rival
17754d4fe5 Add bomb-the-crate example 2018-07-20 17:20:34 +01:00
Florian Rival
0f912472ce Fix opening of HelpIcon links in browser 2018-07-20 17:00:30 +01:00
Florian Rival
8c13b051ad Fix ProjectTitlebar not updating according to the project file path/url 2018-07-20 13:48:11 +01:00
Florian Rival
268075b8bc Don't display intro dialog if a project is opened at startup 2018-07-20 13:37:30 +01:00
Florian Rival
23e899d93d Add support for opening a file from command line option or from url "project" option 2018-07-20 13:26:02 +01:00
Florian Rival
1a76ad9069 Add center-object-within-another example 2018-07-20 08:53:16 +01:00
Florian Rival
1ac26ab8ce Add isometric game example (thanks Mickael Hoarau!) 2018-07-19 20:57:03 +01:00
Wend1go
69fa249db5 Allow to double click to edit object and add Duplicate item menu (#545)
* Open "edit Object" dialog via double click on object
* Add "Duplicate" option to context menu of object list
2018-07-19 14:10:58 +01:00
Florian Rival
f31b46cb14 Update links in README 2018-07-18 14:39:37 +01:00
Todor Imreorov
9e5ca5fb0b Add text field to rename object from object editor (#547) 2018-07-16 23:25:49 +01:00
Lizard-13
b64eeebcbe Add missing functions and bugfix for particles (#555)
* Add missing functions and bugfix for particles

* parseInt in base 10
2018-07-16 23:03:45 +01:00
Lizard-13
c9ae252ae8 Avoid potential errors by using parseInt in base 10 on sprite color (#557) 2018-07-16 23:02:41 +01:00
Florian Rival
ca789c7b0b Fix PlatformerObject behavior not properly staying on floor after object resize 2018-07-12 23:11:24 +01:00
Florian Rival
a142472ea6 Bump newIDE version 2018-07-11 23:29:17 +01:00
Florian Rival
d0c1f7fe03 Fix Facebook Instant Games extension icons and action groups 2018-07-11 23:28:59 +01:00
Florian Rival
6680682001 Bump newIDE version 2018-07-11 22:32:28 +01:00
Florian Rival
91ff59e846 Switch back to ES5 for JsExtension.js 2018-07-11 22:28:31 +01:00
Florian Rival
65aa60e726 Bump newIDE version 2018-07-11 22:17:04 +01:00
Florian Rival
5bb6150861 Add various help links 2018-07-11 22:16:29 +01:00
Florian Rival
6b850e82e7 Add extensions sanity tests 2018-07-11 19:33:47 +01:00
Florian Rival
400c956c2a Expose more features of Facebook Instant Games 2018-07-10 23:31:56 +01:00
Florian Rival
896446f640 Fix missing calls to t("...") in ExampleJsExtension 2018-07-09 22:21:20 +01:00
Wend1go
c8f526e726 Fix getting stuck in camera panning mode bug (#549) 2018-07-08 22:11:25 +01:00
Florian Rival
8bc6ea0744 Exclude extensions named *Example* from newIDE (only in non dev environment) 2018-07-08 19:00:32 +01:00
Florian Rival
215cb0b859 Merge pull request #544 from 4ian/feature/js-extension-dot-js
Add support for extensions declared in JavaScript
2018-07-06 19:39:21 +01:00
Florian Rival
0d9e31f986 Remove console.log 2018-07-06 19:36:39 +01:00
Florian Rival
0019da90c7 Update documentation about implementing JavaScript extensions 2018-07-05 23:38:51 +01:00
Florian Rival
dc870d55ac Update documentation about declaring JavaScript extensions 2018-07-05 00:15:22 +01:00
Florian Rival
df1fff36e4 Update GDJS documentation to add a index page and generate it from GenerateAllDocs script 2018-07-04 23:24:37 +01:00
Florian Rival
5da334a38e Remove yuidoc 2018-07-04 22:37:05 +01:00
Florian Rival
3be5d85733 Update GDJS docs to use JSDoc 2018-07-04 22:26:02 +01:00
Florian Rival
4c62bc2f33 Add comments about GetCodeExtraInformation 2018-07-04 00:32:37 +01:00
Florian Rival
57fbe470b7 Add ExampleJsExtension 2018-07-04 00:20:03 +01:00
Florian Rival
25abff997e Add InitialInstance.SetRaw(Float|String)Property and fix ObjectMetadata constructed with object blueprint 2018-07-04 00:16:42 +01:00
Florian Rival
97ced4145f Add alternative way to call AddObject on an extension using a blueprint object
Also remove dead code
2018-07-01 22:52:18 +01:00
Todor Imreorov
1d7f8958fc Add set folder button in Piskel (#543) 2018-06-29 11:19:47 +01:00
Florian Rival
373c55ddc5 Fix flowtyping 2018-06-29 00:17:16 +01:00
Florian Rival
8e0783e45f Load JsExtensions.js in BrowserJsExtensionsLoader 2018-06-29 00:09:46 +01:00
Florian Rival
22b977fd0e [WIP] Add supports for full JS extensions (JsExtension.js)
Convert FacebookInstantGames to it
2018-06-29 00:08:55 +01:00
Florian Rival
f9925943a3 Fix FacebookInstantGames extension 2018-06-28 22:26:17 +01:00
Florian Rival
26b6c8c6aa Fix test 2018-06-27 09:45:19 +01:00
Florian Rival
ff1fec7c5c Merge pull request #535 from 4ian/feature/profiler
Add basic Profiler for GDevelop 5
2018-06-25 22:25:41 +01:00
Nnarol
97aeafc4c3 Fix compilation issue on Windows due to a windows.h macro (#538)
windows.h defines "Yield" to be empty, which invalidates the definition of wxThread::Yield().
2018-06-25 22:24:57 +01:00
Florian Rival
5468ea19b3 Fix profiler not stopped (and user unable to get results) when changing scene 2018-06-25 21:50:55 +01:00
Florian Rival
4ce2ba08ef Add EventsContextAnalyzer and EventsContextAnalyzerDialog to use it in newIDE 2018-06-25 21:15:12 +01:00
Florian Rival
561ef0434f Refactor parameters type testing into ParameterMetadata::IsExpression 2018-06-24 19:13:37 +01:00
Florian Rival
d229d01aa9 Enable button to open profiler and listen to start/stop messages 2018-06-24 00:33:30 +01:00
Florian Rival
5fc9a4a51a Improve Profiler 2018-06-24 00:06:04 +01:00
Florian Rival
9f05a4e190 Fix gdjs.Profiler for sections appearing more than once 2018-06-23 11:43:33 +01:00
Florian Rival
ac7f681947 Add EmptyMessage explanation when Profiler was not started 2018-06-23 11:43:33 +01:00
Florian Rival
f7ae28bea9 Fix PlatformerObjectRuntimeBehavior using too much potential platforms for collision detection 2018-06-23 11:43:33 +01:00
Florian Rival
3104eeb415 Fix a crash in newIDE when resizing a MosaicWindow 2018-06-23 11:43:33 +01:00
Florian Rival
cdf95811b9 Refactor ingame profiling display & remove profiling at begining of scene 2018-06-23 11:43:33 +01:00
Florian Rival
731356b791 Move Profiler section code generation to EventsCodeGenerator 2018-06-23 11:43:33 +01:00
Florian Rival
8dd13180fd Fix flow typing 2018-06-23 11:43:32 +01:00
Florian Rival
81421907a5 Ensure codegeneration is adapted to preview/export (no profiling in exported games) for GDJS 2018-06-23 11:43:32 +01:00
Florian Rival
bb23e2c018 Add Prettier configuration file for GDJS 2018-06-23 11:43:32 +01:00
Florian Rival
eb6461c819 Refactor serialization in websocket-debugger-client 2018-06-23 11:43:32 +01:00
Florian Rival
1a3bd2423d [WIP] Add support for profiler in GDJS 2018-06-23 11:43:32 +01:00
Florian Rival
c22934d46f Add ThemeConsumer to avoid relying on muiThemeable HOC 2018-06-23 11:43:32 +01:00
Todor Imreorov
6cdee3b977 Add Piskel related improvements (#522)
* Show Resize prompt on Piskel for any new animations
* Add ability to set Piskel animation name
2018-06-23 11:22:39 +01:00
Lizard-13
88d102620a Add support for audio dynamic pitch (GDJS/Howler.js) (#533) 2018-06-21 18:33:12 +01:00
Florian Rival
3c5280a0f0 Merge branch 'master' of github.com:4ian/GD 2018-06-20 21:02:58 +01:00
Florian Rival
ad9abd971c Make Table themable and fix the styling of InstancesList in dark theme 2018-06-20 21:02:32 +01:00
Lizard-13
48465425e4 Fix include order (#527) 2018-06-18 23:51:26 +01:00
Lizard-13
02ddea17ea Add raycast-to-position condition (#526) 2018-06-18 23:50:03 +01:00
Florian Rival
24b68f75b8 Add 2 new examples 2018-06-17 22:45:15 +01:00
Florian Rival
bed9c77c8c Fix link in GDJS/Readme.md 2018-06-17 18:18:53 +01:00
Florian Rival
0a6f810695 Bump newIDE version 2018-06-17 14:37:22 +01:00
Florian Rival
a70f5df386 Add/update 9 examples 2018-06-17 14:33:50 +01:00
Florian Rival
83951c952f Fix icons generation on Windows 2018-06-17 12:46:00 +01:00
Florian Rival
5b0758a035 Bump newIDE version 2018-06-16 18:15:25 +01:00
Florian Rival
058a2e6c82 Add Windows/macOS/Linux to list of exports in web-app 2018-06-16 15:19:30 +01:00
Florian Rival
78b00f8c36 Add 8 examples to GDevelop 5 2018-06-16 15:10:29 +01:00
Florian Rival
2de67eae57 Remove LocalIntroDialog and reference to beta in BrowserIntroDialog 2018-06-16 12:55:37 +01:00
Florian Rival
4b6e8454de Merge pull request #521 from 4ian/feature/online-electron-export
Online (or manual) export for Windows/macOS/Linux for GD5
2018-06-16 12:53:22 +01:00
Florian Rival
b3d9a773b0 Add links to help page 2018-06-16 12:51:25 +01:00
Florian Rival
796937ba5d Update subscriptions details 2018-06-16 12:09:22 +01:00
Florian Rival
977095fb36 Add targets to build for in LocalOnlineElectronExport 2018-06-14 23:52:22 +01:00
Florian Rival
f1f1123dad Improve error message in exporters and reset build when launching new export 2018-06-14 08:39:14 +01:00
ddabrahim
d8e87cd976 Updated the magnet example (#520)
Changed the position of the center and origin point of the big magnet to improve touch experience
2018-06-13 17:31:22 +01:00
Florian Rival
663336c4ee Ensure .DS_Store is not shown in examples list in LocalExamples 2018-06-13 00:08:22 +01:00
Florian Rival
96c993e057 Add 6 examples to GDevelop 5 2018-06-13 00:00:53 +01:00
Florian Rival
5742dcfbf8 Add beta to online electron export 2018-06-12 21:21:36 +01:00
Florian Rival
bf231c6c07 Factor exporter Progress into BuildStepsProgress 2018-06-12 17:28:03 +01:00
Florian Rival
fdbc91137c Factor build progress watching between BuildsList and exporters 2018-06-12 00:28:58 +01:00
Florian Rival
3e409681c2 Add a window showing list of previous builds (no auto-refresh) 2018-06-11 22:36:45 +01:00
Florian Rival
c23642e78c Prevent any error due to quotes or invalid characters when exporting to Electron 2018-06-11 22:36:45 +01:00
Florian Rival
7845a3577c Fix Electron export 2018-06-11 22:36:45 +01:00
Florian Rival
60484ee464 Add Visual Studio code settings for auto-formatting of C++ files 2018-06-11 22:36:44 +01:00
Florian Rival
06b54e277a Add version in properties of a project 2018-06-11 22:36:44 +01:00
Florian Rival
daa683f492 [WIP] Add LocalOnlineElectronExport and LocalElectronExport 2018-06-11 22:36:44 +01:00
Florian Rival
f3a43e8739 Update Asteroids example 2018-06-11 21:48:07 +01:00
Florian Rival
4fb830529a Add Asteroids, Brakeout and Type on text effect examples 2018-06-11 00:06:05 +01:00
Florian Rival
9b7b02fab2 Fix flow typing 2018-06-10 20:25:39 +01:00
Florian Rival
ae3b25f8c0 Add .watchmanconfig file 2018-06-10 10:18:30 +01:00
Florian Rival
c59204ce04 Add contributors list 2018-06-10 10:17:22 +01:00
Florian Rival
fd63f7bc96 Add Examples tab in CreateProjectDialog with new examples
Add a script to update web-app examples from the examples in resources/examples folder (used by IDE running on Electron
runtime).
2018-06-09 16:34:39 +01:00
Florian Rival
147dc321f1 Fix formatting 2018-06-04 16:03:00 +01:00
Florian Rival
fd72c6efe9 Ensure there is only a single Once instructions at the end of an instruction list 2018-05-29 14:35:19 -07:00
Florian Rival
ff1891bb3a Avoid killing CPU by throttling updates to scrollbars while scrolling in scene editors 2018-05-28 23:13:46 -07:00
Florian Rival
ec32788b4c Update newIDE Readme 2018-05-28 21:41:35 -07:00
Florian Rival
95622169a3 Update GDJS Readme 2018-05-28 21:21:51 -07:00
Bouh
e89de02fa6 Move Window mask button to Grid submenu (#507) 2018-05-28 20:36:04 -07:00
Nnarol
63a5734f32 Resolve compilation issue due to incomplete wxBitmap type (#506)
Include wx/bitmap.h in FileProperty.h .
Remove redundant inclusion of wx/control.h .
2018-05-28 00:07:14 -07:00
Florian Rival
d66eeeced2 Bump newIDE version 2018-05-27 23:42:02 -07:00
Florian Rival
6d9b96d0e8 Fix game not launching with the specified scene 2018-05-27 23:41:01 -07:00
Florian Rival
a8196c383f Fix tests 2018-05-27 19:51:43 -07:00
Florian Rival
9891f0d7e6 Update download link of libGD.js which was referencing an old version 2018-05-27 19:19:26 -07:00
Florian Rival
47c29822f6 Bump newIDE version 2018-05-26 22:58:30 -07:00
Florian Rival
1a8fd09596 Workaround a strange Electron behavior for confirming the closing of the app 2018-05-26 22:56:03 -07:00
Florian Rival
3fb6f0cd4e Bump newIDE version 2018-05-26 22:40:36 -07:00
Florian Rival
051b42cc21 Merge pull request #504 from 4ian/feature/particles-emitter-newide
Add support for Particles Emitter objects in GDevelop 5
2018-05-26 22:31:26 -07:00
Florian Rival
24f25d9f33 Fix flow typing of ColorTransformer 2018-05-26 22:09:00 -07:00
Florian Rival
17f2edde83 Avoid calling update on not visible rendered instances to save CPU/GPU 2018-05-26 22:08:01 -07:00
Florian Rival
f4374dd454 Improve RenderedParticleEmitterInstance to have a preview of color/angle of emitters 2018-05-26 21:54:05 -07:00
Florian Rival
0e0c49c11b Fix Get/SetConeSprayAngle in ParticleEmitterObject 2018-05-26 21:46:59 -07:00
Florian Rival
a7dab8faa1 Add the 2 particles examples to GDevelop 5 (web-app runtime) 2018-05-26 20:02:52 -07:00
Florian Rival
3d15e22128 Add the 2 particles examples to GDevelop 5 (Electron runtime) 2018-05-26 19:16:37 -07:00
Florian Rival
3104fac47a Change order of some extension loading to change objects order when creating a new one 2018-05-26 19:03:24 -07:00
Florian Rival
3e8feb7064 Imrpove ParticleEmitter editor in newIDE 2018-05-26 18:51:45 -07:00
Florian Rival
b7da5ee651 Add basic Particle Emitter editor in newIDE 2018-05-26 17:16:32 -07:00
Florian Rival
e78fa036a3 Avoid a Emscripten compilation issue related to ambiguous method 2018-05-26 17:16:14 -07:00
Florian Rival
23dab5cfe1 Add support for displaying ParticleEmitter objects in newIDE 2018-05-26 16:31:25 -07:00
Florian Rival
128d818e1f Merge branch 'master' of github.com:4ian/GD 2018-05-26 16:28:01 -07:00
Florian Rival
c80181fcca Clean up some declarations in Platform.h 2018-05-26 16:27:47 -07:00
Florian Rival
de4df3fe5b Add issue templates on GitHub (#501) 2018-05-26 12:11:42 -07:00
Florian Rival
9935ceb2b4 Bump newIDE version 2018-05-24 22:19:07 -07:00
Florian Rival
50f26f19cb Fix space shooter example fonts on web-app 2018-05-24 22:09:26 -07:00
Todor Imreorov
2c806e9492 Fix scrolling issue on Windows and Linux (#500) 2018-05-24 21:58:34 -07:00
Florian Rival
057a1b2d7c Merge pull request #499 from 4ian/feature/facebook-instant-games
Add Facebook Instant Games support
2018-05-24 21:57:03 -07:00
Florian Rival
69b0cb0ead Fix compilation error 2018-05-24 21:41:34 -07:00
Florian Rival
2be6ca9a9f Update GDJS Runtime version of preview created by the web-app 2018-05-24 21:35:48 -07:00
Florian Rival
992b6434e4 Improve examples names and set orientation 2018-05-24 21:35:26 -07:00
Florian Rival
227223f891 Improve web-app examples to adapt their size to the screen at startup 2018-05-24 21:17:59 -07:00
Florian Rival
972cdd9386 Improve examples to use adapt their size to the screen at startup 2018-05-24 20:58:23 -07:00
Florian Rival
fdf4683b83 Add option to adapt HTML5 games size to the screen at startup 2018-05-24 10:04:47 -07:00
Florian Rival
6450a051d0 Add Facebook Instant Games basic support 2018-05-23 20:47:05 -07:00
Florian Rival
f8a31cf3a9 Bump newIDE version 2018-05-22 23:41:11 -07:00
Florian Rival
5372f09c67 Fix closing confirmation 2018-05-22 23:30:33 -07:00
Florian Rival
b9f0e88f7e Bump version 2018-05-22 22:53:16 -07:00
Florian Rival
a5c3767cca Properly refresh textures of edited objects (useful after editing an image with Piskel) 2018-05-22 22:48:33 -07:00
Florian Rival
05e21484cf Fix React warning in PropertiesEditor 2018-05-22 07:53:48 -07:00
Florian Rival
6c204494b5 Add analytics to track usefulness of embedded Piskel editor 2018-05-21 22:17:42 -07:00
Todor Imreorov
af4cdcd485 Add a bundled version of Piskel for edition of image resources directly from GDevelop
* Supports SpriteObject and other object editors using ResourceSelector.
* This system could handle other editors too.
2018-05-20 22:33:08 -07:00
Nnarol
2977f0b1a7 Fix compilation error due to incomplete type. (#496)
Remove inclusion of wx/propgrid/property.h preceding
inclusion of wx/propgrid/propgrid.h to avoid incomplete type
error of object m_bitmap in property.h of type wxBitmap during build.
propgrid.h includes property.h anyway.
2018-05-20 20:49:03 -07:00
Nnarol
16a31cf1ae Prevent fly from disappearing behind cloud in platformer example (#492)
Set z-order of "Cloud" instances to -5.
Set z-order of "BackgroundObjects" to -2.
2018-05-10 19:06:47 -07:00
Florian Rival
dd14a2a86c Run clang-format on some missing files 2018-05-09 16:52:27 -07:00
Florian Rival
a8559bfbbc Add clang-format to format (C++) source files automatically (#491)
* Update all CMakeLists of extensions to use clang-format
* Run clang-format on all Extensions
* Update GDCore CMakeLists.txt to add clang-format
* Run clang-format on GDCore files
* Update GDJS and GDCpp CMakeLists.txt to add clang-format
* Run clang-format on GDCpp and GDJS files
2018-05-09 15:57:38 -07:00
Florian Rival
a77f8e139f Add Opacity expression for Sprite objects 2018-05-05 15:29:30 +01:00
Florian Rival
07af3990ac Add button to open object editor from InstancePropertiesEditor 2018-05-05 13:55:54 +01:00
Florian Rival
33eee8e00a Update demo gif shown on the README with GDevelop 5 2018-05-04 17:50:45 +01:00
Florian Rival
3f32134018 Fix tests 2018-05-04 13:37:52 +01:00
Florian Rival
5b12935851 Add npm package caching for faster Travis CI builds 2018-05-04 13:31:37 +01:00
Florian Rival
7a4d563875 Remove AppVeyor badge for now as it's not stable yet 2018-05-04 13:25:17 +01:00
Florian Rival
a0105fda37 Disable GDJS Runtime tests on Travis-CI as ChromeHeadless is not working 2018-05-04 13:23:05 +01:00
Florian Rival
d2f997ab4c Remove useless use of filter in ObjectSelector 2018-05-02 20:30:34 +01:00
Florian Rival
eb58f592ed Refactor FuzzyOrEmptyFilter to use it all AutoComplete by default 2018-05-02 15:43:17 +01:00
Florian Rival
8b6b896520 Ensure all AutoComplete popover are visible on screen (even if on the bottom of the window) 2018-05-02 15:03:40 +01:00
Florian Rival
34f240fe59 Fix flow issue 2018-05-02 15:00:08 +01:00
Florian Rival
e78411f3a8 Increase width of GenericExpressionField (useful for when clicking on a expression/string parameter) 2018-05-02 14:39:14 +01:00
Florian Rival
3128a19901 Add Checkbox to enable/disable stopping sounds on scene startup in ScenePropertiesDialog 2018-05-02 14:36:33 +01:00
Florian Rival
14d58eac32 Avoid Popover displayed by ObjectSelector to go outside of the screen 2018-05-01 00:21:07 +01:00
Florian Rival
7488b12704 Add documentation about optionalRequire 2018-04-30 14:02:27 +01:00
Lizard-13
f5fa82c95e Fix distance check (#487) 2018-04-30 10:42:39 +01:00
Florian Rival
6ddd093d56 Fix missing flow annotations 2018-04-28 15:09:32 +01:00
Florian Rival
b5ce3a996d Avoid inactive SceneEditor/ExternalLayoutEditor to drain CPU 2018-04-28 14:37:10 +01:00
Florian Rival
d8409d5f1e Make GenericExpressionField multiline (better readabiliy of long expressions) 2018-04-28 00:44:14 +01:00
Florian Rival
7773d431e8 Improve editor performance (#485)
* Use PureComponent to avoid useless rerenderings
* Disable update to editor tabs that are not active
* Add UpdatesProfiler to ease the detection of unnecessary updates in React components
2018-04-27 22:38:12 +01:00
Florian Rival
5f916903ab Bump newIDE version 2018-04-27 15:14:21 +01:00
Florian Rival
60fe29660d Add missing images for points 2018-04-27 15:12:31 +01:00
Florian Rival
596e0087e5 Bump newIDE version 2018-04-26 15:31:29 +01:00
Todor Imreorov
8034247494 Fix scrolling issue (#483) 2018-04-26 14:37:06 +01:00
Florian Rival
73b60e6da8 Fix harmless error in import-libGD.js 2018-04-26 14:27:33 +01:00
Florian Rival
57e00a7ce0 Bump newIDE version 2018-04-26 13:43:25 +01:00
Florian Rival
1a6aa3b7ab Enable again menu in LocalPreviewLauncher preview windows 2018-04-26 13:38:58 +01:00
Florian Rival
e6eb05ce22 Fix TextEditor not resized when text is entered 2018-04-25 22:26:25 +01:00
Florian Rival
ddf63637fe Bump newIDE version 2018-04-25 17:38:06 +01:00
Florian Rival
c02aec0f6b Merge pull request #478 from 4ian/feature/gdjs-ws-debugger
Add basic Debugger for GDevelop 5/GDJS games
2018-04-25 15:41:16 +01:00
Florian Rival
280eebbccd Add HelpButton in DebuggerContent 2018-04-25 15:34:06 +01:00
Florian Rival
48611c2c38 Add Debugger menu item in EventsSheet toolbar 2018-04-24 23:48:42 +01:00
Florian Rival
5dbbc25b2b Fix warning in ScenePropertiesDialog 2018-04-24 23:40:09 +01:00
Florian Rival
23c85d8a75 Enhance RuntimeSceneInspector to allow to create new instances of objects 2018-04-24 23:23:59 +01:00
Florian Rival
cdd0f72266 Refactor *Inspector to use mapValues 2018-04-24 22:53:44 +01:00
Florian Rival
68189bf720 Add RuntimeSceneInspector showing layers information and timescale to Debugger 2018-04-24 20:59:09 +01:00
Florian Rival
376c2cc5c5 Fix Debugger opening from an ExternalLayoutEditor 2018-04-24 20:30:14 +01:00
Florian Rival
38b587cdd4 Set initial split percentage in DebuggerContent to increase inspectors list readability 2018-04-24 17:44:13 +01:00
Florian Rival
dd65aaf086 Make Debugger inspectors more resilient to bad values 2018-04-24 17:14:36 +01:00
Florian Rival
db7604ee88 Ask for getting a subscription to regularly use the Debugger 2018-04-24 17:11:29 +01:00
Florian Rival
d94749177b Lightly fade buttons to add child to a non-structure variable 2018-04-24 17:10:49 +01:00
Florian Rival
d061be627b Ensure Debugger toolbar is not shown if DebuggerEditor is not active 2018-04-24 17:10:18 +01:00
Florian Rival
3dede19f1f Add note about Debugger working only on Electron runtime 2018-04-24 15:43:17 +01:00
Florian Rival
916d2eb99e Fix storybook DebuggerContent stories 2018-04-24 12:53:26 +01:00
Florian Rival
9fadc0faab Add item in menu to open Debugger 2018-04-24 11:00:04 +01:00
Florian Rival
ba6c7ec78d Add a message when no debugger is launched 2018-04-24 10:57:55 +01:00
Florian Rival
0b4fc055bf [WIP] Enable debugger to listen to multiple game previews 2018-04-24 00:14:38 +01:00
Florian Rival
8a841fa68f Fix a flow type error 2018-04-23 22:15:21 +01:00
Florian Rival
f71983679c Enhance README and fix linter errors + add warning about RawContentInspector usage 2018-04-23 22:15:21 +01:00
Florian Rival
be3cc48e32 Add RuntimeObject/VariablesContainerInspector for Debugger with live editing 2018-04-23 22:15:21 +01:00
Florian Rival
956656236b Move InstancesFullEditor to SceneEditor 2018-04-23 22:15:20 +01:00
Florian Rival
a53de69c4e [WIP] Implement a basic client/server debugger for GDJS games 2018-04-23 22:15:20 +01:00
Florian Rival
a7abbda061 Fix an incorrectly parsed color warning in DefaultTheme 2018-04-23 22:09:48 +01:00
Florian Rival
c267d14348 Merge pull request #452 from Lizard-13/skeleton-runtime-object
Add Skeleton object extension (still in Beta)
2018-04-23 21:50:09 +01:00
Todor Imreorov
7db2709ff0 Improve scrolling and add mouse middle button support to Scene editor (#472)
* Add mouse middle button input support to Scene editor, using standard navigation design present in other software (Gimp, Krita, Inkscape, blender, etc):
- Scrolling to zoom in and out the view
- Mid click to pan the view

* Middle mouse navigation is only for windows and Linux, but not macOS.
* Add support for natural scrolling in both X and Y directions
2018-04-23 21:36:19 +01:00
Lizard-13
86a3614f89 Added an example and improve response on missing resources 2018-04-23 12:52:30 -03:00
Lizard-13
b8e0b5d8e3 Update comments 2018-04-20 08:22:18 -03:00
Lizard-13
c7a8df3d5a Clean some code 2018-04-16 12:31:11 -03:00
Florian Rival
3be8966132 Remove menu of BrowserWindow showing the preview of games in newIDE 2018-04-15 22:34:33 +02:00
Florian Rival
61cefa6cd7 Merge branch 'master' of github.com:4ian/GD 2018-04-15 22:33:47 +02:00
Florian Rival
e1dd41bb32 Fix debouncing of HelpFinder analytics 2018-04-15 12:29:06 +02:00
Ryan Jentzsch
24466ca653 Add note about NPM watcher error for Linux (#468)
See #467
2018-04-14 10:40:02 +02:00
Florian Rival
1c9497dc92 Remove useless file 2018-04-13 23:45:26 +02:00
Florian Rival
5dd3ed43cf Merge pull request #466 from 4ian/feature/help-finder
Add HelpFinder with search in documentation powered by Algolia DocSearch.
2018-04-13 17:06:11 +02:00
Florian Rival
368cdebd78 Fix primary RaisedButton text color in DarkTheme 2018-04-13 17:03:43 +02:00
Florian Rival
3d7279144b Add Search powered by Algolia in HelpFinder 2018-04-13 16:53:54 +02:00
Florian Rival
18682eccfa Fix DocSearch width on large screens 2018-04-13 16:45:41 +02:00
Florian Rival
f70c565e7d Ensure opening a link in the Electron app will open an external browser 2018-04-13 16:38:34 +02:00
Florian Rival
b9035efc9e Fix StartPage tests 2018-04-13 16:29:40 +02:00
Florian Rival
493fc7b6f9 Send analytics from HelpFinder to know if it's being used 2018-04-13 16:28:04 +02:00
Florian Rival
52db6e15ee Add work-in-progress HelpFinder dialog 2018-04-13 16:19:39 +02:00
Florian Rival
28de2b179b Merge pull request #465 from Lizard-13/improve-particles
Improve particles
2018-04-13 15:12:11 +02:00
Lizard-13
4a6c37f502 Fix Cocos particles size 2018-04-13 06:50:51 -03:00
Lizard-13
9ce734e204 More particles fixes 2018-04-13 06:27:37 -03:00
Florian Rival
fb3a0edfac Fix AudioResourceField not properly shown in ExternalEvents editor 2018-04-10 18:38:46 +02:00
Florian Rival
e613c7d546 Merge pull request #464 from Lizard-13/improve-particles
Improve/Fix particles
2018-04-10 10:44:21 +02:00
Lizard-13
6db6455bb6 Improve particles 2018-04-09 22:38:47 -03:00
Florian Rival
86e928724a Add ObjectName string expression 2018-04-09 17:53:48 +02:00
Florian Rival
f31d8f88c2 Update Particles - Various effects example for HTML5 games 2018-04-08 23:57:39 +02:00
Florian Rival
940eac6bc4 Fix Pixi and Cocos2d-JS particles flow/tank support and adapt Explosion example 2018-04-08 23:28:51 +02:00
Florian Rival
6908f51b4a Fix hasStarted method of ParticleEmitterObject (Pixi.js and Cocos2d-JS renderers) 2018-04-08 22:34:01 +02:00
Florian Rival
a537f678fb Merge pull request #462 from Lizard-13/js-particles
Add support for particles in HTML5 games (both Pixi.js and Cocos2d-JS renderers)

Thanks @Lizard-13 for this great work!
2018-04-08 21:33:37 +02:00
Lizard-13
1019aaba5f Update exporter and improve readability 2018-04-08 11:48:28 -03:00
Lizard-13
5770ac6396 Add support for particles in web platform 2018-04-07 23:51:28 -03:00
Florian Rival
7171f691a3 Display global groups in italic 2018-04-05 20:20:18 +02:00
Florian Rival
0ad7b71cf2 Bump newIDE version 2018-04-04 17:08:52 +02:00
Florian Rival
006d7296a2 Fix AudioResourceField not properly shown when editing it inline in EventsSheet 2018-04-04 17:07:44 +02:00
Florian Rival
443c49f83e Fix regression due to broken Variable and VariablesContainer copy ctor and assignement operator 2018-04-04 15:10:08 +02:00
Florian Rival
9884965595 Merge pull request #458 from 4ian/audio-resource-support
Audio resource support
2018-04-04 13:15:59 +02:00
Florian Rival
e0379466e0 Add more flowtype coverage 2018-04-04 11:54:58 +02:00
Florian Rival
622cba4642 Move ResourceSelectorWithThumbnail and add ResourceThumbnail 2018-04-04 11:46:14 +02:00
Florian Rival
50c7a582ef Add AudioPreview 2018-04-04 11:23:49 +02:00
Florian Rival
e501fd4a09 Add AudioResourceField 2018-04-04 10:36:59 +02:00
Florian Rival
29808c8800 Bump newIDE version 2018-04-03 21:47:13 +02:00
Florian Rival
fcfb71132c Bump GDCore version 2018-04-03 21:21:32 +02:00
Florian Rival
2017d34197 Make explicit to install InnoSetup Unicode to generate GD4 Windows installer 2018-04-03 18:54:20 +02:00
Florian Rival
662c7bd397 Add missing header files 2018-04-03 18:49:05 +02:00
Florian Rival
cf5011c149 Merge pull request #457 from 4ian/feature/copy-paste-delete-variables-list
Copy/paste/delete variables for GDevelop 5
2018-04-03 18:31:31 +02:00
Florian Rival
954520ae3b Add comment about compiler version for compiling GDCore/GDCpp/IDE 2018-04-03 18:31:06 +02:00
Florian Rival
6ffcd6dfb0 Merge branch 'master' of https://github.com/4ian/GD 2018-04-02 21:53:41 +02:00
Florian Rival
80e7a6010a Add missing std::endl in Light_Manager sometimes creating conflicts with
FileStream.

* Other files should be audited for missing std::endl.
* FileStream should be protected against this.
2018-04-02 21:49:29 +02:00
Florian Rival
0dc023ba89 Improve renaming of pasted objects in newIDE 2018-04-02 12:25:17 +02:00
Florian Rival
e70021d0dd Refactor Variable/VariablesContainer and add copy/paste/delete to VariablesList in newIDE 2018-04-01 23:42:52 +02:00
Florian Rival
eb63bda7d2 [WIP] Change VariablesContainer to keep references to variables valid after a removal/move/swap 2018-04-01 20:19:54 +02:00
Florian Rival
10833aa45d [WIP] Add copy/paste/delete in VariablesList in newIDE 2018-04-01 19:44:22 +02:00
Florian Rival
eed844357e Add WindowBorder color to layout background 2018-04-01 16:56:29 +02:00
Florian Rival
6d91676dab Bump version 2018-04-01 01:44:32 +02:00
Florian Rival
69410d62ea Fix theming of objects parameters conflicting between default and dark theme 2018-04-01 01:11:12 +02:00
Florian Rival
977425e700 Add explanation about how to compile libGD.js manually 2018-03-31 13:19:57 +02:00
Lizard-13
50746b3c75 Still trying to fix Travis CI 2018-03-30 23:25:11 -03:00
Lizard-13
1c5364f917 Trying to fix the Travis CI compiling error 2018-03-30 21:51:50 -03:00
Lizard-13
89d099ff7d Add Cocos renderer support 2018-03-30 21:20:01 -03:00
Florian Rival
49d409260a Add TODO about a performance improvement for Sprite collision mask in native game engine 2018-03-31 00:20:41 +02:00
Florian Rival
a50b62a2d8 Update links in README 2018-03-30 23:53:17 +02:00
Florian Rival
6b21ebcc9b Merge pull request #455 from 4ian/feature/collision-mask-editor
Collision mask editor for GDevelop 5
2018-03-30 23:46:51 +02:00
Florian Rival
3c8aa4a249 Display circle for each vertex of collision mask polygons 2018-03-30 23:12:49 +02:00
Florian Rival
a8e9fa5895 Ensure polygon vertices are not put outside the sprite bounding box 2018-03-30 23:05:11 +02:00
Florian Rival
c9f8b4a8ed [WIP] Add preview of default bounding box collision mask 2018-03-30 22:52:22 +02:00
Florian Rival
6b38479166 [WIP] Factor selectors of PointsEditor and CollisionMasksEditor into SpriteSelector 2018-03-30 22:44:19 +02:00
Florian Rival
4ccbc1b958 [WIP] Add preview of collision mask polygons 2018-03-30 22:01:21 +02:00
Florian Rival
54d7d284c8 [WIP] Add CollisionMasksEditor in newIDE (preview not yet done) 2018-03-30 18:06:21 +02:00
Lizard-13
ca1721ef9a Load skeletal data file only once through shared data
Now each file is readed only once, multiple instances will share static data as default values and animation keys.

Also converted all tabs into spaces :)
2018-03-29 19:25:43 -03:00
Florian Rival
58ed74e020 Add help button about Play Store when one-click Android packaging is finished 2018-03-30 00:00:15 +02:00
Florian Rival
e8ce83b162 Bump version 2018-03-29 22:34:06 +02:00
Florian Rival
9b91f06011 Add menu item to set an object as global 2018-03-29 22:09:23 +02:00
Florian Rival
17247cbbf1 Ensure coordinates of objects moved with the mouse are round 2018-03-29 22:05:42 +02:00
Florian Rival
10b81dd232 Fix StartPage snapshot test 2018-03-25 20:19:48 +02:00
Florian Rival
3f3a5dbd3b Remove warnings and add Flow on StartPage 2018-03-25 20:05:35 +02:00
Florian Rival
6ff8ee749d Fix changes wrongly discarded in ObjectField 2018-03-17 17:21:40 +01:00
Florian Rival
db5f146818 Fix errors with some parameter fields 2018-03-17 17:18:03 +01:00
Lizard-13
ddcf51a2b7 Add custom hitbox action and fix polygons draw 2018-03-14 22:09:25 -03:00
Florian Rival
b7467afd1b Bump newIDE version 2018-03-12 21:59:10 +01:00
Florian Rival
ee993f0cdb Improve performance by stopping rendering of InstancesEditor when the SceneEditor/ExternalLayoutEditor is not displayed 2018-03-11 22:30:53 +01:00
Florian Rival
bc6d3ce16f Use italic font to display global objects in ObjectsList in newIDE 2018-03-11 22:02:42 +01:00
Florian Rival
1fae899497 Enhance VariableField to display children variables too 2018-03-11 16:50:38 +01:00
Florian Rival
8319f60c95 Update VariableField completions when variables are edited 2018-03-11 16:01:49 +01:00
Florian Rival
f6fe1a3205 Enhance performance of ParameterFields components 2018-03-11 15:47:40 +01:00
Florian Rival
01e2b53a3f Improve GenericExpressionField performance 2018-03-10 22:10:39 +01:00
Florian Rival
da9eb3cea7 Ensure ObjectsGroupEditorDialog position on screen is always correct 2018-03-10 21:36:13 +01:00
Florian Rival
c044b32c04 Improve performance of ObjectSelector by avoiding constant re-renderings 2018-03-10 21:35:44 +01:00
Lizard-13
46279e7762 Add JS events functions and hitboxes debug draw 2018-03-10 14:54:17 -03:00
Florian Rival
4936b014ae Improve performance of VariablesEditorDialog and ensure dialog position is always correct 2018-03-10 17:07:19 +01:00
Florian Rival
c1cd0d8780 Use SemiControlledTextField in SpriteEditor to enhance performance/responsiveness 2018-03-10 16:55:45 +01:00
Lizard-13
557af32cc9 Add custom icons 2018-02-27 21:51:15 -03:00
Lizard-13
729a85a9a9 Add extension conditions/actions/expressions 2018-02-27 19:10:36 -03:00
Lizard-13
34146c2f18 Added gdjs.sk namespace for better organization 2018-02-27 19:10:23 -03:00
Lizard-13
00146bb8f8 Add animation and animation blending system 2018-02-27 19:10:11 -03:00
Lizard-13
6026d79ebb Support for armatures, meshes* and polygons
*Meshes needs PIXI lib update
2018-02-27 19:10:07 -03:00
Lizard-13
fc28f272b3 Images color, alpha, visible, z support 2018-02-27 19:10:02 -03:00
Lizard-13
9702db06a5 Basic images working 2018-02-27 19:09:55 -03:00
Lizard-13
209f83d697 Basic classes setup 2018-02-27 19:09:47 -03:00
Lizard-13
0ef8eb32a5 Base extension info and files tree
Files named Ax, By, Cz... as a temporal fix for include order
2018-02-27 19:09:42 -03:00
Lizard-13
8115b8181e Empty working object 2018-02-27 19:09:31 -03:00
Florian Rival
e79a328748 Bump newIDE version 2018-02-25 23:24:20 +01:00
Florian Rival
2083ee1029 Update hosted GDJS root for previews in browser with S3 in newIDE 2018-02-25 23:24:10 +01:00
Florian Rival
3e982cdd87 Add link to roadmap in newIDE readme 2018-02-25 22:58:06 +01:00
Florian Rival
883527b289 Fix tests 2018-02-25 22:38:46 +01:00
Florian Rival
a4d84efdd5 Add support for editing properties of resources in ResourcePropertiesEditor in newIDE 2018-02-25 22:35:17 +01:00
Florian Rival
e46c8493bc Refactor Resource to use gd::PropertyDescriptor for custom properties 2018-02-25 22:17:04 +01:00
Florian Rival
4c443b09cf Update zombie-laser example for newIDE 2018-02-25 18:57:14 +01:00
Florian Rival
98bc2236f4 Merge pull request #445 from Lizard-13/raycast-1
Add Raycast condition
2018-02-25 18:08:43 +01:00
Florian Rival
5199299639 Add analytics when a user choose a new subscription plan 2018-02-25 17:45:49 +01:00
Florian Rival
3268d1db25 Merge pull request #451 from 4ian/feature/profile-in-context
Preview over wifi, GDevelop splash and minor improvements
2018-02-25 17:36:34 +01:00
Florian Rival
741770924b Remove useless package & update subscription descriptions 2018-02-25 17:34:55 +01:00
Florian Rival
49aa9469bb Add SubscriptionChecker when trying to deactivate GDevelop splash in ProjectPropertiesDialog 2018-02-25 17:19:24 +01:00
Florian Rival
7cbe34436c Improve design of SubscriptionDialog and SubscriptionCheckDialog 2018-02-25 16:40:48 +01:00
Lizard-13
122f7ecf3e Fix date functions (#450) 2018-02-25 14:13:23 +01:00
Florian Rival
d79bdd9554 Add SubscriptionChecker to ask users to get a subscription if needed 2018-02-24 20:34:59 +01:00
Lizard-13
3e331cb2e8 Fix event description string (#448) 2018-02-24 19:02:15 +01:00
Florian Rival
361fb6aeab Move UserProfile into a single object provided by a Provider (using react-create-context)
Can be updated later to use the new React Context API once it's ready
SubscriptionCheckDialog is still a Work-In-Progress.
2018-02-24 16:23:45 +01:00
Florian Rival
b4a76895ee [WIP] Display dialog asking for a subscription when starting network preview
TODO: Refactor to store user profile in a context/store to avoid de-synchronisation
between components using UserProfileContainer.
2018-02-24 14:31:08 +01:00
Florian Rival
b2251e1a12 Fix external layout previews for web-app 2018-02-23 15:55:19 +01:00
Florian Rival
1c1860370a Prevent pinch-to-zoom on exported games/preview and set black address bar 2018-02-23 15:24:35 +01:00
Florian Rival
1a190b2a44 Add Network Preview (Preview over wifi) to newIDE with live reload 2018-02-23 12:41:18 +01:00
Florian Rival
b1e0f72416 Add local server in Electron app (to serve previews over wifi) 2018-02-20 08:31:13 +01:00
Florian Rival
2c4ae7573e Add LoadingScreen in project properties to allow to show/hide splash at startup 2018-02-18 23:02:26 +01:00
Florian Rival
04ff1f2726 Add GDevelop Splashscreen at game startup 2018-02-18 21:55:42 +01:00
Florian Rival
eaa5200f95 Fix warning 2018-02-18 17:00:05 +01:00
Florian Rival
53c749b79e Update some links in newIDE to the new GDevelop website (gdevelop-app.com) 2018-02-18 16:30:39 +01:00
Lizard-13
eb96ee8497 Fix @static hint 2018-02-17 17:56:07 -03:00
Lizard-13
458444ee7b Implement collinear case 2018-02-17 16:02:13 -03:00
Lizard-13
c8eb13f18f Minor fixes
Removed circle code, unused includes and debug lines.
Improved extension strings.
Added reference link.
Updated "Laser and zombies.gdg" example
2018-02-17 16:01:11 -03:00
Lizard-13
a224b93edc Remove circle from test game 2018-02-17 16:01:00 -03:00
Lizard-13
f077ca6723 Commented out circle raycasting and added icons 2018-02-17 16:00:52 -03:00
Lizard-13
6bbfa1d4a1 Implement C++ version
And little fixes on the JS version
2018-02-17 16:00:32 -03:00
Lizard-13
3c3dc6ef6e Implement raycast JS version and test game 2018-02-17 16:00:18 -03:00
Lizard-13
5c101dbcda Engine condition set up
Neither tested nor compiled yet
2018-02-17 15:56:50 -03:00
Florian Rival
701b78361a Add support for disabled events in EventsSheet in newIDE 2018-02-17 16:34:42 +01:00
Florian Rival
07f26027f6 Bump newIDE version 2018-02-15 22:56:13 +01:00
Florian Rival
09cf13d6e2 Add confirm before close dialog to newIDE 2018-02-15 22:50:08 +01:00
Florian Rival
42f91565fa Merge pull request #443 from 4ian/feature/cordova-icons
Add support for icons when exporting to Android/iOS
2018-02-13 19:51:04 +01:00
Florian Rival
ac6c146808 Fix ImageThumbnail error when onContextMenu is not specified 2018-02-13 19:50:21 +01:00
Florian Rival
59ad23f8ac Allow to customize game orientation (for when exported with Cordova) 2018-02-11 23:44:00 +01:00
Florian Rival
769c6fe3d5 Move ResourcesLoader in its own folder + refactor methods 2018-02-11 23:17:44 +01:00
Florian Rival
07b92911ab Add message on web-app about non support of automatic icons creation 2018-02-11 22:03:30 +01:00
Florian Rival
eb57bcfc87 Add iOS icons support for Cordova + fix image caching 2018-02-11 21:52:40 +01:00
Florian Rival
7addeba73a Add support for Android icons in Cordova export 2018-02-11 21:14:18 +01:00
Florian Rival
263902b45a Avoid caching in ImagePreview and ImageThumbnail 2018-02-11 18:14:47 +01:00
Florian Rival
d283f759fe Add PlatformSpecificAssets to Project 2018-02-10 18:36:02 +01:00
Florian Rival
fabd028a63 Update VSCode C++ properties for Intellisense 2018-02-10 18:35:05 +01:00
Florian Rival
2b18272c41 Merge branch 'master' of github.com:4ian/GD 2018-02-07 00:02:25 +01:00
Florian Rival
a1fb39da3d Fix scene unloading re-creating a RuntimeSceneRenderer leading to issues with Cocos2d-JS renderer 2018-02-05 23:12:51 +01:00
Florian Rival
09602fdf9e Merge pull request #441 from ronnystandtke/patch-1
Update gdevelop.desktop
2018-02-04 17:03:22 +01:00
ronnystandtke
d574ef17ba Update gdevelop.desktop
added German L10n
2018-02-04 17:00:34 +01:00
Florian Rival
0e3f70627b Bump newIDE version 2018-02-03 19:32:52 +01:00
Florian Rival
a814a07105 Fix ResourcesEditor selection 2018-02-03 19:24:47 +01:00
Florian Rival
c49af90a9c Add program opening count to Keen.io analytics 2018-02-03 19:09:33 +01:00
Florian Rival
24afa155c8 Improve Keen.io analytics events by adding user profile information 2018-02-03 18:30:09 +01:00
Florian Rival
9e5a431516 Only run Fullstory on newIDE web-app 2018-02-03 17:53:57 +01:00
Florian Rival
182a94285c Unregister service worker (it is not ready yet) 2018-02-03 13:05:22 +01:00
Florian Rival
442c2c8dd9 Merge pull request #439 from 4ian/feature/resources-editor
Resources editor for newIDE
2018-02-03 12:57:22 +01:00
Florian Rival
f8fd0dd353 Add a preview in ResourcesEditor 2018-02-03 12:55:30 +01:00
Florian Rival
faad9e23ac Add ResourcesEditor with ResourcePropertiesEditor and Toolbar 2018-01-30 23:12:31 +01:00
Florian Rival
d2af0da1b1 Added tools method to ResourcesManager and finish working version of ResourcesList 2018-01-30 21:56:40 +01:00
Florian Rival
c65e5c3e49 [WIP] Add ResourcesEditor based on a generic SortableVirtualizedItemList
TODO:
* Use SortableVirtualizedItemList for ObjectsList and ObjectsGroupsList
* Add missing features (sorting, delete, thumbnail for images, properties edition) to ResourcesEditor
2018-01-30 00:58:21 +01:00
Florian Rival
24a8dfc5f0 Add SemiControlledTextField to be able to type freely in PropertiesEditor 2018-01-28 18:45:44 +01:00
Florian Rival
9c6790ac37 Update default gravity in PhysicsBehavior 2018-01-27 23:50:49 +01:00
Florian Rival
18ef7460ba Bump newIDE version 2018-01-27 19:34:36 +01:00
Florian Rival
63cd0e76c3 Fix warning 2018-01-27 19:34:27 +01:00
Florian Rival
bdbf7fd9fc Add support for editing BehaviorSharedData in newIDE
TODO:
* Support for cancelling modifications made on it in ScenePropertiesDialog
2018-01-27 19:13:27 +01:00
Florian Rival
6bbedbd8f9 Fix BehaviorSharedData not created by newIDE + fix warnings 2018-01-27 17:00:44 +01:00
Florian Rival
648bd1ff2e Show warning if game name or package name is empty when exporting in newIDE 2018-01-24 23:31:02 +01:00
Florian Rival
d4288caedb Fix .env file loading with electron-app and bump newIDE version 2018-01-23 00:15:13 +01:00
Florian Rival
0a35bc3272 Bump newIDE version 2018-01-22 23:35:55 +01:00
Florian Rival
d8b737a31f Fix LocalS3Export always reusing the same folder leading to useless files in exported game 2018-01-22 23:35:32 +01:00
Florian Rival
cfd2655f6c Bump newIDE version 2018-01-22 23:29:21 +01:00
Florian Rival
1896241b9d Move AWS S3 credentials to an .env file for games deployment on GDevelop hosting 2018-01-22 23:25:42 +01:00
Florian Rival
0ed22a6ee1 Fix upload to GDevelop hosting of exported games with large files 2018-01-22 22:52:44 +01:00
Florian Rival
2bfcb99c3e Add analytics when a signup is done 2018-01-22 00:20:32 +01:00
Florian Rival
815f8a520a Bump newIDE version 2018-01-21 22:11:59 +01:00
Florian Rival
f115b6607f Add PhysicsBehavior support to newIDE, with an example 2018-01-21 22:11:24 +01:00
Florian Rival
c876f67502 Add pathfinding example to newIDE web-app 2018-01-20 21:25:25 +01:00
Florian Rival
27674f272c Bump newIDE version 2018-01-20 19:21:13 +01:00
Florian Rival
02879507e3 Fix tests (outdated snapshots after adding Pathfinding to newIDE) 2018-01-20 19:19:38 +01:00
Florian Rival
0a7629878f Fix Sepia layer effect (broken since Pixi v4 update) 2018-01-20 19:00:22 +01:00
Florian Rival
b0368232d0 Add Parallax example to newIDE 2018-01-20 17:19:45 +01:00
Florian Rival
a32bf3db98 Add Pathfinding and Zombie Laser examples to newIDE 2018-01-20 17:02:47 +01:00
Florian Rival
64cbbb20d3 Expose PathfindingBehavior when building with Emscripten 2018-01-20 16:53:12 +01:00
Florian Rival
dd4fbecc98 Update some GDevelop services API to use api.gdevelop-app.com 2018-01-20 16:28:27 +01:00
Florian Rival
807a75a265 Update productName for newIDE 2018-01-19 00:24:07 +01:00
Florian Rival
6e1b44ea56 Bump newIDE version 2018-01-18 23:31:41 +01:00
Florian Rival
d870a54f58 Fix error when handling download-progress of an update 2018-01-18 23:31:00 +01:00
Florian Rival
9f464a3f23 Bump newIDE version 2018-01-18 23:12:37 +01:00
Florian Rival
ed4e84d665 Add Export icon in newIDE main toolbar & fix profile refreshing after getting a new subscription 2018-01-18 23:12:08 +01:00
Florian Rival
1e4ab96233 Bump newIDE version 2018-01-18 00:04:27 +01:00
Florian Rival
380c034ff5 Merge pull request #433 from 4ian/feature/online-cordova-export
Packaging for Android with GDevelop online build service + various improvements
2018-01-18 00:02:51 +01:00
Florian Rival
7c9abe432d Fix AboutDialog story in storybook and use retro default avatars 2018-01-18 00:02:05 +01:00
Florian Rival
2ca853c22c Add HelpButton in ProfileDialog and disabled icon field in ProjectPropertiesDialog 2018-01-17 23:55:40 +01:00
Florian Rival
b23d55612a Add display of user Gravatar in ProfileDetails 2018-01-17 22:36:51 +01:00
Florian Rival
b261faacfc Freeze GDCore/libGD.js and newIDE version to 4.0.96 (don't read it from Git tags) 2018-01-17 00:21:07 +01:00
Florian Rival
9984b32876 Add link to help page specific to each exporters 2018-01-16 23:42:46 +01:00
Florian Rival
d63ba75430 Change wording in CreateProfile 2018-01-16 23:33:44 +01:00
Florian Rival
2db903ed94 Fix profile refreshing after login/account creation 2018-01-16 22:00:45 +01:00
Florian Rival
3f9bc4d335 Fix upload and Android export for large files 2018-01-16 21:25:36 +01:00
Florian Rival
3df95d0e21 Switch authentification to use Firebase 2018-01-14 17:59:09 +01:00
Florian Rival
f445695f6a Add auto-update support to GDevelop 5 2018-01-13 17:17:48 +01:00
Florian Rival
6f3163d7bd Rework ExportDialog to have a list of exporters to choose from 2018-01-13 14:54:10 +01:00
Florian Rival
5421eae23d Add buttons to switch between exporters of the same kind 2018-01-11 00:04:31 +01:00
Florian Rival
a0e82ee22f Add button to download logs in LocalOnlineCordovaExport 2018-01-10 23:25:18 +01:00
Florian Rival
1fbf822769 Move GDevelop hosting API configuration to GDevelopServices/ApiConfigs.js 2018-01-09 23:52:44 +01:00
Florian Rival
6b0f037722 Add a comment about working with Auth0 during development 2018-01-09 23:52:44 +01:00
Florian Rival
ae231d2fe6 Update packageName of fixtures/example games 2018-01-09 23:52:44 +01:00
Florian Rival
2e95899da7 Ensure user is asked for authenticating again if needed 2018-01-09 23:52:44 +01:00
Florian Rival
3f45b38dfc [WIP] Make SubscriptionDialog working with GDevelop Services and Stripe
TODO: Properly handle the refresh of ProfileDialog
2018-01-09 23:52:44 +01:00
Florian Rival
daf4d36348 [WIP] Add SubscriptionDialog 2018-01-09 23:52:44 +01:00
Florian Rival
477cd16f23 Add storybook stories for Profile components 2018-01-09 23:52:44 +01:00
Florian Rival
83eded0056 [WIP] Improve LocalOnlineCordovaExport progress handling 2018-01-09 23:52:44 +01:00
Florian Rival
338de9c149 [WIP] Add LimitDisplayer and display subscriptions limits in LocalOnlineCordovaExport 2018-01-09 23:52:44 +01:00
Florian Rival
6d99d4e661 [WIP] Add happy path for LocalOnlineCordovaExport 2018-01-09 23:52:44 +01:00
Florian Rival
4e5a8060c8 [WIP] Add Archiver to create zip files for LocalOnlineCordovaExport 2018-01-09 23:52:44 +01:00
Florian Rival
eb938e39ff [WIP] Add LocalOnlineCordovaExport (with no real calls to the build service for now) 2018-01-09 23:52:44 +01:00
Florian Rival
cff8604a5f Fix flow error/incompatibility in auth0-lock's node_modules 2018-01-09 23:52:44 +01:00
Florian Rival
2afa54bcd2 [WIP] Add SubscriptionDetails, ProfileDetails and UsagesDetails in ProfileDialog 2018-01-09 23:52:44 +01:00
Florian Rival
4da6025b6f Move configuration of BrowserS3PreviewLauncher in ApiConfigs 2018-01-09 23:52:44 +01:00
Florian Rival
c4f64444e7 [WIP] Add a Profile in newIDE with login/logout based on Auth0 2018-01-09 23:52:44 +01:00
Florian Rival
b0205b296f Merge pull request #432 from 4ian/fix/various
Various improvements for GDJS (memory + libs update)
2018-01-09 23:48:15 +01:00
Florian Rival
e0c8b3cc81 Add comment about RuntimScene.unloadScene and memory management 2018-01-09 23:47:47 +01:00
Florian Rival
80ca92336e Fix filters and refactor Text style update for Pixi v4 2018-01-09 23:03:26 +01:00
Florian Rival
6c0681e4ca Merge branch 'mem' of https://github.com/dos1/GD into dos1-mem 2018-01-07 20:06:18 +01:00
Sebastian Krzyszkowiak
26e8503dc8 GDJS: HowlerSoundManager: use XMLHttpRequest to preload
Howler decodes the whole file, which causes massive memory spike
on load when the project contains lots of longer music files.
We could use HTML5 audio to avoid decoding, but then the load event
actually means "preloaded enough to start playing without buffering".

We don't need to decode here, putting the file into browser cache
should be enough, so let's just download the file with XHR.
2018-01-06 02:09:01 +01:00
Sebastian Krzyszkowiak
c1ce78efde GDJS: howler-sound-manager: use .unload() method when destroying to free the resources used by sounds 2018-01-06 02:08:54 +01:00
Sebastian Krzyszkowiak
2f52c2f062 GDJS: store global volume value in HowlerSoundManager to avoid rounding errors (#430) 2018-01-05 16:59:16 +01:00
Sebastian Krzyszkowiak
24d11a2446 GDJS: update howler.js to 2.0.7 2018-01-04 23:44:57 +01:00
Sebastian Krzyszkowiak
e1d4ae5bbd GDJS: update Pixi to 4.6.2 2018-01-04 23:44:32 +01:00
Sebastian Krzyszkowiak
dcfe346f54 GDJS: RuntimeScene: clean up more variables on unload, so they can be garbage collected 2018-01-04 23:44:13 +01:00
Florian Rival
3906db9efe Make UserUUID generation security/exception errors-proof 2017-12-26 16:47:00 +01:00
Florian Rival
ba5244d95d Bump newIDE version 2017-12-26 16:46:32 +01:00
Florian Rival
52db730870 Add ErrorBounday for handling editor crash and EmptyEventsPlaceholder for empty events sheets 2017-12-26 14:47:46 +01:00
Florian Rival
82d2278ebd Bump newIDE version 2017-12-25 23:55:48 +01:00
Florian Rival
30d08ac72d Add button linking to help about creating new themes in newIDE 2017-12-25 17:48:38 +01:00
Florian Rival
6f1e71c8e5 Update README about creating themes for newIDE 2017-12-25 17:41:00 +01:00
Florian Rival
385be9b5f5 Make EventsSheet color scheme customizable and add Monokai inspired dark color scheme 2017-12-25 17:33:25 +01:00
Florian Rival
25cb041d78 Improve DarkTheme to fix Raised buttons readability 2017-12-25 14:58:36 +01:00
Florian Rival
18fa9cd659 Merge pull request #429 from 4ian/feature/upgrade-mui-react
Upgrade to React 16 and Material-UI 0.20
2017-12-24 17:33:58 +01:00
Florian Rival
ce760541c5 Upgrade to React 16.2 2017-12-24 16:51:04 +01:00
Florian Rival
db51b652f0 Remove useless refs created warnings with React 16 2017-12-24 15:05:46 +01:00
Florian Rival
4222d98aa9 Update instructions parameters color scheme 2017-12-24 15:05:20 +01:00
Florian Rival
484f1e5dcb Fix typing 2017-12-24 14:30:43 +01:00
Florian Rival
7304b94a77 Fix warnings/React issues with refs in EventsSheet 2017-12-24 14:07:20 +01:00
Florian Rival
ee5ec7df72 Fix InstancePropertiesEditor not refreshed when an instance is deleted/moved 2017-12-24 12:49:20 +01:00
Florian Rival
9a1e4bdf7c Update react-i18next dependency of newIDE 2017-12-24 12:40:26 +01:00
Florian Rival
a43cca7629 Update react-dnd dependency of newIDE 2017-12-24 12:31:08 +01:00
Florian Rival
0cdabab2ec Update react-color dependency of newIDE 2017-12-24 12:24:49 +01:00
Florian Rival
28b968ea99 Update newIDE to React 15.6.2 2017-12-24 12:21:32 +01:00
Florian Rival
5160033092 Upgrade storybook and remove useless newIDE dependencies 2017-12-24 12:00:41 +01:00
Florian Rival
ce086c07b9 Upgrade material-ui to v0.20 and upgrade other dependencies 2017-12-24 11:49:40 +01:00
Florian Rival
bf9348488d Merge pull request #428 from 4ian/feature/themable-newIDE
Add a Dark theme to newIDE
2017-12-23 23:18:38 +01:00
Florian Rival
70b3e0701b Fix StartPage tests 2017-12-23 23:14:44 +01:00
Florian Rival
dc3d890937 Add comment explaining how to create a new theme 2017-12-23 23:14:02 +01:00
Florian Rival
f68be32e2d Update logo in newIDE StartPage and tweak colors 2017-12-23 23:11:10 +01:00
Florian Rival
3758e7af03 Fix editors not opening in SceneEditor in newIDE 2017-12-23 22:40:50 +01:00
Florian Rival
5ab1858349 [WIP] Refactor EventsSheet to make it partially themable 2017-12-23 21:50:12 +01:00
Florian Rival
54353bcb24 [WIP] Add PreferencesDialog and make the whole newIDE interface themable 2017-12-23 21:06:55 +01:00
Florian Rival
de7640558d Fix Clock Skew related errors while uploading to S3 from certain computers 2017-12-23 13:52:33 +01:00
Florian Rival
2e17b16516 Make newIDE context menus dynamic (greyed-out items if not applicable, checkbox for grid) 2017-12-23 13:51:36 +01:00
Sebastian Krzyszkowiak
345f9f1786 Run CopyRuntimeToGD.sh with bash explicitly (#427)
The script contains bashisms which fail on systems where sh is
symlinked to dash instead of bash.
2017-12-22 11:12:02 +01:00
Florian Rival
8c9214ce5e Bump newIDE version 2017-12-20 22:44:49 +01:00
Florian Rival
fc9cc8046d Merge pull request #426 from 4ian/feature/newide-js-code-event
Add support for Javascript Code Event in newIDE
2017-12-20 22:33:12 +01:00
Florian Rival
e592bb855d Add support for objects parameter in JsCodeEvent in newIDE 2017-12-20 22:30:53 +01:00
Florian Rival
f8407264da Add basic support for JsCodeEvent in newIDE 2017-12-19 21:16:27 +01:00
Florian Rival
202fe2b69a Add FpsLimiter to limit framerate on InstancesEditor of newIDE, to avoid killing CPU/battery 2017-12-18 00:05:31 +01:00
Florian Rival
d14a93f9d0 Remove ok button in MainFrame Snackbar 2017-12-17 19:37:13 +01:00
Florian Rival
1d1ccdbf06 Fix unmounting and related focus issue of editors in newIDE 2017-12-17 16:16:29 +01:00
Florian Rival
92fd647316 Add button to open external events or layout events from a LinkEvent in newIDE 2017-12-16 18:09:30 +01:00
Florian Rival
d8ca506200 Add flow typing to MainFrame 2017-12-16 17:18:09 +01:00
Florian Rival
928d6eda98 Update VSCode settings 2017-12-16 16:53:53 +01:00
Florian Rival
d5e6755694 Move all providers from MainFrame to a dedicated component 2017-12-16 16:53:37 +01:00
Florian Rival
a1431126ec Merge pull request #424 from 4ian/feature/clipboard-project-manager
Clipboard support for ProjectManager in newIDE
2017-12-16 16:17:14 +01:00
Florian Rival
13c8caeb8c Increase flow coverage 2017-12-16 16:12:10 +01:00
Florian Rival
b2b5ee0e19 Add a TODO about style refactoring 2017-12-16 14:28:32 +01:00
Florian Rival
ff74ecd7c9 Run prettier on newIDE codebase 2017-12-16 14:26:05 +01:00
Florian Rival
0ac3e79156 Fix flow typing in newIDE and update flow to latest version 2017-12-16 14:24:25 +01:00
Florian Rival
3a69936e2e Add copy/cut/paste support for External Layouts and Events in newIDE 2017-12-16 14:02:40 +01:00
Florian Rival
e738d5dd5f Add copy/cut/paste support for Layout in newIDE 2017-12-16 00:14:18 +01:00
Florian Rival
ed8ee21c04 Reduce GroupEvent height 2017-12-15 23:22:47 +01:00
Florian Rival
87220a941a Bump newIDE version 2017-12-15 23:19:23 +01:00
Florian Rival
4425d13c7a Rename objectWithScope to objectWithContext 2017-12-13 00:19:31 +01:00
Florian Rival
b818e5f493 Add support for copy/cut/paste objects 2017-12-12 23:57:37 +01:00
Lizard-13
403563ba32 Support keyboard top row numbers in HTML5 games (#422) 2017-12-11 14:29:14 +01:00
Florian Rival
156ca68116 Make newIDE save project as formatted JSON 2017-12-10 23:03:16 +01:00
Florian Rival
de3677a6c3 Add AnimationPreview in SpriteEditor 2017-12-10 23:02:51 +01:00
Florian Rival
3b76dfe9f4 Fix LocalCordovaExport storybook and increase expression selector height 2017-12-09 20:08:23 +01:00
Florian Rival
6e38ee6d16 Move newIDE test files next to the test source files (no __tests__ folder) 2017-12-09 18:05:59 +01:00
Florian Rival
454657b00f Add link to Tank Shooter beginner tutorial in newIDE 2017-12-09 17:47:54 +01:00
Florian Rival
aad0c4e909 Fix newIDE yarn.lock 2017-12-09 17:27:53 +01:00
Florian Rival
d106ee9ac1 Merge pull request #421 from 4ian/feature/newide-expressions-autocomplete
Expression field with list of available functions for newIDE
2017-12-09 17:16:41 +01:00
Florian Rival
5b1e6e4381 Don't show ExpressionSelector when ExpressionField is displayed inline 2017-12-09 16:50:27 +01:00
Florian Rival
e1106c6145 Fix GenericExpressionField validation and functions button positioning 2017-12-07 00:33:42 +01:00
Florian Rival
0c5caf9986 Update StringField to use GenericExpressionField, with same features as ExpressionField 2017-12-07 00:22:59 +01:00
Florian Rival
2fdcd6c639 Fix formatting of expressions with code-only parameters 2017-12-07 00:04:56 +01:00
Florian Rival
8332adf07b [WIP] Fix Expression object/behavior functions formatting and BehaviorField 2017-12-06 23:43:20 +01:00
Florian Rival
fb40e908c0 [WIP] Add ExpressionParametersEditor to edit parameters of an expression to insert
TODO: Properly format objects and behaviors function calls.
2017-12-06 00:22:21 +01:00
Florian Rival
b6ef67568a [WIP] Add the function in the text field when an expression is chosen 2017-12-05 22:07:56 +01:00
Florian Rival
9c591ec3b1 [WIP] Add ExpressionSelector, refactor InstructionSelector and switched to lodash monolithic build 2017-12-04 21:49:31 +01:00
Lizard-13
495900c083 Add point inside object condition (#418)
* Add point inside object condition

* Update names and comments
2017-12-04 09:25:56 +01:00
Florian Rival
7874e2af27 [WIP] Add auto-completion to ExpressionField in newIDE 2017-12-04 00:03:46 +01:00
Florian Rival
19b37b7111 Update Electron latest stable version for newIDE 2017-12-03 22:53:01 +01:00
Florian Rival
8593249bc6 Add link to the Itch.io publishing help page 2017-12-03 12:28:11 +01:00
Florian Rival
6d483ec887 Update electron-builder and fix analytics send when exporting with Cordova in newIDE 2017-11-28 23:02:40 +01:00
Florian Rival
e1a28f0f90 Update newIDE readme 2017-11-28 00:43:22 +01:00
Florian Rival
c2ba76a821 Bump newIDE version 2017-11-28 00:40:40 +01:00
Florian Rival
c4f8134d89 Add Cordova and Cocos2d-JS exports in newIDE 2017-11-28 00:39:19 +01:00
Florian Rival
59416fd0cd Avoid clearing the output directory when exporting a HTML5 game 2017-11-27 23:58:15 +01:00
Florian Rival
ef7ed24114 Merge pull request #417 from 4ian/feature/open-scene-editor-on-open
Automatic opening of 1st scene in newIDE + Sprite frames selection/deletion
2017-11-27 22:12:16 +01:00
Florian Rival
07dd2bcb5c Add Checkbox to select sprites and context menu to delete selected sprites 2017-11-26 19:55:53 +01:00
Florian Rival
81dfeb3ab1 Open scene or project manager (according to layouts count) after project opening in newIDE 2017-11-24 20:08:38 +01:00
Florian Rival
09d558744f Refactor project opening in MainFrame and add test for StartPage 2017-11-24 19:54:09 +01:00
Florian Rival
abe7dd7ccd Adapt StartPage button when a project is opened 2017-11-24 08:39:06 +01:00
Florian Rival
0da624dc18 Fix variables with multiline values rendering in newIDE + add a storybook stories for this 2017-11-23 00:36:21 +01:00
Florian Rival
a082585b4e Don't make Game Settings initially opened in ProjectManager 2017-11-21 01:07:10 +01:00
Florian Rival
d1582723ba Fix hint text in ProjectPropertiesDialog 2017-11-21 01:06:07 +01:00
Florian Rival
829a88f290 Add ProjectPropertiesDialog, editor for global variables and minor fixes 2017-11-21 00:58:07 +01:00
Florian Rival
79f2e57fa9 Add ExternalEventsField, used to choose events to import in LinkEvent 2017-11-19 23:42:42 +01:00
Florian Rival
322787ba0e Merge pull request #416 from 4ian/feature/points-editor
Add Points editor
2017-11-19 20:53:27 +01:00
Florian Rival
7bd2dab47c Clean up PointsEditor and related 2017-11-19 20:38:59 +01:00
Florian Rival
dd1446cfb0 Add Toggles to have all animations/sprites sharing the same points in PointsEditor 2017-11-19 18:00:57 +01:00
Florian Rival
cf96db75ea Add HelpButton to ExportDialog 2017-11-19 15:47:08 +01:00
Florian Rival
da4f350cdb [WIP] Add points editor and hitboxes editor buttons in a SpriteEditor toolbar 2017-11-19 15:44:59 +01:00
Florian Rival
862c012bb6 [WIP] Ensure position of PointsEditor dialog remains centered after adding points 2017-11-19 15:26:18 +01:00
Florian Rival
72a65cb1d2 [WIP] Add default position handling for center point in PointsEditor 2017-11-19 02:30:25 +01:00
Florian Rival
22379ae31b [WIP] Add PointsPreview in PointsEditor
TODO: Properly handle automatic points
2017-11-19 01:39:18 +01:00
Florian Rival
73e0ba8264 Merge pull request #415 from Lizard-13/patch-1
Polygon fix
2017-11-18 16:20:15 +01:00
Lizard-13
2b0e28f456 Polygon fix
Just a little fix for an error it's throwing me (not sure how it doesn't fails for every convex polygon)  :)
2017-11-18 11:38:59 -03:00
Florian Rival
151a9b1a74 [WIP] Add ImageThumbnail in PointsEditor and a link to it in SpriteEditor 2017-11-17 00:29:55 +01:00
Florian Rival
172d7f049e [WIP] Improve PointsEditor 2017-11-16 00:14:49 +01:00
Florian Rival
5ef703eff4 [WIP] Add PointsEditor to edit the points of a Sprite in newIDE 2017-11-15 01:25:48 +01:00
Florian Rival
98d970de30 Add polyfill for self and patch XMLHttpRequest.send for Cocos2d-JS 3.15 and below 2017-11-14 23:32:49 +01:00
Florian Rival
8896fb280a Try to fix FontFace support in Edge/IE/Safari 2017-11-14 22:44:11 +01:00
Florian Rival
8df5ab9e62 Add a very basic Shopify extension (HTML5 only) to checkout products in a shop 2017-11-12 23:19:19 +01:00
Florian Rival
eb32d51999 Add Semaphore CI badge (quicker CI for newIDE and GDJS tests) 2017-11-12 19:34:57 +01:00
Florian Rival
8901809f88 Avoid potential issue with LayersList when project/layout props are changed 2017-11-12 18:16:37 +01:00
Florian Rival
1de22ef53b Ensure the proper tab is focused after opening, even when the tab is already opened 2017-11-12 01:48:47 +01:00
Florian Rival
d328ae0c7e Increase the width of the text field to set the font size in TextEditor 2017-11-12 01:32:20 +01:00
Florian Rival
dabb0f9dad Remove GDevApp link in README as it is replaced by newIDE 2017-11-12 01:24:10 +01:00
Florian Rival
5adcfc5bad Fix Flow error 2017-11-11 19:12:20 +01:00
Florian Rival
b03bf86a35 Add error messages when an expression is invalid in ExpressionField or StringField in newIDE 2017-11-11 18:33:49 +01:00
Florian Rival
db1b1eadf1 Refactor ExpressionParser and ParserCallbacks with getters for errors 2017-11-11 15:40:22 +01:00
Florian Rival
939266b18b Add more help buttons in newIDE and various minor fixes 2017-11-09 21:31:28 +01:00
Florian Rival
b68a9d8b47 Rename newIDE executable from GDevelop IDE to GDevelop 5 2017-11-09 20:51:05 +01:00
Florian Rival
af1a028203 Merge pull request #413 from 4ian/fix/react-mosaic-dragging
Fix dropping objects from ExternalEditor in newIDE due to react-mosaic blocking drop + help buttons and various small improvements
2017-11-09 00:14:38 +01:00
Florian Rival
c697d5fb99 Upgrade react-mosaic-component so that it does not conflict with HTML5/external drag'n'drop 2017-11-08 23:47:47 +01:00
Florian Rival
b5d2c6f4bc Add help for TextEntry and ShapePainter editors 2017-11-08 22:23:06 +01:00
Florian Rival
a42c488ac8 Add HelpButton that open wiki help page and add it in a few dialogs
Also add react-test-renderer for snapshot testing
2017-11-08 01:13:00 +01:00
Florian Rival
1ccc58c015 Change background color of ProjectStructureItem in ProjectManager 2017-11-07 23:54:19 +01:00
Florian Rival
68a736ea13 Remove Resources from newIDE ProjectManager as it's not implemented for now 2017-11-07 23:36:37 +01:00
Florian Rival
a9980f8e89 [WIP] Fix dropping objects from ExternalEditor in newIDE due to react-mosaic blocking drop 2017-11-07 23:33:11 +01:00
Florian Rival
7156950cb8 Fix InstancesList/LayersList not properly re-rendering due to bad rendering optimization 2017-11-07 00:02:42 +01:00
Florian Rival
833cabfe3b Use ListIcon instead of material-ui Avatar for icons of resources library in newIDE 2017-11-06 01:18:57 +01:00
Florian Rival
ed23b760a9 Add a dialog to choose an image from available public resources in newIDE web-app 2017-11-06 00:32:44 +01:00
Florian Rival
98580efafa Disable close button on StartPage tab in newIDE 2017-11-05 20:46:08 +01:00
Florian Rival
8794861a11 Fix properties panel not updated when selecting an instance 2017-11-05 20:33:49 +01:00
Florian Rival
8fccc7bda4 Add Fullstory for users behavior analytics 2017-11-05 20:11:49 +01:00
Florian Rival
a09ea0ea13 Enable user to scroll with mouse and space key pressed in SceneEditor in newIDE 2017-11-05 19:52:24 +01:00
Florian Rival
74c6ca50cb Merge pull request #412 from Nnarol/feature/scene_editor_undo_redo_keyboard_shortcuts
Bind Ctrl+Z/Ctrl+Y to undo/redo actions in scene editor
2017-11-03 13:43:16 +01:00
Florian Rival
67249c1029 Update flow for newIDE and add it to the CI 2017-11-03 00:16:53 +01:00
Florian Rival
dba79bcca1 Merge pull request #411 from 4ian/feature/scrollbars
Add scrollbars in newIDE scene editor
2017-11-03 00:14:02 +01:00
name
006f93dccf Bind Ctrl+Z/Ctrl+Y to undo/redo actions in scene editor 2017-11-02 23:42:14 +01:00
Florian Rival
94335b9ee2 Update react-mosaic-component for better perf. and avoid drop-target area that can't be clicked
This enables the horizontal scrollbar to be used
Also improves performance by avoiding rerendering of editors after a drag'n'drop
2017-11-02 23:31:44 +01:00
Florian Rival
187e27f232 Fix typo 2017-11-02 22:39:52 +01:00
Florian Rival
f7631bd8a5 [WIP] Add scrollbars to scene editor of newIDE 2017-11-02 22:29:44 +01:00
Florian Rival
ad154c34e7 Refactor full size editors handling in FullSizeMeasurer in newIDE 2017-11-01 23:36:55 +01:00
Florian Rival
357ecaca1e Merge pull request #410 from 4ian/feature/cancel-dialogs
"Cancel" button in more newIDE dialogs + newIDE unit tests
2017-11-01 23:24:22 +01:00
Florian Rival
e67e8d2264 Update libGD.js version used by newIDE 2017-11-01 23:23:47 +01:00
Florian Rival
c39fc5f478 Add more tasks to be done on newIDE 2017-11-01 00:35:31 +01:00
Florian Rival
b4c84d2058 Add explanation on how to contribute to newIDE 2017-11-01 00:30:08 +01:00
Florian Rival
b7cca91e54 Fix a button styling 2017-10-28 17:25:04 +02:00
Florian Rival
86118abfb3 Add Cancel button in ObjectEditorDialog 2017-10-28 17:14:10 +02:00
Florian Rival
119d588619 Fix Object behaviors and SpriteObject animations not properly unserialized with an exisiting object 2017-10-28 17:13:39 +02:00
Florian Rival
8c1028a28b Improve newIDE tests 2017-10-26 23:49:29 +02:00
Florian Rival
65e47a11ec Add unit tests support with Jest for newIDE 2017-10-26 23:23:39 +02:00
Florian Rival
c20a705773 Add SerializableObjectEditorContainer and use it to add cancel/apply buttons to ObjectsGroupEditorDialog 2017-10-25 01:05:30 +02:00
Florian Rival
bea778cb06 Remove warning in ObjectSelector and add stories to test it 2017-10-25 00:07:25 +02:00
Florian Rival
7315fe2403 Add undo/redo in context menus in EventsSheet 2017-10-24 23:55:36 +02:00
Florian Rival
ef4e0aba6b Implement History of undo/redo for EventsSheet 2017-10-24 23:11:01 +02:00
Florian Rival
7d84dda389 Bump newIDE version 2017-10-22 23:02:21 +02:00
Florian Rival
de1dab64fd Remove groups in the list of the ObjectSelector in ObjectsGroupEditor 2017-10-22 23:01:48 +02:00
Florian Rival
4333d8a3ba Change EventsSheet background color 2017-10-22 22:46:49 +02:00
Florian Rival
4579e619a3 Add search in newIDE ProjectManager 2017-10-22 22:43:12 +02:00
Florian Rival
7bcee7e400 Fix searching in groups in newIDE 2017-10-22 22:00:24 +02:00
Florian Rival
bf6ed92b1f Add search bar in ObjectsList and ObjectsGroupsList in newIDE 2017-10-22 21:39:55 +02:00
Florian Rival
87bffb4361 Add shortcuts and menu items to zoom in/out in newIDE scene editor 2017-10-22 18:34:47 +02:00
Florian Rival
151182c5aa Fix text fields losing focus when renaming in newIDE project manager/objects list 2017-10-22 18:09:52 +02:00
Florian Rival
faa678e4f7 Add menu item to create a new object in object context menu in newIDE 2017-10-22 17:50:58 +02:00
Florian Rival
6113505367 Add support for undo/redo shortcut in scene editor and ESC to close dialogs 2017-10-22 17:34:02 +02:00
Florian Rival
8eb124c685 Add tooltips in newIDE Toolbars and add react-i18n (unused for now) 2017-10-22 16:51:14 +02:00
Florian Rival
4fb2028801 Add tooltip support for ToolbarIcon in newIDE 2017-10-22 16:00:00 +02:00
Florian Rival
a5cc7de08f Fix potential errors in newIDE 2017-10-22 14:55:31 +02:00
Alexander Lebedev
8b0845fe9f Fix SoundObject conditions/actions strings (#408) 2017-10-22 12:44:42 +02:00
Florian Rival
e127d1bb7b Add .map file as part of the deployed newIDE web-app 2017-10-21 19:40:46 +02:00
Florian Rival
75ff956418 Add Raven (Sentry) for error tracking in newIDE 2017-10-21 17:21:20 +02:00
Florian Rival
90236f9c43 Add (common) KeyboardShortcuts for SceneEditor and EventsSheet in newIDE 2017-10-21 16:48:40 +02:00
Alexander Lebedev
c480ac2d8e Fix TopDownMovement behavior strings 2017-10-18 16:48:58 +02:00
Alexander Lebedev
793a242e00 Delete double spaces in some strings (#406) 2017-10-18 00:30:33 +02:00
ale26reg
16713e4668 Add volume and loop parameters in Play sound/music action strings (#399) 2017-10-15 23:51:22 +02:00
Florian Rival
33d731e958 Merge pull request #405 from 4ian/style/apply-prettier
Update prettier and apply it on the whole newIDE codebase
2017-10-15 17:51:52 +02:00
Florian Rival
4095b4b65b Update prettier and apply it on the whole newIDE codebase 2017-10-15 17:49:40 +02:00
Florian Rival
0a7778f951 Merge pull request #404 from 4ian/feature/contextmenu-instructions-list
Context menu for add condition/action buttons + keyboard shortcuts
2017-10-15 17:34:48 +02:00
Florian Rival
7c8c3e8a6a Display keyboard shortcuts in newIDE web-app, according to the platform 2017-10-15 17:31:44 +02:00
Florian Rival
26792429f7 Add keyboard shortcuts for Clipboard in EventsSheet 2017-10-15 16:42:26 +02:00
Florian Rival
50810aab1d Add support for pasting instructions in context menu of an instructions list 2017-10-15 16:31:11 +02:00
Florian Rival
8eeb137764 Add context menu for add condition/action buttons in EventsSheet 2017-10-15 15:49:34 +02:00
Todor Imreorov
ff2db6356e Fix newIDE Storybook (#403) 2017-10-14 18:44:20 +02:00
Todor Imreorov
c2eba4a0b0 Focus search box when opening InstructionTypeSelector (#396) 2017-10-12 23:34:19 +02:00
ale26reg
a289c0a521 Distinguish pitch angle from sound pitch II (#397)
Distinguish pitch angle from the sound tone in the strings of actions and conditions, including the names of actions and conditions in the event tree. Required for correct translation into other languages. All strings are reduced to a single style of writing.
2017-10-12 23:30:41 +02:00
ale26reg
2f5dd01878 Fix typo (#398) 2017-10-12 23:30:04 +02:00
Florian Rival
0a95120fbb Send analytics when a game is created in newIDE as a web-app 2017-10-09 23:41:46 +02:00
Florian Rival
60bf3115dd Add an anonymous UUID to users in analytics to help understanding user behaviors in newIDE 2017-10-09 23:32:21 +02:00
Lizard-13
d5f4a47eab Distinguish pitch angle from sound pitch condition strings (#394) 2017-10-08 19:21:08 +02:00
Florian Rival
e5bc6b3a13 Fix fonts in newIDE previews launched in browser 2017-10-08 19:20:15 +02:00
Florian Rival
4efe9e3d88 Update IDE translations 2017-10-08 17:37:19 +02:00
Florian Rival
869db14995 Update GD4 Inno Setup installation script 2017-10-08 17:17:25 +02:00
Florian Rival
9531d60479 Fix IDE crash on closing 2017-10-08 17:13:11 +02:00
Florian Rival
7d83fe8c07 Update IDE copyright date in status bar 2017-10-08 16:25:39 +02:00
Florian Rival
d285e24ff8 Add crossorigin attribute to img tags of objects thumbnails in newIDE to fix CORS issues 2017-10-08 12:16:04 +02:00
Florian Rival
09db74fc65 Add Space Shooter example in newIDE (both Electron and web-app) 2017-10-07 19:32:08 +02:00
Florian Rival
41be98b306 Add field to change text object font in newIDE 2017-10-07 19:31:29 +02:00
Florian Rival
46cb1318a5 Change insertion position of new events after the selection in newIDE 2017-10-07 17:09:01 +02:00
Florian Rival
1f98e4a268 Fix group renaming and made minor fixes in newIDE 2017-10-05 00:52:34 +02:00
Florian Rival
15f61e5867 Fix scene/external layout/events renaming 2017-10-04 22:02:53 +02:00
Florian Rival
698d3095ec Fix warning 2017-10-02 00:55:11 +02:00
Florian Rival
608ebcb0cf Add links to tutorial in newIDE CreateProjectDialog & fix minor UI glitches 2017-10-02 00:51:12 +02:00
Florian Rival
78c67a18e6 Add support for resources using URLs in newIDE running with Electron 2017-10-01 23:35:35 +02:00
Florian Rival
c12de11ce0 Ensure ObjectEditorDialog height is properly updated after a behavior is added/removed 2017-10-01 23:02:15 +02:00
Florian Rival
e15b442c1f Make newIDE's toolbar and StartPage scrollable 2017-10-01 22:40:52 +02:00
Florian Rival
f84cf59f9e Fix newIDE UI glitches 2017-10-01 22:08:52 +02:00
Florian Rival
b8aff5e77a Update newIDE PixiResourcesLoader to treat images as cross-origin 2017-10-01 20:47:51 +02:00
Florian Rival
9eb5951e66 Update URL of resources used by newIDE platformer fixture game 2017-10-01 19:03:48 +02:00
Florian Rival
cb92d56ff6 Fix ghost click with ListAddItem 2017-10-01 19:03:23 +02:00
Lizard-13
6223fbb792 Add JSON conversion for all variable types and clear structure action (#391) 2017-09-30 19:18:56 +02:00
Florian Rival
16bce2f765 Add OperatorField for newIDE, fix Text object rendering 2017-09-30 19:17:26 +02:00
Florian Rival
e2f5665700 Bump newIDE version 2017-09-27 22:21:31 +02:00
Florian Rival
c9b48ffafa Update LocalCreateDialog and fix extension filter when opening a project file 2017-09-26 23:01:40 +02:00
Florian Rival
a291d846d8 Enable flowtype annotation support for newIDE for VSCode 2017-09-26 22:57:13 +02:00
Florian Rival
0287d80cbf Merge pull request #390 from 4ian/feature/newIDE-groups-editor
Groups editor for newIDE
2017-09-24 16:22:52 +02:00
Florian Rival
97ea23066a Fix ObjectEditorDialog positioning when adding animations to Sprite objects 2017-09-24 16:12:32 +02:00
Florian Rival
e9b8b79d76 Refactor ObjectField to use ObjectSelector 2017-09-24 13:40:23 +02:00
Florian Rival
44133370bd Add ListAddItem to factor add rows in lists, add explanation in ObjectsGroupEditor 2017-09-24 13:27:30 +02:00
Florian Rival
e1e1fe27ae Update toolbar ObjectsGroupEditor icon and list borders 2017-09-24 03:00:02 +02:00
Florian Rival
b426212496 Add ObjectGroupsContainer in GDCore and improve groups edition in newIDE 2017-09-23 21:28:29 +02:00
Florian Rival
940721c676 [WIP] Add ObjectsGroupsList to newIDE 2017-09-23 15:42:31 +02:00
ale26reg
c3118e8da3 Update AudioExtension.cpp (#388)
Fixed misspelling at #366
2017-09-20 22:06:40 +02:00
ale26reg
a9e4d8a606 Update Extension.cpp (#389) 2017-09-20 17:18:35 +02:00
Florian Rival
e5e46d0a5a Add light grey border on bottom of most events in newIDE 2017-09-20 00:11:10 +02:00
Florian Rival
eed3c7ef36 Merge pull request #387 from 4ian/feature/newide-fold-events
Events folding and fixes for newIDE
2017-09-19 23:18:29 +02:00
Florian Rival
a6e0853cd6 Update Wiki link in new IDE 2017-09-19 23:17:47 +02:00
Florian Rival
1dff23f201 Fix GDJS export broken after output directory refactoring 2017-09-19 23:17:31 +02:00
Florian Rival
0586150eaf Add support for events folding in newIDE EventsSheet 2017-09-17 01:58:29 +02:00
Florian Rival
c43d6231d7 Add dialogs to edit scene, objects and global variables 2017-09-17 00:13:15 +02:00
Florian Rival
56230096b3 Update README with web-app deployment instructions 2017-09-16 18:11:50 +02:00
Florian Rival
29e707704e Reduce newIDE bundle size by switching from slug to slugs (no unicode file to be embedded) 2017-09-16 17:59:13 +02:00
Florian Rival
33b417ac94 Add .clang_complete file for Clang autocompletion 2017-09-16 17:21:13 +02:00
Florian Rival
0069627801 Add properties files for Visual Studio Code 2017-09-16 17:20:57 +02:00
Florian Rival
0d3c6ee590 Merge pull request #383 from 4ian/feature/browser-demo-merged-master
Browser support for newIDE
2017-09-12 23:59:12 +03:00
Florian Rival
7c2e3d43be Add KeyField 2017-09-12 22:49:54 +02:00
Florian Rival
3dcd6e2803 Add LayerField to EventsSheet 2017-09-11 17:44:15 +03:00
Florian Rival
689b2ba5c3 Add *VariableField for EventsSheet 2017-09-11 17:32:53 +03:00
Florian Rival
f67ba78843 Add BehaviorField for EventsSheet 2017-09-11 16:43:33 +03:00
Florian Rival
6aa515d085 Merge branch 'master' into feature/browser-demo-merged-master 2017-09-10 00:18:09 +03:00
Florian Rival
557aff7534 Switch to ChromeHeadless for running GDJS tests 2017-09-09 23:45:18 +03:00
Florian Rival
59e11d8597 Open context menu when right-clicking (or long touch) on objects/items in lists 2017-09-07 18:54:36 +02:00
Florian Rival
26de1ae213 Limit height of auto-complete menu when choosing an object 2017-09-07 18:16:59 +02:00
Florian Rival
dc32f948da Add thin borders to separate list items in newIDE 2017-09-07 18:02:45 +02:00
Florian Rival
50768df001 Add support for display comments custom color in newIDE 2017-09-07 17:24:57 +02:00
Florian Rival
4b375b01ac Remove S3 access keys from sources for newIDE in-browser preview 2017-09-05 21:05:30 +02:00
Florian Rival
c1b02677f3 Change newIDE Platformer builtin game first scene name to "Scene 1" 2017-08-30 00:58:31 +02:00
Florian Rival
eb8cf8028f Bump newIDE version 2017-08-30 00:36:47 +02:00
Florian Rival
b80f2b566d Add dialog shown if unable to open a preview popup in browser for newIDE 2017-08-30 00:36:11 +02:00
Florian Rival
748c798172 Add explanation about Export in newIDE for browsers 2017-08-29 23:51:43 +02:00
Florian Rival
83472388f4 Add BrowserSaveDialog enabling to download the game being edited in Browser 2017-08-29 23:42:19 +02:00
wild-master
34f1c5ae49 Add more improvements to the English translation. (#376) 2017-08-29 10:56:06 +02:00
Florian Rival
37732928cb Fix popup blocking when opening a preview on browser in newIDE 2017-08-28 23:14:19 +02:00
Florian Rival
2a6b7f194f Add Facebook/Twitter buttons on newIDE start page 2017-08-28 22:57:09 +02:00
wild-master
0f4d73fae3 English translation improvements (#375) 2017-08-28 22:04:16 +02:00
Florian Rival
906fceeb9a Add scripts to deploy newIDE as a web-app 2017-08-26 18:26:34 +02:00
Florian Rival
e616d668f3 Add BrowserIntroDialog 2017-08-26 17:32:53 +02:00
Florian Rival
05baedfd5d Add complete BehaviorsEditor to edit/add/remove object behaviors in newIDE 2017-08-26 17:32:53 +02:00
Florian Rival
5bf3c26b35 Avoid a crash when creating AdMobRuntimeObject or changing layer/z-order 2017-08-26 17:32:53 +02:00
Florian Rival
59d53c63b9 Update ExporterHelper::ExportIncludesAndLibs to be compatible minification and potential URL filenames 2017-08-26 17:32:53 +02:00
Florian Rival
e1a3409702 Add BrowserCreateDialog and BrowserProjectOpener to open builtin projects 2017-08-26 17:32:53 +02:00
Florian Rival
f320f34b19 Implement internal, in memory Clipboard for browsers 2017-08-26 17:32:02 +02:00
Florian Rival
f723182b80 Fix context menu closing and menu item size on browsers 2017-08-26 17:32:02 +02:00
Florian Rival
c0c71faac6 Fix extra / when exporting with BrowserS3PreviewLauncher 2017-08-26 17:32:02 +02:00
Florian Rival
5f73fa30fb Fix window contextmenu on browsers 2017-08-26 17:32:02 +02:00
Florian Rival
edbcb32bec [WIP] Fix Exporter and BrowserS3PreviewLauncher 2017-08-26 17:32:02 +02:00
Florian Rival
f57d3edf0f [WIP] Update GDJS Exporter to properly export files when having URL 2017-08-26 17:32:02 +02:00
Florian Rival
71ab16a76e [WIP] Add Extensions/ prefix to all includes files for JS extensions 2017-08-26 17:32:02 +02:00
Florian Rival
7b81ddd877 [WIP] Added AWS S3 calls to create file when launching a preview from newIDE in a browser 2017-08-26 17:32:02 +02:00
Florian Rival
de50a90235 [WIP] Started adding BrowserS3PreviewLauncher 2017-08-26 17:32:02 +02:00
Florian Rival
536b353a24 [WIP] Add SetCodeOutputDirectory to GDJS Exporter 2017-08-26 17:32:01 +02:00
Florian Rival
72740fb62c Fix potential crash happening when rendering after unmounting InstancesEditorContainer 2017-08-26 17:32:01 +02:00
Florian Rival
de3f485191 Fix buttons in StartPage not opening in a new tab/default browser 2017-08-26 17:31:28 +02:00
Vagner Araujo
68738d343c Add "GDevelop Forum" and "GDevelop Wiki" buttons (#372) 2017-08-25 00:41:24 +02:00
Florian Rival
c0529ff5ab Merge pull request #371 from dos1/howler-cordova
howler-sound-manager: pause/resume sounds when Cordova app is being paused/resumed
2017-08-20 23:39:48 +02:00
Sebastian Krzyszkowiak
4904627a6c howler-sound-manager: pause/resume sounds when Cordova app is being paused/resumed 2017-08-20 23:09:40 +02:00
Florian Rival
d00dae1d9e Add empty group tab in ObjectEditorDialog with placeholder message for now 2017-08-20 18:31:09 +02:00
Florian Rival
5270b2bd73 Add gd::InstructionsList::InsertInstructions and instructions copy/paste in newIDE 2017-08-20 18:00:57 +02:00
Florian Rival
916acf16f7 Fix serialization of layout when newIDE is integrated in IDE 2017-08-20 17:22:59 +02:00
Florian Rival
ceb8b4dde1 Merge serialization methods for instructions and add serialization methods to InstructionsList 2017-08-20 17:22:23 +02:00
Florian Rival
577fa8bdf7 Merge pull request #370 from 4ian/feature/new-ide-events-editor
Events editor for newIDE
2017-08-20 12:50:05 +02:00
Florian Rival
ff131165f4 Close editors after renaming a layout/external layout/events to avoid errors 2017-08-20 12:43:06 +02:00
Florian Rival
4b45b8d7e4 Fix sometime incorrect events height computation due to image loading in EventsTree 2017-08-19 14:40:37 +02:00
Florian Rival
8431b10a81 Fix bad font while dragging an item (animations etc) 2017-08-17 23:21:49 +02:00
Florian Rival
1b14519223 Implement renaming for scenes, external layouts and external events 2017-08-17 23:11:14 +02:00
Florian Rival
5b3526b7e8 Add help messages in ProjectManager and reduce row height in ObjectsList 2017-08-17 22:48:23 +02:00
Florian Rival
b59a2b656f Add buttons to choose the scene to associate with external layout/events 2017-08-17 00:34:20 +02:00
Florian Rival
70516b1d88 Fix getSerializedElements for newIDE's ExternalLayoutEditor and SceneEditor integrated in IDE 2017-08-16 23:56:05 +02:00
Florian Rival
d73ed4f6f9 Fix WhileEvent context menu, Link selectable zone and add buttons in ProjectManager 2017-08-15 19:58:33 +02:00
Florian Rival
d58190e5c5 Add LayoutChooseDialog and menu to delete scenes/external layouts/events 2017-08-15 19:39:45 +02:00
Florian Rival
1b996623f8 Fix snap to grid not properly computed with a grid offset in InstancesEditor 2017-08-15 17:44:51 +02:00
Florian Rival
09294dbc07 Add filtering in ObjectField, add ExpressionField and StringField (not autocompletion) 2017-08-15 00:54:54 +02:00
Florian Rival
1b27ca9647 Add invert condition toggle & ensure events editor is not opened when newIDE is integrated in IDE 2017-08-14 23:27:55 +02:00
Florian Rival
891a81f53e Increase sleeping time of thread communicating between IDE and newIDE 2017-08-14 23:27:14 +02:00
Florian Rival
ceb7d80ed3 Ensure EventsSheet is remounted if events have changed 2017-08-14 21:37:01 +02:00
Florian Rival
2591efee1c Merge branch 'feature/new-ide-culling' into feature/new-ide-events-editor 2017-08-10 14:17:12 +01:00
Florian Rival
adc473a6c3 [WIP] Add copy/cut/paste for events in EventsSheet 2017-08-08 16:29:21 +02:00
Florian Rival
8f6e587a0d Add LinkEvent support to newIDE 2017-08-04 01:23:36 +02:00
Florian Rival
597f1d0ebb Improve GroupEvent, CommentEvent rendering and inline edition 2017-08-04 00:59:57 +02:00
Florian Rival
c3746ab388 Add RepeatEvent, WhileEvent and support for sub instructions in newIDE EventsSheet 2017-08-03 20:56:30 +02:00
Florian Rival
7f5711cb62 [WIP] Add InlinePopover and popover to edit ForEachEvent in newIDE 2017-08-03 18:57:37 +02:00
Florian Rival
eb066b88e2 [WIP] Add ForEachEvent in newIDE (read-only for now) 2017-08-03 18:01:02 +02:00
Florian Rival
22fe36c8b5 [WIP] Move newIDE editors to a single folder, add preview button in EventsSheet 2017-08-03 17:52:05 +02:00
Florian Rival
cdf9652934 [WIP] Add search in InstructionEditor and fix instruction edition 2017-08-03 13:56:22 +02:00
Florian Rival
aa5408b1fb [WIP] Implement selection deletion and add subevents in EventsSheet 2017-08-02 23:16:15 +02:00
Florian Rival
facb08e502 [WIP] Add InlineParameterEditor to EventsSheet 2017-08-02 18:07:49 +02:00
Florian Rival
111dc42ec9 [WIP] Add multiselection and parameters highlight in EventsSheet, update events styling 2017-08-02 14:56:04 +02:00
Florian Rival
b08759bf57 [WIP] Add selection handling in EventsSheet 2017-08-02 01:57:40 +02:00
Florian Rival
a89b196a0c [WIP] Tweak events look 2017-08-02 00:52:44 +02:00
Florian Rival
1efa8674fc [WIP] Prevent drag'n'dropping events on events that can't have sub-events 2017-08-02 00:16:31 +02:00
Florian Rival
9ed2aa2a70 [WIP] Improve InstructionEditor 2017-08-02 00:06:15 +02:00
Florian Rival
26aa52157a [WIP] Add ParametersFields to newIDE InstructionEditor, enable to add/edit instructions 2017-08-01 21:05:53 +02:00
Florian Rival
825c3e0d26 [WIP] Add toolbar to EventsSheet 2017-08-01 16:34:09 +02:00
Florian Rival
1f2de9f156 [WIP] Refactor events in different files and enable Comment event editing 2017-08-01 13:51:52 +02:00
Florian Rival
bb52fab95a [WIP] Improve EventsTree, refactor events height caching 2017-08-01 13:15:10 +02:00
Florian Rival
e1c9db4955 [WIP] Add style of events 2017-08-01 01:42:52 +02:00
Florian Rival
cf9d9bdd5c [WIP] Apply codemod to convert calls to React.createElement into JSX elements 2017-08-01 01:42:52 +02:00
Florian Rival
41f6d8164c [WIP] Add EventsTree 2017-08-01 01:42:51 +02:00
Florian Rival
31c741b8c6 Bump newIDE version 2017-07-31 00:13:54 +02:00
Florian Rival
8619f18b93 Add basic culling for rendered instances in newIDE 2017-07-29 17:41:22 +02:00
Florian Rival
fd466d1f57 Fix wrong rendered position of panelspriteruntimeobject with Pixi renderering 2017-07-29 01:46:13 +02:00
Florian Rival
0c688e714a Fix DependenciesAnalyzer not properly exposed in GDCore.dll on Windows 2017-07-25 22:48:39 +02:00
Florian Rival
dd7a4429be Bump newIDE version 2017-07-23 18:27:05 +02:00
Florian Rival
8ed7e8251a Don't show menu in ProjectManager in newIDE when running with Electron 2017-07-23 16:59:34 +02:00
Florian Rival
6bcca6d024 Add main menu for newIDE 2017-07-23 16:49:07 +02:00
Florian Rival
3c6b100188 Enable context menu in text inputs in newIDE 2017-07-23 15:29:32 +02:00
Florian Rival
24cd4b52f6 Fix include case mismatch in AndroidExporter 2017-07-19 00:05:12 +02:00
Florian Rival
f63a8fc36e Refactor ProjectManager items to allow to make style changes between item and nested items 2017-07-18 23:02:27 +02:00
Florian Rival
70f6aab913 Add newIDE MessageBox to have better system integration and error analytics 2017-07-18 22:36:21 +02:00
Florian Rival
4c12ad5f1d Bump newIDE version 2017-07-18 22:10:06 +02:00
Florian Rival
6d5e4e388f Merge pull request #359 from 4ian/feature/new-ide-object-editors
Add object editors for newIDE, buttons to add, remove, name objects and objects list sorting
2017-07-18 21:58:09 +02:00
Florian Rival
415b05b1dc Add message when an animation is renamed with the same name as another 2017-07-18 21:50:07 +02:00
Florian Rival
78e2f8d705 Factor properties management in PropertiesMapToSchema and update TextEditor toolbar design 2017-07-18 21:34:27 +02:00
Ryan Jentzsch
7b0fb791cb Add instructions on running the newIDE as an Electron app from Linux. (#364) 2017-07-18 21:15:31 +02:00
Florian Rival
bd993b2c43 [WIP] Add AdMobEditor and factor properties edition in PropertiesEditor 2017-07-18 01:25:30 +02:00
Florian Rival
6a8e15a07f Add ShapePainterEditor and EmptyEditor in newIDE and rework Column margins 2017-07-18 00:30:38 +02:00
Florian Rival
fa6033250c [WIP] Add Behavior tab to newIDE ObjectEditorDialog 2017-07-16 23:59:22 +02:00
Florian Rival
b176699827 Implement drag'n'drop in newIDE ObjectsList to make objects sortable 2017-07-16 22:54:20 +02:00
Florian Rival
3bf0a14951 Avoid flickering while resizing InstancesEditorContainer in newIDE 2017-07-16 14:39:54 +02:00
Florian Rival
0c380629d5 [WIP] Improve newIDE ObjectsList to make it sortable 2017-07-16 14:39:33 +02:00
Florian Rival
79f756a6f1 Add button to add a new scene and fix various minor bugs in newIDE 2017-07-15 16:27:51 +02:00
Lizard-13
d35edb72b2 Add some tests for gdjs.Variable (#362) 2017-07-15 15:49:55 +02:00
Florian Rival
cc9851b49c Make objects list displayed in a draggable panel in newIDE 2017-07-15 14:56:07 +02:00
Florian Rival
369bcfdda5 Make Properties panel draggable 2017-07-14 20:38:42 +02:00
wild-master
c0e8f9e2a1 Fixed link to GDevelop.js (#363)
It was leading to a 404 page
2017-07-14 18:19:59 +02:00
Florian Rival
7223da00b7 Add ResourceSelectorWithThumbnail in newIDE and use it in Panel/TiledSpriteEditor 2017-07-12 22:01:26 +02:00
Lizard-13
0987ca8b3e Fix GDJS CopyRuntimeToGD script on Windows when using path with spaces
Fix xcopy crashes with an "Invalid number of parameters" error
2017-07-12 00:15:21 +02:00
Florian Rival
a886049f72 Refactor project when renaming/deleting object in newIDE 2017-07-09 17:11:08 +02:00
Florian Rival
168f06b535 Use WholeProjectRefactorer to refactor project after object renaming/deletion in IDE 2017-07-09 14:06:58 +02:00
Florian Rival
def81b6a62 Move DependenciesAnalyzer to GDCore and added WholeProjectRefactorer 2017-07-09 13:28:45 +02:00
Florian Rival
311e451a2f Allow any Event to dependencies to source files (only used by CppCodeEvent for now)
This is to avoid casting events to CppCodeEvent (and so relying explicitly on them) when doing dependencies analysis.
2017-07-04 22:59:03 +02:00
Florian Rival
8c7b4cc7bd Add npm run storybook command in README. 2017-07-03 23:01:48 +02:00
Lizard-13
2494f984a9 Fix numeric variable detection and initialisation in GDJS 2017-07-03 22:06:39 +02:00
Florian Rival
cec0ca0b71 Refactor project saving/opening in LocalProject[Writer/Opener] 2017-07-02 23:12:26 +02:00
Florian Rival
a262cebdfb [WIP] Implement delete/rename object in ObjectsList *without* refactoring of the rest of the game 2017-07-02 22:40:07 +02:00
Florian Rival
49145136d8 [WIP] Add NewObjectDialog to choose an object to create in a scene 2017-07-02 15:04:05 +02:00
Florian Rival
9e01231334 Fix description of objects not properly displayed 2017-07-02 14:43:25 +02:00
Florian Rival
0d869b9f7b Add ObjectsList in storybook 2017-07-02 12:47:41 +02:00
Florian Rival
ad333dff69 [WIP] Improve object editors 2017-07-01 18:19:04 +02:00
Florian Rival
16ae5dd0aa [WIP] Enhance SpriteEditor with images, drag'n'drop support 2017-07-01 00:27:15 +02:00
Florian Rival
f778f4302b Fix rendering error with cocos2d-JS 3.15.1 in gdjs.LayerCocosRenderer 2017-06-27 23:26:57 +02:00
Florian Rival
f948fd14a4 [WIP] Started SpriteEditor for newIDE 2017-06-27 22:56:02 +02:00
Florian Rival
9d05dbdd42 [WIP] Add PanelSpritEditor and LocalResourceSources 2017-06-22 23:51:18 +02:00
Florian Rival
9fbc4613ac Merge pull request #355 from mattiascibien/patch-1
Fixed link to GDevelop.js
2017-06-21 11:18:53 +02:00
Mattias Cibien
13bb7b1209 Fixed link to GDevelop.js
The link to [core C++ classes compiled to Javascript](https://github.com/4ian/GDevelop.js) has been fixed as it lead to a 404.
2017-06-21 10:15:06 +02:00
Florian Rival
70cbe5156e [WIP] Add editors for TiledSpriteObject and TextObject in newIDE 2017-06-20 23:25:32 +02:00
Florian Rival
6933030bcf Update material-ui to 0.18.3 2017-06-19 22:11:33 +02:00
Florian Rival
39f5aad915 Merge pull request #353 from Lizard-13/patch-1
Fix Text Entry crash on HTML5
2017-06-19 09:26:13 +02:00
Florian Rival
64dcfeec09 Add a screenshot of newIDE integrated inside IDE 2017-06-18 17:45:20 +02:00
Florian Rival
aeea9c9f57 Allow both Control and Meta key to be used in newIDE InstancesEditor 2017-06-18 15:21:53 +02:00
Florian Rival
0d0ce7d44d Enable variables to be re-order with drag'n'drop in VariablesList in newIDE 2017-06-18 12:51:33 +02:00
Lizard-13
525ea4b042 Fix Text Entry crash on HTML5
As the text entry object has no real renderable object, PIXI (only tested this renderer) crash trying to set the renderable object on Z-Order and Layer updates, a better solution is welcomed :)
2017-06-17 14:37:07 -03:00
Florian Rival
7dbd836073 Refactor [Add]VariableRow out of VariablesList 2017-06-17 18:40:16 +02:00
Florian Rival
a6f6729b88 Fix version of libGD.js used by newIDE 2017-06-17 17:50:10 +02:00
Florian Rival
d4e290cfed Fix Base Layer display in LayersList in newIDE 2017-06-17 17:46:58 +02:00
Florian Rival
17ea67c2a9 Enable layers to be re-order using drag'n'drop in newIDE 2017-06-17 17:28:05 +02:00
Florian Rival
cf436333b9 Factor out LayerRow in LayersList 2017-06-17 00:54:49 +02:00
Florian Rival
a77aa15c5e Add newIDE version in AboutDialog 2017-06-17 00:28:03 +02:00
Florian Rival
cef7acc1c4 Update newIDE version to 5.0.0-beta1 and disable ObjectsList menu if not implemented 2017-06-14 00:40:55 +02:00
Florian Rival
91a84eb000 Add analytics to export dialogs in newIDE 2017-06-13 22:46:47 +02:00
Florian Rival
a09221e4a3 Add BetaIntroDialog and unfinished LocalMobileExport to newIDE 2017-06-13 22:22:14 +02:00
Florian Rival
99452c2de0 Add Keen.io Analytics to newIDE 2017-06-11 23:00:45 +02:00
Florian Rival
14244a4561 Add a placeholder message in newIDE EventsEditor while it is not finished 2017-06-11 21:25:42 +02:00
Florian Rival
1c47bbfb36 Ensure newIDE is updated when an object is added in IDE 2017-06-11 19:19:51 +02:00
Florian Rival
7e16ea1aa3 Hide preview/add object button in newIDE when integrated and refactor newIDE toolbar 2017-06-11 18:13:09 +02:00
Florian Rival
16e4df182d Fix toolbar not updated when an editor was closed in newIDE 2017-06-11 17:37:54 +02:00
Florian Rival
1d81690bd5 Add postinstall task to automatically launch npm install in newIDE/electron-app/app 2017-06-11 17:37:20 +02:00
Florian Rival
4980db392b Fix bad height of InstancesEditor when tabs were hidden (i.e when newIDE integrated in IDE) 2017-06-09 00:00:21 +02:00
Florian Rival
2a99dc6e8a Fix drop from an external source (like objects from the IDE) in newIDE 2017-06-08 23:53:13 +02:00
Florian Rival
d4898c56f8 Fix LocalFolderPicker not modifiable with keyboard in newIDE 2017-06-08 22:52:44 +02:00
Florian Rival
dee9442eb6 Improve LocalCreateDialog 2017-06-05 12:18:05 +02:00
Florian Rival
1bb74af465 Add AboutDialog in newIDE 2017-06-05 00:50:31 +02:00
Florian Rival
f990dacf65 Fix newIDE build and LocalExamplesFinder on Windows 2017-06-04 12:56:15 +02:00
Florian Rival
4630ff9d07 Fix minor things in README 2017-06-03 19:23:02 +02:00
Florian Rival
06c4377141 Merge pull request #347 from 4ian/new-ide
Experimental new IDE (scene editor only) based on React, Emscripten, Electron and Pixi.js
2017-06-03 19:21:23 +02:00
Florian Rival
4e6fb68e39 Update/enhance READMEs and update licenses 2017-06-03 19:17:45 +02:00
Florian Rival
e307505d03 Add scripts to copy GDJS Runtime/Extensions for newIDE and adapted build scripts 2017-06-03 17:48:03 +02:00
Florian Rival
f7cfd21c48 Add newIDE examples directory to the list of resources copied when bundling 2017-06-02 00:45:32 +02:00
Florian Rival
e68e9d27bb Add a basic project creation dialog for newIDE and the platformer example in resources 2017-06-02 00:26:15 +02:00
Florian Rival
30a8c5be34 Fixes for newIDE on Windows 2017-06-02 00:13:35 +02:00
Florian Rival
3265ac5b6d Fix LocalGDJSFinder to properly find path after build 2017-05-27 19:01:30 +02:00
Florian Rival
6a7d1eaf2e Add LocalS3Export to newIDE to automatically upload the game to a S3 bucket 2017-05-27 12:50:13 +02:00
Florian Rival
cd587ba8da Add platformer template as fixture for newIDE 2017-05-26 12:52:31 +02:00
Florian Rival
35f640c1ba Improve ExportDialog design and modularity 2017-05-26 12:21:21 +02:00
Florian Rival
2f88ab5178 Add confirmation dialog after export 2017-05-26 11:08:34 +02:00
Florian Rival
18f9b66615 [WIP] Improve PIXI export and preview in newIDE 2017-05-25 13:45:48 +02:00
Florian Rival
ae49eb02c4 [WIP] Add Pixi export to newIDE 2017-05-22 00:18:43 +02:00
Florian Rival
e215654bb3 Update GDJS::Exporter to allow specify GDJS folder used to copy runtime files 2017-05-22 00:17:55 +02:00
Florian Rival
3feae8c257 Update newIDE favicon 2017-05-21 22:10:29 +02:00
Florian Rival
6f4abd3eb9 Add open, save, close project buttons to newIDE and project manager icons 2017-05-21 22:10:10 +02:00
Florian Rival
6ea781533b Add manifest and service worker to turn newIDE in a Progressive Web App 2017-05-21 16:48:59 +02:00
Florian Rival
456fdc0872 Updated newIDE to react-scripts 1.0.1 2017-05-20 17:46:15 +02:00
Florian Rival
f76a531143 Suppress a warning 2017-05-20 16:46:03 +02:00
Florian Rival
151271c250 Fix improper re-mounting of editors in newIDE when closing a tab, add text ellipsis in tabs 2017-05-20 16:40:27 +02:00
Florian Rival
22dea528e0 Save/use zoom level from LayoutEditorCanvasOptions in newIDE 2017-05-20 15:43:26 +02:00
Florian Rival
045f7194b5 Refactor newIDE tab handling 2017-05-18 23:02:22 +02:00
Florian Rival
51007bc5cd Add newIDE StartPage, Storybook for rapid development and update newIDE README 2017-05-18 22:07:55 +02:00
Florian Rival
612439a88d [WIP] Improve newIDE tabs, add closing, only show tabs if editor is not integrated into IDE 2017-05-17 00:47:14 +02:00
Florian Rival
f145ecd7b3 [WIP] Add tabs to MainFrame in newIDE 2017-05-14 17:37:02 +02:00
Florian Rival
cf7a39537d [WIP] Refactor newIDE ExternalEditor and boot 2017-05-13 14:41:22 +02:00
Florian Rival
23736e8981 [WIP] Add color picker in ScenePropertiesDialog of newIDE 2017-05-13 12:13:19 +02:00
Florian Rival
d633b032f9 [WIP] Fix 100% cpu usage by ExternalEditorBridge in IDE 2017-05-09 22:06:54 +02:00
Florian Rival
13050967c7 [WIP] Add Edit object menu in newIDE, opening object editors of IDE 2017-05-09 22:02:48 +02:00
Florian Rival
eeaab6d12f [WIP] Fix context menu freezing newIDE rendering 2017-05-06 17:43:06 +02:00
Florian Rival
c728044260 [WIP] Allow user to rename layers in LayersList in newIDE 2017-04-29 18:59:45 +02:00
Florian Rival
89a80c685f [WIP] Add clipboard support to InstancesFullEditor for newIDE 2017-04-29 17:34:09 +02:00
Florian Rival
ec7673d861 Add SerializeTo/UnserializeFrom to InitialInstance 2017-04-29 15:41:55 +02:00
Florian Rival
f50940ae66 [WIP] Improve InstancePropertiesEditor buttons 2017-04-29 01:11:47 +02:00
Florian Rival
664db415c7 [WIP] Add EditorMosaic and improve InstancePropertiesEditor to allow resizing by user 2017-04-29 00:48:52 +02:00
Florian Rival
5810972a2d [WIP] Update missing dependency for newIDE 2017-04-28 00:31:17 +02:00
Florian Rival
4d5fd7d3d4 Fix typo in ExpressionParser ("excepted" instead of "expected") 2017-04-28 00:30:14 +02:00
Florian Rival
f12c9c9ad8 [WIP] Add ScenePropertiesDialog to edit the window title in newIDE 2017-04-17 18:36:46 +02:00
Florian Rival
a144258f8d [WIP] Add context menu to InstancesEditor 2017-04-15 17:31:51 +02:00
Florian Rival
6907cc3847 [WIP] Fix font on first rendering of RenderedTextInstance in newIDE 2017-04-15 17:23:23 +02:00
Florian Rival
5f367f7278 [WIP] Add loader while newIDE is loading 2017-04-15 17:11:36 +02:00
Florian Rival
73b7523dc6 [WIP] Fix newIDE native menu positioning and improper hiding when integrated in the IDE 2017-04-12 23:26:51 +02:00
Florian Rival
8eac4b616f [WIP] Fix newIDE positioning 2017-04-11 00:08:25 +02:00
Florian Rival
ea2a05cfff [WIP] Fix newIDE positioning inside IDE on Windows with hi-dpi screens 2017-04-10 23:47:34 +02:00
Florian Rival
d307be6d0e [WIP] Add Windows specific fixes to newIDE 2017-04-10 00:21:03 +02:00
Florian Rival
a7aa1f3940 [WIP] Save undo history when an instance is deleted/moved in newIDE 2017-04-09 19:33:50 +02:00
Florian Rival
ef879413d9 [WIP] Fix layer rendering in newIDE after layers are modified 2017-04-09 18:55:38 +02:00
Florian Rival
e3eacb53ee [WIP] Allow newIDE to send changes made to layers to IDE 2017-04-09 18:12:39 +02:00
Florian Rival
3db6edb1f8 [WIP] Ensure update are sent to newIDE when object/layers are changed 2017-04-09 16:53:36 +02:00
Florian Rival
3636d99b47 [WIP] Add support for dropping objects in newIDE to add an instance 2017-04-06 00:20:23 +02:00
Florian Rival
56caeaaf08 [WIP] Fix font loading in newIDE 2017-04-05 23:22:19 +02:00
Florian Rival
a507f7a3ee Rename GetAssociatedLayoutEditorCanvasOptions to GetAssociatedSettings 2017-04-04 18:45:25 +02:00
Florian Rival
316e01e7f8 Merge branch 'master' into new-ide 2017-04-04 00:37:41 +02:00
Florian Rival
134efa8ec3 Merge branch 'master' into new-ide 2017-04-04 00:31:39 +02:00
Florian Rival
85b75b646f Fix centerCamera and centerCameraWithinLimits for HTML5 games 2017-04-04 00:30:16 +02:00
Florian Rival
09b41fa719 [WIP] Only send updates to newIDE when objects/layers have changed 2017-04-04 00:26:21 +02:00
Florian Rival
f970352faa [WIP] Add select field to choose a layer in InstancePropertiesEditor 2017-04-03 22:03:14 +02:00
Florian Rival
76305ae77c [WIP] Add horizontal/vertical resize handle to newIDE and appropriate cursors 2017-04-03 00:42:53 +02:00
Florian Rival
6c995d6d20 [WIP] Add WindowMask to newIDE 2017-04-02 17:23:24 +02:00
Florian Rival
3d14c9e555 [WIP] Add option to skip app building in electron build script of newIDE 2017-04-02 16:52:49 +02:00
Florian Rival
f8fa933a02 [WIP] Enhance integration of newIDE in ExternalLayoutEditor 2017-04-02 15:41:13 +02:00
Florian Rival
fff2edc1c1 [WIP] Rename ForceRefreshRibbonAndConnect to EditorDisplayed 2017-04-01 16:29:40 +02:00
Florian Rival
190ad686f5 [WIP] Improve newIDE integration into IDE 2017-04-01 16:03:05 +02:00
Florian Rival
f4b5d57c61 [WIP] Make newIDE scripts portable by using shelljs 2017-03-27 00:33:29 +02:00
Florian Rival
fdec778d04 [WIP] Add WindowBorder to InstancesEditor of newIDE 2017-03-21 01:02:00 +01:00
Florian Rival
c227afd8d7 [WIP] Fix newIDE InstancesList rendering when opened after being frozen and avoid potential crashes 2017-03-20 23:52:55 +01:00
Florian Rival
2f91fecd60 [WIP] Fix newIDE crash/freeze with ObjectsList accessing invalid data after project update 2017-03-20 23:32:25 +01:00
Florian Rival
406f98245c [WIP] Add background GD icon to newIDE 2017-03-20 23:31:53 +01:00
Florian Rival
eaf76105a1 [WIP] Fix ExternalEditorBridge swallowing messages when multiple messages are received in a row 2017-03-20 01:07:11 +01:00
Florian Rival
b7e0e7d54d [WIP] Allow newIDE to send the ui settings associated to the edited scene/external layout
TODO: uiSettings are still not properly received by the IDE
2017-03-20 00:02:47 +01:00
Florian Rival
8f109d5a27 [WIP] Fix rendering for PanelSprite and Sprite instances with custom size and smoothing 2017-03-19 19:01:01 +01:00
Florian Rival
907f319ce7 [WIP] Improve newIDE InstancesList performance with react-virtualized List 2017-03-19 18:32:21 +01:00
Florian Rival
146b69f91e [WIP] Improve newIDE ObjectsList performance with react-virtualized List 2017-03-19 16:52:51 +01:00
Florian Rival
51d23e30e5 [WIP] Improve newIDE performance by avoiding calling setState on the MainFrame when refreshing toolbar 2017-03-19 16:20:51 +01:00
Florian Rival
a87ba9db6f [WIP] Improve multiselection and add proportional resize & move following axis to newIDE 2017-03-19 03:43:59 +01:00
Florian Rival
1f593d576d [WIP] Add ExternalEditorPanel and allow to edit external layout with newIDE 2017-03-18 20:49:44 +01:00
Florian Rival
346003f377 [WIP] Allow external layout to be edited with newIDE, improve RenderedSpriteInstance performance by bypassing slow properties fetching 2017-03-17 00:17:58 +01:00
Florian Rival
1bd45ec96b Fix Inventory, LinkedObjects & SystemInfo JS Extension not having compilation information filled 2017-03-16 22:50:37 +01:00
Florian Rival
c078ed1e55 [WIP] Add full renderer for PanelSprite instances in newIDE, adapted from GDJS 2017-03-16 00:19:39 +01:00
Florian Rival
4f1f04242b [WIP] Handle rotation of TiledSprite instances in newIDE 2017-03-15 22:10:53 +01:00
Florian Rival
976826b9ab Expose LinkedObjects and SystemInfo extensions to emscripten build 2017-03-15 21:50:20 +01:00
Florian Rival
b4f2082454 Expose inventory extension to emscripten build 2017-03-15 00:59:13 +01:00
Florian Rival
b4318f63d3 [WIP] Add newIDE renderers for ShapePainterObject and TextEntryObject 2017-03-15 00:44:19 +01:00
Florian Rival
6e1140fa0c Expose ShapePainterObject and TextEntryObject to emscripten build 2017-03-15 00:16:24 +01:00
Florian Rival
2322b3dac1 Expose AnchorBehavior to emscripten build 2017-03-14 23:36:25 +01:00
Florian Rival
91914c80f7 [WIP] Improve text rendering performances in newIDE and disable undo/redo buttons if needed 2017-03-13 23:57:59 +01:00
Florian Rival
cc127ff5ba [WIP] Add VariablesList editor to newIDE to edit instances variables 2017-03-13 22:22:19 +01:00
Florian Rival
0b3d2be1a2 [WIP] Fix a label in preferences and newIDE build script 2017-03-10 20:09:55 +01:00
Florian Rival
a44bf9d6d2 [WIP] Remove fixture game from newIDE 2017-03-10 00:07:19 +01:00
Florian Rival
a6207f27a3 [WIP] Add option in preferences to launch external editor instead of the internal scene editor 2017-03-09 23:54:14 +01:00
Florian Rival
92664eadc5 [WIP] Run Prettier on newIDE sources to reformat the whole code 2017-03-09 21:49:29 +01:00
Florian Rival
edcbd5c9a1 [WIP] Fix corruption/crash when rendering instances in newIDE after undo/redo
Instances in the InitialInstancesContainer were recreated but the renderers
were kept alive with reference to old instances, creating mismatches.
2017-03-09 00:19:19 +01:00
Florian Rival
96d8066983 [WIP] Add undo/redo in InstancesFullEditor in newIDE 2017-03-08 00:14:14 +01:00
Florian Rival
0cf6583bcc [WIP] Style fixes in newIDE 2017-03-07 22:33:46 +01:00
Florian Rival
063f76750f [WIP] Update newIDE build and IDE to distribute newIDE as part of GDevelop 2017-03-07 21:58:28 +01:00
Florian Rival
fef0e68dd3 [WIP] Strip project before sending it to an external editor to reduce loading time 2017-03-07 00:09:48 +01:00
Florian Rival
e40ffbba74 [WIP] Add preview button in newIDE, use a small drawer to show instance properties, update toolbar handling 2017-03-05 23:19:08 +01:00
Florian Rival
38f58ded69 [WIP] Refactor newIDE ExternalEditor, send update when window is closed 2017-03-05 16:27:29 +01:00
Florian Rival
51c60de26a [WIP] Fix key shortcuts in newIDE InstancesEditor 2017-03-05 14:08:21 +01:00
Florian Rival
e977cd2d23 [WIP] Allow to select instances from InstancesList in newIDE 2017-03-05 13:30:31 +01:00
Florian Rival
6efdabdb36 [WIP] Add cache for filenames of resources in newIDE 2017-03-03 21:29:28 +01:00
Florian Rival
8709de1e3e [WIP] Fix memory leak when receiving data in newIDE, add smooth startup transition 2017-03-03 00:37:50 +01:00
Florian Rival
a29332e4dc [WIP] Update LoaderModal in newIDE 2017-03-02 23:06:41 +01:00
Florian Rival
c82c125bb4 [WIP] Improve newIDE loading time by using JSON.parse + gd.Serializer.fromJSObject
JSON.parse + fromJSObject is ~4x faster than using fromJSON as JSON.parse
is natively provided by JS engines/browsers.
2017-03-02 21:50:17 +01:00
Florian Rival
6528a12671 [WIP] Add LayersList to newIDE, update theme and resources integration 2017-03-02 00:56:51 +01:00
Florian Rival
bb3149817d [WIP] Add text fonts rendering to newIDE 2017-03-01 23:19:55 +01:00
Florian Rival
fb805cebf1 [WIP] Add IconMenu to new IDE, displaying either a material-ui or a native menu 2017-03-01 22:18:01 +01:00
Florian Rival
0702d0188a [WIP] newIDE ask for update when it's launched instead of getting the update pushed by IDE 2017-02-28 22:54:56 +01:00
Florian Rival
185cbbc594 [WIP] Add ExternalEditorBridge::IsConnected and allow it to be started again 2017-02-28 00:30:59 +01:00
Florian Rival
04c4c9ed50 [WIP] Add Electron packaging for newIDE 2017-02-28 00:24:46 +01:00
Florian Rival
dc445736ef [WIP] Enhance newIDE folder structure 2017-02-26 17:48:00 +01:00
Florian Rival
06ea17e7e8 [WIP] Add InstancesList, use npm for getting Pixi and remove uselss dependency to gdjs 2017-02-25 19:10:07 +01:00
Florian Rival
1d2ed3fe9d [WIP] Add missing material-ui dependency to newIDE 2017-02-23 22:58:03 +01:00
Florian Rival
6e953004f8 [WIP] Update ExternalEditorBridge to allow passing a scope when sending/receiving updates 2017-02-20 23:41:15 +01:00
Florian Rival
1b4d1582d4 [WIP] Add support for grid setup and update theme of newIDE 2017-02-20 00:47:14 +01:00
Florian Rival
90bd58b14a [WIP] Add toolbar, (partial) grid support to newIDE 2017-02-19 21:15:03 +01:00
Florian Rival
d78cecd34f [WIP] Handle objects with custom origin point and resize/move according to zoom factor in newIDE 2017-02-18 22:22:59 +01:00
Florian Rival
91771682f0 [WIP] Fix memory leak in newIDE, add update request to IDE on focus and a loader modal 2017-02-17 00:19:46 +01:00
Florian Rival
da5669ab70 [WIP] Add basic support for external layouts in newIDE 2017-02-15 23:53:12 +01:00
Florian Rival
afd7ac7c92 Expose gd::ExternalLayout::Get/SetAssociatedLayout to non IDE builds 2017-02-15 23:52:26 +01:00
Florian Rival
e8b1509fc2 Expose PanelSpriteObject to Emscripten build 2017-02-15 23:51:41 +01:00
Florian Rival
db1923c38c [WIP] Fix Emscripten memory leak in newIDE 2017-02-15 21:49:18 +01:00
Florian Rival
86789ac491 [WIP] Add support for layers in newIDE scene editor 2017-02-15 21:39:36 +01:00
Florian Rival
8f028f778d [WIP] Add Z-order and locked instances support in newIDE 2017-02-15 20:15:21 +01:00
Florian Rival
2a3d998e7c [WIP] Enhance InstancePropertiesEditor, fixes in InstancesEditor, enhance integration between IDE and newIDE 2017-02-14 23:56:24 +01:00
Florian Rival
3969561e8d [WIP] Add a POC InstancePropertiesEditor 2017-02-13 00:41:13 +01:00
Florian Rival
0118b740fa Center zoom in InstancesEditor and support multiple directions rendering of Sprite instances 2017-02-08 09:31:33 +01:00
Florian Rival
92a6e4819e Add methods to get/change the multipleDirections flag in Animation 2017-02-08 00:47:38 +01:00
Florian Rival
2afdcfdfa0 Fix new project creation 2017-02-08 00:46:50 +01:00
Florian Rival
a488f13aa6 [WIP] Move newIDE instances renderers into separate classes 2017-02-07 22:59:20 +01:00
Florian Rival
5ef46253b1 [WIP] Add ObjectsList and allow to select a new instance to insert in newIDE 2017-02-07 00:54:57 +01:00
Florian Rival
4a4dbe850c [WIP] Rename SceneEditor to InstancesEditor in newIDE and improve it 2017-02-07 00:13:01 +01:00
Victor Levasseur
37c643f7bc Scrollable instructions window and other layout fixes (#336)
* Put the parameters controls in a scrollable panel

* Fix InstructionSelectorDialog glitch when selecting an instruction

* Disable the horizontal scrollbar in InstructionsSelectorDialog

* Override parameter labels minimum size in InstructionSelectorDialog

so that they don't overflow from the scrollable area, hiding the parameters edition buttons

(also remove the horizontal scrollbar from the parameters scrollable area)

* Fix search text ctrl hidden by the tree ctrl in InstructionSelectorDialog

* Size fixes in InstructionSelectorDialog

* Fix unavailability warning msg displayed if an instruction has a custom generator

* Fix layout issues in ObjectsEditor and ChooseObject/VariableDialog
2017-01-28 17:11:24 +01:00
Florian Rival
2e67ec83fd Fix InitialInstancesContainer unserializeFrom when not empty 2017-01-23 00:50:45 +01:00
Florian Rival
de1a7c67b9 [WIP] Improve new IDE scene editor and try some more advanced integration 2017-01-22 17:26:01 +01:00
Florian Rival
eaba616f71 Fix InitialInstancesContainer unserializeFrom when not empty 2017-01-22 17:26:01 +01:00
Florian Rival
21cf59ff5a [WIP] Fix coordinates conversion in new IDE scene editor 2017-01-22 17:26:01 +01:00
Florian Rival
182c25f721 [WIP] Add electron support to the new IDE and WIP bridge to an external editor 2017-01-22 17:26:01 +01:00
Florian Rival
6002dc26dc [WIP] Ensure SceneEditor is taking all the remaining space 2017-01-22 17:26:01 +01:00
Florian Rival
e30e3cd705 [WIP] Improve SceneEditor 2017-01-22 17:26:01 +01:00
Florian Rival
88f0bbca8b [WIP] Add SceneEditor built with React and PixiJS 2017-01-22 17:26:01 +01:00
Florian Rival
6026bb8ff4 Add GDJS into the new IDE 2017-01-22 17:26:01 +01:00
Florian Rival
d57d186218 Add experimental, WIP IDE based on React 2017-01-22 17:26:01 +01:00
Florian Rival
834fed0b64 Serialize the project file in gd::Project 2017-01-22 17:26:01 +01:00
Florian Rival
ad7544c7a3 [WIP] Support for external editor with TCP connection 3 2017-01-22 17:26:01 +01:00
Florian Rival
0bf05afead Fix Project::UnserializeFrom not deleting existing data 2017-01-22 17:26:01 +01:00
Florian Rival
f1bb8b5149 [WIP] Support for external editor with TCP connection 2 2017-01-22 17:26:01 +01:00
Florian Rival
5d34d7a0b0 [WIP] Support for external editor with TCP connection 2017-01-22 17:25:25 +01:00
Florian Rival
7b8e1c70ba Fix EventsListSerialization::UnserializeEventsFrom not deleting existing events 2017-01-22 17:22:31 +01:00
Florian Rival
ba3fd0ebff [WIP] Export projects/layout as JSON when opening a scene editor 2017-01-22 17:22:31 +01:00
Victor Levasseur
01ee88cdc7 Fix "anticipate" parameter of "CentreCamera" and "FixCamera" 2017-01-19 23:44:13 +01:00
Florian Rival
cd34cbe934 Fix bottom part of PanelSprite rendered by PixiJS and cocos2d-JS 2017-01-07 15:32:33 +01:00
Florian Rival
276850b306 Add script to launch Chrome on OS X for profiling with IRHydra 2017-01-05 00:18:57 +01:00
Florian Rival
883129f379 Refactor arguments code generation using GenerateArgumentsList (#335) 2017-01-04 23:56:10 +01:00
Florian Rival
dea86d7c33 Really fix SFML patch for OS X (last patch was invalid) 2017-01-03 21:18:36 +01:00
Florian Rival
3d89bd50fc Merge pull request #331 from 4ian/optimization/objects-list-copy
Various optimizations (events generated code and game engine)
2016-12-31 19:11:42 +01:00
Florian Rival
54c94f62a4 Micro optimization for gdjs.evtTools.common.toString 2016-12-31 18:38:45 +01:00
Florian Rival
b9d71b0d9c Optimization to avoid constructing objects maps for events at runtime 2016-12-31 18:38:45 +01:00
Florian Rival
e5631383dd Avoid unnecessary copy or declarations of objects lists
* Declare objects lists used by actions only when actions are launched
for standard events (both GDCpp and GDJS)
* Enable the object list reuse optimisation in GDCpp as done in GDJS.
2016-12-31 18:38:45 +01:00
Florian Rival
8dc3bd3831 Don't animate sprites if outside of the screen in GDJS
* This leads to important performance boost in games with large maps/levels
* Backward compatibility is preserved for existing games, but any new object
created is using this optimization by default.
2016-12-31 18:38:45 +01:00
Florian Rival
cdc3e3ed90 Update gdjs.RuntimeScene._updateObjects to apply forces as done in GDC++
Could potentially change slightly the behavior of some game but it's now
consistent between GDJS and GDCpp.
This also avoid an extra iteration on all instances in GDJS.
2016-12-31 18:38:45 +01:00
Florian Rival
5281cd54cc Replace HSHG in platformruntimebehavior.js by RBush
TODO: Check if RBush create/destroy a lot of temporary JS objects and arrays
and try to reduce this.
2016-12-31 18:38:45 +01:00
Florian Rival
be66e670e9 Small optimisations for rendering of gdjs.SpriteRuntimeObject 2016-12-31 18:38:45 +01:00
Florian Rival
ee9a3d181d Prevent long lags/freezes in code generated for GDJS games (especially on Android)
This is done by generating every events list code in separate functions, reducing
the stress on garbage collectors of JS engines.
2016-12-31 18:38:45 +01:00
Florian Rival
a81170d934 Avoid unncessary copy of objects lists for last event of events lists 2016-12-31 18:38:45 +01:00
Florian Rival
4825313b15 Fix SFML patch for OS X 2016-12-31 18:38:10 +01:00
Victor Levasseur
90e1a33829 A message is displayed if the instruction is not available in one of the game's platforms 2016-12-30 01:24:39 +01:00
Victor Levasseur
7ad075cb59 Add StrRepeat string expression to repeat a string 2016-12-29 15:54:39 +01:00
Victor Levasseur
fd67843d0d Use sf::Text::getFillColor instead of the deprecated getColor 2016-12-29 12:53:22 +01:00
Victor Levasseur
0b9771815b Remove "hide tabs" options in settings 2016-12-29 12:47:38 +01:00
Victor Levasseur
d01a80c7b9 Fix TextObject smoothing freezing HTML5 games
(disable the smoothing action and condition in HTML5 games)
2016-12-29 12:39:34 +01:00
Victor Levasseur
3f005449ad Revert "Fix 3D Box blending with textures with fully transparent pixels (#325)"
This reverts commit e982f6218b.
2016-12-28 13:30:16 +01:00
Victor Levasseur
10e7a11a34 All events are now grayed when disabled 2016-12-28 12:58:30 +01:00
Florian Rival
65b02a7460 Merge pull request #314 from victorlevasseur/bugfix/particle-system
Bugfix/particle system
2016-12-25 21:12:47 +01:00
Bouh
0b28b0d15a Fix documentation for hasVariable() (#330) 2016-12-25 14:54:50 +01:00
Victor Levasseur
4e32b64bc6 Add the Mac OS X workaround for SFML
Fix PackageForOBS to embed SFML in the source archive
2016-12-25 12:17:25 +01:00
Victor Levasseur
d7509cf7c7 Update to SFML 2.4.1 and fix particle texturing 2016-12-24 22:52:36 +01:00
Florian Rival
78ec0fd201 Optimize code generation for object variables actions with mutators functions 2016-12-24 17:00:20 +01:00
Victor Levasseur
e982f6218b Fix 3D Box blending with textures with fully transparent pixels (#325)
Unfortunately, it's almost impossible to easily fix the problem for semi
transparent pixels
2016-12-22 00:01:15 +01:00
Florian Rival
4dae5dd567 Fixes for Android SFML export 2016-12-21 23:32:58 +01:00
Bouh
9f81038f1d Fix description of setVariableString in doc (#326) 2016-12-19 19:06:19 +01:00
Florian Rival
40fcb668c4 Merge pull request #313 from 4ian/feature/layer-timescale
Time scale for layers and various fixes/improvements
2016-12-17 16:31:17 +01:00
Bouh
96afbeb931 Fix error description in variable.js (#323) 2016-12-16 23:27:04 +01:00
Victor Levasseur
1ed005a472 Fix HTML5 game crash with non renderable objects 2016-12-10 12:19:25 +01:00
Florian Rival
b9abd568d0 Ensure first frame of a scene with Cocos2d-JS is not shown before scene render 2016-12-04 20:31:49 +01:00
Florian Rival
6ca3a08dd8 Add LinkRuntimeFiles.sh scripts in GDJS to ease development of the game engine
The script allow to quickly link the sources of the game engine in a folder
of an exported/previewed game, so that any change in the game engine can
be tested directly in the game.
2016-12-04 20:13:58 +01:00
Florian Rival
ccf75c63ad Fix RuntimeScene not compiling after changes in shared_ptr management 2016-12-04 14:31:44 +01:00
Victor Levasseur
f616075508 PackageForWindows.bat displays progress when creating the installer and the archive 2016-12-02 14:31:41 +01:00
Victor Levasseur
880ccad7f5 Fix buffer size of gd::FileStream on Windows
(let the system use its default parameter)
2016-12-02 01:30:21 +01:00
Florian Rival
7d9774c01d Fix RuntimeLayer::SetTimeScale when called with 0 2016-12-01 22:18:08 +01:00
Florian Rival
50b493ab2c Add actions/conditions/expressions in GDC++ to manipulate layer time scale 2016-12-01 22:18:08 +01:00
Florian Rival
66ef1e0abf Refactor RuntimeObject and behaviors to allow per-layer timescale 2016-12-01 22:18:08 +01:00
Florian Rival
ae93430539 Add actions/conditions/expressions to manipulate layer time scale 2016-12-01 22:18:08 +01:00
Florian Rival
42022290b8 Refactor gdjs.RuntimeObject and behaviors to allow per-layer timescale 2016-12-01 22:18:08 +01:00
Florian Rival
5c9279c6df Merge pull request #320 from 4ian/fix/file-stream-osx
Fix FileStream constructor on OS X
2016-11-30 23:24:11 +01:00
Florian Rival
69b2a41caa Fix FileStream constructor on OS X 2016-11-30 22:55:51 +01:00
Victor Levasseur
b6d92d69bc Improve message handling in FullProjectCompiler 2016-11-26 14:59:22 +01:00
Victor Levasseur
940ea8ba19 Merge branch 'master' of https://github.com/victorlevasseur/GD 2016-11-26 02:08:37 +01:00
Victor Levasseur
ea5d92a289 Fix FileStream::close 2016-11-26 02:00:50 +01:00
Victor Levasseur
9631bc0c32 Fix some FileStream 2016-11-24 21:03:14 +01:00
Victor Levasseur
7c14f9dd39 Fix gd::FileStream ctor 2016-11-23 23:11:25 +01:00
Victor Levasseur
59b9373974 Fix font loading crashing in the IDE
This is an ugly fix. The whole font loading process and FontManager still
need an overhaul (to be more C++11-ish).
2016-11-23 02:34:32 +01:00
Victor Levasseur
ab9403bece Set all sounds/musics relative to the listener
(to avoid conflicts with the Sound object extension)
2016-11-22 19:24:53 +01:00
Victor Levasseur
7e23652eef Add an option to simplify the version number to reduce building time 2016-11-20 01:15:29 +01:00
Victor Levasseur
6badf722c0 Fix gd::NativeFileSystem::Read/WriteFile 2016-11-15 16:31:04 +01:00
Victor Levasseur
d20b5a0fbb gd::Object and RuntimeObject are now cloned in unique_ptr 2016-11-15 08:33:56 +01:00
Victor Levasseur
ba791eddcb Use std::unique_ptr in SceneStack 2016-11-15 08:33:56 +01:00
Victor Levasseur
9a532a19db RuntimeObjects are now managed by unique_ptr 2016-11-15 08:33:56 +01:00
Victor Levasseur
3b75fd6df4 Add gd::FileStream (#312)
* Fix unicode paths on Windows for XML files
* Add a fstream equivalent that supports gd::String paths (with characters outside the current codepage on Windows)
* Add a sf::InputStream subclass for the same purpose
* Use gd::FileStream in DatFile and ResourcesLoader
* Replace remaining i/ofstream with gd::FileStream
2016-11-13 16:24:11 +01:00
Florian Rival
d6f3b2776e Add links to GDevelop Nightly builds 2016-11-12 17:05:42 +01:00
Victor Levasseur
dba2d55193 Fix again for resource.rc 2016-11-11 12:49:09 +01:00
Victor Levasseur
7cae68c5b8 Really fix resource.rc 2016-11-11 12:34:32 +01:00
Victor Levasseur
11c96dbef1 Really fix resource.rc 2016-11-11 12:31:10 +01:00
Victor Levasseur
46fff2dec4 Fix resource.rc not built correctly on Windows because of the new version header 2016-11-11 12:10:36 +01:00
Victor Levasseur
72df404d7f Automatic versioning (#311)
* Use the port number in SendHttpRequest and DownloadFile

* Fix "Custom size" and "Custom viewports" not displayed in layer propgrid

* Fix Fedora spec file

* Use automatic versioning from git

* A "correct" version number is now generated even if git is unable to find a tag
2016-11-11 11:32:56 +01:00
Victor Levasseur
cdbd3c515d Force travis.yml to get the full history 2016-11-10 09:31:47 +01:00
Victor Levasseur
b0e29bab5b Merge remote-tracking branch 'upstream/master' 2016-11-08 16:30:33 +01:00
Victor Levasseur
70fada11e7 Fix Fedora spec file 2016-11-08 16:19:12 +01:00
Victor Levasseur
626651ec51 Ignore errors when copying the compiler to the GDevelop's folder 2016-11-07 01:13:01 +01:00
Victor Levasseur
a47963e77f Merge remote-tracking branch 'upstream/master' 2016-11-06 19:30:41 +01:00
Florian Rival
179183f414 Bump version 2016-11-02 23:11:29 +01:00
Victor Levasseur
67b7a3a060 Fix "Custom size" and "Custom viewports" not displayed in layer propgrid (#308)
* Fix "Custom size" and "Custom viewports" not displayed in layer propgrid
2016-11-02 14:55:56 +01:00
Victor Levasseur
63dfc887cc Fix "Custom size" and "Custom viewports" not displayed in layer propgrid 2016-11-02 14:36:52 +01:00
Victor Levasseur
b537c36643 Merge remote-tracking branch 'upstream/master' 2016-11-02 13:36:30 +01:00
Victor Levasseur
146ed26eed Use the port number in SendHttpRequest and DownloadFile (#307) 2016-11-01 15:30:04 +01:00
Victor Levasseur
d971a4eb6a Use the port number in SendHttpRequest and DownloadFile 2016-11-01 09:16:24 +01:00
Florian Rival
11ac1be195 Update translations 2016-10-31 23:36:32 +01:00
Florian Rival
f1509cf7b8 Bump version 2016-10-16 00:03:40 +02:00
Florian Rival
612ea7f067 Fix crash when changing scene in external layout editor on OS X 2016-10-15 19:09:26 +02:00
Florian Rival
fa3399f7d2 Fix InitialInstancesContainer::RemoveInstance and harden test (#303) 2016-10-07 13:57:08 +02:00
Florian Rival
296a2ae345 Merge pull request #300 from victorlevasseur/no_shared_ptr
Manage gd::Object, gd::Layout, gd::ExternalEvents, gd::ExternalLayout and gd::SourceFile with std::unique_ptr
2016-10-02 17:20:07 +02:00
Victor Levasseur
0c7c841aab Use unique_ptr to store gd::SourceFile 2016-09-19 00:15:37 +02:00
Victor Levasseur
ce7b0bfe85 Merge remote-tracking branch 'upstream/master' into no_shared_ptr 2016-09-18 19:15:21 +02:00
Victor Levasseur
affdbbead8 Store external events and layouts using unique_ptr instead of shared_ptr 2016-09-18 19:13:05 +02:00
Florian Rival
6ac34ee7e3 Update translations 2016-09-18 16:22:50 +02:00
Florian Rival
e07b9ae942 Merge pull request #299 from victorlevasseur/improve-code
Improve various part of the codebase
2016-09-18 15:38:34 +02:00
Victor Levasseur
ac57c1e25a Fix gd::Project::Insert(New)Layout 2016-09-18 15:25:28 +02:00
Victor Levasseur
3f3b619cd2 Merge branch 'improve-code' into no_shared_ptr 2016-09-18 14:02:40 +02:00
Victor Levasseur
6a92872fd0 Use conditions to avoid crash with invalid camera number 2016-09-18 13:58:45 +02:00
Victor Levasseur
be38240eee Revert "Fix crash when using a wrong camera number"
This reverts commit 2ff461f3b1.
2016-09-18 13:49:24 +02:00
Victor Levasseur
1bf86461f0 Use std::vector<std::unique_ptr> to store objects in gd::Project 2016-09-18 13:45:45 +02:00
Victor Levasseur
2ff461f3b1 Fix crash when using a wrong camera number 2016-09-16 19:14:31 +02:00
Victor Levasseur
e88701df92 Use std::iter_swap to spaw objects in vectors 2016-09-16 18:39:20 +02:00
Victor Levasseur
5aa30efa52 Improve InitialInstancesContainer code
Add tests for InitialInstancesContainer
2016-09-14 11:52:40 +02:00
Victor Levasseur
0ac9f8720b Rename EventsCodeGeneratorContext test to EventsCodeGenerationContext 2016-09-13 17:00:02 +02:00
Victor Levasseur
82684041ff Use std::copy instead of loops in EventsCodeGenerationContext
Add test cases for EventsCodeGenerationContext
2016-09-13 01:12:26 +02:00
Florian Rival
85867a53a9 Avoid allocation when creating a gdjs.SpriteRuntimeObject 2016-09-11 22:46:35 +02:00
Florian Rival
0e21c757d2 Merge pull request #297 from victorlevasseur/master
Expand/Collapse instructions categories when user clicks on them
2016-09-11 19:27:26 +03:00
Florian Rival
cc4e48d82f Fix name of pasted scenes/external events/layouts having an extra space 2016-09-11 18:10:41 +02:00
Victor Levasseur
fa1861da27 Expand/Collapse instructions categories when user clicks on them 2016-09-11 14:06:10 +02:00
Victor Levasseur
3533608cb0 Updated LinkEvent editor with support for including groups (#287)
* LinkEvent can now includes an events group
* New editor for LinkEvent
* Fix events groups not always included by the link event
2016-09-06 08:47:12 +02:00
Victor Levasseur
d22a183078 Optimize Hitboxes collision testing for "big" objects (#289)
* Add a new GetHitBox method to get polygons inside an hint AABB

* Add GetAABB method to RuntimeObject and use it as an hint for collision

* Use GetHitbox with hint inside SeparateFromObjects

* Remove debug outputs in TileMapObject
2016-09-05 22:53:56 +02:00
Florian Rival
771a2196ea Merge pull request #292 from victorlevasseur/bugfix/heap-corruptions
Fix array deleted with delete instead of delete[]
2016-08-21 14:36:41 +02:00
Victor Levasseur
60ada8d94f Fix array deleted with delete instead of delete[]
Potentially causing an undefined behavior
2016-08-21 02:01:45 +02:00
Florian Rival
ee868546d3 Merge pull request #291 from 4ian/fix/code-generation
Fix code generation when multiple scenes link to the same events
2016-08-20 17:19:01 +02:00
Florian Rival
526fdd852f Improve a bit const-correctness of EventsCodeGenerator 2016-08-20 17:10:47 +02:00
Florian Rival
cc84aa5478 Fix code generation when multiple scenes used the same events.
Code generation was modifying the events in place. If two or more scenes
used the same events, the events could be modified for a scene during code
generation, leading to a bad code generation for the others.

(In particular, if a scene was not containing an object, any action related to it
would be set an action with an empty type. Any other scene using the action will then
have the action not working).
2016-08-20 16:19:24 +02:00
Florian Rival
8c613ed6a3 Merge pull request #290 from 4ian/feature/inventory
This includes a new small extension to store an inventory with items in memory, to avoid re-implementing this classic game element by hand using events. Items number can be limited, unlimited, marked as equipped.

The PR also includes a few improvements to the JS game engine to avoid garbage creation and fix compilation on OS X 10.11 ("El Capitan").
2016-08-20 16:12:08 +02:00
Florian Rival
1e2cf210b5 Merge pull request #286 from victorlevasseur/bugfix/heap-corruptions
Bugfix/heap corruptions
2016-08-20 12:52:37 +02:00
Florian Rival
422132d8c7 Avoid allocations in gdjs.RuntimeObject.getRendererObject and gdjs.evtTools.object.pickObjectsIf 2016-08-15 19:54:01 +02:00
Florian Rival
4830e6b5bc Reworked gdjs.Polygon.collisionTest to avoid allocations 2016-08-15 18:03:07 +02:00
Florian Rival
fc2fe9e1eb Reworked gdjs.evtTools.object.twoListsTest and Array.prototype.createFrom to avoid allocations 2016-08-14 19:33:43 +02:00
Florian Rival
682efcbfdc Avoid allocation in gdjs.PlatformerObjectRuntimeBehavior and add TODO where allocations should be removed 2016-08-14 18:59:42 +02:00
Florian Rival
e4c6f2dd0c Avoid allocations in gdjs.RuntimeScene and gdjs.SpriteRuntimeObject 2016-08-12 21:04:40 +02:00
Florian Rival
cbc0a6bf2b Add Inventory extension icons 2016-08-10 21:54:44 +02:00
Florian Rival
982fd4cc67 Add serialization of inventories for Javascript platform 2016-08-10 00:11:47 +02:00
Florian Rival
f33f361e45 Add serialization of inventories to variables for native games 2016-08-09 00:17:12 +02:00
Victor Levasseur
be72d44a4d Fix CppEvent editor adding empty line to the includes (#284) 2016-08-08 22:15:57 +02:00
Victor Levasseur
7e9a2e40aa Merge pull request #283 from victorlevasseur/master
Remove useless files (SPARK doc, Box2D doc, dlib doc)
2016-08-08 18:57:29 +02:00
Victor Levasseur
bc5349fd26 Remove useless files (SPARK doc, Box2D doc, dlib doc) 2016-08-08 18:45:51 +02:00
Victor Levasseur
9131b6a143 Fix out of bound access in FlatAuiTabArt.cpp 2016-08-08 18:17:34 +02:00
Victor Levasseur
6fc8d1cf97 Fix heap corruption with link events 2016-08-08 12:09:06 +02:00
Florian Rival
51c172f4d5 Fix compilation on Windows 2016-08-07 22:26:41 +02:00
Florian Rival
116e7cfe25 Implement Inventory for native games 2016-08-07 22:26:41 +02:00
Florian Rival
d70204b24c Fix compilation on OS X 10.11 by removing deprecated GLU calls 2016-08-07 22:26:41 +02:00
Florian Rival
edae3892ca Rework gdjs.TimeManager to avoid using Date.now() 2016-08-07 22:26:41 +02:00
Florian Rival
b3b39ab468 Remove gdjs.iterateOverArray and replace its usage by raw loops 2016-08-07 22:26:41 +02:00
Florian Rival
4699e161e4 Add Inventory extension (JS platform only for now) 2016-08-07 22:26:41 +02:00
Florian Rival
be3ae5802d Add support for adding multiple include files for instructions 2016-08-07 22:26:41 +02:00
Florian Rival
097508829a Merge pull request #278 from 4ian/feature/anchor-behavior-js
Implement AnchorBehavior for the Javascript Platform
2016-08-02 17:31:30 +02:00
Victor Levasseur
1eac74c12c Merge branch 'release/gd-4.0.93' 2016-08-01 14:45:20 +02:00
Victor Levasseur
af8d2fc5d8 Fix linking failing when GDevelop is installed in a path containing spaces 2016-08-01 14:33:59 +02:00
Florian Rival
2ae5f01836 Add an option to AnchorBehavior to position objects according to the original game window size
The option is activated by default, so that the distance to the edges are the same as the one
in the editor, even when the game size has been changed.
2016-07-27 01:14:16 +02:00
Florian Rival
a1fa6dad15 Implement AnchorBehavior for the Javascript Platform 2016-07-25 23:23:30 +02:00
Florian Rival
7d8178c2e5 Fix an anchor behavior issue with right edge 2016-07-24 20:58:27 +02:00
Florian Rival
70a35c11c2 Fix anchor behavior not always properly applying bottom/right edges and warnings 2016-07-24 18:13:50 +02:00
Victor Levasseur
d7c897b488 Anchor behavior for native games (#275)
* Add AnchorBehavior

* Improve the AnchorBehavior

* Add an icon to the AnchorBehavior

* Code cleaning in AnchorBehavior

* Add more icons for the AnchorBehavior
2016-07-24 15:45:09 +02:00
Florian Rival
d12924daaf Merge pull request #277 from Wend1go/variable_child_count
Add expression to retrieve the number of subitems from a structure variable (native & js)
2016-07-22 14:09:58 +02:00
Wend1go
2d3cdcdde8 Retrieve number of subitems from variable/structure (native/js)
- global variables (expression)
- scene variables  (expression)
- object variables (expression)
2016-07-22 09:07:49 +02:00
Florian Rival
5ab601e8e6 Add SystemInfo extension with isMobile condition 2016-07-17 18:33:24 +02:00
Florian Rival
5c66a37406 Merge pull request #274 from victorlevasseur/loading-optimization
Texture loading optimization
2016-07-17 15:13:26 +02:00
Florian Rival
cfa161f763 Fix music looping in HTML5 game and update Howler.js to latest version 2016-07-17 14:32:13 +02:00
Florian Rival
84c8efffa3 Fix compilation on OS X 2016-07-16 15:13:01 +02:00
Florian Rival
a4e2a3e8f1 Merge branch 'master' of github.com:4ian/GD 2016-07-16 13:24:44 +02:00
Florian Rival
73984d7cfc Fix loading stored values set to 0/empty string in HTML5 games 2016-07-16 13:24:28 +02:00
Victor Levasseur
327a3b05b8 Load the sf::Image and then load the sf::Texture from it (avoids an image copy) 2016-07-15 18:36:26 +02:00
Victor Levasseur
a9e5790d78 Avoid sf::Texture copy when loading them 2016-07-15 18:10:50 +02:00
Florian Rival
a544666ea4 Merge pull request #271 from RandomShaper/fix-manifest-side-effects
Fix side effects of too broad Windows targeting in the manifest for high contrast theme support
2016-07-13 14:01:13 +02:00
Florian Rival
d0ca9cac54 Merge pull request #273 from victorlevasseur/bugfix/gcc_6
Some fixes for GCC6 and Fedora 24
2016-07-13 13:56:34 +02:00
Victor Levasseur
d0910e3e6f Set the RPATH of compiled files when previewing the game 2016-07-12 12:24:18 +02:00
Victor Levasseur
4018353d50 Some fix for GCC6 and Fedora 24 2016-07-12 11:34:14 +02:00
Florian Rival
6388e6a914 Add Lil BUB's HELLO EARTH game links 2016-07-05 01:02:55 +02:00
Pedro J. Estébanez
4f144f7532 Fix side effects of too broad Windows targeting 2016-07-04 19:25:30 +02:00
Victor Levasseur
82a7c3048f Revert "Provide compatibility with Windows high contrast themes"
This reverts commit 91cfff6e84.
The updated manifest caused some bugs with the text object editor
2016-07-03 23:08:04 +02:00
Florian Rival
8daa0354e1 Merge branch 'master' of github.com:4ian/GD 2016-07-02 19:11:53 +02:00
Florian Rival
f26357c9b8 Fix platformer objects stuck in floor when resized when the origin is not at the top left of the object 2016-07-02 18:30:51 +02:00
Florian Rival
4110c38c10 Update gdupdate-info*.xml files 2016-07-02 18:30:18 +02:00
Florian Rival
084f8fbe72 Fix compilation of IDE on Windows 2016-06-28 23:54:07 +02:00
Florian Rival
db074c7f57 Bump version 2016-06-27 23:54:39 +02:00
Florian Rival
5b1fed4d9e Merge pull request #269 from 4ian/feature/layers-effects
Layers effects for the JS engine (Pixi.js & Cocos2d-JS)
2016-06-24 00:09:29 +02:00
Florian Rival
447106b7fb Merge pull request #270 from RandomShaper/windows-high-contrast-compat
Provide compatibility with Windows high contrast themes
2016-06-23 23:35:37 +02:00
Pedro J. Estébanez
91cfff6e84 Provide compatibility with Windows high contrast themes
By providing a manifest specifying the targeted Windows versions (as per https://msdn.microsoft.com/en-us/library/windows/desktop/hh404233(v=vs.85).aspx#_______supporting_high_contrast_themes_in_windows_8_and_later) now scene renders normally under a high contrast theme on Windows, instead of staying unrefreshed.
2016-06-23 23:30:51 +02:00
Florian Rival
db3a107e0f Fix GDJS unit tests 2016-06-23 23:16:21 +02:00
Florian Rival
23dab62ad5 Add partial support for Cocos2d-JS fileUtils, deactivated for now 2016-06-23 23:01:26 +02:00
Florian Rival
3dd5c0f997 Fix localStorage with Cocos2d-JS 2016-06-13 23:12:03 +02:00
Florian Rival
517ef5fc57 Make open URL action compatible with Cocos2d-JS 2016-06-12 01:30:47 +02:00
Florian Rival
1d539968bb Unfold events when highlighting an event in SearchEvents dialog 2016-06-07 22:22:56 +02:00
Florian Rival
4879bfe1b1 Added LightNight effect and action to change effect parameters 2016-06-04 18:20:36 +02:00
Florian Rival
e83d2a2b48 Add support for effects for HTML5 games (Pixi.js and Cocos2d-JS renderers)
Two effects are hardcoded for now
2016-06-02 01:05:14 +02:00
Florian Rival
cd84f6c43c Add gd::Effect and allow one effect to be added to layers 2016-06-01 00:38:56 +02:00
Florian Rival
7bcc3dc6bb Use the properties grid for editing layers properties and cameras, deleted EditLayerDialog 2016-05-28 22:08:20 +02:00
Florian Rival
1a995ba55c Add support for Cocos2d-JS localStorage 2016-05-28 14:44:26 +02:00
Florian Rival
622fcdcc62 Fix compilation on OS X 2016-05-26 21:06:00 +02:00
Florian Rival
b933ab24dd Merge pull request #267 from 4ian/feature/platformer-grab-platforms
Feature/platformer grab platforms
2016-05-26 20:57:44 +02:00
Florian Rival
7fe4a5c5ff Add unit test for platform ledge grabbing for the JS engine 2016-05-23 23:50:31 +02:00
Victor Levasseur
3b36e16256 Fix "°" encoding in the initial instances dialog 2016-05-18 00:19:20 +02:00
Florian Rival
b620737b18 Rework platform ledge grabbing mechanism 2016-05-16 22:31:33 +02:00
Florian Rival
bcb9b03eab Fix missing Release key handling in platformer "Simulate key press" action 2016-05-15 17:36:24 +02:00
Florian Rival
e20f66909e Implement platform ledges grabbing for native games 2016-05-15 17:36:24 +02:00
Florian Rival
667d0a1f4a Add options to allow ledged grab on platform/platformer behaviors + test game 2016-05-15 17:36:24 +02:00
Florian Rival
de9d6bd103 [WIP] Allow to release the grabbed platform with down key 2016-05-15 17:36:24 +02:00
Florian Rival
ba625133f1 [WIP] Rework platform grabbing to avoid issues with floor and rescaled sprites (and avoid relying on object.getX/getY) 2016-05-15 17:36:24 +02:00
Florian Rival
44ce216894 [WIP] Add ability for platformer objects to grab platforms
TODO: Add a testbed in GDJS/tests
2016-05-15 17:36:23 +02:00
Florian Rival
0bcf3475b0 Always copy GDJS Runtime/GDCpp headers when building
This helps during the development, as copying the headers/GDJS runtime
can be easily forgotten. Also, the commands were not triggered when working only on the
extensions.
2016-05-15 17:34:46 +02:00
Florian Rival
09b35c9dd8 Add test game displaying the width of scaled sprite objects 2016-05-09 23:05:19 +02:00
Florian Rival
0123128206 Add option to activate debug mode when exporting with Cocos2d-JS 2016-05-06 20:29:01 +02:00
Florian Rival
7a728d370d Add support for non-smoothed texture with Cocos2d-JS 2016-05-05 17:14:52 +02:00
Florian Rival
6bb426ecf6 Fix scene unloading with Cocos2d-JS 2016-05-05 16:18:57 +02:00
Florian Rival
459b395ee9 Enable multline editing of variables default value in ChooseVariableDialog 2016-05-05 16:18:16 +02:00
Florian Rival
943401d8bf Merge pull request #265 from 4ian/feature/optimize-js
Optimizations for the JS game engine
2016-05-02 23:44:25 +02:00
Florian Rival
020348e3b0 Fix text objects font not properly applied with Cocos2d on Android/iOS
For iOS, the user still need to add the font to the app provided fonts in XCode
(see http://stackoverflow.com/questions/14508675/how-can-i-add-a-font-to-my-cocos2d-ios-project-and-use-it-with-a-cclabelttf)
2016-05-02 23:34:48 +02:00
Florian Rival
347ee2a74e Update documentation link to the recommended compiler 2016-05-02 23:34:24 +02:00
Florian Rival
c7cd582152 Avoid creating objects when calling Hashtable.values() and by using gdjs.staticArray 2016-04-28 23:16:38 +02:00
Florian Rival
6625e3fd00 Avoid creating temporary objects when calling Hashtable.keys() 2016-04-28 22:18:25 +02:00
Florian Rival
1710aacb17 Rework internal profiler to avoid creating temporary objects 2016-04-27 23:05:39 +02:00
Florian Rival
c88f7e53c0 Rework PlatformBehavior to avoid creating temporary objects. Remove dead code in HSHG and avoid temp objects/arrays 2016-04-27 23:03:46 +02:00
Florian Rival
4c62c8c046 Comment out a console.log 2016-04-27 00:31:57 +02:00
Florian Rival
ab2a347f97 Avoid creating a new Hashtable each tick in PlatformerObjectRuntimeBehavior and avoid creating temporary objects/arrays 2016-04-27 00:31:36 +02:00
Florian Rival
2a90e9bd5e Avoid usage of Hashtable.entries() and remove it 2016-04-26 23:50:20 +02:00
Florian Rival
08a9a856a7 Avoid using Hashtable.entries() in gdjs.InputManager 2016-04-26 23:33:29 +02:00
Florian Rival
ad2e85be49 Use prototype to define Hashtable functions instead of modifying the object 2016-04-26 23:29:09 +02:00
Florian Rival
71f6cd529f Avoid creating objects/arrays in gdjs.RuntimeScene.prototype._updateObjectsVisibility 2016-04-26 23:20:07 +02:00
Florian Rival
70c804e34a Rewrite gdjs.RuntimeScene.prototype._constructListOfAllInstances to avoid calling Hashtable.values() 2016-04-26 23:05:45 +02:00
Florian Rival
8d92dd818e Remove calls to Hashtable.keys(), useless function/object creations 2016-04-26 22:55:15 +02:00
Florian Rival
7af76081d0 Avoid declaring functions in gdjs.RuntimeScene.prototype._updateObjectsVisibility 2016-04-26 21:59:09 +02:00
Florian Rival
3e31081e88 Merge pull request #260 from victorlevasseur/master
Remove useless SPARK vc2008 libs and demos
2016-04-26 10:59:06 +02:00
Florian Rival
c5b5819edf Merge pull request #261 from 4ian/feature/named-animations
Named animations
2016-04-25 22:48:28 +02:00
Florian Rival
6820a3eb10 Add test for named animations of RuntimeSpriteObject 2016-04-24 17:06:08 +02:00
Florian Rival
727b34df75 Implement named animations for SpriteObject for native games 2016-04-24 16:18:12 +02:00
Florian Rival
bdb5461847 Implement named animations for SpriteObject for HTML5 games 2016-04-24 15:40:51 +02:00
Florian Rival
c41537bcac Add name to SpriteObject animations 2016-04-24 01:19:20 +02:00
Victor Levasseur
cd05c57e20 Remove useless SPARK vc2008 libs
Prevents a crash when packaging for Fedora
2016-04-17 23:54:29 +02:00
Victor Levasseur
c432378c78 Rename lumière.png to lumiere.png
Prevents a crash when packaging on Arch Linux
2016-04-17 23:53:35 +02:00
Victor Levasseur
b650ba33b1 Add a new rpmlint rule for building RPM packages 2016-04-17 22:44:50 +02:00
Florian Rival
f67206940e Version bump 2016-04-17 15:16:42 +02:00
Florian Rival
bb69871c93 Update French translation 2016-04-17 14:59:35 +02:00
Victor Levasseur
6abfa19dd8 Fix "ignore default controls" of TopDownMovementBehavior for HTML5 games 2016-04-17 11:11:54 +02:00
Victor Levasseur
f8cbd788a1 Fix "Layer up" and "Layer down" context menu buttons in the layout editor 2016-04-17 10:49:24 +02:00
Florian Rival
5516c85f1d Merge pull request #259 from victorlevasseur/feature/tilemap-android
Feature/tilemap android
2016-04-16 15:19:30 +02:00
Florian Rival
dfc4f524fc Update translations 2016-04-16 15:12:30 +02:00
Victor Levasseur
0b9728030a Fix GL states popped on Android 2016-04-16 14:54:48 +02:00
Victor Levasseur
8aeb7bfacb TileMapObject is now compatible with Android 2016-04-16 14:30:10 +02:00
Florian Rival
966105fcc4 Minor UI fix 2016-04-14 22:02:50 +02:00
Florian Rival
51a6c935d9 Add an explanation text in AndroidExportDialog and update translation sources 2016-04-14 21:12:13 +02:00
Florian Rival
0d34568afc Merge pull request #258 from victorlevasseur/feature/improve-android-export
Feature/improve android export
2016-04-13 21:27:00 +02:00
Victor Levasseur
b68d24e8e4 Add an export dialog for the experimental Android export 2016-04-13 12:03:16 +02:00
Victor Levasseur
13d5069bd3 Update Application.mk for the lastest NDK 2016-04-11 19:36:21 +02:00
Victor Levasseur
01372c9589 Add an help button to the android export dialog 2016-04-11 14:36:16 +02:00
Victor Levasseur
e7498fd8f3 Add a dialog to choose where to export the android game 2016-04-11 13:02:12 +02:00
Victor Levasseur
846eceabdf Allow platforms to provide multiple exporters 2016-04-11 12:06:45 +02:00
Florian Rival
64692e405e Merge pull request #257 from victorlevasseur/bugfix/box2djs
Fix box2d.js crash when changing scenes
2016-04-10 12:10:32 +02:00
Victor Levasseur
1adb4febb1 Fix world only destroyed if instanciated 2016-04-10 11:13:38 +02:00
Victor Levasseur
ff24bf7af6 Merge remote-tracking branch 'upstream/master' into bugfix/box2djs 2016-04-09 22:59:41 +02:00
Victor Levasseur
d705f7503a Fix physic behavior memory leak in HTML5 games 2016-04-09 22:06:46 +02:00
Florian Rival
61b01aa1a1 Version bump 2016-04-09 17:32:30 +02:00
Florian Rival
0296162cda Merge branch 'feature/native-android' 2016-04-09 16:35:36 +02:00
Florian Rival
c11ffca94a Save the latest export directory when exporting HTML5 game with Cocos2d-JS 2016-04-09 16:34:40 +02:00
Florian Rival
2fce1fc16f Fix "Put object(s) on the lower layer" menu item in LayoutEditorCanvas" 2016-04-09 16:33:56 +02:00
Florian Rival
2a3657abef Merge pull request #256 from 4ian/feature/modular-html5-rendering
Experimental Cocos2d-JS export and native android export
2016-04-09 16:27:08 +02:00
Victor Levasseur
da4dc223f7 Fix box2d.js crash when changing scenes
(use an updated version of box2d.js)
2016-04-09 13:32:48 +02:00
Florian Rival
eeb0dc8a63 Implement TextEntryObject for Cocos2d 2016-03-28 19:40:09 +02:00
Florian Rival
f6f56d77a0 Add tiling and fix rendering of PanelSprite objects with Cocos2d 2016-03-28 00:47:12 +02:00
Florian Rival
749c383fd7 Fix tiling not properly done in TilingSprite objects with Cocos2d-x. Need to workaround a Cocos2d shader uniform issue 2016-03-27 19:45:27 +02:00
Florian Rival
98c822bfb4 Don't erase files when exporting with Cocos2d 2016-03-27 19:07:15 +02:00
Florian Rival
2ed48d302d Add support for custom font for TextObject rendered with Cocos2d 2016-03-21 23:49:22 +01:00
Florian Rival
7e7e93b94c Add support for MouseWheel with Cocos2d 2016-03-21 22:38:40 +01:00
Florian Rival
848df5aa5b Add Cocos renderer for ShapePainter objects 2016-03-20 12:20:56 +01:00
Florian Rival
7a6f3ffe7c Move ShapePainter object renderering to ShapePainterRuntimeObjectRenderer 2016-03-19 23:59:17 +01:00
Florian Rival
21012c3445 Add experimental export with Cocos2d 2016-03-19 23:05:45 +01:00
Florian Rival
5485b28b19 Fix blending with Cocos2d Sprite object renderer 2016-03-19 23:02:24 +01:00
Florian Rival
d313f13475 Add support for blend mode for Sprite objects rendered with Cocos2d 2016-03-14 22:46:34 +01:00
Florian Rival
a4e88bd504 Move events related functions of HTML5 game engine to events-tools 2016-03-14 21:42:41 +01:00
Florian Rival
f446a75fd8 Fix HTML5 tests 2016-03-14 19:55:09 +01:00
Florian Rival
e64bb8a6f7 Improve PanelSprite test game 2016-03-14 19:50:23 +01:00
Florian Rival
1cd4226427 Use shader to render TiledSprite with Cocos2d, enabling tiling for any texture size 2016-03-13 18:26:29 +01:00
Florian Rival
817fba1114 Fix TiledSpriteRuntimeObjectPixiRenderer not properly setting angle/offset when created from an existing object 2016-03-13 17:50:02 +01:00
Florian Rival
37a0c3c919 Add basic profiling in runtimescene 2016-03-10 19:16:01 +01:00
Florian Rival
fc4b12803d Fix Pixi Cordova export 2016-03-09 19:22:02 +01:00
Florian Rival
51f09d1bb6 Fix (multi)touch with Cocos2d 2016-03-07 21:05:23 +01:00
Florian Rival
8ce9afff6b Fix RuntimeGameCocosRenderer.setSize 2016-03-06 23:26:34 +01:00
Florian Rival
84711a25c3 Add Cocos2d renderer for PanelSprite (without support for tiled option) 2016-03-06 23:14:27 +01:00
Victor Levasseur
d33042cece Merge pull request #254 from victorlevasseur/feature/native-android
Fix crash when ending a scene with Platform objects in it
2016-03-06 19:58:31 +01:00
Victor Levasseur
719032f91d Fix crash when ending a scene with Platform objects in it 2016-03-06 19:42:53 +01:00
Florian Rival
73c0bf56c8 Move PanelSprite rendering to gdjs.PanelSpriteRuntimeObjectPixiRenderer 2016-03-06 18:56:03 +01:00
Florian Rival
acd8d54c5e Add Cocos renderer for TiledSprite (only support power-of-2 textures) 2016-03-05 18:09:30 +01:00
Florian Rival
99b0c8345c Move TiledSprite objects rendering to gdjs.TiledSpriteRuntimeObjectPixiRenderer 2016-03-05 15:37:17 +01:00
Florian Rival
c97fea1a9e Fix Draggable Automatism test game 2016-03-05 14:48:11 +01:00
Florian Rival
cd7457eba8 Fix rendering of Sprite objects with Cocos2d when in 8 direction mode 2016-03-05 14:44:34 +01:00
Florian Rival
c9a0cc9afd Tiny fixes on TextRuntimeObject and its renderers 2016-03-05 14:38:11 +01:00
Florian Rival
0f990cc913 Add gdjs.CocosSoundManager 2016-03-05 14:02:28 +01:00
Florian Rival
656921b9c8 Move soundmanager.js to howler-sound-manager 2016-03-02 12:19:03 +01:00
Florian Rival
246bde6dec Various fixes for Cocos2d 2016-03-02 11:38:50 +01:00
Florian Rival
d54eadf39d Implement getScreenWidth/Height for Cocos2d renderering 2016-03-01 21:27:22 +01:00
Florian Rival
3a2f6a2ac7 Add gdjs.CocosDirectorManager to manage scene changes when rendering with Cocos2d 2016-03-01 21:06:45 +01:00
Florian Rival
feb243d2f7 Fix SceneStack not calling gdjs.RuntimeScene.unloadScene
Also fix GDJS tests
2016-02-29 23:50:00 +01:00
Florian Rival
aea43b96d5 [WIP] Fix rotated layer rendering with Cocos2d renderer 2016-02-29 22:28:56 +01:00
Florian Rival
64f077bcb2 Abstract GDJS window title manipulation in RuntimeGameRenderer 2016-02-28 21:18:56 +01:00
Florian Rival
9e5893883f Updated GDJS breakout test game 2016-02-28 21:16:36 +01:00
Florian Rival
99681bb89b [WIP] Cocos2D renderer for text object + fixes for Sprite/Layer 2016-02-28 18:39:37 +01:00
Florian Rival
13dcc9a1bd Move HTML5 Text object rendering to gdjs.TextRuntimeObjectPixiRenderer 2016-02-28 18:23:09 +01:00
Florian Rival
7eb96d97af [WIP] Cocos2d-JS renderers for HTML5 games 2016-02-28 16:18:01 +01:00
Florian Rival
8e8b49f27d Fix gdjs.RuntimeObject.setLayer 2016-02-27 16:52:49 +01:00
Florian Rival
226f67f114 Abstract texture in gdjs.SpriteAnimationFrame to gdjs.SpriteRuntimeObjectPixiRenderer 2016-02-27 14:31:07 +01:00
Florian Rival
0c2600ccf4 Directly use *Renderer in game engine 2016-02-22 23:12:45 +01:00
Florian Rival
d3d37afea6 Move loading screen rendering to gdjs.LoadingScreenPixiRenderer 2016-02-22 22:22:13 +01:00
Florian Rival
507c23f401 Move Sprite objects rendering to gdjs.SpriteRuntimeObjectPixiRenderer 2016-02-22 22:07:07 +01:00
Florian Rival
961513f81b Move game loop implementation in RuntimeGamePixiRenderer 2016-02-21 23:05:31 +01:00
Florian Rival
de45e12245 Rename gdjs.ImageManager to gdjs.PixiImageManager 2016-02-21 22:43:28 +01:00
Florian Rival
746bdd0114 Move rendering of gdjs.RuntimeGame to gdjs.RuntimeGamePixiRenderer 2016-02-21 19:13:35 +01:00
Florian Rival
8a0d0d332d Rename gdjs.LayerPixiRenderer PIXI related methods 2016-02-21 17:16:13 +01:00
Florian Rival
40be4153c2 Rename exposePIXIDisplayObject to exposeRendererObject 2016-02-21 17:00:30 +01:00
Florian Rival
9bae415530 Move rendering of layers in gdjs.LayerPixiRenderer 2016-02-21 16:51:48 +01:00
Florian Rival
fad17d7901 Fix GDJS Exporter not properly exporting subdirectories of the game engine 2016-02-21 15:52:42 +01:00
Florian Rival
35f857060c Move rendering of runtime scene into gdjs.RuntimeScenePixiRenderer 2016-02-21 15:51:52 +01:00
Florian Rival
90b8854ecf Merge pull request #252 from victorlevasseur/bugfix/opengl-depth-buffer
Enable depth buffer on SFML windows to fix 3DBox objects
2016-02-18 16:27:00 +01:00
Victor Levasseur
cbb79a2d52 Enable depth buffer on SFML windows to fix 3DBox objects 2016-02-17 13:43:40 +01:00
Florian Rival
116411a300 Merge branch 'master' into feature/native-android 2016-02-16 23:19:49 +01:00
Florian Rival
7f3ef4002d Remove dead code in HTML5 game engine 2016-02-16 23:16:59 +01:00
Florian Rival
7ad5358451 Avoid creating functions in gdjs.Polygon.collisionTest 2016-02-16 23:12:33 +01:00
Florian Rival
acd08be06a Merge pull request #250 from victorlevasseur/feature/native-android
TiledSpriteObject is displayed correctly on Android devices
2016-02-10 18:35:45 +01:00
Victor Levasseur
12071e8645 TiledSpriteObject is displayed correctly on Android devices
(manual repetition using vertices instead of texture repetition)
2016-02-10 15:48:39 +01:00
Victor Levasseur
9aad6a89df Merge pull request #249 from victorlevasseur/feature/native-android
Fix Android main.cpp
2016-02-10 14:31:37 +01:00
Victor Levasseur
927632cd0f Fix Android main.cpp 2016-02-10 14:30:11 +01:00
Victor Levasseur
f44d2ec219 Merge pull request #248 from victorlevasseur/feature/native-android
Fix Extensions headers not included
2016-02-10 13:41:11 +01:00
Victor Levasseur
1006cf3fcb Fix Extensions headers not included 2016-02-10 13:40:16 +01:00
Victor Levasseur
fd8b6ce4ba Merge pull request #247 from victorlevasseur/feature/native-android
Fix EventsPrecompiledHeaders.h.pch location on Windows
2016-02-10 13:22:50 +01:00
Victor Levasseur
2dac7b12bb Fix EventsPrecompiledHeaders.h.pch location on Windows 2016-02-10 13:21:24 +01:00
Florian Rival
cab91ebb8b Fix compilation, add comments about experimental Android exporter 2016-02-09 20:27:03 +01:00
Florian Rival
95709fbd4d Support no smooth option for textures for HTML5 games 2016-02-09 19:42:53 +01:00
Florian Rival
72a5d32979 Small Android fixes 2016-02-09 19:42:52 +01:00
Florian Rival
dca642ebb1 Fix window size expression/actions for Android 2016-02-09 19:42:52 +01:00
Florian Rival
d1b486f3cf Add support for touches in RuntimeSpriteObject::CursorOnObject 2016-02-09 19:42:52 +01:00
Florian Rival
35c7328a48 Add AndroidExporter and include full GDCpp/Core in CppPlatform folder 2016-02-09 19:42:52 +01:00
Florian Rival
e68e814853 Fix wrong header filename used by CodeCompiler 2016-02-09 19:42:52 +01:00
Florian Rival
117722621a Change file organization in GDCpp to have a Runtime directory inside GDCpp 2016-02-09 19:42:52 +01:00
Florian Rival
ce1c1c3cea Use sf::TrianglesStrip instead of sf::Quads for Android support 2016-02-09 19:40:47 +01:00
Florian Rival
18626964eb Add support for touches in RuntimeObject::CursorOnObject 2016-02-09 19:40:47 +01:00
Florian Rival
f2f40a4275 Refactor SceneStack to improve scene execution decoupling 2016-02-09 19:40:47 +01:00
Florian Rival
77e4a1a614 Allow CodeExecutionEngine to directly use a C-style function 2016-02-09 19:40:47 +01:00
Florian Rival
bec51c705b Update some extensions to be created on Android 2016-02-09 19:40:47 +01:00
Florian Rival
3df427fb7c Exclude OpenGL calls and adapt ResourcesLoader for Android 2016-02-09 19:40:46 +01:00
Florian Rival
7a6d549f53 Update XML update files with latest GD version 2016-02-09 19:40:27 +01:00
Florian Rival
34981bd794 Merge pull request #245 from victorlevasseur/templated-objects-decls
Refactor/simplify objects declarations with templates
2016-01-29 18:11:06 +01:00
Victor Levasseur
c499817bed Update licence on some files 2016-01-29 16:29:37 +01:00
Victor Levasseur
f1be2948cf Update doc 2016-01-29 11:20:16 +01:00
Florian Rival
976ea58f6b Merge pull request #244 from victorlevasseur/bugfix/behavior-pointers
Fix crash when trying to (de)activate a behavior on an object that doesn't have the behavior + bonus
2016-01-29 10:32:05 +01:00
Victor Levasseur
12323965e0 RuntimeObjects ctor now takes their Object derivative as argument 2016-01-28 17:37:27 +01:00
Victor Levasseur
804e8c8718 Remove old CreateXXXObject(...) functions 2016-01-28 17:15:48 +01:00
Victor Levasseur
a549f220cb Extensions now use the new templated AddObject and AddRuntimeObject methods 2016-01-28 16:45:35 +01:00
Victor Levasseur
452a4ec616 Add a templated version of AddRuntimeObject
Automatically create the Creation function which is able to dynamic_cast the gd::Object (avoid repetitive casts in RuntimeObject derivates ctor)
2016-01-28 16:22:42 +01:00
Victor Levasseur
1af2bb6023 Add a templated version of AddObject to avoid the unnecessary Create function 2016-01-28 16:21:55 +01:00
Victor Levasseur
21dcb391b4 Behavior are created in an unique_ptr 2016-01-27 19:43:44 +01:00
Victor Levasseur
8602bbfa51 Include <memory> in GDCpp/RuntimeObject.h 2016-01-27 16:52:51 +01:00
Victor Levasseur
99e4c394fe Fix RuntimeObject::ActivateBehavior crashing if the behavior doesn't exist 2016-01-27 16:44:50 +01:00
Victor Levasseur
dc85bbacea Replace raw pointers by unique_ptrs to store Behaviors in RuntimeObject 2016-01-27 16:40:38 +01:00
Victor Levasseur
b24060f8d0 Replace raw pointers with unique_ptrs to store Behaviors in gd::Object 2016-01-27 16:24:40 +01:00
Florian Rival
40ba9526c4 Merge branch 'master' of github.com:4ian/GD 2016-01-24 23:25:34 +01:00
Florian Rival
12106192b9 Basic handling of touch events for native games (simulate mouse) 2016-01-24 23:25:24 +01:00
Florian Rival
d306c8f3fd Change windows packaging to generate a 7z file instead of a zip one 2016-01-21 21:42:49 +01:00
Florian Rival
57c1b66a25 Merge pull request #242 from victorlevasseur/master
Fix gd::String::From/ToLocale crashing on some Linux distro
2016-01-20 23:25:20 +01:00
Victor Levasseur
54b6a7f295 Fix gd::String::From/ToLocale crashing on some Linux distro
(on which the UTF8 locale is named utf8 and not utf-8 !)
2016-01-20 18:31:48 +01:00
Florian Rival
6a74d8c75f Version bump 2016-01-17 13:29:21 +01:00
Florian Rival
e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival
b78e8a46ec Merge pull request #235 from pstieber/b2TOISolverInitializationFix
b2TOISolver initialization fix
2016-01-14 18:50:23 +01:00
Florian Rival
42aed41cfc Merge pull request #240 from victorlevasseur/master
Fix HTTP server serving a invalid directory on some libstdc++ implementations
2016-01-13 23:28:45 +01:00
Victor Levasseur
9d970fb0ce Fix server serving a invalid directory on some libstdc++ implementations 2016-01-13 23:14:30 +01:00
Florian Rival
8da557443f Merge branch 'master' of github.com:4ian/GD 2016-01-10 13:38:12 +01:00
Florian Rival
010759bdc2 Don't show bug report/update/reminder dialog if rebranding is applied 2016-01-10 13:35:09 +01:00
Florian Rival
eb9c265ec1 Upgrade 7za.exe to latest version (fix zipping issue and improve Windows packaging speed) 2016-01-10 00:08:30 +01:00
Florian Rival
626a54b78f Merge branch 'master' of github.com:4ian/GD 2016-01-09 18:52:54 +01:00
Florian Rival
5f0f3327c3 Fix potential crash with AdMob object on Android and made the extension compatible with Emscripten 2016-01-09 18:52:37 +01:00
Florian Rival
6c83d655ea Merge pull request #237 from pstieber/UpdateWxSetSize
Changed SetBestSize to SetInitialSize.
2016-01-09 14:50:01 +01:00
Peter J. Stieber
f648d61f54 Changed SetBestSize to SetInitialSize.
This prevents a wxWidgets deprecated warning.
2016-01-08 20:16:51 -08:00
Florian Rival
7fc0742dfd Merge pull request #236 from pstieber/StringWarningFixes
String warning fixes
2016-01-09 00:13:48 +01:00
Florian Rival
f9e7455e12 Merge pull request #234 from pstieber/UpdateWxFontStyles
Update wx font styles
2016-01-08 23:46:22 +01:00
Peter J. Stieber
9acfea02db Made string pointers constant.
This removed over 1000 warnings from a Fedora 21 build with gcc 4.9.2.
2016-01-08 14:10:28 -08:00
Peter J. Stieber
1630b82d63 Made PDF fon name strings constant to remove gcc warnings. 2016-01-08 13:01:37 -08:00
Peter J. Stieber
0121ce489b Made xpm strings constant to remove gcc warnings. 2016-01-08 13:01:01 -08:00
Peter J. Stieber
35b14bb58a Fixed incorrect initialization.
Replaced initialization of an in32 (m_count) with NULL to an
initialization with 0 because the value is not a pointer.  This
removed gcc 4.9.2 warnings when building on Fedora 21.
2016-01-08 11:33:07 -08:00
Peter J. Stieber
4605ac8688 Merge branch 'master' into UpdateWxFontStyles 2016-01-08 10:31:49 -08:00
Peter J. Stieber
b707e5acb8 Merge branch 'master' of https://github.com/4ian/GD 2016-01-08 10:28:08 -08:00
Peter J. Stieber
a75b87d69d Merge branch 'UpdateWxBrushConstruction' 2016-01-08 10:27:06 -08:00
Peter J. Stieber
b8322398f3 Updated wxFont flags to remove warnings.
Changed font family and font weight flags to use the new convention
to prevent deprecation warnings from wxWidgets.
2016-01-08 09:49:33 -08:00
Florian Rival
6f8ce3a133 Merge pull request #233 from pstieber/UpdateWxBrushConstruction
Updated wxBrush styles.
2016-01-08 17:09:33 +01:00
Peter J. Stieber
4573a9db1e Updated wxBrush styles.
Changed the following in wxBrush constructors:
wxTRANSPARENT -> wxBRUSHSTYLE_TRANSPARENT
wxSOLID -> wxBRUSHSTYLE_SOLID
wxFDIAGONAL_HATCH -> wxBRUSHSTYLE_FDIAGONAL_HATCH
This fixed 6 warnings in the build.
2016-01-08 07:23:52 -08:00
Florian Rival
42f6dc9a76 Merge pull request #232 from pstieber/master
wxTextCtrl and and wxMenuItem updates
2016-01-07 21:13:06 +01:00
Peter J. Stieber
a48c3aef38 Removed wxTE_AUTO_SCROLL from wxSmith files. 2016-01-06 06:27:10 -08:00
Peter J. Stieber
760b06dc47 Replaced deprecated wxMenuItem function.
Replaced SetText with SetItemLabel.
2016-01-05 21:53:38 -08:00
Peter J. Stieber
718f204ebb Removed use of deprecated wxTE_AUTO_SCROLL.
Use of this macro prevents compilation with wxWidgets that has been
compiled with 2.8 compatibility turned off.  This macro is set to 0
and the comment in the wxWidgets source reads:

this style is (or at least should be) on by default now, don't use it

This commit removed the use of this obsolete macro.
2016-01-05 21:46:39 -08:00
Florian Rival
5688e21d0a Merge pull request #231 from brylie/master
Change sign test text to conventional terms
2015-12-28 12:11:29 +01:00
Brylie Christopher Oxley
21238c8cb3 Change to 'not equal to' 2015-12-28 12:55:06 +02:00
Brylie Christopher Oxley
a4ee365eb8 Change to 'not equal to' 2015-12-28 12:54:20 +02:00
Brylie Christopher Oxley
3c24bb047f Change to 'less than' 2015-12-28 12:53:36 +02:00
Brylie Christopher Oxley
f5acc4c9b3 Change to 'less than' 2015-12-28 12:52:34 +02:00
Florian Rival
97ef2d5c94 Merge pull request #224 from 4ian/feature/rebranding
Add support for rebranding
2015-12-26 20:08:56 +01:00
Florian Rival
877679c726 Update Mac OS X icon.icns 2015-12-25 16:04:51 +01:00
Florian Rival
fff64c0ec9 Add rebranding capabilities 2015-12-17 20:38:55 +01:00
Florian Rival
7d81821040 Fix ribbon page not connected when switching to an external layout editor tab 2015-12-15 22:55:52 +01:00
Florian Rival
b8e3164aa6 Fix compilation when GD_NO_WX_GUI is defined 2015-12-15 22:48:35 +01:00
Florian Rival
871f6ade67 Merge pull request #219 from victorlevasseur/master
Support TMX files (Tiled Editor) for TileMap Objects
2015-12-15 22:32:48 +01:00
Florian Rival
dcae745626 Merge pull request #222 from 4ian/feature/launch-external-layout-preview
External layouts enhancements
2015-12-15 22:29:41 +01:00
Florian Rival
156fcaec8a Properly save the layout being used to edit an external layout in the IDE 2015-12-15 22:27:41 +01:00
Florian Rival
d65bc5c61f Previewing an external layout from the IDE now launches the game with the objects from the external layout 2015-12-15 22:03:57 +01:00
Florian Rival
989f4b2e4e Fix typo 2015-12-15 21:10:23 +01:00
Florian Rival
40059d4270 Merge pull request #221 from victorlevasseur/cleaner-about-page
Clean the credit dialog
2015-12-14 23:37:16 +01:00
Victor Levasseur
56967479de Clean the credit dialog 2015-12-14 23:11:57 +01:00
Florian Rival
af0a3ca3eb Merge pull request #220 from 4ian/fix/external-layout-editors-allocation
Fixes for external layout editors
2015-12-13 21:15:27 +01:00
Florian Rival
5a5b1d6eff Fix ribbon page not connected when switching to an external layout editor tab 2015-12-13 21:06:15 +01:00
Florian Rival
98b5a66ad0 Fix incorrect re-creation of editors when changing scene in an external layout editor 2015-12-13 19:18:51 +01:00
Victor Levasseur
01196c6542 Fix compilation error with AddResource in the TileMapImporter 2015-12-13 15:52:50 +01:00
Florian Rival
002bfb06d0 Refactored StartHerePage management to use EditorsNotebookManager 2015-12-12 23:04:01 +01:00
Victor Levasseur
ad868362fe Merge branch 'feature/tilemap-tmx-import' 2015-12-12 22:23:24 +01:00
Florian Rival
b059c3f3b4 Refactored editor tabs management into EditorsNotebookManager 2015-12-12 22:16:52 +01:00
Florian Rival
508dd80c60 Refactor MainFrameWrapper to change ribbon page using page names 2015-12-11 00:09:34 +01:00
Florian Rival
1f022e860d Make start page handling more robust 2015-12-08 23:16:45 +01:00
Florian Rival
fe9252d3f9 Move SkinHelper to IDE/wxTools directory & avoid crash at startup if StartHerePage is deleted 2015-12-08 22:51:16 +01:00
Florian Rival
4706990730 Update CMakeLists.txt to avoid a warning with latest Clang on OS X 2015-12-08 21:01:02 +01:00
Victor Levasseur
e22cbbeabd Improve the tilemap tmx importer dialog 2015-12-01 22:59:23 +01:00
Victor Levasseur
71f0d25b77 Use a relative filepath for the imported tileset image 2015-12-01 17:26:26 +01:00
Victor Levasseur
91aa2ec604 Update the tileset editor when a tmx file is imported 2015-12-01 00:45:18 +01:00
Victor Levasseur
5dc0413f48 Reload the tileset image when imported from a tmx file 2015-12-01 00:40:33 +01:00
Victor Levasseur
7ff0bc3fa0 Use wxwidgets logger to show warnings and errors in the tmx importer 2015-11-30 13:51:07 +01:00
Florian Rival
951f3f54af Merge pull request #216 from 4ian/feature/audio-resources
Support for audio resources
2015-11-28 16:58:59 +01:00
Florian Rival
7d991c6823 Fix GDJS tests 2015-11-28 16:37:55 +01:00
Florian Rival
549614adbb Fix native games not launching properly when in a directory with non ASCII characters 2015-11-28 16:10:51 +01:00
Florian Rival
f4053c18a6 Force HTML5 audio for musics so we don't wait for the full file to be loaded on Android. 2015-11-28 13:41:02 +01:00
Florian Rival
b492cc72c4 Support for using audio files directly or as resources 2015-11-23 00:14:56 +01:00
Florian Rival
2d6de6e16a Rework gdjs.ImageManager to make it responsible of textures loading 2015-11-22 15:37:18 +01:00
Florian Rival
95afd2c5b6 Support stop pingsounds/musics of previous scene for HTML5 games 2015-11-19 23:16:10 +01:00
Florian Rival
693eac1916 Refactor SoundManager to be owned by RuntimeGame 2015-11-19 22:00:19 +01:00
Florian Rival
780a022029 Add AudioResource 2015-11-18 22:57:45 +01:00
Florian Rival
1e4f622b5c Update pixi.js to v3.0.8 and add a TODO about HTML5 resources loading 2015-11-18 21:57:48 +01:00
Florian Rival
1fc1863e5b Improve performance of HTML5 PanelSpriteObject by avoiding the use of masks 2015-11-18 00:06:39 +01:00
Victor Levasseur
476f6da7ec Use gd::NewNameGenerator to generate a name for the tileset imported image 2015-11-16 23:41:56 +01:00
Florian Rival
828e16ac5b Fix storage actions not properly persisting values in some cases
Fix #210
2015-11-16 22:10:57 +01:00
Victor Levasseur
33ff92681e Add tileset image importation 2015-11-15 11:05:18 +01:00
Victor Levasseur
20afa9201d Improve the tmx importer's source code 2015-11-13 15:21:12 +01:00
Victor Levasseur
764443d31f Improve the tile hitbox importation 2015-11-12 18:29:40 +01:00
Victor Levasseur
539f68c013 Add hitbox import from .tmx file in TileMapObject 2015-11-11 12:19:24 +01:00
Victor Levasseur
078669bf55 Add "experimental" label to the .tmx file import 2015-11-09 23:10:51 +01:00
Victor Levasseur
3eb2a86b23 Add support for importing the tileset conf from a .tmx file 2015-11-09 23:08:35 +01:00
Victor Levasseur
10873c559d Use a fixed width font for the importer message text ctrl 2015-11-09 13:46:44 +01:00
Victor Levasseur
34a902dc11 Some adjustments 2015-11-08 22:06:28 +01:00
Victor Levasseur
e1c56f1c71 Add Tilemap importation (not tileset and hitboxes for now) 2015-11-08 21:59:20 +01:00
Victor Levasseur
02891a777b Fix image paths in wxcrafter dialogs 2015-11-08 20:06:14 +01:00
Victor Levasseur
18c5a230a3 Change TileMapObject source code organization and added tmx-parser 2015-11-08 19:05:48 +01:00
Florian Rival
e95ae97c35 Merge pull request #211 from 4ian/refactor/directories
Refactor directory structure
2015-11-07 13:01:56 +01:00
Florian Rival
db69c83a58 Change file organization 5 (GDCpp/Project) 2015-11-01 17:06:23 +01:00
Florian Rival
cd9ae7ca40 Change file organization 4 (tinyxml -> TinyXml) 2015-11-01 12:01:06 +01:00
Florian Rival
04a699d3e9 Change file organization 3 (IDE/Dialogs) 2015-11-01 11:26:40 +01:00
Florian Rival
e4fab74a32 Change file organization 2 (Events, Extensions + more folders) 2015-11-01 11:26:40 +01:00
Florian Rival
63cb853d72 Change file organization (Events, Extensions + more folders) 2015-11-01 11:26:40 +01:00
Florian Rival
2a95765fd9 Merge pull request #206 from victorlevasseur/bugfix/parameters-list-layout-bug
Fix parameter list layout glitch when the user switch many times the instruction in the window
2015-10-28 15:54:54 +01:00
Florian Rival
f4a603217c Merge pull request #209 from victorlevasseur/bugfix/tilemap-empty-image-fix
Fix tilemap object crash when using an empty image (or invalid file)
2015-10-27 18:15:07 +01:00
Victor Levasseur
ee0ad9d346 Fix tilemap object crash when using an empty image (or invalid file) 2015-10-27 17:56:09 +01:00
Florian Rival
e1e6ab0d6d Merge pull request #207 from victorlevasseur/feature/improve-help
Improve help and add help button for instructions
2015-10-27 09:30:17 +01:00
Victor Levasseur
05e8dc998b Fix parameter list layout glitch when changing of instructions a lot 2015-10-26 15:27:45 +01:00
Victor Levasseur
66f67e7694 Add an help button for instructions 2015-10-26 10:50:47 +01:00
Victor Levasseur
ade4c5b4f5 Use gd::HelpFileAccess::OpenPage in gd::ObjectsPropgridHelper 2015-10-26 09:57:49 +01:00
Florian Rival
5b22ed1d45 Add Finnish translation 2015-10-25 19:04:02 +01:00
Victor Levasseur
8462eefb7d Use gd::HelpFileAccess::OpenPage instead of OpenURL in GDevelop 2015-10-25 18:45:02 +01:00
Victor Levasseur
46e6ecd72a Add gd::HelpFileAccess::OpenPage to open a page without passing its whole URL.
The webpage is assumed to be stored on the wiki and the language is automatically added to the URL if needed
2015-10-25 17:43:18 +01:00
Florian Rival
08def0ebbf Add a FIXME on a potential bug for condition with custom code generator 2015-10-21 22:07:05 +02:00
Florian Rival
9a0e138407 Fix 'Always' condition for HTML5 games 2015-10-21 00:17:22 +02:00
Florian Rival
3a982afea7 Fix mistakes and add Dutch to Windows installer languages 2015-10-19 22:57:18 +02:00
Florian Rival
ba5ccf72ef Add complete Dutch translation 2015-10-19 22:43:46 +02:00
Florian Rival
5375647001 Merge pull request #205 from 4ian/refactor/runtimescene-time-manager
Refactor time management in game engines and use gd::String in JSON serializer
2015-10-16 17:50:55 +02:00
Florian Rival
02a5fb07a3 Add missing u8 prefix for UTF8 strings in tests 2015-10-16 15:33:18 +02:00
Florian Rival
327eba95a6 Merge branch 'refactor/runtimescene-time-manager' of github.com:4ian/GD into refactor/runtimescene-time-manager 2015-10-12 23:12:12 +02:00
Florian Rival
6b88bae850 Add tests for JSON Serializer and UTF8 characters 2015-10-12 23:11:52 +02:00
Florian Rival
5e534aa414 Fix backward compatibility for the behavior of TimerElapsedTime with not existing timers 2015-10-12 22:21:14 +02:00
Florian Rival
faf4baffc5 Refactor time management into TimeManager for native game engine 2015-10-12 00:17:57 +02:00
Florian Rival
cf2100a626 Refactor time management into gdjs.TimeManager for HTML5 game engine 2015-10-11 20:39:10 +02:00
Florian Rival
0b8f72c572 Remove dead code 2015-10-11 19:23:03 +02:00
Florian Rival
4fd7ae71f8 Merge branch 'master' into feature/json-gd-string 2015-10-11 17:12:56 +02:00
Florian Rival
656b3bf3eb Use gd::String in Serializer 2015-10-11 17:12:17 +02:00
Florian Rival
18eb1b1cf4 Merge branch 'master' of github.com:4ian/GD 2015-10-10 13:41:09 +02:00
Florian Rival
9a246686d5 Fix AdMob object banner default position being top of the screen 2015-10-10 13:37:37 +02:00
Florian Rival
2c435388a7 Avoid creating temporaries when dealing with objects list maps in HTML5 games 2015-10-09 22:14:24 +02:00
Florian Rival
1efd19ee82 Fix typo 2015-10-07 22:20:53 +02:00
Florian Rival
f4dc2d6983 Merge pull request #202 from victorlevasseur/master
Fix WriteToFile/ReadFile not converting the filename into the OS locale
2015-09-20 23:32:24 +02:00
Victor Levasseur
64bfdf165f Fix WriteToFile/ReadFile not converting the filename into the OS locale 2015-09-20 20:36:12 +02:00
Florian Rival
ef3e145f42 Version bump 2015-09-20 17:51:07 +02:00
Florian Rival
3b221ae54e Merge pull request #200 from victorlevasseur/bugfix/resolution-change-and-fullscreen
Fix Vsync and Max FPS not reactived after a sf::RenderWindow change
2015-09-16 20:24:10 +02:00
Victor Levasseur
00928414a4 Fix project not saving Vsync properly 2015-09-16 14:45:27 +02:00
Victor Levasseur
0202e7bab2 FPS limit and Vsync is now set in RuntimeScene::ChangeWindow method 2015-09-16 14:39:53 +02:00
Victor Levasseur
7c2264a9b9 Fix Vsync and Max FPS not reactived after a sf::RenderWindow change 2015-09-15 23:21:29 +02:00
Florian Rival
a0246dd33e Update translations 2015-09-15 00:05:16 +02:00
Florian Rival
5612333c55 Version bump 2015-09-13 22:17:46 +02:00
Florian Rival
05551c4d43 Merge pull request #199 from 4ian/feature/display-object-refactoring
Refactor methods of gdjs.RuntimeObject and improve PanelSpriteObject
2015-09-13 22:11:38 +02:00
Florian Rival
f6a55188c6 Remove incorrect optimisation in hitboxes collision test 2015-09-13 21:58:50 +02:00
Florian Rival
b5ec6e8deb Fix rendering of HTML5 tiled PanelSprite objects 2015-09-11 19:57:44 +02:00
Florian Rival
970bc3b0f0 Add caching and tiled borders/center option for HTML5 PanelSprite object 2015-09-11 17:29:45 +02:00
Florian Rival
876a7fecb5 Fix gdjs.Runtimeobject.hide method 2015-09-11 16:30:12 +02:00
Florian Rival
3ac292ec18 Factor common methods to gdjs.RuntimeObject.
Thanks to exposePIXIDisplayObject, objects can expose the PIXI.DisplayObject that they are using
and let RuntimeObject handles common operations (layer change, z order change, deletion, visibility).
2015-09-10 22:37:32 +02:00
Florian Rival
1ff06d4c9c Add an object to PanelSprite test/benchmark game 2015-09-10 21:19:20 +02:00
Florian Rival
4a84e5048a Fix wrong object size calculation in Destroy Outside behavior of HTML5 games 2015-09-10 19:53:58 +02:00
Florian Rival
c02a471a36 Merge branch 'master' of github.com:4ian/GD 2015-09-10 12:47:48 +02:00
Florian Rival
958d9bcda5 Version bump 2015-09-10 12:47:32 +02:00
Florian Rival
af4145f923 Ensure that two files with the same name are not overwritten when exporting a game.
Refactor name generation with NewNameGenerator.
2015-09-09 15:41:01 +02:00
Florian Rival
85ba7759b1 Merge pull request #197 from victorlevasseur/bugfix/tilemap-editor-warning-msg
Remove debug warnings when opening the TileMapObject editor
2015-09-07 12:15:09 +02:00
Victor Levasseur
a6a983d7b2 Remove debug warnings when opening the TileMapObject editor 2015-09-07 10:06:24 +02:00
Florian Rival
19350b3061 Fix error when deactivating a behavior from an object that was just created 2015-09-06 18:38:30 +02:00
Florian Rival
dafbd05eb6 Fix bundle creation for OS X 2015-09-05 22:56:03 +02:00
Florian Rival
778e4a27b6 Fix missing Windows executable icon 2015-09-05 13:37:31 +02:00
Florian Rival
b1b63127fb Add missing dll export (GD_CORE_API) on Windows 2015-09-05 12:27:45 +02:00
Florian Rival
b56c1114f2 Ensure True/False and Yes/No parameter have a valid value even with i18n 2015-09-05 11:50:02 +02:00
Florian Rival
4fcd817a06 Add gd::ObjectMetadata::SetHelpUrl 2015-09-05 00:57:47 +02:00
Florian Rival
aa297614f0 Fix scrollbar and scene editor size on OS X with Retina screens 2015-09-04 21:48:48 +02:00
Florian Rival
6aea0e3306 Fix titlebar not updated after a 'save as' 2015-09-04 21:37:03 +02:00
Florian Rival
5f1452a410 Make sure that compilation/autosave of folder projects are done in a single file 2015-09-04 21:11:18 +02:00
Florian Rival
15ff423060 Merge branch 'feature/serialization-multiple-files' 2015-09-04 20:23:38 +02:00
Florian Rival
7acdcaece6 Change angle increment from 45 to 15 when holding SHIFT in scene editor 2015-09-04 19:40:34 +02:00
Florian Rival
487a4dd8cb Fix wrong use of std::multiset leading to miscomputation in pathfinding algorithm 2015-09-04 14:39:41 +02:00
Florian Rival
eab1f1c2fb Add Pathfinding playground test game 2015-09-03 18:25:41 +02:00
Florian Rival
b2a22374aa Fix pathfinding considering cells adjacent to an obstacle as being covered by obstacle 2015-09-03 16:28:50 +02:00
Florian Rival
9e7f58cddc Ensure that pathfinding works in corridors that are a single cell large
Enhance tests for native pathfinding behavior.
2015-09-03 16:10:47 +02:00
Florian Rival
ed3ef47259 Fill parameters with their default value if they are empty
Fix #176
2015-09-03 12:30:27 +02:00
Florian Rival
c4d1b6d794 Merge pull request #195 from victorlevasseur/master
Fix accentuated characters in ParticleEmitterObjectEditor
2015-09-03 12:20:28 +02:00
Victor Levasseur
c9fcdffc72 Fix accentuated characters in ParticleEmitterObjectEditor 2015-09-03 12:18:00 +02:00
Florian Rival
9530cfc0ae Fix compilation when GD_NO_WX_GUI is defined 2015-09-02 19:42:41 +02:00
Florian Rival
824e937748 Add support for saving projects in multiple files as "Folder project".
Also refactor loading/saving to XML/JSON in gd::ProjectFileWriter.
2015-09-02 18:54:08 +02:00
Florian Rival
2e0241a49b Merge pull request #193 from victorlevasseur/master
Fix instruction height in gd::EventsRenderingHelper
2015-09-02 14:32:37 +02:00
Victor Levasseur
73c255ddc8 Fix instruction height in gd::EventsRenderingHelper 2015-09-02 14:14:11 +02:00
Florian Rival
a5f180ec43 Small refactoring and fix resizing without grid regression 2015-09-01 18:48:40 +02:00
Florian Rival
a9cace5ac8 Snap width/height to grid when resizing instances 2015-09-01 14:54:24 +02:00
Florian Rival
8ddc16da44 Support shift when resizing/rotating an instance to keep size ratio 2015-09-01 14:02:21 +02:00
Florian Rival
c7829b5715 Merge branch 'master' of github.com:4ian/GD 2015-08-31 22:41:59 +02:00
Florian Rival
1b4c96e5ba Re-save templates with version 4 2015-08-31 19:29:07 +02:00
Florian Rival
d65e269d2f Merge pull request #161 from victorlevasseur/bugfix/tilemap-optimization
TileMapObject memory consumption optimization
2015-08-31 19:09:20 +02:00
Florian Rival
541abb8020 Merge pull request #191 from victorlevasseur/bugfix/accentuated-char-source
Fix accentuated/special characters in some source files
2015-08-30 18:13:22 +02:00
Victor Levasseur
68c995221e Fix _() not considering the input literal at UTF8 (can cause problems with
special characters hard coded in the software)
Fix the Credit dialog encoding problem (missing
GDCore/Tools/Localization.h header inclusion)
2015-08-28 17:33:45 +02:00
Victor Levasseur
05b5fb1a68 Fix accentuated/special characters in some source files
(use their octal representation instead)
2015-08-28 12:22:42 +02:00
Florian Rival
701ac1d4d0 Update translations source.pot file 2015-08-27 23:11:48 +02:00
Florian Rival
3b9ae899d8 Update translations 2015-08-27 23:06:17 +02:00
Florian Rival
8cf5a556e7 Merge pull request #189 from victorlevasseur/feature/random-c++11
Use C++11 random features instead of srand and rand
2015-08-27 18:56:26 +02:00
Victor Levasseur
d422642169 Use C++11 random features instead of srand and rand 2015-08-27 18:43:09 +02:00
Florian Rival
37718f03dd Merge branch 'master' of github.com:4ian/GD 2015-08-27 15:51:16 +02:00
Florian Rival
763d99b6df Do not clear export directory when exporting for Cordova/Intel XDK 2015-08-27 15:51:08 +02:00
Victor Levasseur
3dcbcd7a4b Fix gd::ToString used in TileSetConfigurationEditor 2015-08-27 14:21:57 +02:00
Victor Levasseur
69c3a62389 Merge remote-tracking branch 'upstream/master' into bugfix/tilemap-optimization 2015-08-27 14:07:38 +02:00
Florian Rival
9d2bac0d26 Merge pull request #188 from 4ian/bugfix/admobobject-build-failure
Fix wxWidgets header included when not using wxWidgets in AdMobObject
2015-08-26 20:51:42 +02:00
Victor Levasseur
c3956adbbf Fix wxWidgets header included when not using wxWidgets in AdMobObject 2015-08-26 20:37:30 +02:00
Florian Rival
2159410787 Use master branch for AppVeyor build badge in Readme 2015-08-26 20:17:07 +02:00
Florian Rival
2593a9ef4d Add new AdMob extension with support for AdMob banner and interstitial screen using Cordova 2015-08-26 18:44:13 +02:00
Florian Rival
07ec5f570a Add support for object properties 2015-08-25 18:18:10 +02:00
Florian Rival
e056fd7468 Fix extensions libraries not being written at the right location 2015-08-25 16:20:22 +02:00
Florian Rival
6ad84152a5 Small refactoring in ObjectsPropgridHelper 2015-08-24 20:15:59 +02:00
Florian Rival
b24e37ff01 Refactoring to use gd::String::FindAndReplace 2015-08-24 19:24:38 +02:00
Florian Rival
c369db20ba Add gd::String::FindAndReplace and tests for it 2015-08-24 18:06:36 +02:00
Florian Rival
48c7f7c83c Merge branch 'v4' of github.com:4ian/GD into v4 2015-08-24 17:22:16 +02:00
Florian Rival
7bbad247cb Update Intel XDK export option to target Cordova
Regenerated GUI files
2015-08-24 17:04:02 +02:00
Florian Rival
499953305e Merge pull request #186 from 4ian/feature/clarify-gpl-v3
Clarify the use of GPLv3 for the IDE
2015-08-23 20:23:32 +02:00
Florian Rival
6e9f5bdc8a Remove useless std::cout 2015-08-23 19:08:37 +02:00
Florian Rival
d062d7b6d3 Clarify the use of GPLv3 for the IDE 2015-08-23 16:36:25 +02:00
Florian Rival
e513185c6d Add AddVeyor build status badge 2015-08-23 15:44:44 +02:00
Florian Rival
071ef65a95 Add AppVeyor configuration file 2015-08-23 15:26:11 +02:00
Florian Rival
cde0a7b4a9 Use Travis-CI container-based infrastructure 2015-08-23 12:43:10 +02:00
Florian Rival
026c9b2a41 Merge pull request #184 from victorlevasseur/feature/more-string-tools
gd::String interface improvement and new FromCodePoint, ToUpperCase, ToLowerCase string expressions for games
2015-08-23 12:32:28 +02:00
Florian Rival
e4620814d0 Suppress 2 clang warnings about abs 2015-08-23 12:29:47 +02:00
Victor Levasseur
65edabe74e Merge branch 'feature/more-string-tools' of https://www.github.com/victorlevasseur/GD into feature/more-string-tools 2015-08-23 12:14:44 +02:00
Victor Levasseur
ffb93b5b08 Merge branch 'v4' into feature/more-string-tools 2015-08-23 12:14:14 +02:00
Florian Rival
6fe70c2ebc Merge pull request #180 from victorlevasseur/replace-uint-with-size_t
Use std::size_t for indexes and sizes instead of unsigned int
2015-08-23 11:50:31 +02:00
Victor Levasseur
ba6a7b5f80 Revert to GCC 4.8 on Travis CI 2015-08-23 10:19:09 +02:00
Victor Levasseur
f09cc6cf2d Fix typo in ProfileTools.cpp 2015-08-22 23:40:19 +02:00
Florian Rival
59cd0e8b61 Remove useless file, tiny indentation fix 2015-08-22 22:54:36 +02:00
Victor Levasseur
94500d3c7d Fix gd::String::npos definition 2015-08-21 09:06:57 +02:00
Victor Levasseur
e70ff4e2da Add UpperCase and LowerCase methods to gd::String
Add string expressions to get the uppercased/lowercased string
2015-08-20 19:26:21 +02:00
Victor Levasseur
e9f9ccfac6 Use gcc/g++ 5 in Travis CI 2015-08-20 13:23:25 +02:00
Victor Levasseur
67c32f0e7d Add FromCodePoint string expression to get a character from its codepoint 2015-08-20 12:21:16 +02:00
Victor Levasseur
896e82c236 Slightly improve gd::String interface using C++11 2015-08-20 12:01:59 +02:00
Victor Levasseur
a1124cc7a8 Remove a file that should have been removed during the merge 2015-08-19 20:35:38 +02:00
Victor Levasseur
79e3c34289 Fix merge conflicts not solved in Layout.cpp 2015-08-19 20:29:02 +02:00
Victor Levasseur
25c8fdda2c Merge remote-tracking branch 'upstream/v4' into replace-uint-with-size_t 2015-08-19 19:16:49 +02:00
Victor Levasseur
9552cb75b8 Merge remote-tracking branch 'upstream/feature/behavior-renaming' into replace-uint-with-size_t 2015-08-19 19:13:51 +02:00
Florian Rival
8e7944b1a8 Merge pull request #183 from 4ian/feature/behavior-renaming
Rename "Automatisms" to "Behaviors"
2015-08-19 18:23:01 +02:00
Victor Levasseur
4aa35f1f55 Merge branch 'v4' into replace-uint-with-size_t 2015-08-19 17:39:40 +02:00
Florian Rival
0b64b61ca0 Merge pull request #182 from victorlevasseur/bugfix/copy-files-from-release-windows
Use HEAD to copy resources from Release_Windows folder
2015-08-19 15:20:09 +02:00
Victor Levasseur
0a230ba5b2 Use HEAD to copy resources from Release_Windows folder
(instead of the master branch)
2015-08-19 13:22:12 +02:00
Florian Rival
87030e29d7 Merge pull request #181 from victorlevasseur/feature/mouse-wheel-horizontal
Support horizontal movement of the mouse wheel in the layout editor
2015-08-19 09:47:22 +02:00
Victor Levasseur
70432b0edf Support horizontal movement of the mouse wheel in the layout editor 2015-08-19 09:27:42 +02:00
Florian Rival
457808961b Various small refactorings and typo fixes 2015-08-18 19:29:37 +02:00
Florian Rival
61f89d30ec Remove margins and center splitter for property grids 2015-08-18 18:50:04 +02:00
Victor Levasseur
cc6810e3f6 Replace unsigned int with std::size_t where it's possible 2015-08-18 18:43:39 +02:00
Florian Rival
4b3b5a9bbe Fix 'an behavior' and wording 2015-08-18 18:36:52 +02:00
Florian Rival
510cb4e7c0 Fix file not renamed and compatibility with GD3.x projects 2015-08-18 18:16:27 +02:00
Florian Rival
428e72914d [WIP] Rename Automatism to Behavior 2015-08-17 23:52:59 +02:00
Victor Levasseur
a1cf27fe3c Replace some unsigned int with std::size_t in the LinkEvent 2015-08-17 23:11:10 +02:00
Florian Rival
79bfa079aa Merge pull request #179 from 4ian/cleanup
Code cleanup
2015-08-17 21:30:27 +02:00
Florian Rival
b7a78ea145 Remove single file executable compilation option 2015-08-17 20:47:46 +02:00
Florian Rival
b370a96a83 Remove useless files 2015-08-17 19:26:55 +02:00
Florian Rival
a5fd4ea861 Remove useless parameters when calling AddParameter in *Extension.cpp 2015-08-17 19:00:13 +02:00
Florian Rival
7686471c27 Hide objects/automatisms of deprecated extensions 2015-08-17 18:15:26 +02:00
Florian Rival
5a6ff36901 Remove useless code and allow extensions to be marked as deprecated 2015-08-17 18:00:55 +02:00
Florian Rival
3fb8d2bac9 Remove useless EmptyEvent.[cpp|h] 2015-08-17 17:26:52 +02:00
Florian Rival
141a0d03b9 Remove clang warnings 2015-08-17 16:59:22 +02:00
Florian Rival
263ac5afd2 Remove useless XmlMacros.h file 2015-08-17 16:58:03 +02:00
Florian Rival
ea60a6b602 Remove legacy text display action 2015-08-17 16:54:11 +02:00
Florian Rival
cc5f9e6381 Merge branch 'fix/instructions-wording' of github.com:4ian/GD into cleanup 2015-08-17 16:08:22 +02:00
Florian Rival
22baf2260e Merge pull request #177 from victorlevasseur/bugfix/camera-extension-typo
Fix typo in some camera actions
2015-08-16 18:17:31 +02:00
Florian Rival
a6c8e99d1e Merge pull request #178 from victorlevasseur/feature/gpu-preference
GDevelop and C++ games now prefer the powerful discrete GPU
2015-08-16 18:17:09 +02:00
Victor Levasseur
6bd8a8014c GDevelop and C++ games now prefer the powerful discrete GPU 2015-08-16 11:58:53 +02:00
Victor Levasseur
5a3e23c98a Fix typo in some camera actions 2015-08-15 21:49:37 +02:00
Florian Rival
65a1e6bfb5 Fix objects from hidden layers could still be selected and moved 2015-08-15 17:33:22 +02:00
Florian Rival
eab1b352d6 Merge branch 'v4' of github.com:4ian/GD into v4 2015-08-14 00:03:15 +02:00
Florian Rival
8fd2892d0c Add PIXI Particles Javascript demo 2015-08-14 00:03:06 +02:00
Florian Rival
fe090365d1 Merge pull request #175 from victorlevasseur/windows-gcc-version-independant
CodeCompiler is now "independant" from the GCC version on Windows
2015-08-13 17:52:02 +02:00
Victor Levasseur
1e8555a7c4 Adapt GDCpp CodeCompiler to allow using any version of GCC on Windows
without changing the version manually
2015-08-13 17:12:01 +02:00
Florian Rival
5ec51d188f Merge pull request #173 from victorlevasseur/bugfix/object-editor-search
Fix search not working in the object editor.

Fix #148
2015-08-13 11:11:49 +02:00
Florian Rival
9f1a851b42 Merge pull request #172 from victorlevasseur/bugfix/extra-border-condition
Fix extra border condition of Destroy Outside Automatism
2015-08-13 11:10:19 +02:00
Victor Levasseur
e7ddbad625 Fix extra border condition of Destroy Outside Automatism 2015-08-13 10:56:58 +02:00
Victor Levasseur
1b53b5e0cc Fix search not working in the object editor 2015-08-13 10:53:34 +02:00
Florian Rival
ea4821588f Bump to version 4 2015-08-12 17:18:09 +02:00
Florian Rival
e8481f9896 Merge pull request #169 from victorlevasseur/v4-examples
Re-save all examples using the v4 version and fix some image problems
2015-08-12 17:16:59 +02:00
Florian Rival
538eebd669 Merge pull request #170 from victorlevasseur/bugfix/compilation-tools-utf8
Fix compilation output not interpreted as UTF8
2015-08-12 17:03:23 +02:00
Victor Levasseur
0a435d292f Fix compilation output not interpreted as UTF8 2015-08-12 13:18:18 +02:00
Victor Levasseur
4943f06b5e Save examples using v4 version
Convert some PNG to RGB mode
2015-08-12 12:13:22 +02:00
Florian Rival
65eea38d5c Merge pull request #167 from 4ian/fix/events-rendering-font-size
Use point size (instead of pixel size) for events rendering
2015-08-11 16:56:44 +02:00
Florian Rival
725a435a27 Use point size (instead of pixel size) for events rendering
Also avoid relying on hardcoded size for instructions rendering,
and add manifest to support HDPI screens on Windows.
2015-08-11 16:50:26 +02:00
Florian Rival
c6ae338b77 Fix wrong #includes of events generated code 2015-08-12 00:03:03 +12:00
Florian Rival
9a97028d02 Merge pull request #159 from victorlevasseur/feature/improve-text-object-editor
New Text Object editor
2015-08-10 18:39:16 +02:00
Victor Levasseur
1902b72e9f Change size of the TextObject editor 2015-08-09 17:30:42 +02:00
Florian Rival
e5a5bc24f0 Merge branch 'master' into v4 2015-08-09 22:17:59 +08:00
Florian Rival
41c3c1cca2 Merge pull request #165 from victorlevasseur/v4
Replace some indexing operators by iterators
2015-08-09 22:15:07 +08:00
Florian Rival
af297f9a9b Add icons for scene stacking actions 2015-08-09 15:40:12 +12:00
Victor Levasseur
306912f066 Rewrite gd::ExpressionParser::ValidSyntax() with iterators 2015-08-07 16:39:09 +02:00
Victor Levasseur
3c3c235183 Rewrite gd::VariableParser with iterators
(instead of indexing operator)
2015-08-07 14:55:55 +02:00
Victor Levasseur
34f16d7b4b Rewrite gd::SceneNameMangler using iterators 2015-08-07 14:05:49 +02:00
Florian Rival
8808779c6b Merge pull request #164 from victorlevasseur/v4
Update v4 with master
2015-08-07 15:19:21 +12:00
Victor Levasseur
9df088d2fe Merge remote-tracking branch 'upstream/master' into v4 2015-08-06 16:27:11 +02:00
Florian Rival
e569aa26d0 Enhance tests for GDCpp SceneStack 2015-08-06 18:57:58 +12:00
Florian Rival
420ae0efcc Add very basic test for GDCpp SceneStack 2015-08-06 18:40:33 +12:00
Florian Rival
91eb914dcb Add parameter to clear any stopped scene from scene stack when changing scene
Also refactors some parts and add documentation
2015-08-06 17:58:10 +12:00
Florian Rival
c75853c427 Add missing wxWidgets default translations.
Fix #163
2015-08-06 16:10:27 +12:00
Florian Rival
200b0fb800 Add TileMap object to translations catalog 2015-08-06 15:50:16 +12:00
Victor Levasseur
cf52c46035 Resize m_collidable vector to be sure it has the same size as the tile
count
2015-08-04 11:47:14 +02:00
Victor Levasseur
e19b844f46 Merge branch 'master' into bugfix/tilemap-optimization 2015-08-03 18:02:09 +02:00
Florian Rival
3a64b7ef30 Fix typo in ReplaceScene function prototype name 2015-08-03 21:41:45 +12:00
Victor Levasseur
3321b71c33 Use TileSet::GetTileHitboxRef to get a ref to an hitbox
TileSet::GeTileHitbox now only returns by value (no more by ref overload)
(It avoids creating hitboxes in the cache ofthe Tilemap during generation)
2015-08-02 18:36:58 +02:00
Victor Levasseur
d5ff851baa Add a note in the change texture action of the TileMapObject 2015-08-02 17:55:22 +02:00
Victor Levasseur
63d3258586 Remove TileSet::Generate(), add TileSet::StripUselessHitboxes()
to strip default hitboxes from the tileset data when closing the editor
Update an example to use the new TileSet serialization format
2015-08-02 17:22:44 +02:00
Victor Levasseur
7bc23ca655 Reduce TileMapObject memory consumption
(Texture coords are now calculated on the fly, only non-default hitboxes
are stored and collidable property is separated from hitbox storage)
2015-07-31 18:13:34 +02:00
Florian Rival
1cca6b69d1 Add pause to Angry Peas template using scene stacking 2015-07-31 22:49:09 +12:00
Florian Rival
fe83d3a823 Merge branch 'feature/scene-stack' 2015-07-31 21:44:23 +12:00
Florian Rival
face853b3f Basic implementation of scene stacking for native games.
Also fix #155
2015-07-31 16:05:20 +12:00
Florian Rival
43144901a7 [WIP] Implementing scene stack for native games 2015-07-31 15:19:12 +12:00
Florian Rival
5ecdc54256 Merge branch 'feature/scene-stack' of github.com:4ian/GD 2015-07-31 14:54:32 +12:00
Florian Rival
6a47caafac Merge pull request #160 from 4ian/bugfix/help-provider
Use wxLaunchDefaultBrowser() in HelpProvider
2015-07-30 21:30:14 +12:00
Victor Levasseur
e5086a81eb Fix font size in TextObject editor and add a help link 2015-07-30 11:24:04 +02:00
Victor Levasseur
0800d8be34 Use wxLaunchDefaultBrowser() in HelpProvider 2015-07-30 11:09:33 +02:00
Victor Levasseur
0d13ce8d76 Change the "Change font..." icon 2015-07-29 23:21:18 +02:00
Victor Levasseur
25230a4437 Apply the style to the toolbar of the TextObject editor 2015-07-29 23:09:59 +02:00
Victor Levasseur
3dec0d8716 Remove Text Object extension dialogs from build when NO_GUI is activated 2015-07-29 20:22:58 +02:00
Victor Levasseur
0168ae15ad New Text Object editor 2015-07-29 19:00:59 +02:00
Florian Rival
6442fd94c5 Merge pull request #158 from victorlevasseur/bugfix/typo
Improve ChooseVariableDialog title
2015-07-28 22:45:49 +12:00
Victor Levasseur
43ae3cdf43 Improve ChooseVariableDialog title 2015-07-28 11:51:20 +02:00
Victor Levasseur
bd14e8feda Merge pull request #157 from 4ian/utf8-gdstring
Update v4 with lastest commits
2015-07-28 11:30:08 +02:00
Victor Levasseur
f6c1bdc768 Merge remote-tracking branch 'upstream/master' into utf8-gdstring 2015-07-28 11:27:08 +02:00
Florian Rival
f86e8f2238 Merge pull request #156 from victorlevasseur/bugfix/gtk-glitches
Fix some widgets badly sized on GTK+
2015-07-28 16:08:11 +12:00
Victor Levasseur
5f327d8928 The variable edition/selection dialog is now bigger 2015-07-27 18:27:58 +02:00
Victor Levasseur
deecdff2d6 Fix text entries height (too small on GTK+) 2015-07-27 18:20:06 +02:00
Florian Rival
fed3a7727f Add test game using LinkedObjects with Scene stacking 2015-07-27 10:54:17 +12:00
Florian Rival
5a2a6b4341 Ensure LinkedObjects managers are properly bound to their scene for HTML5 games 2015-07-27 10:13:45 +12:00
Florian Rival
3e61fa972e Merge pull request #154 from victorlevasseur/master
Fix compilation not started when adding an object to a group
2015-07-25 22:38:30 +12:00
Victor Levasseur
41e7b1da2e Fix compilation not started when adding an object to a group 2015-07-25 11:35:06 +02:00
Victor Levasseur
972a8c6762 Add conversion from gd::String::const_iterator to iterator 2015-07-25 00:07:56 +02:00
Victor Levasseur
b981761ed1 Fix StringIterator not returning *this in operator= 2015-07-24 16:47:16 +02:00
Victor Levasseur
6564f6410c Fix case-insensitive search in InstructionSelectorDialog 2015-07-24 12:42:08 +02:00
Victor Levasseur
b26d8b02bb Make gd::String::Normalize public, add gd::CaseSensitiveEquiv
Use NFD/NFKD normalization form instead of NFC/NFKC as it has better
performances
2015-07-24 12:33:24 +02:00
Florian Rival
7ed8c2f15e Ensure automatisms shared data are properly bound to their scene for HTML5 games
Still need to update LinkedObjects extension.
2015-07-24 12:00:46 +12:00
Florian Rival
563e92a37e Basic scene stack for HTML5 games 2015-07-24 10:53:09 +12:00
Victor Levasseur
492a981ca8 Merge remote-tracking branch 'upstream/master' into utf8-gdstring 2015-07-23 12:13:19 +02:00
Victor Levasseur
a1c453afd5 Fix typo in GDCpp documentation 2015-07-23 12:07:10 +02:00
Victor Levasseur
8cfe7d4a9a Merge pull request #5 from 4ian/utf8-gdstring
Documentation updates
2015-07-23 11:23:47 +02:00
Florian Rival
09ecba167a Update news file for version 3.6.84 2015-07-23 16:49:20 +12:00
Florian Rival
5807b1d17f Various documentation update 2015-07-23 16:22:13 +12:00
Florian Rival
180adf2598 Fix typo and cosmetic changes to gd::String documentation 2015-07-23 15:12:34 +12:00
Victor Levasseur
9ddca53c01 Disable automatic String normalization 2015-07-22 21:25:02 +02:00
Victor Levasseur
1c84df363f UpdateChecker now replaces invalid characters in the downloaded news/info 2015-07-22 21:16:53 +02:00
Victor Levasseur
01190e0c11 Add type checks in gd::String::From/To
(to avoid use with wxString, std::string and sf::String)
2015-07-22 17:20:43 +02:00
Victor Levasseur
0ff167cc06 Fix tests 2015-07-22 16:38:26 +02:00
Victor Levasseur
18c59dbb5d Totally remove ToString(), ToInt(), ToFloat() and ToDouble() 2015-07-22 16:20:26 +02:00
Florian Rival
b9e245a46c Version bump 2015-07-22 22:36:03 +12:00
Victor Levasseur
ed573dbc54 Replace some ToString by gd::String::From 2015-07-22 11:36:13 +02:00
Victor Levasseur
90edd25ac2 Merge pull request #4 from 4ian/utf8-gdstring
Remove ToString<wxString>, replace some ToString by gd::String::From
2015-07-22 01:53:16 +02:00
Victor Levasseur
4681a50412 Improve gd::String::From method 2015-07-22 01:52:43 +02:00
Victor Levasseur
f0a9b14e73 Remove gd::String::FromXXX/ToXXX methods 2015-07-22 01:30:17 +02:00
Florian Rival
fc99b804d1 Remove ToString<wxString>, replace some ToString by gd::String::From, fix some warnings 2015-07-22 09:58:45 +12:00
Victor Levasseur
2a0052b207 Add gd::String::From/To template to replace all FromXXX/ToXXX() methods 2015-07-21 14:35:29 +02:00
Victor Levasseur
d3d0a65339 Merge branch 'utf8-gdstring' of https://www.github.com/victorlevasseur/GD into utf8-gdstring 2015-07-21 11:04:09 +02:00
Victor Levasseur
553f74e06e Fix friend function declaration in gd::String 2015-07-21 11:03:54 +02:00
Victor Levasseur
a358c8e418 Merge pull request #3 from 4ian/utf8-gdstring
Support for emscripten + small refactoring/update
2015-07-21 11:03:30 +02:00
Florian Rival
9b1547cdd4 Fix Emscripten compilation and UTF8 handling 2015-07-21 14:30:23 +12:00
Florian Rival
4a8b2e7a2f Simplify and refactor CompilerMessagesParser 2015-07-21 11:17:49 +12:00
Florian Rival
2f8fe4be53 Replace some calls to ToInt by gd::String::ToInt 2015-07-21 10:59:41 +12:00
Victor Levasseur
6e7cbbdb46 Merge pull request #2 from 4ian/utf8-gdstring
Remove dead code/deprecated functions
2015-07-21 00:41:30 +02:00
Florian Rival
c3eea8d91e Remove some usages to deprecated ToString<wxString> 2015-07-21 10:34:15 +12:00
Florian Rival
5ff932fe38 Remove dead code 2015-07-21 10:29:22 +12:00
Florian Rival
ac0bb2c16a Remove useless/deprecated StrUppercase 2015-07-21 10:22:45 +12:00
Victor Levasseur
14fa7118fc Improve priv::PositionFromCaseFolded 2015-07-20 21:58:25 +02:00
Victor Levasseur
b6c9f2095b Use gd::String::FindCaseUnsensitive in gd::EventRefactorer 2015-07-20 15:30:57 +02:00
Victor Levasseur
89f3dac705 Fix ToLocale/FromLocale on Mac OS X 2015-07-20 14:02:20 +02:00
Victor Levasseur
5c8486e4ed Merge pull request #1 from 4ian/utf8-gdstring
Fix iconv call on OS X
2015-07-20 13:26:52 +02:00
Victor Levasseur
9b95089862 Fix gd::NativeFileSystem::WriteFile to save in UTF8 instead of the locale 2015-07-20 12:54:45 +02:00
Florian Rival
dba2bde106 Exclude any UTF8 conversion when compiled without wxWidgets 2015-07-20 22:32:50 +12:00
Florian Rival
76995ed32a Fix iconv call on OS X 2015-07-20 22:03:52 +12:00
Victor Levasseur
cb37c4f9a1 Add FindCaseInsensitive in gd::String 2015-07-20 10:32:55 +02:00
Victor Levasseur
a1b6e212c6 Move gd::utf8::String out of the ut8 namespace 2015-07-19 20:33:11 +02:00
Victor Levasseur
3b8518c691 Add support for Unicode casefolding (for case-insensitive searches) and normalization
All strings are normalized when constructed (if the string is UTF8-valid)
2015-07-19 14:01:01 +02:00
Florian Rival
1b7958061d Add demo gif to Readme, showing GDevelop in action 2015-07-19 19:28:50 +12:00
Florian Rival
d41db505c2 Update instructions wording and documentation 2015-07-19 19:03:21 +12:00
Florian Rival
cafdca7625 Merge branch 'master' into fix/instructions-wording 2015-07-19 18:41:03 +12:00
Florian Rival
e0e6022282 Deactivate Native platform preview/export for Mac OS X 2015-07-19 18:40:39 +12:00
Florian Rival
3c5799a31e Update descriptions and sentences of various instructions 2015-07-19 18:39:41 +12:00
Victor Levasseur
4191a3c7ba Merge remote-tracking branch 'upstream/master' into utf8-gdstring 2015-07-18 11:43:05 +02:00
Florian Rival
3f9ccfa122 Merge branch 'master' of github.com:4ian/GD 2015-07-18 15:16:33 +12:00
Florian Rival
2a4c0c76dd Ensure duplicate images are not preventing HTML5 games to load. Fix #147 2015-07-18 15:16:19 +12:00
victorlevasseur
5c3c9fb413 Merge remote-tracking branch 'upstream/master' into utf8-gdstring
Conflicts:
	Core/GDCore/PlatformDefinition/Layout.cpp
2015-07-17 23:18:17 +02:00
Victor Levasseur
445e0061a7 Remove Utf8Tools.h 2015-07-17 12:05:12 +02:00
Florian Rival
9c0c6cbdb0 Merge pull request #145 from victorlevasseur/master
Fix TileSetConfigurationEditor crashing on Windows
2015-07-17 08:34:41 +12:00
victorlevasseur
e0bbd7584c Fix TileSetConfigurationEditor crashing on Windows 2015-07-16 16:00:11 +02:00
Victor Levasseur
34236095b8 Use iconv under linux to convert legacy (ANSI) projects 2015-07-16 12:50:23 +02:00
victorlevasseur
db3c2b2ab9 Rewrite the project encoding conversion 2015-07-15 21:08:03 +02:00
Florian Rival
5715ce0575 Merge branch 'master' of github.com:4ian/GD 2015-07-15 14:43:00 +12:00
Florian Rival
a3871cdc87 Update news file for version 3.6.83 2015-07-15 14:41:22 +12:00
Victor Levasseur
479ec12e18 Add a lot more tests for gd::String 2015-07-14 21:00:35 +02:00
Victor Levasseur
deba66bc80 Fix gd::String::erase(iterator) not removing the character 2015-07-14 13:24:11 +02:00
Florian Rival
3b03aaac32 Version bump 2015-07-14 22:00:54 +12:00
Florian Rival
3666928c3a Remove useless std::cout 2015-07-14 21:54:42 +12:00
Florian Rival
cc45641c81 Merge branch 'master' of https://github.com/4ian/GD 2015-07-14 21:42:09 +12:00
Florian Rival
e0f3781691 Remove DEV build target from CMakeLists.txt (not useful) and fix Debug build 2015-07-14 21:41:57 +12:00
Florian Rival
a4de75d251 Fix infinite loop with Lights on Windows due to floating point rounding error 2015-07-14 21:37:49 +12:00
Florian Rival
41b4150aaa Working Mac OS X package with codesign but no sandbox 2015-07-14 20:20:15 +12:00
Victor Levasseur
b1f1b694f2 Fix typo 2015-07-13 21:25:11 +02:00
victorlevasseur
52976169ae Fix gd::String::ToFloat/Double returning int instead of float/double 2015-07-12 23:50:51 +02:00
Victor Levasseur
7749abeff5 Fix some compilation issues 2015-07-12 14:00:00 +02:00
Victor Levasseur
bacae69f12 Fix FunctionEvent.cpp not building on Travis CI 2015-07-12 13:13:15 +02:00
Victor Levasseur
870b6580f5 Replace std::string with gd::String in all remaining extensions 2015-07-12 12:39:40 +02:00
Florian Rival
9d8b81321b Fix typo 2015-07-12 22:27:50 +12:00
Florian Rival
44da670ae1 Version bump 2015-07-12 20:43:19 +12:00
Florian Rival
79287fa9e2 Add missing images for 3D tower technical demo 2015-07-12 20:41:19 +12:00
Florian Rival
d1981e0b64 Update translations 2015-07-12 20:38:02 +12:00
Florian Rival
671c0fad81 Fix typo in wiki help link 2015-07-12 20:31:14 +12:00
Victor Levasseur
3f1b677f92 Replace std::string with gd::String in TileMapObject 2015-07-11 14:49:15 +02:00
Victor Levasseur
c341bb3113 Replace std::string by gd::String in PlatformAutomatism and TiledSpriteObject 2015-07-10 22:10:31 +02:00
Victor Levasseur
79c90f5e1b Add gd::String::IsValid and ReplaceInvalid
Replace invalid characters when reading XML and JSON files
2015-07-09 21:25:05 +02:00
Victor Levasseur
8f5dcb8598 Fix gd::String::FromLocale 2015-07-09 18:55:17 +02:00
Victor Levasseur
4efab914fe Rename Utf8String.h/.cpp to String.h/.cpp 2015-07-09 18:17:13 +02:00
Victor Levasseur
a550bb8c68 Add conversions from/to std::wstring for gd::String 2015-07-09 17:16:06 +02:00
Victor Levasseur
b50a2715c8 Add more relational operators to gd::String 2015-07-09 16:44:25 +02:00
Florian Rival
c4531df760 Update translations 2015-07-09 19:51:13 +12:00
victorlevasseur
42a2e28d30 Merge branch 'utf8-gdstring' of https://github.com/victorlevasseur/GD into utf8-gdstring 2015-07-09 00:50:57 +02:00
Florian Rival
da37ae5c5d Improve MacOS X packaging 2015-07-09 08:48:41 +12:00
Florian Rival
433da0f2e9 Fix typo 2015-07-09 08:47:30 +12:00
Victor Levasseur
bb202692b5 All methods of gd::String are now implemented inside the class
(and don't rely on the UTF8 tool functions anymore)
2015-07-08 17:16:16 +02:00
Florian Rival
f7e6f2ae5a Update PackageForMacOS.sh to codesign and build .pkg 2015-07-08 12:03:15 +12:00
Florian Rival
a99582c67d Add Advanced 3D tower technical demo 2015-07-08 11:33:54 +12:00
Victor Levasseur
e5601575fa All methods of gd::String are now implemented inside the class inside
(and doesn't rely on the UTF8 tool functions anymore)
2015-07-07 22:38:13 +02:00
Victor Levasseur
f1a7750fc5 Replace std::string by gd::String in TextEntryObject 2015-07-07 16:04:43 +02:00
victorlevasseur
e762aa55b6 Merge remote-tracking branch 'upstream/master' into utf8-gdstring 2015-07-07 13:41:14 +02:00
victorlevasseur
180c76af90 Fix "°" not displayed correctly in EditPropScene 2015-07-07 13:32:00 +02:00
victorlevasseur
2fe320ee3b Remove GD_T() macro 2015-07-07 13:30:13 +02:00
Florian Rival
7f586e2275 Add Italian, Polish, Chinese to Windows installer 2015-07-07 23:20:51 +12:00
Florian Rival
2d6212642a Update translations and add Polish, Italian and Chinese Simplified 2015-07-07 22:46:10 +12:00
Victor Levasseur
92ff667e7f Fix Serializer crashing if a project contains non ASCII characters 2015-07-06 22:29:00 +02:00
Victor Levasseur
6e4f7e67a4 Fix some bad strings conversions 2015-07-06 21:27:47 +02:00
Victor Levasseur
64e804c385 Remove CantUseUtf8() and DontReturnUtf8() from metadatas 2015-07-06 20:41:30 +02:00
victorlevasseur
13429fc8b3 Fix ChooseVariableDialog title 2015-07-06 16:11:03 +02:00
victorlevasseur
c98e97e60a Merge remote-tracking branch 'upstream/master' into utf8-gdstring
Conflicts:
	.travis.yml
	Core/GDCore/BuiltinExtensions/SpriteExtension/Dialogs/SpriteObjectEditor.cpp
	Core/GDCore/Events/Builtin/ForEachEvent.h
	Core/GDCore/Events/Event.cpp
	Core/GDCore/Events/Event.h
	Core/GDCore/Events/EventMetadata.cpp
	Core/GDCore/Events/EventMetadata.h
	Core/GDCore/Events/ExpressionMetadata.h
	Core/GDCore/Events/Instruction.h
	Core/GDCore/Events/InstructionMetadata.h
	Core/GDCore/IDE/Dialogs/EditLayerDialog.cpp
	Core/GDCore/PlatformDefinition/Object.cpp
	Core/GDCore/PlatformDefinition/PlatformExtension.cpp
	Core/GDCore/PlatformDefinition/PlatformExtension.h
	Extensions/Function/Extension.cpp
	Extensions/TextObject/TextObject.h
	Extensions/TimedEvent/Extension.cpp
	GDCpp/GDCpp/BuiltinExtensions/CommonInstructionsExtension.cpp
	GDCpp/GDCpp/BuiltinExtensions/KeyboardTools.h
	GDCpp/GDCpp/BuiltinExtensions/MouseTools.h
	GDCpp/GDCpp/BuiltinExtensions/SceneExtension.cpp
	GDCpp/GDCpp/InputManager.cpp
	GDCpp/GDCpp/RuntimeSpriteObject.cpp
	GDCpp/GDCpp/RuntimeSpriteObject.h
	GDJS/GDJS/BuiltinExtensions/BaseObjectExtension.cpp
	GDJS/GDJS/BuiltinExtensions/CommonInstructionsExtension.cpp
	GDJS/GDJS/BuiltinExtensions/SceneExtension.cpp
	GDJS/GDJS/BuiltinExtensions/VariablesExtension.cpp
	GDJS/GDJS/Exporter.cpp
	GDJS/GDJS/Exporter.h
	IDE/Dialogs/ObjectsEditor.cpp
	IDE/Preferences.cpp
2015-07-06 15:16:59 +02:00
victorlevasseur
707427ccbb Fix some compilation errors on Windows 2015-07-06 12:59:09 +02:00
Florian Rival
f14971650d Merge branch 'master' of github.com:4ian/GD 2015-07-06 22:56:37 +12:00
Florian Rival
daf0b9d8fd Version bump 2015-07-06 22:56:24 +12:00
Florian Rival
f8629492b5 Merge pull request #144 from 4ian/feature/mouse-button-released
Mouse button/key released conditions
2015-07-06 22:48:32 +12:00
Florian Rival
dd849e16dd Modify Key Released condition implementation to workaround SFML events not received during preview on OS X/Linux 2015-07-06 22:42:23 +12:00
Victor Levasseur
587eab3806 Fix DAT file not loaded properly 2015-07-06 11:59:00 +02:00
Florian Rival
cb241ebba7 Add Key released condition 2015-07-06 21:42:38 +12:00
Florian Rival
e12a0729f7 Fix typo in CameraViewport action 2015-07-06 08:56:57 +12:00
Victor Levasseur
346bfd48a2 Replace std::string by gd::String in GDIDE 2015-07-05 22:55:12 +02:00
Victor Levasseur
cd34686ad5 Replace std::string by gd::String in GDJS 2015-07-05 19:12:38 +02:00
Victor Levasseur
84f2833d56 Fix gd::String::operator=(const char*) not returning *this 2015-07-05 17:41:43 +02:00
Victor Levasseur
346a9211d9 Fix another remaining ToString in VariableParserCallback 2015-07-05 17:00:41 +02:00
Victor Levasseur
6b8b395c6d Fix ToString remaining in CommonInstructionsExtension.cpp 2015-07-05 16:44:52 +02:00
Victor Levasseur
e1c38ad80d Fix an ambiguous conversion in gd::ExpressionParser 2015-07-05 16:36:38 +02:00
Victor Levasseur
e1116a1c6d Replace all std::string by gd::String in GDCpp (and GDCpp Runtime) 2015-07-05 16:20:53 +02:00
Victor Levasseur
abe62778f2 Fix gd::String not included in Log.cpp 2015-07-05 00:26:56 +02:00
Victor Levasseur
0a1542ba73 Replace all std::string by gd::String in GDCore
Add some other methods to gd::String (insert, ...)
2015-07-04 23:58:06 +02:00
Victor Levasseur
eb32c32bb9 Add tests for find_first/last(_not)_of and fix a bug in find_last_of 2015-06-28 22:36:45 +02:00
Victor Levasseur
86abc65988 Fix tests with Travis CI (clang) 2015-06-28 21:22:06 +02:00
Victor Levasseur
3c543c1109 Add two gd::String::erase overloads, fix a possible bug in the test 2015-06-28 19:19:29 +02:00
Victor Levasseur
460a7609ae Add a gd::String::replace overload, add a test for this method 2015-06-28 18:44:50 +02:00
Victor Levasseur
10b40edc7e gd::String::rfind is now implemented inside the class 2015-06-28 17:37:27 +02:00
victorlevasseur
e38d500d7a Force the declaration of gd::utf8::String::npos 2015-06-28 13:43:07 +02:00
Victor Levasseur
34845f3abf Add gd::String support in SerializerValue/Element 2015-06-28 12:28:57 +02:00
Victor Levasseur
625708d45e Add gd::String::find overloads, rewrite find method
Add tests for gd::String
2015-06-27 23:18:30 +02:00
Victor Levasseur
49c88ed94d Implement the gd::utf8::String::compare method 2015-06-27 18:12:18 +02:00
Victor Levasseur
728c307f41 Improve documentation of gd::utf8::String
Use the String ctor inside the static conversions methods (FromXXX())
2015-06-27 16:56:54 +02:00
Victor Levasseur
fe24131a82 Add pop_back, replace, find_first/last_(not_)of in gd::utf8::String 2015-06-27 12:49:29 +02:00
Victor Levasseur
c2d10d5088 gd::String can be built from a string literal 2015-06-26 12:20:39 +02:00
Victor Levasseur
f41a2362ab Fix _() returning a wxString 2015-06-25 21:00:57 +02:00
Victor Levasseur
bc10cd8f70 Fix _() undefined when compiling GDCore without wxWidgets 2015-06-25 21:00:01 +02:00
victorlevasseur
660506d068 Fix not exported gd::utf8::String operators 2015-06-25 18:37:49 +02:00
Victor Levasseur
b32732916c Actions and conditions are declared in the extension with gd::String (except for the sentence)
Added push_back and Split methods to gd::String
2015-06-25 16:49:40 +02:00
Florian Rival
52fcffa67b Remove ended touches from touches list at the end of the frame
This allows to use condition like "Cursor is on object" with touches and "Touch has ended" condition.
2015-06-25 15:20:03 +12:00
Florian Rival
8e6d977435 Merge pull request #141 from 4ian/victorlevasseur-patch-1
Force GDevelop to start with the GTK x11 backend on Linux
2015-06-25 14:29:08 +12:00
Florian Rival
5afff31684 Add support for Mouse button released condition 2015-06-24 23:23:01 +12:00
Florian Rival
6831bd6e5d Change wording of some buttons from 'Edition' to 'Edit' 2015-06-24 09:02:39 +12:00
Victor Levasseur
ab791b3a35 Force GDevelop to start with the GTK x11 backend on Linux
as GDevelop can't work with Wayland (uses SFML that only works with x11).
2015-06-23 22:44:23 +02:00
Victor Levasseur
33900e9627 Improved the gd::utf8::String documentation 2015-06-23 16:11:00 +02:00
Victor Levasseur
4f35348546 Add stream operators to gd::utf8::String 2015-06-22 20:59:07 +02:00
Victor Levasseur
1d1bb6e90f Add default parameters to gd::String::find, rfind, substr 2015-06-22 19:16:07 +02:00
Victor Levasseur
7046cf1f75 _() now returns a gd::String object
Make some adjustments in source code to avoid ambiguous conversions.
2015-06-22 13:58:10 +02:00
Victor Levasseur
72411e0a07 Improve the String interface 2015-06-22 10:54:27 +02:00
Victor Levasseur
30e15945a1 Add a String typedef to be able to write gd::String instead of gd::utf8::String 2015-06-22 10:46:56 +02:00
Victor Levasseur
ad0055910b Add wxString implicit constructor and conversion operator to String 2015-06-22 10:45:04 +02:00
Victor Levasseur
ae582ca360 Improve the String class and the Iterator, follow the style of the STL 2015-06-22 10:32:32 +02:00
Victor Levasseur
d52ca6b0bf Remove an useless friendship between the String and its Iterator 2015-06-21 23:38:02 +02:00
Victor Levasseur
f92240330c Improve the String iterator (not more pointer to the string)
Rename some methods of the String class to be consistent with std::string.
2015-06-21 23:28:14 +02:00
Victor Levasseur
24aed30d3e Add an UTF8 String class
The Text Object use it
2015-06-21 22:04:27 +02:00
Florian Rival
00f7619f0e Added p7zip-full to Ubuntu dependencies in docs 2015-06-20 20:55:57 +12:00
Florian Rival
5b904f81df Add more packages to installation documentation for Ubuntu 2015-06-18 08:38:09 +12:00
Florian Rival
f36c46cf52 Add related projects in Readme 2015-06-14 12:12:46 +12:00
Florian Rival
dede5434b2 Add warning message when exporting in an non-empty directory 2015-06-11 09:05:01 +12:00
Florian Rival
eb9ce475ba Merge branch 'master' of github.com:4ian/GD 2015-06-09 23:10:04 +12:00
Florian Rival
2cff490c73 Use GDevelop.js instead of libGD.js for emscripten build 2015-06-09 23:09:18 +12:00
Florian Rival
a0680aee6e Merge pull request #134 from victorlevasseur/feature/tilemap-runtime-resize
Add "Resize tilemap" action
2015-06-08 23:58:11 +12:00
Victor Levasseur
90b4dceeee Add "Resize tilemap" action 2015-06-08 13:53:45 +02:00
Florian Rival
3e98efa00e Merge pull request #133 from victorlevasseur/bugfix/platform-invalid-objects
Fix Project::CreateObject not properly creating objects when multiple platforms are available
2015-06-08 22:03:15 +12:00
Victor Levasseur
5299f1514e The Project::CreateObject method now test if the object has the correct type
(because Platform::CreateObject create a Base object if it can't find the object in its extensions)
2015-06-08 09:18:53 +02:00
victorlevasseur
60e47b844d Depreciated ToString specialization for wxString 2015-06-07 16:48:29 +02:00
Florian Rival
1cef60cb01 Merge pull request #132 from victorlevasseur/bugfix/gtk3-glitches
Fix some widgets not sized correctly under GTK3/Gnome 3
2015-06-07 22:58:33 +12:00
Florian Rival
2008bbbe4a Merge branch 'master' of github.com:4ian/GD 2015-06-07 22:49:30 +12:00
Florian Rival
b0828d0891 Now use libGD.js as directory name for emscripten builds 2015-06-07 22:49:19 +12:00
Victor Levasseur
6a15278034 The parameter button keeps its size 2015-06-07 11:40:09 +02:00
Victor Levasseur
366275dc5d InstructionSelectorDialog is now correctly sized under GTK3 (use default width) 2015-06-07 11:01:57 +02:00
Florian Rival
d728e9cad1 Merge pull request #131 from Lizard-13/fix-init-size-and-animation
Fix setting initial sprite size and animation in HTML5 games
2015-06-07 11:22:41 +12:00
Lizard-13
61fe1a2a2d fix setting initial sprite size and animation in HTML5 2015-06-06 19:15:25 -03:00
Victor Levasseur
c97dd09b60 Fix some LineEdits not correctly sized on GTK3 2015-06-06 11:43:38 +02:00
Victor Levasseur
f6ec5051a8 Fix LineEdits and other widgets not sized correctly under GTK3 2015-06-06 11:23:12 +02:00
Florian Rival
6173af8574 Merge pull request #130 from victorlevasseur/bugfix/tilesize-crash
Ensure the tile size cannot be bigger than the tileset texture size
2015-06-06 09:40:56 +12:00
Victor Levasseur
183dc4bcfd The tile size cannot be bigger than the tileset texture size anymore 2015-06-05 10:00:37 +02:00
Florian Rival
e9a3aa8ffb Update the title of some editors to make them more consistent with other editors 2015-06-05 13:19:19 +12:00
Florian Rival
bc80b3251c Update extensions to be compiled without wxWidgets GUI 2015-06-05 11:25:36 +12:00
Florian Rival
4b21cf333b Exclude Box3DObjectEditor and extensions dialogs from compilation when wxWidgets is deactivated 2015-06-05 00:07:58 +12:00
Florian Rival
c0c05ff46d Updated dlib for CommonDialogs to latest version 2015-06-04 23:15:27 +12:00
Florian Rival
ebb5bbde6f Fix pathfinding not working for native games and add tests for it.
Also activate extensions compilations for Travis.
2015-06-04 22:46:48 +12:00
Florian Rival
0ac53b0fcf Fix scaling of a flipped sprite object for HTML5 games 2015-06-03 23:55:24 +12:00
Florian Rival
3038f05f25 Enable X Virtual Framebuffer for Travis CI tests 2015-06-03 10:07:38 +12:00
Florian Rival
5dd2080a36 Remove unecessary exclusion of ImageManager in gd::Project when compiling without wxWidgets 2015-06-03 09:49:31 +12:00
Florian Rival
b04445e6fb Improve RuntimeSpriteObject documentation 2015-06-02 17:17:04 +12:00
Florian Rival
17dc3df0c1 Add a few tests for Sprite objects 2015-06-02 17:04:55 +12:00
Florian Rival
9fec099114 Fix scale factor of Sprite objects being negative when object is flipped 2015-06-02 10:07:41 +12:00
Florian Rival
2c0f1543ec Prefer to return const reference to std::string instead of std::string by value 2015-06-01 23:23:34 +12:00
Florian Rival
7754321a9b Fix compilation error due to last refactoring 2015-05-25 08:58:07 +12:00
Florian Rival
5896d6d327 Add BaseEvent getter/setter for folded member. Fixes for emscripten bindings 2015-05-24 15:01:59 +12:00
Florian Rival
f0b904941b Fix Backspace key with TextEntry object on Firefox 2015-05-21 23:08:20 +12:00
Victor Levasseur
57356cbce2 Add UTF8 support for sprites points 2015-05-20 13:06:04 +02:00
victorlevasseur
2f1430a512 Add UTF8 support to ChooseObjectTypeDialog 2015-05-14 23:00:05 +02:00
Victor Levasseur
1e7f872292 Add IsUTF8Locale to know if GDevelop is running under an OS with an UTF8 locale
Improve From/ToLocaleString function to be compatible with non UTF8 Linuxes
2015-05-14 15:05:10 +02:00
Victor Levasseur
27dc3e7112 Revert "Use prefered locale for conversions from/to current locale"
This reverts commit 0c32f98804.
2015-05-14 14:23:06 +02:00
victorlevasseur
0c32f98804 Use prefered locale for conversions from/to current locale 2015-05-14 14:03:50 +02:00
Florian Rival
552c6c1d40 Fix GDJS tests with PhantomJS 2015-05-14 21:50:20 +12:00
Florian Rival
4eeabf430d Update to Pixi.js v3 2015-05-13 23:40:21 +12:00
Florian Rival
0f702df4b1 Fix typo and remove useless variable 2015-05-13 19:35:10 +12:00
victorlevasseur
3b1e7d4d49 ResourcesEditor now supports UTF8 (for all properties except paths, kept
in the current locale)
2015-05-11 12:22:32 +02:00
Victor Levasseur
50bc037be9 Fix the UTF SubStr function not throwing an exception when pos > length
Improve UTF8 tests
2015-05-09 12:08:24 +02:00
Victor Levasseur
ed6ef52fd2 Add tests for Utf8 tools 2015-05-09 11:38:59 +02:00
Victor Levasseur
fc2191bfe1 Improve the UTF8 Find and RFind function
Fix a bad behavior in RFind when pos is greater than the string's size
2015-05-09 11:24:11 +02:00
Victor Levasseur
543210b32a Improve the UTF8 substr function (remove the temporary UTF32 encoded string) 2015-05-09 11:18:06 +02:00
Victor Levasseur
4f004b0235 Improve the UTF8 tools documentation 2015-05-08 22:26:06 +02:00
Victor Levasseur
69ce8ba239 Replace translation (by GD_T) in ObjectsEditor 2015-05-08 21:16:54 +02:00
Victor Levasseur
811a0fba65 Merge remote-tracking branch 'upstream/master' into utf8-tr-macro
Conflicts:
	Core/GDCore/BuiltinExtensions/BaseObjectExtension.cpp
	GDCpp/GDCpp/BuiltinExtensions/CommonInstructionsExtension.cpp
	GDJS/GDJS/BuiltinExtensions/AudioExtension.cpp
	IDE/Dialogs/ObjectsEditor.cpp
2015-05-08 18:59:48 +02:00
Florian Rival
f503ee87ab Refactored code generator functions to use std::function and lambdas 2015-05-07 00:00:50 +12:00
Florian Rival
253581919b Merge branch 'master' of github.com:4ian/GD 2015-05-06 19:11:24 +12:00
Florian Rival
38588dd2c9 Removed dead code and small refactorings 2015-05-06 16:28:14 +12:00
Florian Rival
1f08d352f4 Merge pull request #124 from Lizard-13/get-layer-container
Add a getter for PIXI container of gdjs.Layer
2015-05-06 10:01:26 +12:00
Lizard-13
5472b61a82 Get container for layeres 2015-05-05 11:12:08 -03:00
Florian Rival
cb0acf7e6c Remove some CppCheck warnings 2015-05-05 22:10:51 +12:00
Florian Rival
9b34c19856 Merge pull request #123 from victorlevasseur/bugfix/instructions-list
Fix HTML5 games not working with the new instructions container
2015-05-05 21:34:16 +12:00
Florian Rival
cebad7cd62 Revert "Revert "Store instructions as shared pointers instead of as values""
This reverts commit 755807b075.
2015-05-05 21:27:15 +12:00
Victor Levasseur
fa555dc567 Fix HTML5 games not working with the new instructions container 2015-05-04 16:22:19 +02:00
Florian Rival
175c2310b4 Merge pull request #122 from 4ian/revert-121-bugfix/instructions-list
Revert "Store instructions as shared pointers instead of as values"
2015-05-05 00:08:45 +12:00
Florian Rival
755807b075 Revert "Store instructions as shared pointers instead of as values" 2015-05-05 00:08:31 +12:00
Florian Rival
d4e0446793 Merge pull request #121 from victorlevasseur/bugfix/instructions-list
Added gd::InstructionsList and store instructions using shared pointers instead of values

Fix #40
2015-05-04 23:58:20 +12:00
Florian Rival
e66350a4a1 Workaround to fix objects drag'n'drop on Mac OS X 2015-05-04 23:15:22 +12:00
Florian Rival
dee35d7b5d Merge pull request #115 from victorlevasseur/bugfix-objects-with-same-name
Better checks when renaming objects or groups
2015-05-03 21:43:42 +12:00
Florian Rival
ba2d992351 Merge pull request #120 from victorlevasseur/patch-2
Fix GDevelop deb not depending on build-essential
2015-05-03 20:15:08 +12:00
Victor Levasseur
d0590b2e35 Fix GDevelop deb not depending on build-essential 2015-05-03 09:58:57 +02:00
Florian Rival
05eb69061d Fix tests not loading Howler.js 2015-05-03 19:44:22 +12:00
Florian Rival
cb76e7869d Fixed Sound playing offset still using milliseconds 2015-05-03 13:26:46 +12:00
Florian Rival
6b27f15f9d Merge branch 'master' of github.com:4ian/GD 2015-05-03 13:11:59 +12:00
Florian Rival
0be6ba592a Added pitch conditions/expressions for HTML5 games 2015-05-03 13:05:35 +12:00
Florian Rival
e499143e85 Merge pull request #118 from victorlevasseur/patch-1
Fix sound/music playing offset in GDCpp
2015-05-03 11:54:26 +12:00
Victor Levasseur
c38b1426ab Fix the events test 2015-05-02 11:39:26 +02:00
Victor Levasseur
91692c4d29 Replace std::vector<gd::Instruction> by a custom class managing an array of std::shared_ptr<gd::Instruction> 2015-05-02 11:04:55 +02:00
Victor Levasseur
14e3bd6a2d Fix sound/music playing offset in GDCpp 2015-05-02 10:06:55 +02:00
Florian Rival
3ae4f1ba73 Switched to howler.js for the sound system implementation of HTML5 games
Refactored gdjs.SoundManager
2015-05-02 18:36:52 +12:00
Florian Rival
e857f38fdc Use cordova api/plugins instead of Intel XDK api. 2015-04-30 21:22:30 +12:00
Victor Levasseur
69ada00ebc Fix typo in ObjectOrGroupFinder doc 2015-04-29 18:29:39 +02:00
Victor Levasseur
0a60b4f355 Merge remote-tracking branch 'upstream/master' into bugfix-objects-with-same-name 2015-04-29 18:15:27 +02:00
Victor Levasseur
7dd5be4c19 Add UTF8 support in the TextEntry object 2015-04-29 11:28:56 +02:00
Victor Levasseur
a63638dfbd Replace utf8:: by gd::utf8:: when compiling instructions which doesn't support UTF8 2015-04-28 20:32:28 +02:00
Victor Levasseur
d7014bae6f Merge remote-tracking branch 'upstream/master' into utf8-tr-macro
Conflicts:
	Core/GDCore/BuiltinExtensions/BaseObjectExtension.cpp
2015-04-28 20:18:19 +02:00
Victor Levasseur
cec76de46a Fix some compilation errors (created by the previous merge commit) 2015-04-28 20:15:24 +02:00
Victor Levasseur
0049b5c6fa Merge remote-tracking branch 'upstream/master' into utf8-tr-macro
Conflicts:
	Core/GDCore/BuiltinExtensions/SpriteExtension/SpriteExtension.cpp
	Core/GDCore/Events/ExpressionMetadata.h
	Extensions/Box3DObject/Extension.cpp
	Extensions/DraggableAutomatism/Extension.cpp
	Extensions/Light/Extension.cpp
	Extensions/Network/Extension.cpp
	Extensions/PanelSpriteObject/Extension.cpp
	Extensions/ParticleSystem/ExtensionSubDeclaration1.cpp
	Extensions/ParticleSystem/ExtensionSubDeclaration3.cpp
	Extensions/PathAutomatism/Extension.cpp
	Extensions/PathfindingAutomatism/Extension.cpp
	Extensions/PhysicsAutomatism/Extension.cpp
	Extensions/PlatformAutomatism/Extension.cpp
	Extensions/PrimitiveDrawing/Extension.cpp
	Extensions/SoundObject/Extension.cpp
	Extensions/TextEntryObject/Extension.cpp
	Extensions/TextObject/Extension.cpp
	Extensions/TileMapObject/Extension.cpp
	Extensions/TiledSpriteObject/Extension.cpp
	Extensions/TopDownMovementAutomatism/Extension.cpp
	GDCpp/GDCpp/DocMainPage.h
	GDCpp/docs/doxyfile
	GDJS/GDJS/BuiltinExtensions/AudioExtension.cpp
	GDJS/GDJS/BuiltinExtensions/BaseObjectExtension.cpp
	GDJS/GDJS/BuiltinExtensions/CameraExtension.cpp
	GDJS/GDJS/BuiltinExtensions/FileExtension.cpp
	GDJS/GDJS/BuiltinExtensions/JoystickExtension.cpp
	GDJS/GDJS/BuiltinExtensions/NetworkExtension.cpp
	GDJS/GDJS/BuiltinExtensions/SceneExtension.cpp
	GDJS/GDJS/BuiltinExtensions/SpriteExtension.cpp
	scripts/ExtractTranslations.sh
2015-04-28 20:03:27 +02:00
Florian Rival
21bf75ecbc Merge pull request #112 from Lizard-13/patch-1
Fix sprite global color in HTML5
2015-04-27 22:13:39 +12:00
Florian Rival
766afcddde Avoid using too much #ifdef for GD_NO_UPDATE_CHECKER 2015-04-27 22:08:25 +12:00
Florian Rival
0b6be1c988 Merge pull request #109 from victorlevasseur/disable-update-checker-macro
Macro to disable the update dialog
2015-04-27 21:52:15 +12:00
Florian Rival
bdc2e216bb Merge pull request #108 from victorlevasseur/bugfix/event-editor-remove-borders
Remove borders in the eventsPanel from the EventEditor
2015-04-27 21:47:41 +12:00
Florian Rival
b1a4b52dc1 Merge pull request #106 from victorlevasseur/bugfix/high-cpu-usage
Fix the high cpu usage when switching to the event editor on Linux
2015-04-27 21:43:28 +12:00
Florian Rival
4cff715741 Fixed typo 2015-04-27 21:37:38 +12:00
Florian Rival
c3e53aa877 Merge branch 'master' of github.com:4ian/GD 2015-04-27 21:34:51 +12:00
Florian Rival
eea57cc65f Minor change to enable a V8 optimization 2015-04-27 21:34:35 +12:00
Florian Rival
88fc1c3bfd Merge pull request #107 from victorlevasseur/bugfix/sprite-image-insertion-order
Fix images insertion order when adding multiple picture to an animation
2015-04-27 19:07:33 +12:00
Lizard-13
c8c654f5f8 Fix sprite global color in HTML5
The action to modify the sprites global color is broken, this should fix it :)
Actually, just colors[2] needs to be converted to int, but this way is more clear.
2015-04-25 21:45:51 -03:00
Victor Levasseur
9d8a5b35bd Fix the news not downloaded when the update dialog is disabled 2015-04-25 18:00:13 +02:00
Victor Levasseur
c2235cd1b3 Enable the GD_NO_UPDATE_CHECKER in the packages' build scripts 2015-04-25 17:46:52 +02:00
Victor Levasseur
8c4ce675db Add a GD_NO_UPDATE_CHECKER macro to disable the update dialog and the automatic update check when GDevelop starts 2015-04-25 17:41:19 +02:00
Victor Levasseur
b800264456 Remove borders in the eventsPanel from the EventEditor 2015-04-25 12:03:30 +02:00
Victor Levasseur
f242a5dad0 Fix images insertion order when adding multiple picture to an animation of a sprite object 2015-04-25 09:40:55 +02:00
Victor Levasseur
5c8c5800e6 Fix the high cpu usage when switching to the event editor on Linux 2015-04-24 22:44:12 +02:00
Florian Rival
752d2a48cf Added Backspace as an alternative to Delete key shortcut 2015-04-23 22:12:42 +12:00
Florian Rival
c2dc553571 Simplified function name declaration for actions/conditions/expressions 2015-04-23 21:30:04 +12:00
Florian Rival
ef2eea8b1c Added Pick Nearest Object condition for HTML5 games + tests for it. 2015-04-23 20:31:45 +12:00
Florian Rival
53aaade1bb Fixed methods names not written in camelCase 2015-04-23 14:24:28 +12:00
Florian Rival
ec5d6b3489 Make PickRandomObject return false when no object picked for HTML5 games 2015-04-23 08:39:05 +12:00
Florian Rival
11cfb9e235 Added 'Pick nearest object' condition for native games 2015-04-22 20:10:32 +12:00
Florian Rival
f1ca1348cb Fix automatisms deactivation for HTML5 games 2015-04-22 15:19:12 +12:00
Florian Rival
cc07b135cb Version bump 2015-04-20 15:59:34 +12:00
Florian Rival
f371ca294e Merge pull request #103 from victorlevasseur/master
Fix extension not copied to the destination directory on Linux/MacOS
2015-04-20 08:40:02 +12:00
Victor Levasseur
45fd0145c2 Fix extension not copied to the destination directory on Linux/MacOS 2015-04-19 21:45:21 +02:00
Florian Rival
6c01538a73 Merge pull request #101 from 4ian/platformer-optimizations
Platformer engine optimizations
2015-04-19 22:54:02 +12:00
Florian Rival
ac7337ea67 Refactoring and added tests for platformerobjectruntimeautomatism.js 2015-04-19 22:53:02 +12:00
Florian Rival
47ef1d2152 Updated Readmes and some comments 2015-04-19 21:48:41 +12:00
Florian Rival
f578ad6c2a Optimized platformer engine for HTML5 games 2015-04-16 23:36:15 +12:00
Florian Rival
74eaf9642a Fixed formatting of Mac OS X compilation help page 2015-04-13 21:11:03 +12:00
Florian Rival
6a567805c9 Merge branch 'master' of github.com:4ian/GD 2015-04-13 18:51:44 +12:00
Florian Rival
607dc63f8c Added Mac OS X Bundle icon and updated docs/metadata files 2015-04-13 18:51:28 +12:00
Victor Levasseur
1dce6df524 Fix a compilation issue in ObjectEditor 2015-04-12 22:53:39 +02:00
Victor Levasseur
62cc061b6f Move tools to search objects and groups in another class
Improve error messages
2015-04-12 22:49:29 +02:00
Florian Rival
fb0cf6707f Merge pull request #99 from victorlevasseur/font-liberation
Replace Arial by Liberation (a free font licensed under SIL OFL 1.1)
2015-04-13 08:31:11 +12:00
Victor Levasseur
32ee6b5a8c Replace Arial by Liberation (a free font licensed under SIL OFL 1.1) 2015-04-12 18:50:03 +02:00
Florian Rival
20420207d0 Added Windows installer PT and DE languages files for configuring GDevelop 2015-04-12 18:11:58 +12:00
Florian Rival
80dcd3b90b Updated translations, and enabled more languages for Windows Installer 2015-04-12 17:59:39 +12:00
Florian Rival
69f1750c88 Hide all angle related instructions (deprecated, use Base object conditions/actions instead) 2015-04-12 17:28:05 +12:00
Florian Rival
dd914bf747 Fixed default height of new project dialog on Mac OS X 2015-04-12 16:02:32 +12:00
Florian Rival
285cae40ba Changed wording of animation speed scale action. Removed useless calls to std::cout. 2015-04-12 15:56:52 +12:00
Florian Rival
e389b4c24d Fixed rendering of Link events 2015-04-12 15:55:43 +12:00
Florian Rival
61f9be1b20 Fixed libPNG warnings in SpriteObjectEditor 2015-04-12 14:49:51 +12:00
Florian Rival
d0f14fd803 Ensure properties panel of ResourceEditor can be used on Linux&Mac OS X (the panel is frozen if not docked) 2015-04-12 14:49:21 +12:00
Florian Rival
54ec6d0737 Refactoring part of ForEach events code generation and fixed CppCodeEvent not always generating its source file 2015-04-12 12:23:13 +12:00
Victor Levasseur
5ca471c246 Improve test on the name of renamed objects/groups (and also when setting an object/group global)
Improve warning message when another object/group with the same name is found
2015-04-12 00:40:37 +02:00
Florian Rival
99849ad32c Merge pull request #98 from Wend1go/linux_preferences
Added 'all files' filter to opendialog in preferences - external image editor
2015-04-11 10:43:59 +12:00
Matthias Meike
b3679ae214 Added 'all files' filter to openfile dialog in preferences - external image editor 2015-04-10 22:14:04 +02:00
Florian Rival
9032164b2c Added total opening count to analytics data 2015-04-07 22:58:13 +12:00
Florian Rival
2b902debc5 Updated translations and added German and Portuguese (partial) translations 2015-04-07 22:12:33 +12:00
Florian Rival
d967f9d3c0 Merge pull request #96 from victorlevasseur/master
Fixed little issues in examples.
2015-04-07 09:15:16 +12:00
victorlevasseur
9ef560acff Fix a PNG encoded in 8 bits (not usable by SFML) 2015-04-06 15:01:32 +02:00
victorlevasseur
b1907d323f Fix wrong platform in the Slot machine example 2015-04-06 14:56:40 +02:00
Florian Rival
2afc1b926c Store logs of Mac OS X app in ~/.GDevelop 2015-04-03 12:57:18 +13:00
Florian Rival
b20ebddadf Merge branch 'macos-bundle'
Conflicts:
	Core/GDCore/DocMainPage.h
2015-04-03 11:20:05 +13:00
Florian Rival
abf2127d2f Version bump 2015-04-03 11:12:37 +13:00
Florian Rival
3121e632ec Fixed MacOS bundle and updated docs 2015-04-03 00:07:29 +13:00
Florian Rival
d5b18fa718 Merge branch 'macos-bundle' of github.com:4ian/GD into macos-bundle 2015-04-02 23:26:09 +13:00
Florian Rival
5926bdb67b Updated docs and minor changes 2015-04-02 23:25:48 +13:00
Florian Rival
e25e8482a1 Fixed broken compilation not linking to extensions for Windows and Linux 2015-04-02 22:19:10 +13:00
Florian Rival
6e911147d0 Moved and updated packaging scripts for Windows 2015-04-02 21:41:14 +13:00
victorlevasseur
99032cca76 Expressions (num and str) editors now support expressions' names and
descriptions in UTF8
2015-03-31 23:12:31 +02:00
victorlevasseur
bc8a9c212b InstructionSelectorDialog converts instructions' name and description from
UTF8
2015-03-30 20:55:12 +02:00
Florian Rival
48418e58fe Simplified gd::Serializer tests 2015-03-30 22:47:30 +13:00
Florian Rival
d4cfc645f7 Fixed JSON serializer not handling quotes properly in prop. names and variables serialization. Added tests for it. 2015-03-30 22:19:57 +13:00
Florian Rival
90b6d1f2f1 Added tests for gd::Serializer. Ensure tests can be run from build path in Mac OS 2015-03-30 21:31:24 +13:00
Florian Rival
ab53f71daf Fixed height of comment events when no text displayed 2015-03-30 21:25:25 +13:00
victorlevasseur
f1b1453bc4 Fix a compilation error when inside GDevelop 2015-03-29 23:58:40 +02:00
victorlevasseur
ab5fab6d8d Fix a compilation problem with the CommonDialogs extension on Windows 2015-03-29 23:36:31 +02:00
victorlevasseur
c4e899465a Extensions and GDJS now use GD_T where it is possible 2015-03-29 22:28:25 +02:00
victorlevasseur
e66fe1ae90 Fix some source files still encoded in ISO 8857-1 2015-03-29 22:05:58 +02:00
victorlevasseur
3568f760f0 Fix AudioExtension using _() instead of GD_T() 2015-03-29 21:54:47 +02:00
victorlevasseur
2512ee6aed Fix FileExtension using _() instead of GD_T() 2015-03-29 21:47:39 +02:00
victorlevasseur
adf15d3f25 Fix RuntimeObject using _() instead of GD_T() 2015-03-29 21:40:21 +02:00
victorlevasseur
c969da19cc Add xgettext.exe to generate .pot for Windows 2015-03-29 20:20:13 +02:00
victorlevasseur
c9cb5faa09 Add GD_T as a gettext keyword when generating pot file 2015-03-29 20:06:36 +02:00
victorlevasseur
80a8e6a7f7 Fix CppPlatform using _() instead of GD_T() 2015-03-29 19:22:49 +02:00
victorlevasseur
7a99f72c48 Fix RuntimeSpriteObject using _() instead of GD_T() 2015-03-29 19:15:03 +02:00
victorlevasseur
70866abc81 Fix some GDCore files using _() instead of GD_T() 2015-03-29 19:02:43 +02:00
victorlevasseur
b772a99ff0 Add GD_T macro to translate UTF8 std::string (and _ macro is for wxString
only)
Updated all source code to use the new macro
2015-03-29 14:40:07 +02:00
Florian Rival
aaf9205be5 Merge pull request #90 from victorlevasseur/feature-animation-speed
Change animation speed scale of a sprite object
2015-03-29 23:03:47 +13:00
victorlevasseur
5d8e7e31fb Merge remote-tracking branch 'upstream/macos-bundle' into utf8 2015-03-29 11:59:31 +02:00
Victor Levasseur
b4e7f90400 Fix AnimationSpeedScale attribute with an uppercase 2015-03-29 11:43:23 +02:00
Florian Rival
e8d55c2d21 Merge pull request #94 from victorlevasseur/patch-4
Fix SFML not linked to GDIDE.exe and GDIDE_dev.exe
2015-03-29 18:22:39 +13:00
Florian Rival
3a3fabd0ac Merge pull request #93 from victorlevasseur/patch-3
Fix variables from Extlibs/CMakeLists.txt on Windows
2015-03-29 15:23:58 +13:00
Florian Rival
9cb741c1e6 Merge pull request #91 from victorlevasseur/feature-preview-sprite-editor
Add a preview when adding images from files in the sprite editor
2015-03-29 15:21:16 +13:00
Victor Levasseur
fc39808092 Fix SFML not linked to GDIDE.exe and GDIDE_dev.exe 2015-03-28 22:26:10 +01:00
Victor Levasseur
f6c69dd70a Fix variables from Extlibs/CMakeLists.txt on Windows
Need to set the variables locally then set them in the PARENT_SCOPE
2015-03-28 21:43:31 +01:00
Victor Levasseur
d78538ce10 Add a preview when adding images from files in the sprite editor 2015-03-28 16:26:53 +01:00
Victor Levasseur
7693a067bd Add comments to the animation speed scale example 2015-03-28 16:14:45 +01:00
Victor Levasseur
50902f849f Add an action and an expression for the animation speed scale of Sprite objects 2015-03-28 16:08:18 +01:00
Florian Rival
1411bfcce8 Merge pull request #87 from victorlevasseur/fix-tilemap
Fix a memory crash (can't create more wxBitmap) when tiles are re-generated if the tileset contains a lot of tiles
2015-03-27 13:07:43 +13:00
Victor Levasseur
42f14c1c84 Remove a useless comment 2015-03-27 00:58:39 +01:00
Victor Levasseur
13f26a6d83 Merge remote-tracking branch 'upstream/macos-bundle' into utf8
Conflicts:
	Core/GDCore/Events/Builtin/LinkEvent.cpp
	Core/GDCore/IDE/EventsRenderingHelper.h
	Extensions/CommonDialogs/CommonDialogs.cpp
2015-03-26 23:46:12 +01:00
Florian Rival
fff226aff8 Added Slot machine example (thanks to Erdo) 2015-03-25 14:17:13 +13:00
Florian Rival
7460f69487 Fixed GetUsedVirtualMemory returning its result in bytes instead of kilobytes on Windows 2015-03-19 16:52:36 +13:00
Florian Rival
6ac19fca77 Fixed compilation on Linux and Windows 2015-03-19 16:00:03 +13:00
Florian Rival
1787e4bb99 Simplified SFML target_link_libraries commands in CMakeLists.txt 2015-03-19 15:24:17 +13:00
Florian Rival
8ff6884837 Factored includes declarations in CMakeLists.txt for extensions 2015-03-19 14:43:38 +13:00
Florian Rival
836b46477b Factored defines declarations in CMakeLists.txt for extensions 2015-03-19 14:04:07 +13:00
Florian Rival
e61e5163b7 Factored targets declarations in CMakeLists.txt for extensions 2015-03-19 13:22:47 +13:00
Florian Rival
a38c90bdbd More simplifications in some CMakeLists.txt 2015-03-19 11:31:18 +13:00
Florian Rival
191881987e Factored all linking tasks in extensions CMakeLists.txt 2015-03-19 11:23:41 +13:00
Florian Rival
0b8f2e0b8d Fixed wxWidgets libpng warnings when creating a DebuggerGUI 2015-03-18 22:20:24 +13:00
Florian Rival
ce603f4c06 Removed dead code and small refactoring 2015-03-18 18:34:25 +13:00
Florian Rival
bac2aa2018 Added basic script to package for Mac OS X 2015-03-18 17:32:09 +13:00
Florian Rival
c6f70cf472 Factored parts of CMakeLists.txt 2015-03-18 17:21:12 +13:00
Florian Rival
4382225576 Factored some parts of CMakeLists.txt 2015-03-18 17:03:51 +13:00
Florian Rival
1997c8d0a0 Tiny clarification in documentation 2015-03-17 11:29:25 +13:00
Florian Rival
f81290e1b8 Merge branch 'master' of github.com:4ian/GD 2015-03-17 11:00:51 +13:00
Florian Rival
ae0d05d074 Updated link to download Windows compiler in docs 2015-03-17 11:00:37 +13:00
Florian Rival
4145f33ff6 Updated doc with GTK+ dependency on Ubuntu 2015-03-16 16:32:01 +13:00
victorlevasseur
7ca447c5fd Fix a crash when there are a lot of tiles in a tilemap object 2015-03-15 16:28:54 +01:00
Florian Rival
527cf5a715 Merge pull request #86 from victorlevasseur/patch-2
Remove GD_API in ObjectsListsTools.h
2015-03-15 23:44:35 +13:00
Victor Levasseur
8d6a59e12e Remove GD_API in ObjectsListsTools.h 2015-03-15 11:38:57 +01:00
victorlevasseur
198ad39e06 Project manager supports UTF8 2015-03-15 11:02:23 +01:00
Florian Rival
6bfa99e2ad Merge branch 'feature-multitouch' 2015-03-15 19:12:41 +13:00
Florian Rival
b4e4d5b9ae Added multitouch example 2015-03-15 18:22:22 +13:00
Florian Rival
05072ecf23 Adapted Web Platformer template to have on-screen controls 2015-03-15 18:03:42 +13:00
Florian Rival
a5e9f4bdec Added action to de/activate mouse simulation with touch events. Refactoring and MacOS adaptations. 2015-03-15 17:34:49 +13:00
Florian Rival
4f17be3b6a Merge pull request #85 from victorlevasseur/master
Add a thumbnail to the file dialog when adding a picture
2015-03-15 17:27:51 +13:00
Florian Rival
f358a12957 Adapted scene editor buttons for Retina screens and fixed bad mouse coordinates computation 2015-03-15 15:06:31 +13:00
Florian Rival
e7fcb2e3de Fixed libPNG warnings in ObjectsEditor and factored lists rendering by using ObjectListDialogsHelper 2015-03-15 14:41:05 +13:00
Victor Levasseur
e444d22d18 Add a thumbnail to the file dialog when adding a picture 2015-03-14 11:49:31 +01:00
Florian Rival
8cac0d1260 Removed line causing freeze with wxProgressDialog + wxSFMLCanvas on Mac OS X, and enabled back the progress dialogs. 2015-03-14 15:34:33 +13:00
Florian Rival
983a0bffc6 Removed any use of wxProgressDialog on Mac OS X (Freeze the app due to the call to YieldFor while running SFML canvas) 2015-03-13 22:59:13 +13:00
Florian Rival
db123a4dab Gray out ribbon icons of Projects tab if they can't be used 2015-03-13 22:25:03 +13:00
Florian Rival
ed957916b9 Added gdjs.InputManager.touchSimulateMouse and tests for it 2015-03-13 12:25:06 +13:00
Florian Rival
0a768a4496 Updated wording, added user language to Analytics 2015-03-12 22:21:20 +13:00
Florian Rival
caeabc2fec Scene editor 'Edition' ribbon button now called 'Stop the preview' 2015-03-12 14:16:42 +13:00
Florian Rival
f29d17ec91 Made draggableruntimeautomatism.js working with multitouch and added tests for it 2015-03-12 13:47:24 +13:00
Florian Rival
130f5526f2 Allow gdjs.register* functions to be called multiple times 2015-03-11 17:15:58 +13:00
Florian Rival
ddb1f1dbda Support for (multi)touch in gdjs.RuntimeObject.cursorOnObject 2015-03-11 16:23:46 +13:00
Florian Rival
b36ae89326 Fixed warnings and do a bit of refactoring 2015-03-10 23:02:00 +13:00
Florian Rival
2f3422db70 Removed a clang warning 2015-03-10 20:18:55 +13:00
Florian Rival
99ce00dd57 Merge branch 'macos-support' into feature-multitouch 2015-03-10 19:56:16 +13:00
Florian Rival
2f45674e16 Added touch conditions/expressions icons 2015-03-10 17:47:23 +13:00
Florian Rival
125cbafcc0 Fixed crashs in tests with Clang due to a missing return statement in InputManager.
Also reverted .travis.yml to use the Clang version provided by Travis.
TODO: Check every Clang warning to avoid other crashs like that one.
2015-03-10 17:18:15 +13:00
Florian Rival
191dd9487a Removed useless code 2015-03-10 16:20:44 +13:00
Florian Rival
d0e10d8904 Ensure all wxStyledTextCtrl are using a proper font size 2015-03-10 12:08:37 +13:00
Florian Rival
4de9107f41 Fixed ParameterControlsHelper not working properly on MacOS X 2015-03-10 11:54:01 +13:00
Florian Rival
2b6b67a988 Force Travis to use Clang 3.5 for tests 2015-03-10 11:04:40 +13:00
Florian Rival
7c6d59de3e Fixed tests compilation on MacOS X 2015-03-10 10:03:30 +13:00
Florian Rival
639a1e3a93 Updated links and comments rendering for better support of retina devices 2015-03-10 09:26:51 +13:00
Florian Rival
203ef52776 Added gd::GUIContentScaleFactor and adapted events editor to "Retina" devices
TODO: Adapt non-standard events to "Retina" devices (i.e: Use bigger fonts)
2015-03-10 00:23:55 +13:00
Florian Rival
656e513c89 Removed useless indentation in EventsRenderingHelper.h 2015-03-09 22:46:09 +13:00
victorlevasseur
2442979860 Add UTF8 support to the variable editor/selector 2015-03-07 22:47:56 +01:00
Florian Rival
ddd2bbdc9a Fixed freeze on OSX with wxSafeYield
Known bugs:
Crash when going from preview to edition
Compilation not working with extension (libExtensionName.dylib needed, need to do symlinks to ExtensionName.xgd)
Retina support for EventsEditor
Parameter helper windows won't work/crash.
2015-03-07 13:41:12 +13:00
Florian Rival
b2a3ec44a4 Tweaked CMakeLists.txt and some files for MacOS compilation 2015-03-07 12:15:08 +13:00
victorlevasseur
76f0fd7834 Sprite Object converts UTF8 to the current locale when loading the object 2015-03-04 16:22:34 +01:00
Florian Rival
b35ce4876c Fixed compilation errors on gcc 4.6 not supporting data member initializer 2015-03-04 07:32:11 +01:00
Florian Rival
1c58546dc9 Added tests for gdjs.InputManager 2015-03-04 15:37:55 +13:00
Florian Rival
b7932c88fd Updated Travis configuration to launch GDJS tests 2015-03-04 11:34:27 +13:00
victorlevasseur
9e3753cf04 Add Find and RFind functions for UTF8 strings 2015-03-03 12:20:32 +01:00
Florian Rival
f4d905afe3 Added multitouch conditions and expression for HTML5 games. (Need testing and update cursor is on object condition) 2015-03-03 11:12:53 +01:00
Florian Rival
eeeb2fd649 Fixed typo 2015-03-03 09:08:15 +01:00
Florian Rival
2abde472a5 Fixed typos 2015-03-03 08:28:06 +01:00
Florian Rival
cb84a16584 Added cursorOnObject condition support for HTML5 games. Added gdjs.evtTools.object.PickObjectsIf and tests for it. 2015-03-03 08:19:08 +01:00
Florian Rival
3eaf3504ce Added tests for gdjs.evtTools.object.TwoListsTest 2015-03-03 15:48:19 +13:00
victorlevasseur
ca0a8774a4 Remove useless Utf8Tools duplicate from GDCpp 2015-03-02 10:59:31 +01:00
Florian Rival
e630e8e3b2 Fixed typo 2015-03-02 10:50:16 +01:00
Florian Rival
acbb6d4594 Refactored the condition testing if the cursor is on a sprite object so that it can be used for any object type (Not yet done for GDJS). Added PickObjectsIf and refactored TwoObjectListsTest with C++11 lambdas. Added tests for it. 2015-03-02 10:47:35 +01:00
Florian Rival
6cbd70c2b0 Added InputManager to GDCpp game engine. Platformer objects can now jump with space key. 2015-03-02 07:57:02 +01:00
Victor Levasseur
cd8d0d9040 Windows ansi project can now be converted on Linux 2015-03-01 10:59:44 +01:00
victorlevasseur
1e81ecf502 Merge branch 'utf8' of https://github.com/victorlevasseur/GD into utf8 2015-02-28 19:03:53 +01:00
victorlevasseur
ca10e236dc Force conversion even if the project file is valid (as Locale string
conversion works correctly on Linux now)
2015-02-28 19:02:12 +01:00
victorlevasseur
804813f2ab Force ResourceManager to use locale string (conversion from UTF8 when it's
serialized)
2015-02-28 18:48:16 +01:00
Florian Rival
cc17702e46 Added gdjs.InputManager 2015-02-26 02:05:48 +01:00
Florian Rival
bd7c09b05a Added CurrentSceneName() expression 2015-02-25 09:03:27 +01:00
Florian Rival
d93bfd709d Update Readme with roadmap links 2015-02-25 05:05:56 +01:00
Florian Rival
157a9de543 Merge pull request #83 from victorlevasseur/patch-1
Disable wxwidgets' assertions to remove locale errors
2015-02-21 00:11:48 +01:00
Victor Levasseur
348459c9bf Disable wxwidgets' assertions to remove locale errors 2015-02-20 12:33:53 +01:00
Florian Rival
b397f48f89 Merge pull request #82 from 4ian/c++11
Switch to C++11
2015-02-19 19:32:55 +01:00
Victor Levasseur
581f53d7f9 utf8::From/ToLocaleString return the same string on Linux (as its locale is UTF8) 2015-02-17 18:43:44 +01:00
Victor Levasseur
28c9e8d6ef Fix project file conversion on Linux 2015-02-17 18:25:05 +01:00
victorlevasseur
ff5dc33c74 Fix utf8 project read like ansi project. Force UTF8 encoding when reading
a project (to avoid bad encoding detection if extensions still save some
ANSI strings into it)
2015-02-17 17:38:43 +01:00
victorlevasseur
2038182636 Add compatibility with old projects (which were saved in ANSI).
Add documentation for UTF8 tools (not complete yet)
2015-02-17 17:23:51 +01:00
victorlevasseur
0cd25fd5be Show variable name correctly in debugger 2015-02-17 11:31:50 +01:00
victorlevasseur
18e8bba745 CommonDialogs now supports UTF8 strings 2015-02-15 15:51:58 +01:00
victorlevasseur
aa2edd41d5 Force locale strings in texture loading actions 2015-02-15 13:26:27 +01:00
victorlevasseur
35ecff341f Can use locale strings for parameters using a function when declaring the
intruction
2015-02-15 13:19:46 +01:00
victorlevasseur
b869115e84 Add UTF8 support in expressions parameters edition dialog 2015-02-15 11:55:36 +01:00
victorlevasseur
42e16e0675 Add conversion function from/to locale std::string 2015-02-14 22:01:16 +01:00
victorlevasseur
8942ee9dc3 Add UTF8 support into the event editor and numeric expressions dialog
Add gd::utf8::SubStr function
2015-02-14 18:21:56 +01:00
victorlevasseur
ec1fdf44ea Fix Utf8Tools.cpp not compiling 2015-02-14 14:39:28 +01:00
victorlevasseur
6e3772fdcc Add a function to remove invalid utf8 code points from strings 2015-02-14 14:37:45 +01:00
Victor Levasseur
a39b67b042 Move UTF8 tools to another file. Add conversion between UTF8 and wstring 2015-02-14 13:06:50 +01:00
Victor Levasseur
41ac0fe2a0 Add basic support for UTF8 in the TextObject.
String expression editor now returns a std::string encoded in UTF8
Add UTF8 tools (and UTF8-CPP header library)
2015-02-14 11:34:46 +01:00
Florian Rival
719bcc3301 Merge branch 'c++11' of github.com:4ian/GD into c++11 2015-01-31 18:10:26 +01:00
Florian Rival
cedd93cf26 Typo fixes 2015-01-31 18:09:15 +01:00
Florian Rival
6f768f0929 Merge pull request #78 from Lizard-13/patch-1
Render window border over the grid
2015-01-29 21:44:33 +01:00
Lizard-13
c2fdc0ae86 Render window border over the grid
Just to propose change the render order, the grid can easily hide the window border.
2015-01-29 18:37:28 -02:00
Florian Rival
5191f3b50a Updated batch scripts to copy MinGW/TDM-GCC compiler and additional dlls to output directory. 2015-01-27 21:52:51 +01:00
Florian Rival
fe7273ed2e Switched back to original PNG files for games and resources to avoid 8bit png files not supported by SFML 2015-01-26 22:55:04 +01:00
Florian Rival
a289f05a4c Ensure SFML dependencies dlls and wxWidgets dlls are copied when building for Windows. 2015-01-26 22:29:30 +01:00
Florian Rival
6043e22633 Stripped PNG files to avoid libpng warnings (still some warnings when opening scene editor though). 2015-01-26 22:27:54 +01:00
Florian Rival
2317368415 Merge branch 'remove-boost' of https://github.com/victorlevasseur/GD into c++11
Conflicts:
	GDCpp/GDCpp/ObjInstancesHolder.cpp
2015-01-25 20:12:14 +01:00
Florian Rival
b96faee7ad Added options to PackageForUbuntu.sh script 2015-01-25 19:15:07 +01:00
Florian Rival
d8c8bf997b Version bump 2015-01-25 13:36:15 +01:00
Florian Rival
48b5c8aa42 Fixed ObjInstancesHolder copy-ctor and assignment operator & added tests for it 2015-01-25 13:17:34 +01:00
Florian Rival
498bd9fe8e Go back to old Travis configuration. 2015-01-22 22:27:44 +01:00
Florian Rival
3383f8fbc0 Enabled extension building and testing on Travis CI. 2015-01-22 22:09:50 +01:00
Florian Rival
cf9007ac26 Updated translations. 2015-01-22 21:48:39 +01:00
Florian Rival
64e6860718 Version bump.
Updated copyrights.
2015-01-22 21:22:01 +01:00
Victor Levasseur
2057f26b62 Remove boost in the last commit 2015-01-22 18:28:18 +01:00
Victor Levasseur
e05a606139 Merge remote-tracking branch 'upstream/master' into remove-boost
Conflicts:
	GDCpp/GDCpp/ObjInstancesHolder.cpp
	GDCpp/GDCpp/ObjInstancesHolder.h
	GDCpp/GDCpp/RuntimeScene.cpp
	GDCpp/GDCpp/RuntimeScene.h
2015-01-22 18:20:07 +01:00
Florian Rival
67db5bf5ac Fixed hitboxes of PanelSprite/TiledSprite/Text objects not properly updated in HTML5 games 2015-01-20 23:10:09 +01:00
Florian Rival
f5bc1ed5b7 Ensure that platformer object are able to jump after being stuck into an obstacle 2015-01-20 22:14:50 +01:00
Florian Rival
36e357d8c5 Refactored part of RuntimeScene with a new container for automatisms shared data. Removed std::cout calls in TileMapTools.cpp 2015-01-20 21:33:06 +01:00
Victor Levasseur
0e92ebfd4a Remove boost 2015-01-20 18:29:55 +01:00
Florian Rival
6c9cf071ea Fixed crash with extensions due to gd::Project::extensionsUsed not being copied properly at runtime. Added tests for LinkedObjects extension 2015-01-20 09:35:10 +01:00
Florian Rival
d159bd620b Added --no-upload parameter to PackageForUbuntu.sh script 2015-01-20 00:09:34 +01:00
Victor Levasseur
c8879a20db Replace boost::to_upper/to_upper_copy with gd::StrUppercase 2015-01-19 20:26:01 +01:00
Victor Levasseur
de9bb0470e Merge branch 'win-wx3-gcc4.9-c++11' into remove-boost 2015-01-18 21:46:30 +01:00
Victor Levasseur
5932a3f5a6 Merge remote-tracking branch 'upstream/master' into win-wx3-gcc4.9-c++11 2015-01-18 21:45:47 +01:00
Victor Levasseur
c43ef6166c Merge branch 'win-wx3-gcc4.9-c++11' into remove-boost 2015-01-18 21:34:08 +01:00
Victor Levasseur
d8e85e6955 Add the C++11 flags for Linux too 2015-01-18 21:33:25 +01:00
victorlevasseur
ae1f6d61b3 Remove boost dependency (boost::to_upper still remaining) 2015-01-18 21:09:45 +01:00
Florian Rival
dd7f98fdac Fixed PackageForOBS.sh not working with git 1.9.1 2015-01-18 19:20:36 +01:00
Florian Rival
875a5eb73a Merge pull request #73 from victorlevasseur/opensuse-build-service
OBS support (build package for Fedora/Opensuse and ArchLinux) + Linux integration improvements
2015-01-18 19:00:24 +01:00
Florian Rival
b391b12f60 Merge pull request #74 from 4ian/feature-primitivedrawing-js
Ported PrimitiveDrawing to JS platform
2015-01-18 18:57:25 +01:00
Florian Rival
ed5b9d2a33 Renamed DrawerObject to ShapePainterObject. Fixed typo ipo in gdjs.shapepainterruntimeobject.setOutlineOpacity name 2015-01-18 18:48:28 +01:00
Florian Rival
6eea30d35a Ported PrimitiveDrawing for HTML5 games 2015-01-18 18:01:11 +01:00
victorlevasseur
9d75da7c76 Use correct C++11 flag according to the compiler 2015-01-18 16:15:11 +01:00
victorlevasseur
d2b4d678ea Revert changes in a dlib test 2015-01-18 16:03:57 +01:00
victorlevasseur
f18b258083 Add support for TDM-GCC 4.9.2 with C++11
GNU extensions are also activated as wxWidgets cannot be built without
them
2015-01-18 15:54:31 +01:00
Victor Levasseur
a02f905f82 Add a changelog for ArchLinux 2015-01-17 18:10:38 +01:00
Florian Rival
b7961926c8 Fixed Windows compiler download link in documentation 2015-01-17 17:12:11 +01:00
Florian Rival
0d3b8e90ef Automatically complete automatism name for a parameter when clicking on the dialog button or show a message if object can't be used 2015-01-16 10:23:22 +01:00
Florian Rival
abcb040462 Merge pull request #72 from 4ian/feature-panelspriteobject-js
Ported PanelSpriteObject to JS platform
2015-01-15 19:27:06 +01:00
Florian Rival
2612df46c7 Renamed Drawer Object to Shape Painter 2015-01-14 22:53:20 +01:00
Florian Rival
ced2dcf782 Fixed RuntimeDrawerObject::DrawRectangle 2015-01-14 22:43:18 +01:00
Florian Rival
768204bb56 Removed useless extension virtual destructors. Updated Panel Sprite object description 2015-01-14 22:25:38 +01:00
Florian Rival
9dbe80e5b3 Ported PanelSpriteObject for HTML5 games 2015-01-14 21:51:34 +01:00
Florian Rival
d7d4c3b18c Fixed old comment 2015-01-13 22:49:58 +01:00
Victor Levasseur
f58b1d883c Add execution permission to the desktop file 2015-01-13 20:51:19 +01:00
Florian Rival
4a287c3b94 Added LastPressedKey expression and refactored a bit parts of RuntimeScene. Also fixed extensions licenses. 2015-01-12 23:31:41 +01:00
Victor Levasseur
74b4501134 Add execution permission to /usr/bin/gdevelop 2015-01-12 21:30:28 +01:00
Victor Levasseur
698a0d5a44 PKGBUILD script file forgotten 2015-01-12 20:54:52 +01:00
Victor Levasseur
b8245076f4 Add icons for all size in icons folder 2015-01-12 15:43:24 +01:00
Victor Levasseur
a0080e0720 Add icons in svg and for the GDeveop project's mimetype 2015-01-11 23:08:04 +01:00
Florian Rival
9d7f4901f6 Ensure objects with DraggableAutomatism are only dragged after a click/touch on them 2015-01-11 21:33:13 +01:00
Victor Levasseur
a5e343f760 Make PackageForOBS interactive 2015-01-10 23:26:48 +01:00
Victor Levasseur
661b531216 Update PKGBUILD release version 2015-01-10 16:54:12 +01:00
Victor Levasseur
221c4bc16b Merge remote-tracking branch 'upstream/master' into opensuse-build-service 2015-01-10 10:30:44 +01:00
Victor Levasseur
ea3e441315 Exclude SFML libs from rpm autodep, fix file not found when opening a game with a space in its name. 2015-01-10 10:26:57 +01:00
Florian Rival
0d23941855 Disable Edition or Preview button in scene editor according to the editor state 2015-01-08 22:45:04 +01:00
Florian Rival
418bae8632 Removed useless Destroy* functions for objects 2015-01-08 21:58:36 +01:00
Florian Rival
5e3be0a793 Merge pull request #71 from 4ian/feature-textentry-js
Ported TextEntryObject to JS platform
2015-01-08 20:23:27 +01:00
Florian Rival
ebfc7f06c5 Added a test game for TextEntryObject 2015-01-08 19:42:29 +01:00
Florian Rival
e1ecdda1c3 Merge pull request #70 from victorlevasseur/patch-1
Fix wrong include guard in PathfindingAutomatism.h
2015-01-08 17:29:09 +01:00
Victor Levasseur
561e176216 Fix wrong include guard in PathfindingAutomatism.h 2015-01-08 17:08:53 +01:00
Florian Rival
01e9848feb Ported TextEntryObject for HTML5 games 2015-01-07 23:13:50 +01:00
Florian Rival
ee82ccd170 Small refactoring to automatically loaded any JS Platform compatible extension in stored in CppPlatform/Extensions 2015-01-07 23:13:20 +01:00
Florian Rival
900636c078 Renamed the free resources directory and updated the old content including GDevelop logos 2015-01-07 20:55:09 +01:00
Victor Levasseur
91a5551047 Fix PKGBUILD 2015-01-07 17:48:44 +01:00
Florian Rival
0caadb1010 Updated pixi.js to v2.2.3 2015-01-07 17:38:23 +01:00
Victor Levasseur
84e1af710c Remove installed sfml libs from packages 2015-01-07 17:08:06 +01:00
Victor Levasseur
613a053007 Fix PKBUILD removing a non-existing file 2015-01-07 11:24:00 +01:00
Victor Levasseur
82610a2c1c Change linux files folder, adapted CMakeLists.txt, use make install in SPEC and PKGBUILD 2015-01-07 10:56:24 +01:00
Florian Rival
64691e75a7 Updated documentation about extensions declaration. 2015-01-07 00:00:36 +01:00
Florian Rival
ff81b68d80 Removed useless destruction functions for extensions 2015-01-06 23:37:08 +01:00
Florian Rival
4c39bf0fa2 Removed need to have useless destruction functions for objects 2015-01-06 22:47:02 +01:00
Florian Rival
26b2d5c500 Updated Ubuntu Packaging script to add distro name 2015-01-06 19:21:39 +01:00
Florian Rival
3adde344e8 HTML5 games are now fullpage by default. Improved Angry Peas to unzoom at the end 2015-01-06 19:19:45 +01:00
Victor Levasseur
56baa8df31 Force CMake to set wxWidgets_CONFIG_EXECUTABLE 2015-01-06 17:44:07 +01:00
Victor Levasseur
ef3d68d53e Use wx-config set by find_package 2015-01-06 17:17:09 +01:00
Victor Levasseur
00eaac6298 Remove manual copy from Release_Windows to Release_Linux when packaging for OBS
Add support (and a workarounds) to make Fedora 21 OBS target working
2015-01-06 17:11:12 +01:00
Victor Levasseur
8d2dc681dd Merge remote-tracking branch 'upstream/master' into opensuse-build-service 2015-01-06 08:57:36 +01:00
Florian Rival
4b9d58eddb Added support for Sprite's ChangeColor action in HTML5 games 2015-01-05 23:52:57 +01:00
Florian Rival
6d70a7f5b6 Fixed warnings with Clang and ^ operator 2015-01-05 22:51:53 +01:00
Victor Levasseur
5896fa6c90 Support for opening a project as launch script argument on Linux 2015-01-05 22:41:05 +01:00
Florian Rival
984da13353 Fixed warning when compiling with NO_GUI=1. 2015-01-05 22:30:09 +01:00
Victor Levasseur
83b67b8878 Fix MIME type not opening GDevelop by default 2015-01-05 01:43:52 +01:00
Victor Levasseur
e27dc7ab4b Finally fixed SPEC file 2015-01-05 00:43:45 +01:00
Florian Rival
0146182fbc Fixed PPA not building properly 2015-01-04 21:05:03 +01:00
Florian Rival
da872e8408 Fixed pencil not always erasing with right click in TileMap editor + fixed crash when erasing outside the map or floodfilling with the same tile as the clicked one. 2015-01-04 17:03:26 +01:00
Florian Rival
d4f8062cef Fixed CopyWindowsToLinuxReleaseFiles.sh and make sure Debian package is installed in /opt/gdevelop 2015-01-04 15:57:03 +01:00
Victor Levasseur
2f19d4b8e1 Fix for SPEC and desktop file (again...) 2015-01-04 13:57:33 +01:00
Victor Levasseur
b64388c6b9 Fix SPEC 2015-01-04 13:55:39 +01:00
Victor Levasseur
7eba1708b8 Improve SPEC 2015-01-04 13:27:13 +01:00
Victor Levasseur
cc87ec6f96 Add uninstall script to SPEC 2015-01-04 13:05:23 +01:00
Victor Levasseur
62081db475 Add mime info file 2015-01-04 13:03:32 +01:00
Victor Levasseur
9ab929da7b Fix wrong version in desktop entry 2015-01-04 00:29:23 +01:00
Victor Levasseur
d1e4768f7d Add icon installation in SPEC for Fedora 2015-01-03 21:04:29 +01:00
Victor Levasseur
2c7e80e056 Try to build tests with RPATH 2015-01-03 20:33:10 +01:00
Victor Levasseur
7421f87406 Fix wrong SFML location on Travis 2015-01-03 20:16:02 +01:00
Victor Levasseur
906110f7f5 Also include sfml libs in LD_LIBRARY_PATH for travis 2015-01-03 20:10:59 +01:00
Victor Levasseur
3cb560ee38 Wrong LD folder location in travis 2015-01-03 20:03:41 +01:00
Victor Levasseur
73443cf77d Add libs path to LD_LIBRARY_PATH before launching tests on Travis-CI 2015-01-03 19:56:02 +01:00
Victor Levasseur
7e7f9187a9 Do not build SFML first apart 2015-01-03 18:52:43 +01:00
Florian Rival
ff11dc1857 Made CopyWindowsToLinuxReleaseFiles.sh working with git 2015-01-03 18:25:08 +01:00
Florian Rival
4646d469b2 Added rsync as build dep in Debian package 2015-01-03 18:03:50 +01:00
Victor Levasseur
26dedc23a9 Merge remote-tracking branch 'upstream/master' into wx-std-support
Conflicts:
	CMakeLists.txt
2015-01-03 17:10:10 +01:00
Florian Rival
5a5781ba88 Merge pull request #68 from 4ian/improved-extlibs-cmakelists
Improved build process
2015-01-03 16:55:15 +01:00
Florian Rival
da0c208efd Fixed compilation with emscripten 2015-01-03 16:48:38 +01:00
Florian Rival
ca7781d3ca Merge pull request #65 from Bouh/master
Added docs for textruntimeobject.js
2015-01-03 16:36:27 +01:00
Victor Levasseur
be6deaea49 Add rsync as build dep in PKGBUILD (to copy header when compiling GD) 2015-01-03 15:44:43 +01:00
Florian Rival
9f119903e5 Fixed SFML not built when NO_GUI was used 2015-01-03 15:03:59 +01:00
Florian Rival
187dfc89a2 Keep SFML include files even when NO_GUI is used 2015-01-03 14:45:37 +01:00
Florian Rival
4711be9ffe Using SFML targets in CMakeLists instead of raw filenames 2015-01-03 14:39:43 +01:00
Victor Levasseur
db286c9fd8 Fix wrong package name in SPEC file and improve description in both packages 2015-01-03 14:16:23 +01:00
Victor Levasseur
1e48dd46fb Add PKGBUILD to build for Arch Linux 2015-01-03 11:47:56 +01:00
Victor Levasseur
7e01c0db43 Fix semi-colon missing in desktop file 2015-01-03 00:40:06 +01:00
Victor Levasseur
fc6239c4e9 Remove useless info in desktop file for OBS 2015-01-03 00:37:14 +01:00
Victor Levasseur
8ade981e37 Some improvements to the SPEC file and a fix for the desktop file 2015-01-03 00:33:44 +01:00
Bouh
33953b0639 Correct 2015-01-03 00:32:07 +01:00
Victor Levasseur
6d49b6fff1 Improved PackageForOBS.sh 2015-01-02 23:27:00 +01:00
Victor Levasseur
1a9cc65259 Merge remote-tracking branch 'upstream/improved-extlibs-cmakelists' into wx-std-support 2015-01-02 23:23:23 +01:00
Victor Levasseur
55fcd0468f Add SPEC file to build RPMs 2015-01-02 17:30:09 +01:00
Victor Levasseur
0213ccebec Remove debug message in CMakeLists 2015-01-01 22:16:37 +01:00
Florian Rival
9033249a28 Added test for GDC++ TwoObjectListsTest function 2014-12-30 13:23:51 +01:00
Florian Rival
2b0c3a71c2 Enhanced CMakeLists.txt to use GTK2 or 3 according to wxWidgets 2014-12-30 12:53:16 +01:00
Bouh
4503b55bad Update textruntimeobject.js 2014-12-30 01:36:30 +01:00
Bouh
67e3d777c6 Correct location for textruntimeobject.js 2014-12-30 01:34:50 +01:00
Bouh
e9ac59fb60 Docs : textruntimeobject.js 2014-12-30 00:33:35 +01:00
Florian Rival
2e39604df7 Fix Travis-CI build 2014-12-29 19:01:02 +01:00
Florian Rival
73e9c0269b Automatically download the precompiled version of wxWidgets on Windows 2014-12-29 18:57:01 +01:00
Victor Levasseur
d3ec776ed7 Fix GD_INSTALL_PREFIX when CMAKE_INSTALL_PREFIX is not definied 2014-12-29 18:24:49 +01:00
Florian Rival
284ba048fd Made ExtLibs/CMakeLists.txt fully working on Windows.
Updated docs about the build process.
Added adv wxWidgets library in all CMakeLists.txt.
2014-12-29 18:21:14 +01:00
Victor Levasseur
106f583fac Merge remote-tracking branch 'upstream/improved-extlibs-cmakelists' into wx-std-support 2014-12-29 16:30:07 +01:00
Florian Rival
11365ebf96 Scripts and file to create a package archive and upload it to ~florian-rival/ubuntu/gdevelop Launchpad PPA 2014-12-29 16:07:43 +01:00
Florian Rival
c63b557a88 Added installation commands to CMakeLists.txt 2014-12-29 14:57:17 +01:00
Victor Levasseur
851379a9de Some fixes to build GDevelop with wxWidgets built with std containers 2014-12-28 20:54:36 +01:00
Florian Rival
6dcc4d2e5d Removed dependency to wxWidget's webview (not supported by Ubuntu provided wxWidgets version), removed integrated help (now opening directly the default browser) 2014-12-28 18:38:58 +01:00
Florian Rival
540886e354 Switched back to GTK2 for now (need to find a way to determine if wxWidgets uses GTK2 or 3) 2014-12-26 19:45:27 +01:00
Florian Rival
7a3d9ecc7f Add ExtLibs/CMakeLists.txt and reworked other CMakeLists.txt to download boost/SFML and build SFML 2014-12-26 15:13:52 +01:00
Florian Rival
a5af985fd4 Fixed typo and linter errors 2014-12-26 14:01:16 +01:00
Florian Rival
095ced4870 Updated translation source.pot file 2014-12-26 12:53:21 +01:00
Florian Rival
0cab34facb Merge branch 'master' of github.com:4ian/GD 2014-12-26 12:11:55 +01:00
Florian Rival
3d007b91b5 Fixed typo 2014-12-26 12:11:32 +01:00
Florian Rival
2bb9687b2d Updated Windows batch file to update .mo translations files. 2014-12-25 21:34:30 +01:00
Florian Rival
6b2fc20e2a Merge branch 'master' of https://github.com/4ian/GD 2014-12-25 19:04:23 +01:00
Florian Rival
c38ce1999d Fixed helper window not shown for scene variables.
Images format officially supported in file dialogs are now jpg and png only.
Updated french translation.
Updated installer files for GD 3.6
2014-12-25 19:03:02 +01:00
Florian Rival
89b33de435 Updated Readme with Crowdin link 2014-12-25 17:34:19 +01:00
Florian Rival
30a0b8c8f7 Modified translation scripts and start page to use Crowdin 2014-12-25 16:08:10 +01:00
Florian Rival
d0c7138359 Fixed expressions to get music/sound volume or playing offset in HTML5 games 2014-12-24 17:53:05 +01:00
Florian Rival
af7c9705d4 Updated version in debian package control file. 2014-12-24 17:51:52 +01:00
Florian Rival
4ba3ec1a9d Merge pull request #63 from victorlevasseur/master
Do not give the focus to EventEditor when mouse is over it
2014-12-23 16:37:57 +01:00
victorlevasseur
378721ea1e Still give the focus on Windows 2014-12-23 16:01:11 +01:00
Florian Rival
a79600f302 Ensure that Platformer Objects are not stuck in platforms.
Fixed PlatformerObjectAutomatism::SetSlopeMaxAngle.
2014-12-23 14:24:01 +01:00
Victor Levasseur
868950f721 Merge remote-tracking branch 'upstream/master' 2014-12-23 11:42:39 +01:00
Victor Levasseur
9cd6c781da Do not give the focus to EventEditor when mouse is over it 2014-12-23 11:40:41 +01:00
Florian Rival
30de4d82cb Merge pull request #62 from victorlevasseur/master
Fix font size (when font is italic) in ProjectExtensionsDialog
2014-12-23 11:26:50 +01:00
Florian Rival
38b8dae7c7 Fixed severe memory leaks when loading textures or fonts in GDCpp.
Renamed RessourcesLoader to ResourcesLoader.
2014-12-22 19:31:01 +01:00
Victor Levasseur
0aaf2c221f Add a removed include in ProjectExtensionsDialog.cpp 2014-12-22 18:37:25 +01:00
victorlevasseur
c71337c3f9 Fix wrong font on Linux in project extensions dialog 2014-12-22 18:31:48 +01:00
Florian Rival
2ff89dc967 Merge pull request #61 from 4ian/feature-new-startherepage
New Start Here Page
2014-12-22 17:26:30 +01:00
Florian Rival
7f26b3f7a4 Finished new start page. 2014-12-22 17:24:07 +01:00
Florian Rival
b063f560cc New StartHerePage and removed useless files 2014-12-22 14:17:38 +01:00
Florian Rival
e5989571ee Version bump and little wording changes 2014-12-21 22:49:40 +01:00
Florian Rival
efa64b6505 Allow adding objects to a group using a dedicated dialog in Objects Editor 2014-12-21 22:08:57 +01:00
Florian Rival
ee303a5f7a Ensure only appropriate ribbon buttons are enabled in Objects Editor 2014-12-21 21:38:47 +01:00
Florian Rival
330bd24c02 Ensure games are closed before destroying the main frame (prevent shutdown crashes) 2014-12-21 20:31:45 +01:00
Florian Rival
b2033eb3fd Ensure cursor goes back to the default one when not hovering a button 2014-12-21 20:31:09 +01:00
Florian Rival
ee33dc6768 Move in the scene editor by keeping the middle button pressed 2014-12-21 19:50:47 +01:00
Florian Rival
e7bb56f203 Merge branch 'master' of github.com:4ian/GD 2014-12-21 18:50:53 +01:00
Florian Rival
2b02bcc3c8 Removed useless deprecated function in gdjs::Exporter 2014-12-21 18:50:48 +01:00
Florian Rival
232f98511d Merge pull request #59 from victorlevasseur/objectEditorImprovements
Object editor improvements
2014-12-21 18:45:04 +01:00
Victor Levasseur
abdfd08806 Some improvements to the objects list 2014-12-21 12:01:47 +01:00
Victor Levasseur
293c008eed Move only the item when setting a group global
Various fixes
2014-12-20 17:51:09 +01:00
Florian Rival
615d1d72f9 Ensure the focused object type is considered as selected after a refresh in ChooseObjectTypeDialog 2014-12-17 20:30:01 +01:00
Florian Rival
55165519d2 Removed deprecated VideoObject extension 2014-12-17 19:53:33 +01:00
Florian Rival
5cd8c56ee2 Updated translation 2014-12-15 14:16:50 +01:00
Victor Levasseur
0d1521f791 Do not refresh the object list when set an object global 2014-12-14 21:49:48 +01:00
Florian Rival
6bf8a89612 Removed GameDevShare.com export option 2014-12-14 21:31:46 +01:00
Florian Rival
a7da97ba4d Merge pull request #60 from 4ian/feature-event-store
Added the Event Store, which offers event templates shared on GDevApp.com
2014-12-14 20:54:18 +01:00
Florian Rival
55b42ddee6 Fixed LayerVisible condition 2014-12-14 20:49:38 +01:00
Florian Rival
cf991818d9 Removed useless deprecated dialogs 2014-12-14 19:31:42 +01:00
Florian Rival
592b202218 Finished event store and refactoring in InstructionSelectorDialog 2014-12-14 17:36:14 +01:00
Florian Rival
ef616baca3 [WIP] Improved event store and made group events added from template editable using the event store 2014-12-14 16:54:32 +01:00
Florian Rival
3be2561ceb [WIP] Basic working event store. Parameter edition was deactivated for now. 2014-12-12 18:41:51 +01:00
Victor Levasseur
ff170070ce Disable up/down buttons when a group is selected 2014-12-12 00:13:56 +01:00
Victor Levasseur
2379aa086c Fix being unable to delete an object from a global group 2014-12-12 00:00:59 +01:00
Florian Rival
9984802a9d [WIP] Started creating the event store and refactoring on parameters 2014-12-11 15:55:49 +01:00
Florian Rival
973665cd33 Fixed incorrect start page position on Linux 2014-12-10 15:12:53 +01:00
Florian Rival
2124d87107 Changed Mouse instructions description to mention touchscreen support 2014-12-10 15:12:31 +01:00
Victor Levasseur
8d335c571a Fix a bug when refreshing the ObjectsEditor 2014-12-09 06:48:33 +01:00
Florian Rival
97b4ae7b1a Added SceneWidth/Height for HTML5 games and fixed SceneWindowWidth/Height 2014-12-08 14:29:23 +01:00
Victor Levasseur
a707b51c41 Can create a group by dragging an object on "Groups" tree item 2014-12-07 11:55:11 +01:00
Victor Levasseur
c519c26787 Fix a bug when renaming the same object multiple times 2014-12-07 11:13:05 +01:00
Victor Levasseur
bcc4decd3c Merge remote-tracking branch 'upstream/master' into objectEditorImprovements 2014-12-06 19:05:56 +01:00
Victor Levasseur
8310853fd9 Make some items not editable 2014-12-06 18:48:04 +01:00
Victor Levasseur
e4dd9d1df2 Remove the group dialog 2014-12-06 18:36:56 +01:00
Victor Levasseur
891d055695 Hide the confirmation message when deleting an object from a group (in ObjectsEditor) 2014-12-06 18:35:26 +01:00
Victor Levasseur
227d5daa78 Some fixes 2014-12-06 16:44:19 +01:00
Florian Rival
b58db65442 Ensure insertion of images are done in alphabetical order with wxGTK 2014-12-06 16:33:34 +01:00
Victor Levasseur
8d8cb27d24 Add menu to delete objects from groups
Fix compilation failure on Travis CI
2014-12-06 16:29:01 +01:00
Victor Levasseur
92bc85775c Can drag&drop objects into groups
Add thumbnails in the ObjectListDialogsHelper
2014-12-06 15:48:19 +01:00
Victor Levasseur
1c32a2501c Separate objects and groups in ObjectEditor and ChooseObjectDialog 2014-12-06 11:57:28 +01:00
Victor Levasseur
8a3a26e9c6 Global objects are now shown in bold 2014-12-06 10:51:15 +01:00
Florian Rival
7e714da230 Fixed typo 2014-12-01 21:25:30 +01:00
Florian Rival
388d62031e Added attributes to Events Groups for later use 2014-11-30 23:03:52 +01:00
Florian Rival
60a51931a1 Merge branch 'master' of github.com:4ian/GD 2014-11-30 17:08:00 +01:00
Florian Rival
40a82c61ea Switched from LGPL and zlib/png licenses to MIT License. 2014-11-30 16:59:51 +01:00
Florian Rival
bff5f45976 Merge pull request #58 from victorlevasseur/master
Improve installDeps.sh
2014-11-30 13:44:02 +01:00
Victor Levasseur
0f4ca89fa1 Add some comments in installDeps.sh 2014-11-30 10:07:30 +01:00
Victor Levasseur
66af8c2d6b Improve installDeps.sh 2014-11-29 20:52:50 +01:00
Florian Rival
1cb1befe7a Added comments and fixed tests not compiling (GroupEventDialog was not excluded from the bbuild) 2014-11-29 16:22:12 +01:00
Florian Rival
d517536baf Fixed Events Group rendering and added a checkbox to hide subevents (i.e: fold them) 2014-11-29 16:16:48 +01:00
Florian Rival
ad1d2b51fa Refactoring on events (Suppressed useless methods like copy-ctor) 2014-11-27 19:41:43 +01:00
Florian Rival
46784cee94 Merge branch 'master' of github.com:4ian/GD 2014-11-27 18:23:52 +01:00
Florian Rival
0ef3edccfe Added 'Group Events' 2014-11-27 18:23:38 +01:00
Florian Rival
8fed8e0ef9 Added a basic module to make analytics on how the software is used. 2014-11-26 15:56:05 +01:00
Florian Rival
502c04abaa Merge branch 'master' of https://github.com/4ian/GD 2014-11-24 23:39:45 +01:00
Florian Rival
0622a69aec Added support for external Javascript source files.
Added example of using external JS source files.
2014-11-24 23:39:06 +01:00
Florian Rival
f7f8401416 Merge pull request #57 from triptych/patch-1
fixing "LGPL" typo
2014-11-24 09:55:27 +01:00
Andrew Wooldridge
c0b3f9ef56 fixing "LGPL" typo 2014-11-24 00:35:40 -08:00
Florian Rival
e999f953b9 Ensure that all object parameters are properly syntax highlighted. 2014-11-23 22:01:31 +01:00
Florian Rival
8b3c862fee Fixed "Images Bank Editor" string not translated. 2014-11-23 18:29:37 +01:00
Florian Rival
b128446464 Refactoring in gd::TextFormatting and gd::InstructionSentenceFormatter 2014-11-23 17:14:30 +01:00
Florian Rival
21624b2d96 Added basics tests for gd::Project & gd::SourceFile 2014-11-23 16:02:35 +01:00
Florian Rival
506e3a3226 Refactored external sources files in gd::Project, and fixed their unserialization 2014-11-23 15:56:14 +01:00
Florian Rival
05624f84c7 Made two methods of gd::Project static 2014-11-21 21:36:44 +01:00
Florian Rival
de34b562ad Fixed French string hardcoded for some pane captions 2014-11-17 00:02:07 +01:00
Florian Rival
d54ae5d44a Adapted TextObjet extension declaration to be compatible with emscripten 2014-11-16 21:18:14 +01:00
Florian Rival
1c921efa4e Fixed typos in some method names 2014-11-16 16:19:19 +01:00
Florian Rival
3494048e5a Added example for Js code event. 2014-11-11 18:12:24 +01:00
Florian Rival
26bee9ab19 Finished JsCodeEvent and its dialog 2014-11-11 12:44:38 +01:00
Florian Rival
b5397c8f46 Added support for .json files with file dialogs 2014-11-11 10:42:18 +01:00
Florian Rival
b4201172ae Added GetIconFilename method to ObjectMetadata for consistency with AutomatismMetadata 2014-11-09 18:40:42 +01:00
Florian Rival
b59f39fec7 Fixed typo 2014-11-09 14:58:51 +01:00
Florian Rival
d89675d266 Merge pull request #52 from victorlevasseur/grid-improvement
Add offset option to the layout grid
2014-11-03 20:29:57 +01:00
Florian Rival
1d62312bb6 Ensure the instruction selector window has a minimum size which is not too small. 2014-11-02 23:44:49 +01:00
Florian Rival
282b64e5ae Fixed automatic selection of the instruction in the instruction selector, when editing an action or a condition 2014-11-02 22:54:18 +01:00
victorlevasseur
2829098fa7 Fix a missing header 2014-11-02 20:28:08 +01:00
Florian Rival
9f6d2f8e32 Merge pull request #51 from 4ian/refactoring-instruction-chooser
Instruction selector refactoring
2014-11-02 20:11:09 +01:00
Florian Rival
fb0841c824 Removed useless old wxSmith files 2014-11-02 20:08:52 +01:00
Florian Rival
80c298d21e Wording change 2014-11-02 20:07:31 +01:00
Florian Rival
0a2655ed14 Fixed wrong behavior: a new condition was inverted by default 2014-11-02 20:06:07 +01:00
Florian Rival
0873cb2139 Refactored condition and action window into a single instruction selection window, and removed an useless feature 2014-11-02 19:56:22 +01:00
victorlevasseur
2c4bcf69de Add offset to the layout grid 2014-11-02 19:22:35 +01:00
Florian Rival
0178d374c3 InstructionSentenceFormatter::LabelFromType now return only the name of the parameter (and not a complete sentence) 2014-11-02 16:54:40 +01:00
Florian Rival
8505da8729 Merge pull request #50 from victorlevasseur/actions_list_improvement
Actions/Conditions windows improvement
2014-11-02 16:46:32 +01:00
Florian Rival
c4cb2842f5 Merge pull request #49 from victorlevasseur/tilemapobject/dev
Add Undo/Redo and flood fill in TileMapObject
2014-11-02 16:09:21 +01:00
victorlevasseur
76bd2b12b3 Expand conditions' treeview to select the edited condition 2014-11-02 13:05:37 +01:00
Victor Levasseur
5a4a5f2070 Expand actions treeview on the current action when editing 2014-11-02 11:49:05 +01:00
victorlevasseur
50e7a9a97a Merge remote-tracking branch 'upstream/master' into tilemapobject/dev 2014-11-01 13:14:48 +01:00
victorlevasseur
6c354f4c57 Add the flood fill 2014-11-01 13:12:34 +01:00
victorlevasseur
f005a2d4b1 Improve the undo/redo system in TileMapObjectEditor 2014-10-31 19:32:38 +01:00
Victor Levasseur
03e3afced9 Can now undo/redo actions in TileMapObjectEditor 2014-10-31 11:16:41 +01:00
Florian Rival
ac71edf43f Removed now useless StrExpressionMetadata type definition. 2014-10-30 15:31:54 +01:00
Florian Rival
d2a706eca6 Merge branch 'master' of https://github.com/4ian/GD 2014-10-30 15:12:01 +01:00
Florian Rival
b7b83c0c44 Refactoring to remove useless class StrExpressionMetadata and duplicated code. 2014-10-30 15:11:20 +01:00
Florian Rival
7898451eca Added libGLEW.so.1.10 to the files to copy when a native game is exported 2014-10-28 12:10:48 +01:00
Florian Rival
9520fb093d Fix polygon vertices can't be properly edited by double clicking on it in tree 2014-10-26 16:08:31 +01:00
Florian Rival
b7e002b3ea Ensure versioned files of Release_Windows are copied to other targets directory when building IDE 2014-10-26 15:08:14 +01:00
Florian Rival
bc2cd7f0db Grammar fix 2014-10-22 17:15:13 +02:00
Florian Rival
e5aa88b71b Merge pull request #48 from victorlevasseur/tilemapobject/dev
Improvements for TileMapObject
2014-10-19 21:03:19 +02:00
Victor Levasseur
9dd603fbe4 Various fixes on the TileMapObject editor 2014-10-19 15:13:11 +02:00
Victor Levasseur
b479cc0aa1 Merge remote-tracking branch 'upstream/master' into tilemapobject/dev 2014-10-18 20:45:47 +02:00
Victor Levasseur
bbeeba23e3 The selected tile ID is now shown in the TileEditor
instead of being shown on the TileSetPanel
2014-10-18 20:40:49 +02:00
Victor Levasseur
581f2a49a1 Fix black tile bug in TileEditor 2014-10-18 19:02:34 +02:00
Florian Rival
f9bb82d17b Forgot a part of the last commit 2014-10-18 17:49:22 +02:00
Florian Rival
a28eef12a6 Updated installDeps.sh with latest wxWidgets version 2014-10-18 17:48:02 +02:00
Florian Rival
37aaf660f5 Link to wxWidgets 3.0.2 for Linux in documentation 2014-10-18 16:33:31 +02:00
Florian Rival
088b478b58 Allow CORS files loading for GDJS games 2014-10-18 16:30:32 +02:00
Victor Levasseur
c9544542b2 Fix a bug with empty tiles 2014-10-17 20:44:21 +02:00
Victor Levasseur
de1408fbb4 Changing tiles in the TileMapObject is more optimized 2014-10-16 16:08:41 +02:00
Florian Rival
0633e99dc1 Version bump 2014-10-15 14:47:51 +02:00
Florian Rival
c64838009c Added support for the action to open an URL in GDJS (with support for CocoonJS & Intel XDK) 2014-10-14 23:10:54 +02:00
Florian Rival
9f15f25e11 Added example to open a url in a browser 2014-10-14 23:02:32 +02:00
Florian Rival
c5e2a24178 Merge branch 'master' of github.com:4ian/GD 2014-10-14 00:28:13 +02:00
Florian Rival
3cbcdceb44 Refactored useless resources detection, and added tests for it 2014-10-14 00:27:53 +02:00
Florian Rival
e795bce063 Updated gd-updateinfo-*.xml files 2014-10-14 00:27:26 +02:00
Florian Rival
dbe77ee331 Merge pull request #39 from victorlevasseur/master
Tilemap collision and object editor fixes.
2014-10-11 15:03:01 +02:00
Victor Levasseur
882069c415 Fix "Add object" ribbon button opening edition window 2014-10-10 21:06:03 +02:00
Victor Levasseur
245a6c6ef8 Fix a bug when testing collision with invalid tiles 2014-10-10 20:56:10 +02:00
11257 changed files with 952663 additions and 1038367 deletions

70
.circleci/config.yml Normal file
View File

@@ -0,0 +1,70 @@
# CircleCI 2.0 configuration file to build GDevelop app running
# on the Electron runtime (newIDE/electron-app).
version: 2
jobs:
build:
docker:
- image: circleci/node:lts
working_directory: ~/GDevelop
steps:
- checkout
# System dependencies (for Electron Builder and Emscripten)
- run:
name: Install dependencies for Emscripten
command: sudo apt install cmake
- run:
name: Install Emscripten (for GDevelop.js)
command: git clone https://github.com/juj/emsdk.git && cd emsdk && ./emsdk install sdk-1.37.37-64bit && ./emsdk activate sdk-1.37.37-64bit && cd ..
- run:
name: Install Wine for Electron builder
command: sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt install wine32
- run:
name: Install system dependencies for Electron builder
command: sudo apt install icnsutils && sudo apt install graphicsmagick && sudo apt install rsync
# GDevelop.js dependencies
- restore_cache:
keys:
- gd-nodejs-dependencies-{{ checksum "newIDE/app/package.json" }}-{{ checksum "newIDE/electron-app/package.json" }}-{{ checksum "GDevelop.js/package.json" }}
# fallback to using the latest cache if no exact match is found
- gd-nodejs-dependencies---
- run:
name: Install GDevelop.js dependencies and build it
command: cd GDevelop.js && sudo npm install -g grunt-cli && npm install && cd ..
# Build GDevelop.js
- run:
name: Build GDevelop.js
command: cd GDevelop.js && source ../emsdk/emsdk_env.sh && npm run build && npm test && cd ..
# GDevelop IDE dependencies (after building GDevelop.js to avoid downloading a pre-built version)
- run:
name: Install GDevelop IDE dependencies
command: cd newIDE/app && npm install && cd ../electron-app && npm install
- save_cache:
paths:
- newIDE/electron-app/node_modules
- newIDE/app/node_modules
- GDevelop.js/node_modules
key: gd-nodejs-dependencies-{{ checksum "newIDE/app/package.json" }}-{{ checksum "newIDE/electron-app/package.json" }}
# Build GDevelop IDE
- run:
name: Build GDevelop IDE
command: cd newIDE/electron-app && npm run build -- --mac --win --linux tar.gz --publish=never
# Upload artifacts
- run:
name: Clean dist folder to keep only installers/binaries.
command: rm -rf newIDE/electron-app/dist/linux-unpacked && rm -rf newIDE/electron-app/dist/win-unpacked && rm -rf newIDE/electron-app/dist/mac
- store_artifacts:
path: newIDE/electron-app/dist

18
.clang_complete Normal file
View File

@@ -0,0 +1,18 @@
-DGDJS_EXPORTS
-DGD_API=
-DGD_CORE_API=
-DGD_EXTENSION_API=
-DGD_IDE_ONLY
-DMACOS
-DRELEASE
-D_FILE_OFFSET_BITS=64
-D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_
-Wno-potentially-evaluated-expression
-std=gnu++11
-DNDEBUG
-fPIC
-I./ExtLibs/SFML/include
-I./Core
-I./GDCpp/.
-I./GDJS/.
-F./ExtLibs/SFML/extlibs/libs-osx/Frameworks

1
.clang_format Normal file
View File

@@ -0,0 +1 @@
{BasedOnStyle: Google, BinPackParameters: false, BinPackArguments: false}

View File

@@ -7,6 +7,7 @@
"module" : true,
"process": false,
"describe": false,
"expect": false,
"it": false,
"after": false,
"gdjs": true
@@ -17,6 +18,7 @@
"no-console": 0,
"curly": 0,
"no-redeclare": 0,
"no-underscore-dangle": 0
"no-underscore-dangle": 0,
"strict": 0
}
}

25
.github/ISSUE_TEMPLATE/--bug-report.md vendored Normal file
View File

@@ -0,0 +1,25 @@
---
name: "\U0001F41BBug report"
about: Create a bug report about GDevelop or the game engine
---
## Describe the bug
A clear and concise description of what the bug is.
Please double check that the bug is not already reported in the issues list.
## To Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
* Please include a link to a game if possible!
* If applicable, add screenshots to help explain your problem.
## Other details
* Include any OS/browser version/smartphone that you're using
* Which version of GDevelop are you using? The desktop app or the web-app?
* Add any other context about the problem here.

View File

@@ -0,0 +1,28 @@
---
name: "\U0001F4A1Feature request"
about: Suggest an idea for this project AFTER discussing about it on the Discord or
Forum first. We'll create a card for it on the roadmap.
---
BEFORE opening a new feature request, please make sure that you:
* Discussed about it on the discord or the forum,
* There is not already a suggestion about it in the issues or in the roadmap: https://trello.com/b/qf0lM7k8/gdevelop-roadmap
* Consider commenting on the roadmap if something is important for you
AFTER opening the feature request, the issue will be closed by a maintainer (@4ian or someone else) and a card will be added in the roadmap if it's relevant and does not exist yet :)
## Description
Is your feature request **related to a problem**? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Solution suggested
**Describe the solution**
A clear and concise description of what could be done.
Add any other context or screenshots about the feature request here.
Explain if you can help implementing the solution.
## Alternatives considered
A clear and concise description of any alternative solutions or features you've considered.

53
.gitignore vendored
View File

@@ -1,36 +1,22 @@
/GDSDK
/Core/GDCore/Tools/VersionPriv.h
/docs/GDJS Runtime Documentation
/docs/GDJS Documentation
/docs/GDCpp Documentation
/docs/GDCore Documentation
/ExtLibs/boost
/ExtLibs/SFML
/ExtLibs/wxwidgets
/ExtLibs/wxWidgets
/ExtLibs/*.7z
/scripts/Repository keys
/scripts/logs/*.txt
/Binaries/.build
/Binaries/.build-debug
/Binaries/.build-dev
/Binaries/.build-test
/Binaries/.embuild
/Binaries/.embuild-debug
/Binaries/build
/Binaries/build-debug
/Binaries/build-dev
/Binaries/build-tests
/Binaries/embuild
/Binaries/embuild-debug
/scripts/gdcore-gdcpp-gdjs-extensions-messages.pot
/Binaries/.build*
/Binaries/.embuild*
/Binaries/build*
/Binaries/embuild*
/Binaries/Releases/*.exe
/Binaries/Releases/**/*.7z
/Binaries/Releases/**/*.tar.bz2
/Binaries/Releases/**/*.tar.lzma
/Binaries/Releases/**/*.zip
/Binaries/Releases/**/*.deb
Binaries/Packaging/debian-package/opt/
Binaries/Packaging/debian-package/debian
/WebIDE
*.depend
*.layout
*.xgdwe
@@ -47,19 +33,36 @@ Binaries/Packaging/debian-package/debian
*.debhelper.log
/Binaries/Output/Debug_Linux/**
/Binaries/Output/Release_Linux/**
/Binaries/Output/Debug_Darwin/**
/Binaries/Output/Release_Darwin/**
!/Binaries/Output/Release_Linux/StartGDevelop.sh
!/Binaries/Output/Release_Linux/CppPlatform/
/Binaries/**/MinGW32
/Binaries/**/CppPlatform/Runtime
/Binaries/**/CppPlatform/Sources
/Binaries/**/CppPlatform/include
/Binaries/**/CppPlatform/Extensions/include
/Binaries/**/JsPlatform/Runtime
/Binaries/**/JsPlatform/*.dll
/Binaries/**/JsPlatform/*.dll.a
/Binaries/Output/Release_Windows/newIDE
*.autosave
/Binaries/Output/WebIDE/Release
/Binaries/Output/WebIDE/Debug
/Binaries/Output/WebIDE/libGD.raw.js
/WebIDE
/Binaries/Output/libGD.js/Release
/Binaries/Output/libGD.js/Debug
/Binaries/Output/libGD.js/libGD.raw.js
!/GDCpp/scripts/bcp.exe
/GDJS/tests/node_modules
!/scripts/libgettextlib-0-17.dll
!/scripts/libgettextsrc-0-17.dll
!/xgettext.exe
!/Binaries/Output/Release_Windows/locale/*.dll
!/Binaries/Output/Release_Windows/locale/msgcat.exe
!/Binaries/Output/Release_Windows/locale/msgfmt.exe
!/ExtLibs/curl.exe
!/ExtLibs/7za.exe
!/ExtLibs/SFML/extlibs/**/*.dll
!/ExtLibs/SFML/extlibs/**/*.so
!/ExtLibs/SFML/extlibs/**/*.a
**/.DS_Store
**/node_modules/
.idea
.vscode/ipch

View File

@@ -1,37 +1,103 @@
language: cpp
sudo: false
compiler:
- gcc
- clang
# Cache .npm folder for faster npm install
cache:
directories:
- $HOME/.npm
env:
global:
- GCC_VERSION="4.8"
services:
# Virtual Framebuffer 'fake' X server for SFML
- xvfb
addons:
artifacts:
s3_region: "us-east-1"
target_paths:
- /$(git rev-parse HEAD)
paths:
- Binaries/Output/libGD.js/Release
apt:
sources:
- ubuntu-toolchain-r-test
packages:
# Build dependencies:
- cmake
- p7zip-full
- g++-4.8
# SFML dependencies:
- libopenal-dev
- libjpeg-dev
- libglew-dev
- libudev-dev
- libxrandr-dev
- libsndfile1-dev
- libglu1-mesa-dev
- libfreetype6-dev
before_install:
#Activate X Virtual Framebuffer to allow tests to
#use SFML.
- "export DISPLAY=:99.0"
# This workaround is required to avoid libstdc++ errors (Emscripten requires a recent version of libstdc++)
- wget -q -O libstdc++6 http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb
- sudo dpkg --force-all -i libstdc++6
install:
- sudo apt-get update
#Download and compile dependencies
- cd ExtLibs
- sudo apt-get install p7zip-full
#SFML
- sudo apt-get install libopenal-dev libjpeg-dev libglew-dev libudev-dev libxrandr-dev libsndfile1-dev libglu1-mesa-dev libfreetype6-dev
- wget http://www.compilgames.net/code/GameDevelopSDK/SFML.7z
- 7za x SFML.7z > /dev/null
- cd SFML
- mkdir build-linux
- cd build-linux
- cmake ..
- make
- sudo make install
- cd ..
- cd ..
#Boost
- wget http://www.compilgames.net/code/GameDevelopSDK/boost_1_55_0.7z
- 7za x boost_1_55_0.7z > /dev/null
- mv boost_1_55_0 boost
- cd ..
#Compile the tests only
#Get the correct version of gcc/g++
- if [ "$CXX" = "g++" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
#Compile the tests only for GDCore and GDCpp
- mkdir .build-tests
- cd .build-tests
- cmake -DBUILD_GDJS=FALSE -DBUILD_IDE=FALSE -DBUILD_EXTENSIONS=FALSE -DBUILD_TESTS=TRUE -DNO_GUI=TRUE ..
- make
- cmake -DBUILD_GDJS=FALSE -DBUILD_TESTS=TRUE -DCMAKE_CXX_COMPILER=$(which $CXX) -DCMAKE_C_COMPILER=$(which $CC) ..
- make -j 4
- cd ..
# Install Emscripten (for GDevelop.js)
- git clone https://github.com/juj/emsdk.git
- cd emsdk
- ./emsdk install sdk-1.37.37-64bit
- ./emsdk activate sdk-1.37.37-64bit
- source ./emsdk_env.sh
- cd ..
# Install GDevelop.js dependencies and compile it
- cd GDevelop.js
- npm install -g grunt-cli
- npm install
- npm run build
- cd ..
#Install newIDE tests dependencies
- cd newIDE/app && npm install
- cd ../..
#Install GDJS tests dependencies
- cd GDJS/tests && npm install
- cd ../..
script:
# GDCore and GDCpp game engine tests:
- cd .build-tests
- Core/GDCore_tests
- GDCpp/GDCpp_tests
- Extensions/PathfindingBehavior/PathfindingBehavior_Runtime_tests
- Extensions/LinkedObjects/LinkedObjects_Runtime_tests
- cd ..
# GDevelop.js tests
- cd GDevelop.js
- npm test
- cd ..
# newIDE tests:
- cd newIDE/app
- npm test
- npm run flow
- npm run check-format
- cd ../..
# GDJS game engine tests, disabled on Travis CI because ChromeHeadless can't be started.
# See them running on Semaphore-CI instead: https://semaphoreci.com/4ian/gd
# - cd GDJS/tests && npm test
# - cd ../..

108
.vscode/c_cpp_properties.json vendored Normal file
View File

@@ -0,0 +1,108 @@
{
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceRoot}",
"${workspaceRoot}/GDCpp",
"${workspaceRoot}/GDJS",
"${workspaceRoot}/Extensions",
"${workspaceRoot}/Core",
"${workspaceRoot}/ExtLibs/SFML/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
"/usr/local/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
"/usr/include",
"${workspaceRoot}"
],
"defines": [
"GD_IDE_ONLY",
"GD_CORE_API=/* Macro used to export classes on Windows, please ignore */",
"GD_API=/* Macro used to export classes on Windows, please ignore */",
"GD_EXTENSION_API=/* Macro used to export classes on Windows, please ignore */"
],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
"/usr/local/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
"/usr/include",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"macFrameworkPath": [
"/System/Library/Frameworks",
"/Library/Frameworks"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
"cppStandard": "c++17"
},
{
"name": "Linux",
"includePath": [
"${workspaceRoot}",
"${workspaceRoot}/IDE",
"${workspaceRoot}/GDCpp",
"${workspaceRoot}/GDJS",
"${workspaceRoot}/Extensions",
"${workspaceRoot}/Core",
"${workspaceRoot}/ExtLibs/SFML/include",
"/usr/include",
"/usr/local/include",
"${workspaceRoot}"
],
"defines": [
"GD_IDE_ONLY",
"GD_CORE_API=/* Macro used to export classes on Windows, please ignore */",
"GD_API=/* Macro used to export classes on Windows, please ignore */",
"GD_EXTENSION_API=/* Macro used to export classes on Windows, please ignore */"
],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
},
{
"name": "Win32",
"includePath": [
"${workspaceRoot}",
"${workspaceRoot}/IDE",
"${workspaceRoot}/GDCpp",
"${workspaceRoot}/GDJS",
"${workspaceRoot}/Extensions",
"${workspaceRoot}/Core",
"${workspaceRoot}/ExtLibs/SFML/include",
"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include",
"${workspaceRoot}"
],
"defines": [
"_DEBUG",
"UNICODE",
"GD_IDE_ONLY",
"GD_CORE_API=/* Macro used to export classes on Windows, please ignore */",
"GD_API=/* Macro used to export classes on Windows, please ignore */",
"GD_EXTENSION_API=/* Macro used to export classes on Windows, please ignore */"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include/*",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 4
}

106
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,106 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.associations": {
"*.idl": "java",
"iosfwd": "cpp",
"functional": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"algorithm": "cpp",
"random": "cpp",
"__config": "cpp",
"cstddef": "cpp",
"exception": "cpp",
"initializer_list": "cpp",
"new": "cpp",
"stdexcept": "cpp",
"typeinfo": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"complex": "cpp",
"cstdarg": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"istream": "cpp",
"limits": "cpp",
"memory": "cpp",
"ostream": "cpp",
"sstream": "cpp",
"streambuf": "cpp",
"hashtable": "cpp",
"tuple": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"__split_buffer": "cpp",
"deque": "cpp",
"iterator": "cpp",
"list": "cpp",
"map": "cpp",
"queue": "cpp",
"regex": "cpp",
"set": "cpp",
"stack": "cpp",
"string": "cpp",
"vector": "cpp",
"iostream": "cpp",
"__functional_03": "cpp",
"__hash_table": "cpp",
"__tree": "cpp",
"bitset": "cpp",
"__bit_reference": "cpp",
"__mutex_base": "cpp",
"fstream": "cpp",
"ios": "cpp",
"__locale": "cpp",
"valarray": "cpp",
"freeglut_spaceball.c": "cpp",
"__tuple": "cpp",
"hash_map": "cpp",
"hash_set": "cpp",
"system_error": "cpp",
"__nullptr": "cpp",
"__functional_base": "cpp",
"__functional_base_03": "cpp",
"chrono": "cpp",
"ratio": "cpp",
"atomic": "cpp",
"locale": "cpp",
"string_view": "cpp",
"__string": "cpp",
"cstring": "cpp",
"iomanip": "cpp",
"cstdint": "cpp",
"forward_list": "cpp",
"mutex": "cpp",
"__hash": "cpp",
"__debug": "cpp",
"__threading_support": "cpp",
"any": "cpp"
},
"files.exclude": {
"Binaries/*build*": true,
"Binaries/Output": true,
"Binaries/Packaging/GDevelop.app": true,
"ExtLibs/SFML": true,
"docs": true,
"GDJS/docs": true,
"GDCpp/docs": true,
"Core/docs": true,
"Extensions/CommonDialogs/dlib-18.16": true,
"newIDE/electron-app/dist": true,
"newIDE/app/build": true,
"newIDE/app/resources/GDJS": true,
"newIDE/electron-app/app/www": true
},
// Support for Flowtype (for newIDE):
"javascript.validate.enable": false,
"flow.useNPMPackagedFlow": true,
// Clang format styling (duplicated in scripts/CMakeClangUtils.txt)
"C_Cpp.clang_format_style": "{BasedOnStyle: Google, BinPackParameters: false, BinPackArguments: false}"
}

6
Binaries/.directory Normal file
View File

@@ -0,0 +1,6 @@
[Dolphin]
Timestamp=2015,4,21,21,49,19
Version=3
[Settings]
HiddenFilesShown=true

View File

@@ -1,7 +0,0 @@
#Execute this file to launch the game
#If you can not launch it, make sure that this file
#as well as 'ExeLinux' have the right to be executed
#(Right click on file > Properties)
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
./ExeLinux

View File

@@ -1,20 +0,0 @@
#Execute this file to launch GDevelop
#If you can not launch GD, make sure that this file
#as well as 'GDIDE' have the right to be executed
#(Right click on file > Properties)
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
./GDIDE
if [ "$?" = "127" ]; then
mkdir -p ~/.GDevelop
./GDIDE 1> ~/.GDevelop/errorMsgWhileLoadingGD.txt 2> ~/.GDevelop/errorMsgWhileLoadingGD.txt
errorMsg=$(cat < ~/.GDevelop/errorMsgWhileLoadingGD.txt)
echo "$errorMsg" | grep "loading shared"
if [ "$?" == "0" ]; then
zenity --error --text="Unable to launch GDevelop! Here is the error message:\n\n <b>$errorMsg</b>\n\nMay be a <b>package is not installed</b>.\nCheck if you can find the package in the Software Center.";
else
zenity --error --text="Unable to launch GDevelop, a unknown error happened! Here is the full error message:\n\n <b>$errorMsg</b>\n\n.";
fi;
fi;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 584 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 900 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 896 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 761 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 761 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 745 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 761 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,765 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<project firstLayout="">
<gdVersion build="73" major="3" minor="4" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Basic Level Editor with Tile Map Object</name>
<author></author>
<windowWidth>800</windowWidth>
<windowHeight>600</windowHeight>
<latestCompilationDirectory></latestCompilationDirectory>
<maxFPS>60</maxFPS>
<minFPS>10</minFPS>
<verticalSync>false</verticalSync>
<extensions>
<extension name="BuiltinObject" />
<extension name="BuiltinAudio" />
<extension name="BuiltinVariables" />
<extension name="BuiltinTime" />
<extension name="BuiltinMouse" />
<extension name="BuiltinKeyboard" />
<extension name="BuiltinJoystick" />
<extension name="BuiltinCamera" />
<extension name="BuiltinWindow" />
<extension name="BuiltinFile" />
<extension name="BuiltinNetwork" />
<extension name="BuiltinScene" />
<extension name="BuiltinAdvanced" />
<extension name="Sprite" />
<extension name="BuiltinCommonInstructions" />
<extension name="BuiltinCommonConversions" />
<extension name="BuiltinStringInstructions" />
<extension name="BuiltinMathematicalTools" />
<extension name="BuiltinExternalLayouts" />
<extension name="TileMapObject" />
<extension name="TextObject" />
</extensions>
<platforms>
<platform name="Game Develop C++ platform" />
</platforms>
<currentPlatform>Game Develop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="tiles_spritesheet.png" kind="image" name="tiles_spritesheet.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="../../../../n.png" kind="image" name="n.png" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="209" disableInputWhenNotFocused="true" mangledName="Nouvelle_32sc__4524ne" name="Nouvelle sc<73>ne" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="209" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="209">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Level" width="0.000000" x="100.000000" y="-100.000000" zOrder="1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Help" width="0.000000" x="314.500031" y="528.500000" zOrder="2">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="CurrentTileLabel" width="0.000000" x="6.500029" y="6.500008" zOrder="3">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="CurrentTileIndicator" width="0.000000" x="9.500000" y="64.500000" zOrder="4">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object name="Level" type="TileMapObject::TileMap">
<variables />
<automatisms />
<tileSet textureName="tiles_spritesheet.png" tileSizeX="70.000000" tileSizeY="70.000000" tileSpacingX="2.000000" tileSpacingY="2.000000">
<hitboxes>
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;35|0;35" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;35|0;35" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;35|0;35" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;35|0;35" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;35|70;35|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
</hitboxes>
</tileSet>
<tileMap columns="10" rows="10">
<tiles>-1,-1,-1,-1,-1,-1,-1,-1,103,152|-1,-1,-1,68,-1,-1,-1,-1,103,152|-1,-1,-1,44,-1,-1,-1,-1,103,152|-1,-1,-1,-1,80,-1,-1,-1,103,152|-1,-1,0,-1,-1,80,-1,-1,103,152|-1,-1,-1,-1,-1,-1,68,-1,103,152|-1,-1,-1,-1,-1,-1,56,-1,103,152|-1,-1,-1,-1,-1,-1,44,-1,103,152|-1,-1,-1,-1,-1,-1,-1,-1,103,152|-1,-1,-1,-1,-1,-1,-1,-1,103,152#-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1#-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1</tiles>
</tileMap>
</object>
<object bold="false" italic="false" name="Help" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Left clic to add the tile, right clic to delete it.&#x0A;Use 0-5 to select a tile to add (not from the numpad)&#x0A;S to save the level, L to reload it.</string>
<font></font>
<characterSize>20</characterSize>
<color b="0" g="0" r="0" />
</object>
<object bold="false" italic="false" name="CurrentTileLabel" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Current&#x0A;Tile :</string>
<font></font>
<characterSize>20</characterSize>
<color b="0" g="0" r="0" />
</object>
<object name="CurrentTileIndicator" type="TileMapObject::TileMap">
<variables />
<automatisms />
<tileSet textureName="tiles_spritesheet.png" tileSizeX="70.000000" tileSizeY="70.000000" tileSpacingX="2.000000" tileSpacingY="2.000000">
<hitboxes>
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
</hitboxes>
</tileSet>
<tileMap columns="1" rows="1">
<tiles>0#-1#-1</tiles>
</tileMap>
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="DepartScene" />
<parameters>
<parameter></parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>current_tile</parameter>
<parameter>=</parameter>
<parameter>103</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Met <20> jour l&apos;indicateur de tuile (qui montre la tuile que l&apos;on souhaite ins<6E>rer)</comment>
<comment2>Update the tile indicator (which shows the tile that will be inserted)</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="TileMapObject::SetTile" />
<parameters>
<parameter>CurrentTileIndicator</parameter>
<parameter>0</parameter>
<parameter>0</parameter>
<parameter>0</parameter>
<parameter>Variable(current_tile)</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Ajoute la tuile dans l&apos;objet.&#x0A;Les expressions GetColumnAt et GetRowAt permettent de trouver la colonne et la ligne en fonction de la position (ici la position de la souris)</comment>
<comment2>Add the tile in the object.&#x0A;GetColumnAt and GetRowAt expressions allow us to get the column and the row from the position (in that case, the mouse position)</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="SourisBouton" />
<parameters>
<parameter></parameter>
<parameter>Left</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="BuiltinCommonInstructions::Once" />
<parameters />
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="TileMapObject::SetTile" />
<parameters>
<parameter>Level</parameter>
<parameter>0</parameter>
<parameter>Level.GetColumnAt(MouseX())</parameter>
<parameter>Level.GetRowAt(MouseY())</parameter>
<parameter>Variable(current_tile)</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Supprime la tuile&#x0A;Similaire <20> l&apos;<3B>v<EFBFBD>nement pr<70>c<EFBFBD>dent mais on met la tuile #-1 (cela permet de supprimer la tuile)</comment>
<comment2>Remove the tile.&#x0A;Similar to the previous event but we set the tile #-1 to remove the tile.</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="SourisBouton" />
<parameters>
<parameter></parameter>
<parameter>Right</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="BuiltinCommonInstructions::Once" />
<parameters />
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="TileMapObject::SetTile" />
<parameters>
<parameter>Level</parameter>
<parameter>0</parameter>
<parameter>Level.GetColumnAt(MouseX())</parameter>
<parameter>Level.GetRowAt(MouseY())</parameter>
<parameter>-1</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Ev<45>nements pour changer la tuile <20> ins<6E>rer</comment>
<comment2>Events to change the tile to insert</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Num1</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>current_tile</parameter>
<parameter>=</parameter>
<parameter>103</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Num2</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>current_tile</parameter>
<parameter>=</parameter>
<parameter>152</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Num3</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>current_tile</parameter>
<parameter>=</parameter>
<parameter>80</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Num4</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>current_tile</parameter>
<parameter>=</parameter>
<parameter>0</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Num5</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>current_tile</parameter>
<parameter>=</parameter>
<parameter>132</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Sauvegarder et charger un niveau (il est juste sauvegard<72> dans une variable, pas dans un fichier)</comment>
<comment2>Save and load a level (just saved in a variable, not in a file)</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>s</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="BuiltinCommonInstructions::Once" />
<parameters />
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarSceneTxt" />
<parameters>
<parameter>save</parameter>
<parameter>=</parameter>
<parameter>Level.SaveTiles()</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>l</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="BuiltinCommonInstructions::Once" />
<parameters />
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="TileMapObject::LoadTiles" />
<parameters>
<parameter>Level</parameter>
<parameter>VariableString(save)</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
</events>
<layers>
<layer name="" visibility="true">
<cameras>
<camera defaultSize="true" defaultViewport="true" height="0.000000" viewportBottom="1.000000" viewportLeft="0.000000" viewportRight="1.000000" viewportTop="0.000000" width="0.000000" />
</cameras>
</layer>
</layers>
<automatismsSharedData />
</layout>
</layouts>
<externalEvents />
<externalLayouts />
<externalSourceFiles />
</project>

View File

@@ -1,663 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<Project>
<GDVersion Major="3" Minor="2" Build="63" Revision="0" />
<Info winExecutableFilename="" winExecutableIconFile="" linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false">
<Nom value="Basic platformer" />
<Auteur value="" />
<Extensions>
<Extension name="BuiltinObject" />
<Extension name="BuiltinAudio" />
<Extension name="BuiltinVariables" />
<Extension name="BuiltinTime" />
<Extension name="BuiltinMouse" />
<Extension name="BuiltinKeyboard" />
<Extension name="BuiltinJoystick" />
<Extension name="BuiltinCamera" />
<Extension name="BuiltinWindow" />
<Extension name="BuiltinFile" />
<Extension name="BuiltinNetwork" />
<Extension name="BuiltinScene" />
<Extension name="BuiltinAdvanced" />
<Extension name="Sprite" />
<Extension name="BuiltinCommonInstructions" />
<Extension name="BuiltinCommonConversions" />
<Extension name="BuiltinStringInstructions" />
<Extension name="BuiltinMathematicalTools" />
<Extension name="BuiltinExternalLayouts" />
<Extension name="TiledSpriteObject" />
<Extension name="PlatformAutomatism" />
</Extensions>
<Platforms current="Game Develop C++ platform">
<Platform name="Game Develop C++ platform" />
<Platform name="Game Develop JS platform" />
</Platforms>
<WindowW value="800" />
<WindowH value="600" />
<Portable />
<LatestCompilationDirectory value="" />
<FPSmax value="60" />
<FPSmin value="10" />
<verticalSync value="false" />
</Info>
<Resources>
<Resources>
<Resource kind="image" name="p1_stand.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_stand.png" />
<Resource kind="image" name="p1_jump.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_jump.png" />
<Resource kind="image" name="p1_walk01.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk01.png" />
<Resource kind="image" name="p1_walk02.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk02.png" />
<Resource kind="image" name="p1_walk03.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk03.png" />
<Resource kind="image" name="p1_walk04.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk04.png" />
<Resource kind="image" name="p1_walk05.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk05.png" />
<Resource kind="image" name="p1_walk06.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk06.png" />
<Resource kind="image" name="p1_walk07.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk07.png" />
<Resource kind="image" name="p1_walk08.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk08.png" />
<Resource kind="image" name="p1_walk09.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk09.png" />
<Resource kind="image" name="p1_walk10.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk10.png" />
<Resource kind="image" name="p1_walk11.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="p1_walk11.png" />
<Resource kind="image" name="brickWall.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="brickWall.png" />
<Resource kind="image" name="bridge.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="bridge.png" />
<Resource kind="image" name="grassHalfMid.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="grassHalfMid.png" />
<Resource kind="image" name="castleCenter.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="castleCenter.png" />
<Resource kind="image" name="bridgeLogs.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="bridgeLogs.png" />
<Resource kind="image" name="Left.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="Left.png" />
<Resource kind="image" name="Right.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="Right.png" />
<Resource kind="image" name="ladder_mid.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="ladder_mid.png" />
<Resource kind="image" name="Grass.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Grass.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="New scene" mangledName="New_32scene" r="201.000000" v="233.000000" b="252.000000" titre="" oglFOV="90.000000" oglZNear="1.000000" oglZFar="500.000000" standardSortMethod="true" stopSoundsOnStartup="true" disableInputWhenNotFocused="true">
<UISettings gridWidth="70.000000" grid="false" snap="true" gridHeight="70.000000" gridR="158.000000" gridG="180.000000" gridB="255.000000" zoomFactor="0.764706" windowMask="false" associatedLayout="" />
<GroupesObjets />
<Objets>
<Objet nom="Player" type="Sprite">
<Variables />
<Automatism Type="PlatformAutomatism::PlatformerObjectAutomatism" Name="PlatformerObject" gravity="1300.000000" maxFallingSpeed="1000.000000" acceleration="1500.000000" deceleration="1500.000000" maxSpeed="250.000000" jumpSpeed="1000.000000" ignoreDefaultControls="false" />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="p1_stand.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="36.000000" Y="46.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="p1_jump.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="36.000000" Y="47.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
<Animation typeNormal="false">
<Direction boucle="true" tempsEntre="0.050000">
<Sprites>
<Sprite image="p1_walk03.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="36.000000" Y="48.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="p1_walk04.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="36.000000" Y="48.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="p1_walk05.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="36.000000" Y="48.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="p1_walk06.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="36.000000" Y="48.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="p1_walk07.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="36.000000" Y="48.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Platform" type="Sprite">
<Variables />
<Automatism Type="PlatformAutomatism::PlatformAutomatism" Name="Platform" platformType="NormalPlatform" />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="brickWall.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="35.000000" Y="35.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Grass.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="35.000000" Y="35.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Jumpthru" type="Sprite">
<Variables />
<Automatism Type="PlatformAutomatism::PlatformAutomatism" Name="Platform" platformType="Jumpthru" />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="bridgeLogs.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="35.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="TiledGrassPlatform" type="TiledSpriteObject::TiledSprite" texture="grassHalfMid.png" width="70" height="70">
<Variables />
<Automatism Type="PlatformAutomatism::PlatformAutomatism" Name="Platform" platformType="NormalPlatform" />
</Objet>
<Objet nom="TiledCastlePlatform" type="TiledSpriteObject::TiledSprite" texture="castleCenter.png" width="70" height="70">
<Variables />
<Automatism Type="PlatformAutomatism::PlatformAutomatism" Name="Platform" platformType="NormalPlatform" />
</Objet>
<Objet nom="MovingPlatform" type="Sprite">
<Variables />
<Automatism Type="PlatformAutomatism::PlatformAutomatism" Name="Platform" platformType="Jumpthru" />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="bridge.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="35.000000" Y="10.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="GoLeft" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Left.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="13.000000" Y="13.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="GoRight" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Right.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="13.000000" Y="13.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Ladder" type="TiledSpriteObject::TiledSprite" texture="ladder_mid.png" width="70" height="70">
<Variables />
<Automatism Type="PlatformAutomatism::PlatformAutomatism" Name="Platform" platformType="Ladder" />
</Objet>
</Objets>
<Layers>
<Layer Name="" Visibility="true">
<Camera DefaultSize="true" Width="0.000000" Height="0.000000" DefaultViewport="true" ViewportLeft="0.000000" ViewportTop="0.000000" ViewportRight="1.000000" ViewportBottom="1.000000" />
</Layer>
</Layers>
<Variables />
<AutomatismsSharedDatas>
<AutomatismSharedDatas Type="PlatformAutomatism::PlatformAutomatism" Name="Platform" />
<AutomatismSharedDatas Type="PlatformAutomatism::PlatformerObjectAutomatism" Name="PlatformerObject" />
</AutomatismsSharedDatas>
<Positions>
<Objet nom="Player" x="-51.999992" y="444.000000" plan="20" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="210.000000" y="501.000000" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="1.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Jumpthru" x="462.538483" y="300.692322" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Jumpthru" x="285.000000" y="418.000000" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Jumpthru" x="377.307709" y="359.923096" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="575.076965" y="268.769287" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="627.692322" y="277.153839" plan="1" layer="" angle="18.996670" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="683.000000" y="290.000000" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="TiledGrassPlatform" x="-583.046265" y="571.000000" plan="1" layer="" angle="0.000000" personalizedSize="true" width="2858.892578" height="70.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="TiledCastlePlatform" x="-572.923218" y="83.000000" plan="1" layer="" angle="0.000000" personalizedSize="true" width="502.923248" height="487.461548" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="MovingPlatform" x="754.846130" y="298.615387" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1420.077026" y="499.692291" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="1.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1203.000000" y="289.692291" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="1.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1203.000000" y="359.692291" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1203.000000" y="499.692291" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1203.000000" y="429.692291" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1274.923096" y="499.384552" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1274.923096" y="429.384552" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1348.153931" y="499.692291" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1347.153931" y="429.692291" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="1.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1274.923096" y="358.384552" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="1.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="GoLeft" x="1196.769287" y="291.246155" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="GoRight" x="735.384583" y="295.169250" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Ladder" x="1822.769043" y="214.999985" plan="1" layer="" angle="0.000000" personalizedSize="true" width="70.000000" height="353.769226" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1822.461304" y="145.692352" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1895.999634" y="356.230774" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="1.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1968.230347" y="356.230774" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="1.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1895.999756" y="498.769226" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1274.923096" y="359.384552" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Platform" x="1895.999756" y="426.846161" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
</Positions>
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value='The &quot;Player&quot; object has an automatism called &quot;Platformer object&quot;: &#x0A;You can move it using the arrows key and the Shift key to jump.&#x0A;&#x0A;The platforms are recognized thanks to their &quot;Platform&quot; automatism.' />
<Com2 value='L&apos;objet &quot;Player&quot; poss<73>de un automatisme appel<65> &quot;Personnage d<>pla<6C>able sur les plateformes&quot;:&#x0A;Vous pouvez le bouger avec les fl<66>ches directionnelles et utiliser la touche Shift ( ou Maj ) pour sauter.&#x0A;&#x0A;Les plateformes ont toutes un automatisme &quot;Plateforme&quot; afin d&apos;<3B>tre reconnues comme telles.' />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Change the animation according to what the player do." />
<Com2 value="On change l&apos;animation en fonction de ce que fait le joueur." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="PlatformAutomatism::IsJumping" Contraire="false" />
<Parametre value="Player" />
<Parametre value="PlatformerObject" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ChangeAnimation" />
<Parametre value="Player" />
<Parametre value="=" />
<Parametre value="1" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="PlatformAutomatism::IsFalling" Contraire="false" />
<Parametre value="Player" />
<Parametre value="PlatformerObject" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ChangeAnimation" />
<Parametre value="Player" />
<Parametre value="=" />
<Parametre value="1" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="PlatformAutomatism::IsOnFloor" Contraire="false" />
<Parametre value="Player" />
<Parametre value="PlatformerObject" />
</Condition>
</Conditions>
<Actions />
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="PlatformAutomatism::IsMoving" Contraire="true" />
<Parametre value="Player" />
<Parametre value="PlatformerObject" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ChangeAnimation" />
<Parametre value="Player" />
<Parametre value="=" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="PlatformAutomatism::IsMoving" Contraire="false" />
<Parametre value="Player" />
<Parametre value="PlatformerObject" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ChangeAnimation" />
<Parametre value="Player" />
<Parametre value="=" />
<Parametre value="2" />
</Action>
</Actions>
</Event>
</Events>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Left" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="FlipX" />
<Parametre value="Player" />
<Parametre value="yes" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Right" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="FlipX" />
<Parametre value="Player" />
<Parametre value="no" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Make sure the camera follows the player." />
<Com2 value="On s&apos;assure que la cam<61>ra suit le joueur." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="CameraX" />
<Parametre value="" />
<Parametre value="=" />
<Parametre value="Player.X()" />
<Parametre value="" />
<Parametre value="" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Management of the moving platform:" />
<Com2 value="Gestion de la plateforme bougeante:" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="DepartScene" Contraire="false" />
<Parametre value="" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Cache" />
<Parametre value="GoLeft" />
</Action>
<Action>
<Type value="Cache" />
<Parametre value="GoRight" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="CollisionNP" Contraire="false" />
<Parametre value="GoLeft" />
<Parametre value="MovingPlatform" />
<Parametre value="" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Arreter" />
<Parametre value="MovingPlatform" />
</Action>
<Action>
<Type value="AddForceXY" />
<Parametre value="MovingPlatform" />
<Parametre value="-150" />
<Parametre value="0" />
<Parametre value="1" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="CollisionNP" Contraire="false" />
<Parametre value="GoRight" />
<Parametre value="MovingPlatform" />
<Parametre value="" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Arreter" />
<Parametre value="MovingPlatform" />
</Action>
<Action>
<Type value="AddForceXY" />
<Parametre value="MovingPlatform" />
<Parametre value="150" />
<Parametre value="0" />
<Parametre value="1" />
</Action>
</Actions>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>

View File

@@ -1,768 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<Project>
<GDVersion Major="3" Minor="0" Build="11297" Revision="57008" />
<Info winExecutableFilename="" winExecutableIconFile="" linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false">
<Nom value="Basic artificial intelligence" />
<Auteur value="" />
<Extensions>
<Extension name="BuiltinObject" />
<Extension name="BuiltinAudio" />
<Extension name="BuiltinVariables" />
<Extension name="BuiltinTime" />
<Extension name="BuiltinMouse" />
<Extension name="BuiltinKeyboard" />
<Extension name="BuiltinJoystick" />
<Extension name="BuiltinCamera" />
<Extension name="BuiltinWindow" />
<Extension name="BuiltinFile" />
<Extension name="BuiltinNetwork" />
<Extension name="BuiltinScene" />
<Extension name="BuiltinAdvanced" />
<Extension name="Sprite" />
<Extension name="BuiltinCommonInstructions" />
<Extension name="BuiltinCommonConversions" />
<Extension name="BuiltinStringInstructions" />
<Extension name="BuiltinMathematicalTools" />
<Extension name="BuiltinExternalLayouts" />
<Extension name="TextObject" />
<Extension name="LinkedObjects" />
<Extension name="Light" />
<Extension name="CommonDialogs" />
<Extension name="DestroyOutsideAutomatism" />
</Extensions>
<Platforms current="Game Develop C++ platform">
<Platform name="Game Develop C++ platform" />
</Platforms>
<WindowW value="800" />
<WindowH value="600" />
<Portable />
<LatestCompilationDirectory value="" />
<FPSmax value="60" />
<FPSmin value="10" />
<verticalSync value="false" />
</Info>
<Resources>
<Resources>
<Resource kind="image" name="bordure2.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="bordure2.png" />
<Resource kind="image" name="tank1" alwaysLoaded="false" smoothed="false" userAdded="true" file="tankV1.png" />
<Resource kind="image" name="tank2" alwaysLoaded="false" smoothed="false" userAdded="true" file="tankV2.png" />
<Resource kind="image" name="tank3" alwaysLoaded="false" smoothed="false" userAdded="true" file="tankV3.png" />
<Resource kind="image" name="tank4" alwaysLoaded="false" smoothed="false" userAdded="true" file="tankV4.png" />
<Resource kind="image" name="tank5" alwaysLoaded="false" smoothed="false" userAdded="true" file="tankV5.png" />
<Resource kind="image" name="tank6" alwaysLoaded="false" smoothed="false" userAdded="true" file="tankV6.png" />
<Resource kind="image" name="tank7" alwaysLoaded="false" smoothed="false" userAdded="true" file="tankV7.png" />
<Resource kind="image" name="bordure.png" alwaysLoaded="false" smoothed="false" userAdded="true" file="bordure.png" />
<Resource kind="image" name="Vue.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Vue.png" />
<Resource kind="image" name="TankB1.png" alwaysLoaded="false" smoothed="false" userAdded="true" file="TankB1.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="Nouvelle sc<73>ne 1" mangledName="Nouvelle_32sc__4524ne_321" r="0.000000" v="64.000000" b="0.000000" titre="" oglFOV="90.000000" oglZNear="1.000000" oglZFar="500.000000" standardSortMethod="true" stopSoundsOnStartup="true" disableInputWhenNotFocused="true">
<UISettings gridWidth="32.000000" grid="false" snap="true" gridHeight="32.000000" gridR="158.000000" gridG="180.000000" gridB="255.000000" zoomFactor="1.000000" windowMask="false" associatedLayout="" />
<GroupesObjets />
<Objets>
<Objet nom="Perso" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="TankB1.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="14.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Mur" type="Sprite">
<Variables />
<Automatism Type="Light::LightObstacleAutomatism" Name="LightObstacle" />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="bordure.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="48.000000" Y="16.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="bordure.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="48.000000" Y="16.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="bordure.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="48.000000" Y="16.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="IA" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="true" tempsEntre="0.150000">
<Sprites>
<Sprite image="tank1">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="14.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="tank2">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="14.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="tank3">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="14.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="tank4">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="14.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="tank5">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="14.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="tank6">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="14.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
<Sprite image="tank7">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="14.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="tank3">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="14.000000" Y="12.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="View" type="Sprite">
<Variables />
<Automatism Type="DestroyOutsideAutomatism::DestroyOutside" Name="DestroyOutside" extraBorder="0" />
<Animations>
<Animation typeNormal="true">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Vue.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="2.000000" Y="2.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Alert" type="Light::Light" intensity="150.000000" radius="128.000000" quality="16" colorR="255" colorG="0" colorB="0" globalLight="false" globalColorR="128" globalColorG="128" globalColorB="128" globalColorA="255">
<Variables />
</Objet>
<Objet nom="Note" type="TextObject::Text" smoothed="true" bold="false" italic="false" underlined="false">
<Variables />
<String value='Enable an event in the events editor&#x0A;to hide &quot;View&quot; fired from green tanks.' />
<Font value="" />
<CharacterSize value="20" />
<Color r="255" g="255" b="255" />
</Objet>
</Objets>
<Layers>
<Layer Name="" Visibility="true">
<Camera DefaultSize="true" Width="0.000000" Height="0.000000" DefaultViewport="true" ViewportLeft="0.000000" ViewportTop="0.000000" ViewportRight="1.000000" ViewportBottom="1.000000" />
</Layer>
<Layer Name="Interface" Visibility="true">
<Camera DefaultSize="true" Width="0.000000" Height="0.000000" DefaultViewport="true" ViewportLeft="0.000000" ViewportTop="0.000000" ViewportRight="1.000000" ViewportBottom="1.000000" />
</Layer>
</Layers>
<Variables />
<AutomatismsSharedDatas>
<AutomatismSharedDatas Type="Light::LightObstacleAutomatism" Name="LightObstacle" />
</AutomatismsSharedDatas>
<Positions>
<Objet nom="Perso" x="272.000000" y="83.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="352.000000" y="96.000000" plan="0" layer="" angle="90.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="384.000000" y="256.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="IA" x="548.000000" y="57.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="IA" x="545.000000" y="220.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="608.000000" y="0.000000" plan="0" layer="" angle="90.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="352.000000" y="0.000000" plan="0" layer="" angle="90.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="IA" x="107.000000" y="44.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="IA" x="111.000000" y="101.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="IA" x="109.000000" y="188.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="160.000000" y="0.000000" plan="0" layer="" angle="90.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="160.000000" y="96.000000" plan="0" layer="" angle="90.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="160.000000" y="192.000000" plan="0" layer="" angle="90.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="608.000000" y="96.000000" plan="0" layer="" angle="90.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="608.000000" y="192.000000" plan="0" layer="" angle="90.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="480.000000" y="256.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Mur" x="576.000000" y="256.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Note" x="466.000000" y="547.000000" plan="0" layer="Interface" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
</Positions>
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Left" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Perso" />
<Parametre value="-75" />
<Parametre value="0" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Right" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Perso" />
<Parametre value="75" />
<Parametre value="0" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Up" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Perso" />
<Parametre value="0" />
<Parametre value="-75" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Down" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Perso" />
<Parametre value="0" />
<Parametre value="75" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="TourneVersPos" />
<Parametre value="Perso" />
<Parametre value="MouseX()" />
<Parametre value="MouseY()" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="255.000000" b="128.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Create regularly a new object used to search for the player.&#x0A;The object is linked to its owner." />
<Com2 value="Cr<43>er r<>guli<6C>rement un objet utilis<69> pour chercher le joueur.&#x0A;L&apos;objet est li<6C> <20> son propri<72>taire." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Timer" Contraire="false" />
<Parametre value="IA" />
<Parametre value="0.1" />
<Parametre value='&quot;RefreshAI&quot;' />
</Condition>
<Condition>
<Type value="AjoutHasard" Contraire="false" />
<Parametre value="" />
<Parametre value="IA" />
<Parametre value="" />
<Parametre value="IA" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="View" />
<Parametre value="IA.X()" />
<Parametre value="IA.Y()" />
</Action>
<Action>
<Type value="LinkedObjects::LinkObjects" />
<Parametre value="" />
<Parametre value="View" />
<Parametre value="IA" />
<Parametre value="View" />
<Parametre value="IA" />
</Action>
<Action>
<Type value="AddForceVers" />
<Parametre value="View" />
<Parametre value="Perso" />
<Parametre value="400" />
<Parametre value="1" />
</Action>
<Action>
<Type value="ResetTimer" />
<Parametre value="" />
<Parametre value='&quot;RefreshAI&quot;' />
</Action>
</Actions>
</Event>
<Event disabled="true" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="Cache" />
<Parametre value="View" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="255.000000" b="128.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value='If the player is reached by a &quot;View&quot; object, its owner is alerted.' />
<Com2 value='Si un objet &quot;View&quot; est en collision avec le joueur, on met le propri<72>taire en alerte.' />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Collision" Contraire="false" />
<Parametre value="Perso" />
<Parametre value="View" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="LinkedObjects::PickObjectsLinkedTo" />
<Parametre value="" />
<Parametre value="IA" />
<Parametre value="View" />
<Parametre value="View" />
<Parametre value="" />
<Parametre value="IA" />
</Action>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="Alert" />
<Parametre value="IA.PointX(Center)" />
<Parametre value="IA.PointY(Center)" />
<Parametre value="" />
</Action>
<Action>
<Type value="ModVarObjet" />
<Parametre value="IA" />
<Parametre value="Alerte" />
<Parametre value="=" />
<Parametre value="1" />
</Action>
<Action>
<Type value="Delete" />
<Parametre value="View" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="255.000000" b="128.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Move alerted tank toward player" />
<Com2 value="Arr<72>ter la poursuite au bout d&apos;un temps." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="VarObjet" Contraire="false" />
<Parametre value="IA" />
<Parametre value="Alerte" />
<Parametre value="=" />
<Parametre value="1" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceVers" />
<Parametre value="IA" />
<Parametre value="Perso" />
<Parametre value="50" />
<Parametre value="0" />
</Action>
<Action>
<Type value="TourneVers" />
<Parametre value="IA" />
<Parametre value="Perso" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="255.000000" b="128.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Stop following player after some time." />
<Com2 value="Arr<72>ter la poursuite au bout d&apos;un temps." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Timer" Contraire="false" />
<Parametre value="" />
<Parametre value="5" />
<Parametre value='&quot;FinAlerte&quot;' />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ModVarObjet" />
<Parametre value="IA" />
<Parametre value="Alerte" />
<Parametre value="=" />
<Parametre value="0" />
</Action>
<Action>
<Type value="ResetTimer" />
<Parametre value="" />
<Parametre value='&quot;FinAlerte&quot;' />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="255.000000" b="128.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Collision management" />
<Com2 value="Gestion des collisions" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Collision" Contraire="false" />
<Parametre value="Mur" />
<Parametre value="View" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Delete" />
<Parametre value="View" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Collision" Contraire="false" />
<Parametre value="IA" />
<Parametre value="Mur" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Rebondir" />
<Parametre value="IA" />
<Parametre value="Mur" />
<Parametre value="" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Collision" Contraire="false" />
<Parametre value="Perso" />
<Parametre value="Mur" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Rebondir" />
<Parametre value="Perso" />
<Parametre value="Mur" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="255.000000" b="128.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Make Alert lights disappear" />
<Com2 value="Faire disparaitre les lumi<6D>res d&apos;alertes." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="Light::Intensity" />
<Parametre value="Alert" />
<Parametre value="-" />
<Parametre value="500*TimeDelta()" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Light::Intensity" Contraire="false" />
<Parametre value="Alert" />
<Parametre value="&lt;=" />
<Parametre value="0" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Delete" />
<Parametre value="Alert" />
<Parametre value="" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="255.000000" b="128.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Animation" />
<Com2 value="Animation des ennemis" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Arret" Contraire="false" />
<Parametre value="IA" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ChangeAnimation" />
<Parametre value="IA" />
<Parametre value="=" />
<Parametre value="1" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Arret" Contraire="true" />
<Parametre value="IA" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ChangeAnimation" />
<Parametre value="IA" />
<Parametre value="=" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="AddForceVers" />
<Parametre value="View" />
<Parametre value="Perso" />
<Parametre value="200" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>

View File

@@ -1,521 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<Project>
<GDVersion Major="3" Minor="0" Build="11297" Revision="57008" />
<Info winExecutableFilename="" winExecutableIconFile="" linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false">
<Nom value="Project" />
<Auteur value="" />
<Extensions>
<Extension name="BuiltinObject" />
<Extension name="BuiltinAudio" />
<Extension name="BuiltinVariables" />
<Extension name="BuiltinTime" />
<Extension name="BuiltinMouse" />
<Extension name="BuiltinKeyboard" />
<Extension name="BuiltinJoystick" />
<Extension name="BuiltinCamera" />
<Extension name="BuiltinWindow" />
<Extension name="BuiltinFile" />
<Extension name="BuiltinNetwork" />
<Extension name="BuiltinScene" />
<Extension name="BuiltinAdvanced" />
<Extension name="Sprite" />
<Extension name="BuiltinCommonInstructions" />
<Extension name="BuiltinCommonConversions" />
<Extension name="BuiltinStringInstructions" />
<Extension name="BuiltinMathematicalTools" />
<Extension name="BuiltinExternalLayouts" />
<Extension name="Network" />
<Extension name="CommonDialogs" />
</Extensions>
<Platforms current="Game Develop C++ platform">
<Platform name="Game Develop C++ platform" />
</Platforms>
<WindowW value="800" />
<WindowH value="600" />
<Portable />
<LatestCompilationDirectory value="" />
<FPSmax value="60" />
<FPSmin value="10" />
<verticalSync value="false" />
</Info>
<Resources>
<Resources>
<Resource kind="image" name="Pea-Ghost.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Pea-Ghost.png" />
<Resource kind="image" name="Pea-Standard.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Pea-Standard.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="New scene" mangledName="New_32scene" r="128.000000" v="255.000000" b="128.000000" titre="" oglFOV="90.000000" oglZNear="1.000000" oglZFar="500.000000" standardSortMethod="true" stopSoundsOnStartup="true" disableInputWhenNotFocused="true">
<UISettings gridWidth="32.000000" grid="false" snap="true" gridHeight="32.000000" gridR="158.000000" gridG="180.000000" gridB="255.000000" zoomFactor="1.000000" windowMask="false" associatedLayout="" />
<GroupesObjets />
<Objets>
<Objet nom="Object1" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="true">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Pea-Standard.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="18.000000" Y="18.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Object2" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="true">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Pea-Ghost.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="45.000000" Y="19.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites />
</Direction>
</Animation>
</Animations>
</Objet>
</Objets>
<Layers>
<Layer Name="" Visibility="true">
<Camera DefaultSize="true" Width="0.000000" Height="0.000000" DefaultViewport="true" ViewportLeft="0.000000" ViewportTop="0.000000" ViewportRight="1.000000" ViewportBottom="1.000000" />
</Layer>
</Layers>
<Variables />
<AutomatismsSharedDatas />
<Positions>
<Objet nom="Object1" x="199.000000" y="169.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Object2" x="450.000000" y="167.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
</Positions>
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Demander quel joueur prendre et se connecter <20> l&apos;autre ordinateur&#x0A;Choose the player and connect to the second computer." />
<Com2 value="" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="DepartScene" Contraire="false" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ShowYesNoMsgBox" />
<Parametre value="" />
<Parametre value="firstPlayer" />
<Parametre value='&quot;<3B>tre le premier joueur ?&quot;' />
<Parametre value='&quot;Choix du joueur&quot;' />
</Action>
<Action>
<Type value="ShowTextInput" />
<Parametre value="" />
<Parametre value="OtherIP" />
<Parametre value='&quot;Adresse IP de l&apos;autre ordinateur&quot;' />
<Parametre value='&quot;Connexion&quot;' />
</Action>
</Actions>
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Les ports ont <20>t<EFBFBD> personnalis<69>s suivant que l&apos;ordinateur soit le premier ou le second joueur afin&#x0A;de permettre de pouvoir tester l&apos;exemple sur un m<>me ordinateur ( En lan<61>ant deux fois le jeu et&#x0A;en entrant 127.0.0.1 en adresse IP )&#x0A;Ports numbers have been customized so as to allow testing the example on the same computer,&#x0A;by launching twice the game and by typing 127.0.0.1 in IP Adress." />
<Com2 value="" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="VarSceneTxt" Contraire="false" />
<Parametre value="" />
<Parametre value="firstPlayer" />
<Parametre value="=" />
<Parametre value='&quot;yes&quot;' />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Network::ListenToPort" />
<Parametre value="50001" />
</Action>
<Action>
<Type value="Network::AddRecipient" />
<Parametre value="VariableString(OtherIP)" />
<Parametre value="50002" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="VarSceneTxt" Contraire="false" />
<Parametre value="" />
<Parametre value="firstPlayer" />
<Parametre value="=" />
<Parametre value='&quot;no&quot;' />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Network::ListenToPort" />
<Parametre value="50002" />
</Action>
<Action>
<Type value="Network::AddRecipient" />
<Parametre value="VariableString(OtherIP)" />
<Parametre value="50001" />
</Action>
</Actions>
</Event>
</Events>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="1er joueur&#x0A;First player" />
<Com2 value="" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="VarSceneTxt" Contraire="false" />
<Parametre value="" />
<Parametre value="firstPlayer" />
<Parametre value="=" />
<Parametre value='&quot;yes&quot;' />
</Condition>
</Conditions>
<Actions />
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Mise <20> jour de la position du joueur 2&#x0A;Update position of second player" />
<Com2 value="" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="Network::ReceivePackets" />
</Action>
<Action>
<Type value="MettreXY" />
<Parametre value="Object2" />
<Parametre value="=" />
<Parametre value='Network::GetReceivedDataValue(&quot;Object2/X&quot;)' />
<Parametre value="=" />
<Parametre value='Network::GetReceivedDataValue(&quot;Object2/Y&quot;)' />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="D<>placement du joueur 1&#x0A;Manage movement of first player" />
<Com2 value="" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Right" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Object1" />
<Parametre value="150" />
<Parametre value="0" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Down" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Object1" />
<Parametre value="0" />
<Parametre value="150" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Up" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Object1" />
<Parametre value="0" />
<Parametre value="-150" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Left" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Object1" />
<Parametre value="-150" />
<Parametre value="0" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Envoi des donn<6E>es du joueur 1&#x0A;Send data concerning player 1" />
<Com2 value="" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="Network::SendValue" />
<Parametre value='&quot;Object1/X&quot;' />
<Parametre value="Object1.X()" />
</Action>
<Action>
<Type value="Network::SendValue" />
<Parametre value='&quot;Object1/Y&quot;' />
<Parametre value="Object1.Y()" />
</Action>
</Actions>
</Event>
</Events>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Comment" />
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
<Com1 value="Second joueur&#x0A;Second player" />
<Com2 value="" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="VarSceneTxt" Contraire="false" />
<Parametre value="" />
<Parametre value="firstPlayer" />
<Parametre value="=" />
<Parametre value='&quot;no&quot;' />
</Condition>
</Conditions>
<Actions />
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="Network::ReceivePackets" />
</Action>
<Action>
<Type value="MettreXY" />
<Parametre value="Object1" />
<Parametre value="=" />
<Parametre value='Network::GetReceivedDataValue(&quot;Object1/X&quot;)' />
<Parametre value="=" />
<Parametre value='Network::GetReceivedDataValue(&quot;Object1/Y&quot;)' />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Right" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Object2" />
<Parametre value="150" />
<Parametre value="0" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Down" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Object2" />
<Parametre value="0" />
<Parametre value="150" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Up" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Object2" />
<Parametre value="0" />
<Parametre value="-150" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="Left" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="AddForceXY" />
<Parametre value="Object2" />
<Parametre value="-150" />
<Parametre value="0" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="Network::SendValue" />
<Parametre value='&quot;Object2/X&quot;' />
<Parametre value="Object2.X()" />
</Action>
<Action>
<Type value="Network::SendValue" />
<Parametre value='&quot;Object2/Y&quot;' />
<Parametre value="Object2.Y()" />
</Action>
</Actions>
</Event>
</Events>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

Some files were not shown because too many files have changed in this diff Show More