Compare commits

...

366 Commits

Author SHA1 Message Date
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
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
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
victorlevasseur
42a2e28d30 Merge branch 'utf8-gdstring' of https://github.com/victorlevasseur/GD into utf8-gdstring 2015-07-09 00:50:57 +02: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
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
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
Victor Levasseur
587eab3806 Fix DAT file not loaded properly 2015-07-06 11:59:00 +02: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
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
victorlevasseur
60e47b844d Depreciated ToString specialization for wxString 2015-06-07 16:48:29 +02: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
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
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
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
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
victorlevasseur
5d8e7e31fb Merge remote-tracking branch 'upstream/macos-bundle' into utf8 2015-03-29 11:59:31 +02: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
victorlevasseur
198ad39e06 Project manager supports UTF8 2015-03-15 11:02:23 +01:00
victorlevasseur
2442979860 Add UTF8 support to the variable editor/selector 2015-03-07 22:47:56 +01:00
victorlevasseur
76f0fd7834 Sprite Object converts UTF8 to the current locale when loading the object 2015-03-04 16:22:34 +01:00
victorlevasseur
9e3753cf04 Add Find and RFind functions for UTF8 strings 2015-03-03 12:20:32 +01:00
victorlevasseur
ca0a8774a4 Remove useless Utf8Tools duplicate from GDCpp 2015-03-02 10:59:31 +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
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
1785 changed files with 241884 additions and 105719 deletions

View File

@@ -1,8 +1,32 @@
language: cpp
sudo: false
compiler:
- gcc
- clang
env:
global:
- GCC_VERSION="4.8"
addons:
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
#Activate X Virtual Framebuffer to allow tests to
#use SFML.
before_install:
@@ -10,15 +34,12 @@ before_install:
- "sh -e /etc/init.d/xvfb start"
install:
- sudo apt-get update
#Download and compile dependencies
- sudo apt-get install p7zip-full
#SFML dependencies:
- sudo apt-get install libopenal-dev libjpeg-dev libglew-dev libudev-dev libxrandr-dev libsndfile1-dev libglu1-mesa-dev libfreetype6-dev
#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
- mkdir .build-tests
- cd .build-tests
- cmake -DBUILD_GDJS=FALSE -DBUILD_IDE=FALSE -DBUILD_TESTS=TRUE -DNO_GUI=TRUE ..
- cmake -DBUILD_GDJS=FALSE -DBUILD_IDE=FALSE -DBUILD_TESTS=TRUE -DNO_GUI=TRUE -DCMAKE_CXX_COMPILER=$(which $CXX) -DCMAKE_C_COMPILER=$(which $CC) ..
- make -j 4
- cd ..
#Install GDJS tests dependencies
@@ -36,5 +57,5 @@ script:
# - export LD_LIBRARY_PATH=$PWD/Binaries/Output/Release_Linux:$PWD/.build-tests/ExtLibs/SFML/lib:$LD_LIBRARY_PATH
- Core/GDCore_tests
- GDCpp/GDCpp_tests
- Extensions/PathfindingAutomatism/PathfindingAutomatism_Runtime_tests
- Extensions/PathfindingBehavior/PathfindingBehavior_Runtime_tests
- Extensions/LinkedObjects/LinkedObjects_Runtime_tests

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,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="81" major="3" minor="6" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>The Tower HD - GDevelop - [TECH DEMO]</name>
<author></author>
@@ -55,7 +55,7 @@
<resource alwaysLoaded="false" file="mur 6.png" kind="image" name="mur 6.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="mur 7.png" kind="image" name="mur 7.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="mur 8.png" kind="image" name="mur 8.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="lumi<EFBFBD>re.png" kind="image" name="lumi<EFBFBD>re.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="lumière.png" kind="image" name="lumière.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="towerground.png" kind="image" name="towerground.png" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
@@ -282,16 +282,16 @@
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="lumi<EFBFBD>re.png">
<sprite hasCustomCollisionMask="false" image="lumière.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="4.000000" y="4.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="0.000000" y="0.000000" />
<vertice x="0.000000" y="0.000000" />
<vertice x="0.000000" y="0.000000" />
<vertice x="8.000000" y="0.000000" />
<vertice x="8.000000" y="8.000000" />
<vertice x="0.000000" y="8.000000" />
</polygon>
</customCollisionMask>
</sprite>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="78" major="3" minor="6" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Animation speed scale</name>
<author></author>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="73" major="3" minor="4" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Basic Level Editor with Tile Map Object</name>
<author></author>
@@ -34,9 +34,9 @@
<extension name="TextObject" />
</extensions>
<platforms>
<platform name="Game Develop C++ platform" />
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>Game Develop C++ platform</currentPlatform>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
@@ -49,8 +49,8 @@
<objectsGroups />
<variables />
<layouts>
<layout b="209" disableInputWhenNotFocused="true" mangledName="Nouvelle_32sc__4524ne" name="Nouvelle sc<EFBFBD>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" />
<layout b="209" disableInputWhenNotFocused="true" mangledName="Nouvelle_32sc_232ne" name="Nouvelle scè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" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances>
@@ -455,7 +455,7 @@
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Met <EFBFBD> jour l&apos;indicateur de tuile (qui montre la tuile que l&apos;on souhaite ins<EFBFBD>rer)</comment>
<comment>Met à jour l&apos;indicateur de tuile (qui montre la tuile que l&apos;on souhaite insérer)</comment>
<comment2>Update the tile indicator (which shows the tile that will be inserted)</comment2>
</event>
<event disabled="false" folded="false">
@@ -517,7 +517,7 @@
<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 <EFBFBD> l&apos;<EFBFBD>v<EFBFBD>nement pr<EFBFBD>c<EFBFBD>dent mais on met la tuile #-1 (cela permet de supprimer la tuile)</comment>
<comment>Supprime la tuile&#x0A;Similaire à l&apos;événement précé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">
@@ -555,7 +555,7 @@
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Ev<EFBFBD>nements pour changer la tuile <EFBFBD> ins<EFBFBD>rer</comment>
<comment>Evénements pour changer la tuile à insérer</comment>
<comment2>Events to change the tile to insert</comment2>
</event>
<event disabled="false" folded="false">
@@ -686,7 +686,7 @@
<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<EFBFBD> dans une variable, pas dans un fichier)</comment>
<comment>Sauvegarder et charger un niveau (il est juste sauvegardé 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">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 B

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 B

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 382 B

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="73" major="3" minor="4" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Basic breakout</name>
<author></author>
@@ -33,9 +33,9 @@
<extension name="CommonDialogs" />
</extensions>
<platforms>
<platform name="Game Develop C++ platform" />
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>Game Develop C++ platform</currentPlatform>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
@@ -51,11 +51,11 @@
<variables />
<layouts>
<layout b="192" disableInputWhenNotFocused="false" mangledName="Pong" name="Pong" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="192" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="192">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridR="158" gridWidth="32" snap="false" windowMask="false" zoomFactor="1.000000" />
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="false" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances>
<instance angle="0.000000" customSize="false" height="600.000000" layer="" locked="false" name="terrain" width="298.000000" x="0.000000" y="0.000000" zOrder="0">
<instance angle="0.000000" customSize="false" height="600.000000" layer="" locked="false" name="terrain" width="298.000000" x="0.000000" y="0.000000" zOrder="-1">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
@@ -76,7 +76,7 @@
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="brick" width="0.000000" x="174.000000" y="112.000000" zOrder="0">
<instance angle="0.000000" customSize="false" height="50.000000" layer="" locked="false" name="brick" width="100.000000" x="174.000000" y="112.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
@@ -653,7 +653,7 @@
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Handle collision with brick:&#x0A;Each time, we test where is located the ball, and we can it bouncing according to its position</comment>
<comment2>Collision avec les briques :&#x0A;A chaque fois, on teste o<EFBFBD> est la balle par rapport <EFBFBD> la brique, et on fait rebondir la balle selon.</comment2>
<comment2>Collision avec les briques :&#x0A;A chaque fois, on teste où est la balle par rapport à la brique, et on fait rebondir la balle selon.</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="80" major="3" minor="6" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>

View File

@@ -1,132 +1,137 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<Project>
<GDVersion Major="3" Minor="2" Build="62" Revision="0" />
<Info winExecutableFilename="" winExecutableIconFile="" linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="true">
<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="TextObject" />
</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 />
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="Scene 1" mangledName="Scene_321" r="209.000000" v="209.000000" b="209.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 />
<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 />
<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="Simple C++ code to change scene background color&#x0A;and to go to the next scene when Space is pressed" />
<Com2 value="" />
</Event>
<Event disabled="false" folded="false" FunctionToCall="GDCppCode0x642a4f0" FunctionNameAutogenerated="true" InlineCode="scene.SetBackgroundColor(250, 100,240);&#x0A;&#x0D;&#x0A;//Change scene when Space is pressed&#x0D;&#x0A;if ( sf::Keyboard::isKeyPressed(sf::Keyboard::Space))&#x0D;&#x0A;{&#x0D;&#x0A; scene.GotoSceneWhenEventsAreFinished(1);&#x0D;&#x0A;}" AssociatedGDManagedSourceFile="C:\Users\Florian\AppData\Local\Temp/GDTemporaries/GD0x5cb6820SourceFile.cpp" PassSceneAsParameter="true" PassObjectListAsParameter="false" ObjectToPassAsParameter="NewObject" CodeDisplayedInEditor="true" DisplayedName="" lastChangeTimeStamp="1380578274">
<Type value="BuiltinCommonInstructions::CppCode" />
<Includes>
<Include value="&lt;iostream&gt;" />
<Include value="&lt;SFML/Window.hpp&gt;" />
<Include value='&quot;GDCpp/CommonTools.h&quot;' />
<Include value='&quot;TextObject/TextObject.h&quot;' />
</Includes>
<Dependencies />
</Event>
</Events>
</Scene>
<Scene nom="Scene 2" mangledName="Scene_322" r="209.000000" v="209.000000" b="209.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="NewObject" type="TextObject::Text" smoothed="true" bold="false" italic="false" underlined="false">
<Variables />
<String value="Text" />
<Font value="" />
<CharacterSize value="30" />
<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>
</Layers>
<Variables />
<AutomatismsSharedDatas />
<Positions>
<Objet nom="NewObject" x="310.000000" y="261.500000" 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="This C++ code event calls a function declared in an external C++ file.&#x0A;Please note that this file must be checked in the dependencies of the event to ensure that it is compiled." />
<Com2 value="" />
</Event>
<Event disabled="false" folded="false" FunctionToCall="GDCppCode0x642a558" FunctionNameAutogenerated="true" InlineCode="MyFunction(scene);&#x0D;&#x0A;MyFunction2(objectsList);" AssociatedGDManagedSourceFile="C:\Users\Florian\AppData\Local\Temp/GDTemporaries/GD0x5cb6740SourceFile.cpp" PassSceneAsParameter="true" PassObjectListAsParameter="true" ObjectToPassAsParameter="NewObject" CodeDisplayedInEditor="true" DisplayedName="" lastChangeTimeStamp="1358446772">
<Type value="BuiltinCommonInstructions::CppCode" />
<Includes>
<Include value='&quot;Test.h&quot;' />
</Includes>
<Dependencies>
<Dependency sourceFile="Test.cpp" />
</Dependencies>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles>
<SourceFile filename="C:\Users\Florian\AppData\Local\Temp/GDTemporaries/GD0x5cb6820SourceFile.cpp" lastBuildTimeStamp="0" gdManaged="true" />
<SourceFile filename="Test.cpp" lastBuildTimeStamp="0" gdManaged="false" />
<SourceFile filename="Test.h" lastBuildTimeStamp="0" gdManaged="false" />
<SourceFile filename="C:\Users\Florian\AppData\Local\Temp/GDTemporaries/GD0x5cb6740SourceFile.cpp" lastBuildTimeStamp="0" gdManaged="true" />
</ExternalSourceFiles>
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="true" winExecutableFilename="" winExecutableIconFile="">
<name>Project</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="TextObject" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources />
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="209" disableInputWhenNotFocused="true" mangledName="Scene_321" name="Scene 1" 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" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances />
<objects />
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Simple C++ code to change scene background color&#x0A;and to go to the next scene when Space is pressed</comment>
<comment2></comment2>
</event>
<event associatedGDManagedSourceFile="/tmp/GDTemporaries/GD0x384d7b0SourceFile.cpp" codeDisplayedInEditor="true" disabled="false" displayedName="" folded="false" functionNameAutogenerated="true" functionToCall="GDCppCode0x642a4f0" inlineCode='scene.SetBackgroundColor(250, 100,240);&#x0A;&#x0D;&#x0A;//Change scene when Space is pressed&#x0D;&#x0A;if ( sf::Keyboard::isKeyPressed(sf::Keyboard::Space))&#x0D;&#x0A;{&#x0D;&#x0A; scene.RequestChange(RuntimeScene::SceneChange::REPLACE_SCENE, &quot;Scene 2&quot;);&#x0D;&#x0A;}' lastChangeTimeStamp="1439372103" objectToPassAsParameter="NewObject" passObjectListAsParameter="false" passSceneAsParameter="true">
<type>BuiltinCommonInstructions::CppCode</type>
<includes>
<include>&lt;iostream&gt;</include>
<include>&lt;SFML/Window.hpp&gt;</include>
<include>&quot;GDCpp/CommonTools.h&quot;</include>
<include>&quot;TextObject/TextObject.h&quot;</include>
</includes>
<dependencies />
</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>
<layout b="209" disableInputWhenNotFocused="true" mangledName="Scene_322" name="Scene 2" 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" gridOffsetX="0" gridOffsetY="0" 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="NewObject" width="0.000000" x="310.000000" y="261.500000" zOrder="1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object bold="false" italic="false" name="NewObject" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Text</string>
<font></font>
<characterSize>30</characterSize>
<color b="255" g="255" r="255" />
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>This C++ code event calls a function declared in an external C++ file.&#x0A;Please note that this file must be checked in the dependencies of the event to ensure that it is compiled.</comment>
<comment2></comment2>
</event>
<event associatedGDManagedSourceFile="/tmp/GDTemporaries/GD0x384e1f0SourceFile.cpp" codeDisplayedInEditor="true" disabled="false" displayedName="" folded="false" functionNameAutogenerated="true" functionToCall="GDCppCode0x642a558" inlineCode="MyFunction(scene);&#x0D;&#x0A;MyFunction2(objectsList);" lastChangeTimeStamp="1358446772" objectToPassAsParameter="NewObject" passObjectListAsParameter="true" passSceneAsParameter="true">
<type>BuiltinCommonInstructions::CppCode</type>
<includes>
<include>&quot;Test.h&quot;</include>
</includes>
<dependencies>
<dependency sourceFile="Test.cpp" />
</dependencies>
</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>
<sourceFile filename="/tmp/GDTemporaries/GD0x384d7b0SourceFile.cpp" gdManaged="true" language="C++" />
<sourceFile filename="Test.cpp" gdManaged="false" language="C++" />
<sourceFile filename="Test.h" gdManaged="false" language="C++" />
<sourceFile filename="/tmp/GDTemporaries/GD0x384e1f0SourceFile.cpp" gdManaged="true" language="C++" />
</externalSourceFiles>
</project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 809 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="71" major="3" minor="3" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>
@@ -34,8 +34,9 @@
<extension name="PathAutomatism" />
</extensions>
<platforms>
<platform name="Game Develop C++ platform" />
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
@@ -66,7 +67,7 @@
<variables />
<layouts>
<layout b="41" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="41" standardSortMethod="true" stopSoundsOnStartup="true" title="(No title)" v="41">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridR="158" gridWidth="32" snap="false" windowMask="false" zoomFactor="1.000000" />
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="false" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables>
<variable name="TempY" value="0" />
@@ -2782,7 +2783,7 @@
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Camera management</comment>
<comment2>Gestion de la cam<EFBFBD>ra</comment2>
<comment2>Gestion de la caméra</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 411 B

After

Width:  |  Height:  |  Size: 705 B

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="76" major="3" minor="6" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>
@@ -34,6 +34,7 @@
</extensions>
<platforms>
<platform name="GDevelop JS platform" />
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop JS platform</currentPlatform>
</properties>

View File

@@ -1,243 +1,299 @@
<?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="TextObject" />
<Extension name="CommonDialogs" />
<Extension name="AdvancedXML" />
</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 />
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="New scene" mangledName="New_32scene" r="209.000000" v="209.000000" b="209.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="Explanation" type="TextObject::Text" smoothed="true" bold="false" italic="true" underlined="false">
<Variables />
<String value="Launch the scene, choose a file, and then open the file&#x0A;to see the result." />
<Font value="" />
<CharacterSize value="30" />
<Color r="0" g="0" b="0" />
</Objet>
<Objet nom="Explanation_fr" type="TextObject::Text" smoothed="true" bold="false" italic="true" underlined="false">
<Variables />
<String value="Lancez la sc<73>ne, choissisez un fichier et ouvrez le pour voir le r<>sultat." />
<Font value="" />
<CharacterSize value="15" />
<Color r="0" g="0" b="0" />
</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="Explanation" x="23.000000" y="200.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Explanation_fr" x="28.000000" y="282.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='Let&apos;s create an XML file with this structure:&#x0A;&#x0A;&lt;Root&gt;&#x0A; &lt;MyFirstElement myAttribute=&quot;valueOfMyAttribute&quot; /&gt;&#x0A; &lt;!--Nice comment--&gt;&#x0A; &lt;MySecondElement&gt;&#x0A; &lt;MyRepeatedElement randomAttribute=&quot;4.000000&quot; /&gt;&#x0A; ... repeated 10 times&#x0A; &lt;MyRepeatedElement randomAttribute=&quot;4.000000&quot; /&gt;&#x0A; &lt;/MySecondElement&gt;&#x0A;&lt;/Root&gt;&#x0A;' />
<Com2 value="Cr<43>eons un fichier avec cette structure" />
</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="AdvancedXML::NewFile" />
<Parametre value='&quot;MyDocument&quot;' />
<Parametre value="" />
</Action>
<Action>
<Type value="AdvancedXML::CreateNewElement" />
<Parametre value='&quot;Root&quot;' />
<Parametre value="0" />
<Parametre value='&quot;Root&quot;' />
<Parametre value="" />
</Action>
<Action>
<Type value="AdvancedXML::InsertElementIntoAnother" />
<Parametre value='&quot;Root&quot;' />
<Parametre value='&quot;MyDocument&quot;' />
<Parametre value="" />
<Parametre value="" />
</Action>
</Actions>
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="AdvancedXML::CreateNewElement" />
<Parametre value='&quot;MyFirstElement&quot;' />
<Parametre value="0" />
<Parametre value='&quot;MyFirstElement&quot;' />
<Parametre value="" />
</Action>
<Action>
<Type value="AdvancedXML::CreateNewElement" />
<Parametre value='&quot;MySecondElement&quot;' />
<Parametre value="0" />
<Parametre value='&quot;MySecondElement&quot;' />
<Parametre value="" />
</Action>
<Action>
<Type value="AdvancedXML::InsertElementIntoAnother" />
<Parametre value='&quot;MyFirstElement&quot;' />
<Parametre value='&quot;Root&quot;' />
<Parametre value="" />
<Parametre value="" />
</Action>
<Action>
<Type value="AdvancedXML::InsertElementIntoAnother" />
<Parametre value='&quot;MySecondElement&quot;' />
<Parametre value='&quot;Root&quot;' />
<Parametre value="" />
<Parametre value="" />
</Action>
<Action>
<Type value="AdvancedXML::SetAttributeString" />
<Parametre value='&quot;MyFirstElement&quot;' />
<Parametre value='&quot;myAttribute&quot;' />
<Parametre value="=" />
<Parametre value='&quot;valueOfMyAttribute&quot;' />
<Parametre value="" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Repeat" />
<RepeatExpression value="10" />
<Conditions />
<Actions>
<Action>
<Type value="AdvancedXML::CreateNewElement" />
<Parametre value='&quot;MyRepeatedElement&quot;' />
<Parametre value="0" />
<Parametre value='&quot;MyRepeatedElement&quot;' />
<Parametre value="" />
</Action>
<Action>
<Type value="AdvancedXML::InsertElementIntoAnother" />
<Parametre value='&quot;MyRepeatedElement&quot;' />
<Parametre value='&quot;MySecondElement&quot;' />
<Parametre value="" />
<Parametre value="" />
</Action>
<Action>
<Type value="AdvancedXML::SetAttributeNumber" />
<Parametre value='&quot;MyRepeatedElement&quot;' />
<Parametre value='&quot;randomAttribute&quot;' />
<Parametre value="=" />
<Parametre value="Random(10)" />
<Parametre value="" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="AdvancedXML::CreateNewElement" />
<Parametre value='&quot;MyComment&quot;' />
<Parametre value="2" />
<Parametre value='&quot;Nice comment&quot;' />
<Parametre value="" />
</Action>
<Action>
<Type value="AdvancedXML::InsertElementIntoAnother" />
<Parametre value='&quot;MyComment&quot;' />
<Parametre value='&quot;Root&quot;' />
<Parametre value='&quot;MySecondElement&quot;' />
<Parametre value="" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="ShowOpenFile" />
<Parametre value='&quot;C:\test.txt&quot;' />
<Parametre value="file" />
<Parametre value='&quot;Choose where to save the file&quot;' />
<Parametre value='&quot;XML file (*.xml)&quot;' />
</Action>
<Action>
<Type value="AdvancedXML::SaveFile" />
<Parametre value="VariableString(file)" />
<Parametre value='&quot;MyDocument&quot;' />
<Parametre value="=" />
</Action>
</Actions>
</Event>
</Events>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</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="TextObject" />
<extension name="CommonDialogs" />
<extension name="AdvancedXML" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources />
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="209" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" 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" gridOffsetX="0" gridOffsetY="0" 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="Explanation" width="0.000000" x="23.000000" y="200.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Explanation_fr" width="0.000000" x="28.000000" y="282.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object bold="false" italic="true" name="Explanation" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Launch the scene, choose a file, and then open the file&#x0A;to see the result.</string>
<font></font>
<characterSize>30</characterSize>
<color b="0" g="0" r="0" />
</object>
<object bold="false" italic="true" name="Explanation_fr" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Lancez la scène, choisissez un fichier et ouvrez le pour voir le résultat.</string>
<font></font>
<characterSize>15</characterSize>
<color b="0" g="0" r="0" />
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Let&apos;s create an XML file with this structure:&#x0A;&#x0A;&lt;Root&gt;&#x0A; &lt;MyFirstElement myAttribute=&quot;valueOfMyAttribute&quot; /&gt;&#x0A; &lt;!--Nice comment--&gt;&#x0A; &lt;MySecondElement&gt;&#x0A; &lt;MyRepeatedElement randomAttribute=&quot;4.000000&quot; /&gt;&#x0A; ... repeated 10 times&#x0A; &lt;MyRepeatedElement randomAttribute=&quot;4.000000&quot; /&gt;&#x0A; &lt;/MySecondElement&gt;&#x0A;&lt;/Root&gt;&#x0A;</comment>
<comment2>Créeons un fichier avec cette structure</comment2>
</event>
<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="AdvancedXML::NewFile" />
<parameters>
<parameter>&quot;MyDocument&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::CreateNewElement" />
<parameters>
<parameter>&quot;Root&quot;</parameter>
<parameter>0</parameter>
<parameter>&quot;Root&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::InsertElementIntoAnother" />
<parameters>
<parameter>&quot;Root&quot;</parameter>
<parameter>&quot;MyDocument&quot;</parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
</actions>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="AdvancedXML::CreateNewElement" />
<parameters>
<parameter>&quot;MyFirstElement&quot;</parameter>
<parameter>0</parameter>
<parameter>&quot;MyFirstElement&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::CreateNewElement" />
<parameters>
<parameter>&quot;MySecondElement&quot;</parameter>
<parameter>0</parameter>
<parameter>&quot;MySecondElement&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::InsertElementIntoAnother" />
<parameters>
<parameter>&quot;MyFirstElement&quot;</parameter>
<parameter>&quot;Root&quot;</parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::InsertElementIntoAnother" />
<parameters>
<parameter>&quot;MySecondElement&quot;</parameter>
<parameter>&quot;Root&quot;</parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::SetAttributeString" />
<parameters>
<parameter>&quot;MyFirstElement&quot;</parameter>
<parameter>&quot;myAttribute&quot;</parameter>
<parameter>=</parameter>
<parameter>&quot;valueOfMyAttribute&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Repeat</type>
<repeatExpression>10</repeatExpression>
<conditions />
<actions>
<action>
<type inverted="false" value="AdvancedXML::CreateNewElement" />
<parameters>
<parameter>&quot;MyRepeatedElement&quot;</parameter>
<parameter>0</parameter>
<parameter>&quot;MyRepeatedElement&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::InsertElementIntoAnother" />
<parameters>
<parameter>&quot;MyRepeatedElement&quot;</parameter>
<parameter>&quot;MySecondElement&quot;</parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::SetAttributeNumber" />
<parameters>
<parameter>&quot;MyRepeatedElement&quot;</parameter>
<parameter>&quot;randomAttribute&quot;</parameter>
<parameter>=</parameter>
<parameter>Random(10)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="AdvancedXML::CreateNewElement" />
<parameters>
<parameter>&quot;MyComment&quot;</parameter>
<parameter>2</parameter>
<parameter>&quot;Nice comment&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::InsertElementIntoAnother" />
<parameters>
<parameter>&quot;MyComment&quot;</parameter>
<parameter>&quot;Root&quot;</parameter>
<parameter>&quot;MySecondElement&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="ShowOpenFile" />
<parameters>
<parameter>&quot;C:\test.txt&quot;</parameter>
<parameter>file</parameter>
<parameter>&quot;Choose where to save the file&quot;</parameter>
<parameter>&quot;XML file (*.xml)&quot;</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AdvancedXML::SaveFile" />
<parameters>
<parameter>VariableString(file)</parameter>
<parameter>&quot;MyDocument&quot;</parameter>
<parameter>=</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
</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,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="76" major="3" minor="6" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>

View File

@@ -1,344 +1,424 @@
<?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="Light" />
</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="-1" />
<FPSmin value="10" />
<verticalSync value="false" />
</Info>
<Resources>
<Resources>
<Resource kind="image" name="2DWoodBox.jpg" alwaysLoaded="false" smoothed="true" userAdded="true" file="2DWoodBox.jpg" />
<Resource kind="image" name="Herbe.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Herbe.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="New scene" mangledName="New_32scene" r="192.000000" v="192.000000" b="192.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="Light" type="Light::Light" intensity="150.000000" radius="200.000000" quality="16" colorR="0" colorG="0" colorB="255" globalLight="false" globalColorR="255" globalColorG="255" globalColorB="255" globalColorA="255">
<Variables />
</Objet>
<Objet nom="Box" type="Sprite">
<Variables />
<Automatism Type="Light::LightObstacleAutomatism" Name="LightObstacle" />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="2DWoodBox.jpg">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="32.000000" Y="32.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="2DWoodBox.jpg">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="32.000000" Y="32.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="2DWoodBox.jpg">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="32.000000" Y="32.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="2DWoodBox.jpg">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="32.000000" Y="32.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="2DWoodBox.jpg">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="32.000000" Y="32.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="2DWoodBox.jpg">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="32.000000" Y="32.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="2DWoodBox.jpg">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="32.000000" Y="32.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="2DWoodBox.jpg">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="32.000000" Y="32.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Light2" type="Light::Light" intensity="150.000000" radius="400.000000" quality="16" colorR="128" colorG="0" colorB="64" globalLight="false" globalColorR="255" globalColorG="255" globalColorB="255" globalColorA="255">
<Variables />
</Objet>
<Objet nom="Light3" type="Light::Light" intensity="150.000000" radius="300.000000" quality="16" colorR="255" colorG="255" colorB="225" globalLight="false" globalColorR="255" globalColorG="255" globalColorB="255" globalColorA="255">
<Variables />
</Objet>
<Objet nom="Background" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="true">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Herbe.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="300.000000" Y="225.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="Light4" type="Light::Light" intensity="150.000000" radius="150.000000" quality="16" colorR="255" colorG="128" colorB="0" globalLight="false" globalColorR="255" globalColorG="255" globalColorB="255" globalColorA="255">
<Variables />
</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="Light::LightObstacleAutomatism" Name="LightObstacle" />
</AutomatismsSharedDatas>
<Positions>
<Objet nom="Light" x="68.000000" y="50.000000" plan="-5" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="512.000000" y="192.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="512.000000" y="256.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="512.000000" y="320.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="320.000000" y="128.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="128.000000" y="64.000000" plan="0" layer="" angle="45.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2679776.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="83.000000" y="109.000000" plan="0" layer="" angle="45.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2679776.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="128.000000" y="256.000000" plan="45" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="-1616405248.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Light2" x="320.000000" y="256.000000" plan="-1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="569.000000" y="117.000000" plan="0" layer="" angle="45.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2679776.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="524.000000" y="162.000000" plan="0" layer="" angle="45.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2679776.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="640.000000" y="320.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="640.000000" y="256.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Light3" x="595.000000" y="281.000000" plan="-2" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Background" x="0.000000" y="0.000000" plan="-10" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2679776.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Background" x="600.000000" y="0.000000" plan="-10" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2679776.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Background" x="0.000000" y="450.000000" plan="-10" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2679776.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Background" x="600.000000" y="450.000000" plan="-10" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2679776.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Light4" x="73.000000" y="472.000000" plan="-3" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Box" x="108.000000" y="408.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::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="MettreXY" />
<Parametre value="Light2" />
<Parametre value="=" />
<Parametre value="MouseX()" />
<Parametre value="=" />
<Parametre value="MouseY()" />
</Action>
</Actions>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>
<windowWidth>800</windowWidth>
<windowHeight>600</windowHeight>
<latestCompilationDirectory></latestCompilationDirectory>
<maxFPS>-1</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="Light" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="2DWoodBox.jpg" kind="image" name="2DWoodBox.jpg" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Herbe.png" kind="image" name="Herbe.png" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="192" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="192" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="192">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" 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="Light" width="0.000000" x="68.000000" y="50.000000" zOrder="-5">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="512.000000" y="192.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="512.000000" y="256.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="512.000000" y="320.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="320.000000" y="128.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="45.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="128.000000" y="64.000000" zOrder="0">
<numberProperties>
<property name="animation" value="2679776.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="45.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="83.000000" y="109.000000" zOrder="0">
<numberProperties>
<property name="animation" value="2679776.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="128.000000" y="256.000000" zOrder="45">
<numberProperties>
<property name="animation" value="-1616405248.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Light2" width="0.000000" x="320.000000" y="256.000000" zOrder="-1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="45.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="569.000000" y="117.000000" zOrder="0">
<numberProperties>
<property name="animation" value="2679776.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="45.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="524.000000" y="162.000000" zOrder="0">
<numberProperties>
<property name="animation" value="2679776.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="640.000000" y="320.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="640.000000" y="256.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Light3" width="0.000000" x="595.000000" y="281.000000" zOrder="-2">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Background" width="0.000000" x="0.000000" y="0.000000" zOrder="-10">
<numberProperties>
<property name="animation" value="2679776.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Background" width="0.000000" x="600.000000" y="0.000000" zOrder="-10">
<numberProperties>
<property name="animation" value="2679776.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Background" width="0.000000" x="0.000000" y="450.000000" zOrder="-10">
<numberProperties>
<property name="animation" value="2679776.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Background" width="0.000000" x="600.000000" y="450.000000" zOrder="-10">
<numberProperties>
<property name="animation" value="2679776.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Light4" width="0.000000" x="73.000000" y="472.000000" zOrder="-3">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Box" width="0.000000" x="108.000000" y="408.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object colorB="255" colorG="0" colorR="0" globalColorA="255" globalColorB="255" globalColorG="255" globalColorR="255" globalLight="false" intensity="150.000000" name="Light" quality="16" radius="200.000000" type="Light::Light">
<variables />
<automatisms />
</object>
<object name="Box" type="Sprite">
<variables />
<automatisms>
<automatism name="LightObstacle" type="Light::LightObstacleAutomatism" />
</automatisms>
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="2DWoodBox.jpg">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="32.000000" y="32.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="64.000000" y="0.000000" />
<vertice x="64.000000" y="64.000000" />
<vertice x="0.000000" y="64.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="2DWoodBox.jpg">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="32.000000" y="32.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="64.000000" y="0.000000" />
<vertice x="64.000000" y="64.000000" />
<vertice x="0.000000" y="64.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="2DWoodBox.jpg">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="32.000000" y="32.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="64.000000" y="0.000000" />
<vertice x="64.000000" y="64.000000" />
<vertice x="0.000000" y="64.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="2DWoodBox.jpg">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="32.000000" y="32.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="64.000000" y="0.000000" />
<vertice x="64.000000" y="64.000000" />
<vertice x="0.000000" y="64.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="2DWoodBox.jpg">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="32.000000" y="32.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="64.000000" y="0.000000" />
<vertice x="64.000000" y="64.000000" />
<vertice x="0.000000" y="64.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="2DWoodBox.jpg">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="32.000000" y="32.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="64.000000" y="0.000000" />
<vertice x="64.000000" y="64.000000" />
<vertice x="0.000000" y="64.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="2DWoodBox.jpg">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="32.000000" y="32.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="64.000000" y="0.000000" />
<vertice x="64.000000" y="64.000000" />
<vertice x="0.000000" y="64.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="2DWoodBox.jpg">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="32.000000" y="32.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="64.000000" y="0.000000" />
<vertice x="64.000000" y="64.000000" />
<vertice x="0.000000" y="64.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object colorB="64" colorG="0" colorR="128" globalColorA="255" globalColorB="255" globalColorG="255" globalColorR="255" globalLight="false" intensity="150.000000" name="Light2" quality="16" radius="400.000000" type="Light::Light">
<variables />
<automatisms />
</object>
<object colorB="225" colorG="255" colorR="255" globalColorA="255" globalColorB="255" globalColorG="255" globalColorR="255" globalLight="false" intensity="150.000000" name="Light3" quality="16" radius="300.000000" type="Light::Light">
<variables />
<automatisms />
</object>
<object name="Background" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Herbe.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="300.000000" y="225.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="600.000000" y="0.000000" />
<vertice x="600.000000" y="450.000000" />
<vertice x="0.000000" y="450.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites />
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites />
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites />
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites />
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites />
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites />
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites />
</direction>
</directions>
</animation>
</animations>
</object>
<object colorB="0" colorG="128" colorR="255" globalColorA="255" globalColorB="255" globalColorG="255" globalColorR="255" globalLight="false" intensity="150.000000" name="Light4" quality="16" radius="150.000000" type="Light::Light">
<variables />
<automatisms />
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="MettreXY" />
<parameters>
<parameter>Light2</parameter>
<parameter>=</parameter>
<parameter>MouseX()</parameter>
<parameter>=</parameter>
<parameter>MouseY()</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>
<automatismSharedData name="LightObstacle" type="Light::LightObstacleAutomatism" />
</automatismsSharedData>
</layout>
</layouts>
<externalEvents />
<externalLayouts />
<externalSourceFiles />
</project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 718 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 649 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 680 B

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -1,168 +1,197 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<Project>
<GDVersion Major="3" Minor="2" Build="62" Revision="0" />
<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="TextObject" />
</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="MusicGemsAndMeMedium.png" alwaysLoaded="false" smoothed="true" userAdded="false" file="MusicGemsAndMeMedium.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="New scene" mangledName="New_32scene" r="233.000000" v="221.000000" b="175.000000" titre="" oglFOV="90.000000" oglZNear="1.000000" oglZFar="500.000000" standardSortMethod="false" 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="true" associatedLayout="" />
<GroupesObjets />
<Objets>
<Objet nom="LastMusicText" type="TextObject::Text" smoothed="true" bold="true" italic="false" underlined="false">
<Variables />
<String value="Text" />
<Font value="" />
<CharacterSize value="20" />
<Color r="0" g="0" b="0" />
</Objet>
<Objet nom="Logo" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="MusicGemsAndMeMedium.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="150.000000" Y="141.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Txt1" type="TextObject::Text" smoothed="true" bold="false" italic="false" underlined="false">
<Variables />
<String value="Latest played music:&#x0A;&#x0A;( Look at the content of the RawJSONResponse variable to see the returned JSON )" />
<Font value="" />
<CharacterSize value="20" />
<Color r="0" g="0" b="0" />
</Objet>
<Objet nom="About" type="TextObject::Text" smoothed="true" bold="false" italic="true" underlined="false">
<Variables />
<String value="Visit www.gemsand.me for more information about" />
<Font value="" />
<CharacterSize value="20" />
<Color r="0" g="0" b="0" />
</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>
<Variable Name="RawJSONResponse" Value="0" />
<Variable Name="response" Value="0" />
</Variables>
<AutomatismsSharedDatas />
<Positions>
<Objet nom="LastMusicText" x="208.000000" y="141.000000" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Logo" x="504.000000" y="323.000000" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Txt1" x="13.000015" y="141.000000" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="About" x="57.999992" y="458.000000" plan="5" 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::Standard" />
<Conditions>
<Condition>
<Type value="DepartScene" Contraire="false" />
<Parametre value="" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="SendRequest" />
<Parametre value='&quot;http://gemsand.me&quot;' />
<Parametre value='&quot;/server.php&quot;' />
<Parametre value='&quot;type=get&amp;what=latestvideostitles&quot;' />
<Parametre value='&quot;POST&quot;' />
<Parametre value="" />
<Parametre value="RawJSONResponse" />
</Action>
<Action>
<Type value="JSONToVariableStructure" />
<Parametre value="VariableString(RawJSONResponse)" />
<Parametre value="response" />
</Action>
<Action>
<Type value="TextObject::String" />
<Parametre value="LastMusicText" />
<Parametre value="=" />
<Parametre value='VariableString(response[&quot;0&quot;].title)' />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions />
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</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="TextObject" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="MusicGemsAndMeMedium.png" kind="image" name="MusicGemsAndMeMedium.png" smoothed="true" userAdded="false" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="175" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="233" standardSortMethod="false" stopSoundsOnStartup="true" title="" v="221">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="true" windowMask="true" zoomFactor="1.000000" />
<objectsGroups />
<variables>
<variable name="RawJSONResponse" value="0" />
<variable name="response" value="0" />
</variables>
<instances>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="LastMusicText" width="0.000000" x="208.000000" y="141.000000" zOrder="1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Logo" width="0.000000" x="504.000000" y="323.000000" zOrder="1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Txt1" width="0.000000" x="13.000015" y="141.000000" zOrder="1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="About" width="0.000000" x="57.999992" y="458.000000" zOrder="5">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object bold="true" italic="false" name="LastMusicText" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Text</string>
<font></font>
<characterSize>20</characterSize>
<color b="0" g="0" r="0" />
</object>
<object name="Logo" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="MusicGemsAndMeMedium.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="150.000000" y="141.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="300.000000" y="0.000000" />
<vertice x="300.000000" y="282.000000" />
<vertice x="0.000000" y="282.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object bold="false" italic="false" name="Txt1" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Latest played music:&#x0A;&#x0A;( Look at the content of the RawJSONResponse variable to see the returned JSON )</string>
<font></font>
<characterSize>20</characterSize>
<color b="0" g="0" r="0" />
</object>
<object bold="false" italic="true" name="About" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Visit www.gemsand.me for more information about</string>
<font></font>
<characterSize>20</characterSize>
<color b="0" g="0" r="0" />
</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="SendRequest" />
<parameters>
<parameter>&quot;http://gemsand.me&quot;</parameter>
<parameter>&quot;/server.php&quot;</parameter>
<parameter>&quot;type=get&amp;what=latestvideostitles&quot;</parameter>
<parameter>&quot;POST&quot;</parameter>
<parameter></parameter>
<parameter>RawJSONResponse</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="JSONToVariableStructure" />
<parameters>
<parameter>VariableString(RawJSONResponse)</parameter>
<parameter>response</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="TextObject::String" />
<parameters>
<parameter>LastMusicText</parameter>
<parameter>=</parameter>
<parameter>VariableString(response[&quot;0&quot;].title)</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<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>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 229 B

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="75" major="3" minor="5" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="75" major="3" minor="5" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="true" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>
@@ -189,7 +189,7 @@
<externalEvents />
<externalLayouts />
<externalSourceFiles>
<sourceFile filename="animate-objects.js" gdManaged="false" language="Javascript" lastBuildTimeStamp="0" />
<sourceFile filename="alert-position.js" gdManaged="false" language="Javascript" lastBuildTimeStamp="0" />
<sourceFile filename="animate-objects.js" gdManaged="false" language="Javascript" />
<sourceFile filename="alert-position.js" gdManaged="false" language="Javascript" />
</externalSourceFiles>
</project>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="73" major="3" minor="4" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>
@@ -37,9 +37,9 @@
<extension name="PathfindingAutomatism" />
</extensions>
<platforms>
<platform name="Game Develop C++ platform" />
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>Game Develop C++ platform</currentPlatform>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
@@ -61,7 +61,7 @@
<variables />
<layouts>
<layout b="0" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="49" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="62">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<objectsGroups>
<group name="LaserObstacle">
<objects>

View File

@@ -1,399 +1,493 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<Project>
<GDVersion Major="3" Minor="0" Build="11298" Revision="57009" />
<Info winExecutableFilename="" winExecutableIconFile="" linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false">
<Nom value="Save and load" />
<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="CommonDialogs" />
<Extension name="DraggableAutomatism" />
</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="Block-Normal.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Block-Normal.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="Nouvelle sc<73>ne 1" mangledName="Nouvelle_32sc__4524ne_321" r="94.000000" v="174.000000" b="255.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="Bloc" type="Sprite">
<Variables />
<Automatism Type="DraggableAutomatism::Draggable" Name="Draggable" />
<Animations>
<Animation typeNormal="true">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Block-Normal.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="35.000000" Y="30.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="ExplanationFR" type="TextObject::Text" smoothed="true" bold="false" italic="false" underlined="false">
<Variables />
<String value="Appuyez sur S pour sauvegarder&#x0A;Appuyez sur L pour charger&#x0A;Appuyez sur A pour ajouter un bloc&#x0A;Appuyez sur D pour le supprimer" />
<Font value="" />
<CharacterSize value="15" />
<Color r="255" g="255" b="255" />
</Objet>
<Objet nom="Explanation" type="TextObject::Text" smoothed="true" bold="false" italic="false" underlined="false">
<Variables />
<String value="Press S to save&#x0A;Press L to load&#x0A;Press A to add a block&#x0A;Press D to delete a block" />
<Font value="" />
<CharacterSize value="15" />
<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>
</Layers>
<Variables>
<Variable Name="Etat" Value="" />
</Variables>
<AutomatismsSharedDatas />
<Positions>
<Objet nom="ExplanationFR" x="572.000000" y="5.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Explanation" x="298.000000" y="5.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="Adding a block" />
<Com2 value="Ajout d&apos;un bloc" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="a" />
</Condition>
<Condition>
<Type value="Timer" Contraire="false" />
<Parametre value="" />
<Parametre value="0.25" />
<Parametre value='&quot;Insertion&quot;' />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="Bloc" />
<Parametre value="MouseX()" />
<Parametre value="MouseY()" />
<Parametre value="" />
</Action>
<Action>
<Type value="ResetTimer" />
<Parametre value="" />
<Parametre value='&quot;Insertion&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="Deleting a block" />
<Com2 value="Suppression d&apos;un bloc" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="d" />
</Condition>
<Condition>
<Type value="SourisSurObjet" Contraire="false" />
<Parametre value="Bloc" />
<Parametre value="" />
<Parametre value="" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Delete" />
<Parametre value="Bloc" />
<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="Start Saving or loading" />
<Com2 value="Lancement de la sauvegarde/chargement si besoin." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="s" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ModVarSceneTxt" />
<Parametre value="" />
<Parametre value="Etat" />
<Parametre value="=" />
<Parametre value='&quot;Save&quot;' />
</Action>
<Action>
<Type value="ModVarScene" />
<Parametre value="" />
<Parametre value="ID" />
<Parametre value="=" />
<Parametre value="0" />
</Action>
<Action>
<Type value="DeleteFichier" />
<Parametre value='&quot;Save.txt&quot;' />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="KeyPressed" Contraire="false" />
<Parametre value="" />
<Parametre value="l" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ModVarScene" />
<Parametre value="" />
<Parametre value="ID" />
<Parametre value="=" />
<Parametre value="0" />
</Action>
<Action>
<Type value="ModVarSceneTxt" />
<Parametre value="" />
<Parametre value="Etat" />
<Parametre value="=" />
<Parametre value='&quot;Load&quot;' />
</Action>
<Action>
<Type value="Delete" />
<Parametre value="Bloc" />
<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="Save" />
<Com2 value="Sauvegarde" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="VarSceneTxt" Contraire="false" />
<Parametre value="" />
<Parametre value="Etat" />
<Parametre value="=" />
<Parametre value='&quot;Save&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="For each object block,&#x0A;we create an entry in the save file" />
<Com2 value="On passe en revue chaque bloc.&#x0A;Et on enregistre leurs positions." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::ForEach" />
<Object value="Bloc" />
<Conditions />
<Actions>
<Action>
<Type value="EcrireFichierExp" />
<Parametre value='&quot;Save.txt&quot;' />
<Parametre value='&quot;Bloc&quot; + VariableString(ID) + &quot;/X&quot;' />
<Parametre value="Bloc.X()" />
</Action>
<Action>
<Type value="EcrireFichierExp" />
<Parametre value='&quot;Save.txt&quot;' />
<Parametre value='&quot;Bloc&quot; + VariableString(ID) + &quot;/Y&quot;' />
<Parametre value="Bloc.Y()" />
</Action>
<Action>
<Type value="ModVarScene" />
<Parametre value="" />
<Parametre value="ID" />
<Parametre value="+" />
<Parametre value="1" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="ModVarSceneTxt" />
<Parametre value="" />
<Parametre value="Etat" />
<Parametre value="=" />
<Parametre value="" />
</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="Loading" />
<Com2 value="Chargement" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="VarSceneTxt" Contraire="false" />
<Parametre value="" />
<Parametre value="Etat" />
<Parametre value="=" />
<Parametre value='&quot;Load&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="While there is a block in the file,&#x0A;create a new one at the specified position" />
<Com2 value="Tant qu&apos;on peut charger un bloc.&#x0A;On le cr<63><72> <20> la position relev<65>e." />
</Event>
<Event disabled="false" folded="false" infiniteLoopWarning="true">
<Type value="BuiltinCommonInstructions::While" />
<WhileConditions>
<Condition>
<Type value="GroupExists" Contraire="false" />
<Parametre value='&quot;Save.txt&quot;' />
<Parametre value='&quot;Bloc&quot; + VariableString(ID) + &quot;/X&quot;' />
</Condition>
</WhileConditions>
<Conditions />
<Actions>
<Action>
<Type value="LireFichierExp" />
<Parametre value='&quot;Save.txt&quot;' />
<Parametre value='&quot;Bloc&quot; + VariableString(ID) + &quot;/X&quot;' />
<Parametre value="" />
<Parametre value="NewBlocX" />
</Action>
<Action>
<Type value="LireFichierExp" />
<Parametre value='&quot;Save.txt&quot;' />
<Parametre value='&quot;Bloc&quot; + VariableString(ID) + &quot;/Y&quot;' />
<Parametre value="" />
<Parametre value="NewBlocY" />
</Action>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="Bloc" />
<Parametre value="Variable(NewBlocX)" />
<Parametre value="Variable(NewBlocY)" />
<Parametre value="" />
</Action>
<Action>
<Type value="ModVarScene" />
<Parametre value="" />
<Parametre value="ID" />
<Parametre value="+" />
<Parametre value="1" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="ModVarSceneTxt" />
<Parametre value="" />
<Parametre value="Etat" />
<Parametre value="=" />
<Parametre value="" />
</Action>
</Actions>
</Event>
</Events>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Save and load</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="TextObject" />
<extension name="CommonDialogs" />
<extension name="DraggableAutomatism" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
<platform name="GDevelop JS platform" />
</platforms>
<currentPlatform>GDevelop JS platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="Block-Normal.png" kind="image" name="Block-Normal.png" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="255" disableInputWhenNotFocused="true" mangledName="Nouvelle_32sc_232ne_321" name="Nouvelle scène 1" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="94" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="174">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables>
<variable name="Etat" value="" />
</variables>
<instances>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="ExplanationFR" width="0.000000" x="572.000000" y="5.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Explanation" width="0.000000" x="298.000000" y="5.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object name="Bloc" type="Sprite">
<variables />
<automatisms>
<automatism name="Draggable" type="DraggableAutomatism::Draggable" />
</automatisms>
<animations>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Block-Normal.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="35.500000" y="30.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="71.000000" y="0.000000" />
<vertice x="71.000000" y="61.000000" />
<vertice x="0.000000" y="61.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object bold="false" italic="false" name="ExplanationFR" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Appuyez sur S pour sauvegarder&#x0A;Appuyez sur L pour charger&#x0A;Appuyez sur A pour ajouter un bloc&#x0A;Appuyez sur D pour le supprimer</string>
<font></font>
<characterSize>15</characterSize>
<color b="255" g="255" r="255" />
</object>
<object bold="false" italic="false" name="Explanation" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Press S to save&#x0A;Press L to load&#x0A;Press A to add a block&#x0A;Press D to delete a block</string>
<font></font>
<characterSize>15</characterSize>
<color b="255" g="255" r="255" />
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Adding a block</comment>
<comment2>Ajout d&apos;un bloc</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>a</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="Timer" />
<parameters>
<parameter></parameter>
<parameter>0.25</parameter>
<parameter>&quot;Insertion&quot;</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>Bloc</parameter>
<parameter>MouseX()</parameter>
<parameter>MouseY()</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ResetTimer" />
<parameters>
<parameter></parameter>
<parameter>&quot;Insertion&quot;</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>Deleting a block</comment>
<comment2>Suppression d&apos;un bloc</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>d</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="SourisSurObjet" />
<parameters>
<parameter>Bloc</parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Delete" />
<parameters>
<parameter>Bloc</parameter>
<parameter></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>Start Saving or loading</comment>
<comment2>Lancement de la sauvegarde/chargement si besoin.</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>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarSceneTxt" />
<parameters>
<parameter>Etat</parameter>
<parameter>=</parameter>
<parameter>&quot;Save&quot;</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>ID</parameter>
<parameter>=</parameter>
<parameter>0</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="DeleteFichier" />
<parameters>
<parameter>&quot;Save.txt&quot;</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>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>ID</parameter>
<parameter>=</parameter>
<parameter>0</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ModVarSceneTxt" />
<parameters>
<parameter>Etat</parameter>
<parameter>=</parameter>
<parameter>&quot;Load&quot;</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Delete" />
<parameters>
<parameter>Bloc</parameter>
<parameter></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>Save</comment>
<comment2>Sauvegarde</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="VarSceneTxt" />
<parameters>
<parameter>Etat</parameter>
<parameter>=</parameter>
<parameter>&quot;Save&quot;</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions />
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>For each object block,&#x0A;we create an entry in the save file</comment>
<comment2>On passe en revue chaque bloc.&#x0A;Et on enregistre leurs positions.</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::ForEach</type>
<object>Bloc</object>
<conditions />
<actions>
<action>
<type inverted="false" value="EcrireFichierExp" />
<parameters>
<parameter>&quot;Save.txt&quot;</parameter>
<parameter>&quot;Bloc&quot; + VariableString(ID) + &quot;/X&quot;</parameter>
<parameter>Bloc.X()</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="EcrireFichierExp" />
<parameters>
<parameter>&quot;Save.txt&quot;</parameter>
<parameter>&quot;Bloc&quot; + VariableString(ID) + &quot;/Y&quot;</parameter>
<parameter>Bloc.Y()</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>ID</parameter>
<parameter>+</parameter>
<parameter>1</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="ModVarSceneTxt" />
<parameters>
<parameter>Etat</parameter>
<parameter>=</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
</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>Loading</comment>
<comment2>Chargement</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="VarSceneTxt" />
<parameters>
<parameter>Etat</parameter>
<parameter>=</parameter>
<parameter>&quot;Load&quot;</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions />
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>While there is a block in the file,&#x0A;create a new one at the specified position</comment>
<comment2>Tant qu&apos;on peut charger un bloc.&#x0A;On le créé à la position relevée.</comment2>
</event>
<event disabled="false" folded="false" infiniteLoopWarning="true">
<type>BuiltinCommonInstructions::While</type>
<whileConditions>
<condition>
<type inverted="false" value="GroupExists" />
<parameters>
<parameter>&quot;Save.txt&quot;</parameter>
<parameter>&quot;Bloc&quot; + VariableString(ID) + &quot;/X&quot;</parameter>
</parameters>
<subConditions />
</condition>
</whileConditions>
<conditions />
<actions>
<action>
<type inverted="false" value="LireFichierExp" />
<parameters>
<parameter>&quot;Save.txt&quot;</parameter>
<parameter>&quot;Bloc&quot; + VariableString(ID) + &quot;/X&quot;</parameter>
<parameter></parameter>
<parameter>NewBlocX</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="LireFichierExp" />
<parameters>
<parameter>&quot;Save.txt&quot;</parameter>
<parameter>&quot;Bloc&quot; + VariableString(ID) + &quot;/Y&quot;</parameter>
<parameter></parameter>
<parameter>NewBlocY</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>Bloc</parameter>
<parameter>Variable(NewBlocX)</parameter>
<parameter>Variable(NewBlocY)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ModVarScene" />
<parameters>
<parameter>ID</parameter>
<parameter>+</parameter>
<parameter>1</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="ModVarSceneTxt" />
<parameters>
<parameter>Etat</parameter>
<parameter>=</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
</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>

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="71" major="3" minor="3" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>
@@ -35,8 +35,9 @@
<extension name="PathAutomatism" />
</extensions>
<platforms>
<platform name="Game Develop C++ platform" />
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
@@ -67,7 +68,7 @@
<variables />
<layouts>
<layout b="41" disableInputWhenNotFocused="false" mangledName="Game" name="Game" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="41" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="41">
<uiSettings associatedLayout="" grid="true" gridB="255" gridG="180" gridHeight="32" gridR="158" gridWidth="32" snap="false" windowMask="true" zoomFactor="1.000000" />
<uiSettings associatedLayout="" grid="true" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="false" windowMask="true" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances>
@@ -2121,7 +2122,7 @@
<type>BuiltinCommonInstructions::Comment</type>
<color b="242" g="242" r="242" textB="0" textG="0" textR="0" />
<comment>Creating the bats</comment>
<comment2>Cr<EFBFBD>ation des ennemis</comment2>
<comment2>Création des ennemis</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::ForEach</type>
@@ -2183,7 +2184,7 @@
<type>BuiltinCommonInstructions::Comment</type>
<color b="242" g="242" r="242" textB="0" textG="0" textR="0" />
<comment>Move the camera</comment>
<comment2>D<EFBFBD>placement de la cam<EFBFBD>ra</comment2>
<comment2>Déplacement de la caméra</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
@@ -2645,7 +2646,7 @@
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Camera management</comment>
<comment2>Gestion de la cam<EFBFBD>ra</comment2>
<comment2>Gestion de la caméra</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="78" major="3" minor="6" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Projet</name>
<author></author>

View File

@@ -1,250 +1,305 @@
<?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="Object selection" />
<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="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="TankB1.png" alwaysLoaded="false" smoothed="false" userAdded="true" file="TankB1.png" />
<Resource kind="image" name="tankV1.png" alwaysLoaded="false" smoothed="false" userAdded="true" file="tankV1.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="Scene" mangledName="Scene" r="234.000000" v="234.000000" b="234.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="Tank" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="true">
<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>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
<Animation typeNormal="true">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="tankV1.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>
</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="Tank" x="64.000000" y="96.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="Tank" x="160.000000" y="96.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="Tank" x="256.000000" y="96.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="Tank" x="352.000000" y="96.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="Tank" x="64.000000" y="160.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="Tank" x="160.000000" y="160.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="Tank" x="256.000000" y="160.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="Tank" x="352.000000" y="160.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>
</Positions>
<Events>
<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 no button is pressed, ALL tanks become blue." />
<Com2 value="Si aucun bouton n&apos;est appuy<75>, TOUS les tanks deviennent bleus." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="SourisBouton" Contraire="true" />
<Parametre value="" />
<Parametre value="Right" />
</Condition>
<Condition>
<Type value="SourisBouton" Contraire="true" />
<Parametre value="" />
<Parametre value="Left" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ChangeAnimation" />
<Parametre value="Tank" />
<Parametre value="=" />
<Parametre value="0" />
</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 right button is pressed, ALL tanks becomes green." />
<Com2 value="Si le bouton droit est appuy<75>, TOUS les tanks deviennent verts" />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="SourisBouton" Contraire="false" />
<Parametre value="" />
<Parametre value="Right" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ChangeAnimation" />
<Parametre value="Tank" />
<Parametre value="=" />
<Parametre value="1" />
</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 left button is pressed and mouse is on a tank&#x0A;then THIS tank becomes green." />
<Com2 value="Si le bouton gauche est appuy<75> et que la souris est sur un tank&#x0A;alors CE tank va devenir vert." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="SourisBouton" Contraire="false" />
<Parametre value="" />
<Parametre value="Left" />
</Condition>
<Condition>
<Type value="SourisSurObjet" Contraire="false" />
<Parametre value="Tank" />
<Parametre value="" />
<Parametre value="" />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ChangeAnimation" />
<Parametre value="Tank" />
<Parametre value="=" />
<Parametre value="1" />
</Action>
</Actions>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Object selection</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="CommonDialogs" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="TankB1.png" kind="image" name="TankB1.png" smoothed="false" userAdded="true" />
<resource alwaysLoaded="false" file="tankV1.png" kind="image" name="tankV1.png" smoothed="false" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="234" disableInputWhenNotFocused="true" mangledName="Scene" name="Scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="234" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="234">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" 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="Tank" width="0.000000" x="64.000000" y="96.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="160.000000" y="96.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="256.000000" y="96.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="352.000000" y="96.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="64.000000" y="160.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="160.000000" y="160.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="256.000000" y="160.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="352.000000" y="160.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object name="Tank" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="TankB1.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="14.500000" y="12.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="29.000000" y="0.000000" />
<vertice x="29.000000" y="25.000000" />
<vertice x="0.000000" y="25.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="50.000000" y="50.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="100.000000" y="0.000000" />
<vertice x="100.000000" y="100.000000" />
<vertice x="0.000000" y="100.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="tankV1.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="14.500000" y="12.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="29.000000" y="0.000000" />
<vertice x="29.000000" y="24.000000" />
<vertice x="0.000000" y="24.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>If no button is pressed, ALL tanks become blue.</comment>
<comment2>Si aucun bouton n&apos;est appuyé, TOUS les tanks deviennent bleus.</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="true" value="SourisBouton" />
<parameters>
<parameter></parameter>
<parameter>Right</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="true" value="SourisBouton" />
<parameters>
<parameter></parameter>
<parameter>Left</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ChangeAnimation" />
<parameters>
<parameter>Tank</parameter>
<parameter>=</parameter>
<parameter>0</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>If right button is pressed, ALL tanks becomes green.</comment>
<comment2>Si le bouton droit est appuyé, TOUS les tanks deviennent verts</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>
</conditions>
<actions>
<action>
<type inverted="false" value="ChangeAnimation" />
<parameters>
<parameter>Tank</parameter>
<parameter>=</parameter>
<parameter>1</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>If left button is pressed and mouse is on a tank&#x0A;then THIS tank becomes green.</comment>
<comment2>Si le bouton gauche est appuyé et que la souris est sur un tank&#x0A;alors CE tank va devenir vert.</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="SourisSurObjet" />
<parameters>
<parameter>Tank</parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ChangeAnimation" />
<parameters>
<parameter>Tank</parameter>
<parameter>=</parameter>
<parameter>1</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,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="74" major="3" minor="5" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>
@@ -46,7 +46,7 @@
<variables />
<layouts>
<layout b="209" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" 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" />
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

After

Width:  |  Height:  |  Size: 221 B

View File

@@ -1,259 +1,332 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<Project>
<GDVersion Major="3" Minor="2" Build="62" Revision="0" />
<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" />
</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="Vegetation_(middle_layer).png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Vegetation_(middle_layer).png" />
<Resource kind="image" name="Ground_(front_layer).png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Ground_(front_layer).png" />
<Resource kind="image" name="Sky_back_layer.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Sky_back_layer.png" />
<Resource kind="image" name="Elisa_standing.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Elisa_standing.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="New scene" mangledName="New_32scene" r="209.000000" v="209.000000" b="209.000000" titre="" oglFOV="90.000000" oglZNear="1.000000" oglZFar="500.000000" standardSortMethod="true" stopSoundsOnStartup="true" disableInputWhenNotFocused="true">
<UISettings gridWidth="32.000000" grid="true" snap="true" gridHeight="32.000000" gridR="158.000000" gridG="180.000000" gridB="255.000000" zoomFactor="1.000000" windowMask="false" associatedLayout="" />
<GroupesObjets />
<Objets>
<Objet nom="Background" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Sky_back_layer.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="320.000000" Y="240.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Vegetation_(middle_layer).png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="320.000000" Y="240.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Ground_(front_layer).png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="320.000000" Y="240.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="ObjectToFollow" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Elisa_standing.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="17.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
</Objets>
<Layers>
<Layer Name="Layer4" 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="Layer3" 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="Layer2" 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="" 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="ObjectToFollow" x="-128.000000" y="352.000000" plan="1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Background" x="-640.000000" y="0.000000" plan="1" layer="Layer4" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Background" x="-640.000000" y="0.000000" plan="1" layer="Layer3" 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="Background" x="-608.000000" y="0.000000" plan="1" layer="Layer2" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Background" x="0.000000" y="0.000000" plan="1" layer="Layer3" 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="Background" x="0.000000" y="0.000000" plan="1" layer="Layer2" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Background" x="0.000000" y="0.000000" plan="1" layer="Layer4" 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="ObjectToFollow" />
<Parametre value="-200" />
<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="ObjectToFollow" />
<Parametre value="200" />
<Parametre value="0" />
<Parametre value="0" />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="CameraX" />
<Parametre value="" />
<Parametre value="=" />
<Parametre value="ObjectToFollow.X()" />
<Parametre value="" />
<Parametre value="" />
</Action>
<Action>
<Type value="CameraX" />
<Parametre value="" />
<Parametre value="=" />
<Parametre value="ObjectToFollow.X()*0.75" />
<Parametre value='&quot;Layer2&quot;' />
<Parametre value="" />
</Action>
<Action>
<Type value="CameraX" />
<Parametre value="" />
<Parametre value="=" />
<Parametre value="ObjectToFollow.X()*0.50" />
<Parametre value='&quot;Layer3&quot;' />
<Parametre value="" />
</Action>
<Action>
<Type value="CameraX" />
<Parametre value="" />
<Parametre value="=" />
<Parametre value="ObjectToFollow.X()*0.25" />
<Parametre value='&quot;Layer4&quot;' />
<Parametre value="" />
</Action>
</Actions>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</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" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="Vegetation_(middle_layer).png" kind="image" name="Vegetation_(middle_layer).png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Ground_(front_layer).png" kind="image" name="Ground_(front_layer).png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Sky_back_layer.png" kind="image" name="Sky_back_layer.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Elisa_standing.png" kind="image" name="Elisa_standing.png" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="209" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="209" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="209">
<uiSettings associatedLayout="" grid="true" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" 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="ObjectToFollow" width="0.000000" x="-128.000000" y="352.000000" zOrder="1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="Layer4" locked="false" name="Background" width="0.000000" x="-640.000000" y="0.000000" zOrder="1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="Layer3" locked="false" name="Background" width="0.000000" x="-640.000000" y="0.000000" zOrder="1">
<numberProperties>
<property name="animation" value="1.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="Layer2" locked="false" name="Background" width="0.000000" x="-608.000000" y="0.000000" zOrder="1">
<numberProperties>
<property name="animation" value="2.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="Layer3" locked="false" name="Background" width="0.000000" x="0.000000" y="0.000000" zOrder="1">
<numberProperties>
<property name="animation" value="1.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="Layer2" locked="false" name="Background" width="0.000000" x="0.000000" y="0.000000" zOrder="1">
<numberProperties>
<property name="animation" value="2.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="Layer4" locked="false" name="Background" width="0.000000" x="0.000000" y="0.000000" zOrder="1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object name="Background" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Sky_back_layer.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="320.000000" y="240.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="640.000000" y="0.000000" />
<vertice x="640.000000" y="480.000000" />
<vertice x="0.000000" y="480.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Vegetation_(middle_layer).png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="320.000000" y="240.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="640.000000" y="0.000000" />
<vertice x="640.000000" y="480.000000" />
<vertice x="0.000000" y="480.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Ground_(front_layer).png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="320.000000" y="240.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="640.000000" y="0.000000" />
<vertice x="640.000000" y="480.000000" />
<vertice x="0.000000" y="480.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="ObjectToFollow" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Elisa_standing.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="17.000000" y="22.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="34.000000" y="0.000000" />
<vertice x="34.000000" y="45.000000" />
<vertice x="0.000000" y="45.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Left</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="AddForceXY" />
<parameters>
<parameter>ObjectToFollow</parameter>
<parameter>-200</parameter>
<parameter>0</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>Right</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="AddForceXY" />
<parameters>
<parameter>ObjectToFollow</parameter>
<parameter>200</parameter>
<parameter>0</parameter>
<parameter>0</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="CameraX" />
<parameters>
<parameter></parameter>
<parameter>=</parameter>
<parameter>ObjectToFollow.X()</parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="CameraX" />
<parameters>
<parameter></parameter>
<parameter>=</parameter>
<parameter>ObjectToFollow.X()*0.75</parameter>
<parameter>&quot;Layer2&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="CameraX" />
<parameters>
<parameter></parameter>
<parameter>=</parameter>
<parameter>ObjectToFollow.X()*0.50</parameter>
<parameter>&quot;Layer3&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="CameraX" />
<parameters>
<parameter></parameter>
<parameter>=</parameter>
<parameter>ObjectToFollow.X()*0.25</parameter>
<parameter>&quot;Layer4&quot;</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
</events>
<layers>
<layer name="Layer4" 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>
<layer name="Layer3" 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>
<layer name="Layer2" 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>
<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,121 +1,142 @@
<?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="Explosions" />
<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="ParticleSystem" />
</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="ExplosionTexture.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="ExplosionTexture.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="New scene" mangledName="New_32scene" r="0.000000" v="0.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="Explosion" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="false" emissionEditionSimpleMode="false" gravityEditionSimpleMode="false" tank="1000.000000" flow="-1.000000" emitterForceMin="5.000000" emitterForceMax="40.000000" emitterXDirection="0.000000" emitterYDirection="0.000000" emitterZDirection="1.000000" emitterAngleA="180.000000" emitterAngleB="160.000000" zoneRadius="2.000000" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="20.000000" friction="2.000000" particleLifeTimeMin="0.700000" particleLifeTimeMax="1.500000" particleRed1="255.000000" particleRed2="50.000000" particleGreen1="128.000000" particleGreen2="50.000000" particleBlue1="25.000000" particleBlue2="50.000000" particleAlpha1="204.000000" particleAlpha2="0.000000" particleSize1="100.000000" particleSize2="100.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="20.000000" rendererParam2="20.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="true" destroyWhenNoParticles="true" textureParticleName="ExplosionTexture.png" maxParticleNb="5000" rendererType="Quad" redParam="Mutable" greenParam="Mutable" blueParam="Mutable" alphaParam="Mutable" sizeParam="Random" angleParam="Random">
<Variables />
</Objet>
<Objet nom="Explosion2" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="false" emissionEditionSimpleMode="false" gravityEditionSimpleMode="false" tank="350.000000" flow="-1.000000" emitterForceMin="50.000000" emitterForceMax="130.000000" emitterXDirection="1.000000" emitterYDirection="0.000000" emitterZDirection="1.000000" emitterAngleA="0.000000" emitterAngleB="180.000000" zoneRadius="2.000000" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="30.000000" friction="2.000000" particleLifeTimeMin="0.700000" particleLifeTimeMax="1.500000" particleRed1="153.000000" particleRed2="1.000000" particleGreen1="76.000000" particleGreen2="180.000000" particleBlue1="25.000000" particleBlue2="75.000000" particleAlpha1="204.000000" particleAlpha2="0.000000" particleSize1="100.000000" particleSize2="100.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="0.050000" rendererParam2="1.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="true" destroyWhenNoParticles="true" textureParticleName="" maxParticleNb="5000" rendererType="Line" redParam="Enabled" greenParam="Mutable" blueParam="Mutable" alphaParam="Mutable" sizeParam="Random" angleParam="Random">
<Variables />
</Objet>
<Objet nom="ExplosionSmoke" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="false" emissionEditionSimpleMode="false" gravityEditionSimpleMode="true" tank="500.000000" flow="400.000000" emitterForceMin="0.000000" emitterForceMax="10.000000" emitterXDirection="0.000000" emitterYDirection="0.000000" emitterZDirection="1.000000" emitterAngleA="45.000000" emitterAngleB="180.000000" zoneRadius="20.000000" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="30.000000" friction="2.000000" particleLifeTimeMin="0.700000" particleLifeTimeMax="1.200000" particleRed1="25.000000" particleRed2="0.100000" particleGreen1="25.000000" particleGreen2="0.800000" particleBlue1="25.000000" particleBlue2="0.000000" particleAlpha1="153.000000" particleAlpha2="0.000000" particleSize1="100.000000" particleSize2="100.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="20.000000" rendererParam2="20.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="true" destroyWhenNoParticles="true" textureParticleName="ExplosionTexture.png" maxParticleNb="5000" rendererType="Quad" redParam="Enabled" greenParam="Enabled" blueParam="Enabled" alphaParam="Mutable" sizeParam="Random" angleParam="Random">
<Variables />
</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 />
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="Timer" Contraire="false" />
<Parametre value="" />
<Parametre value="Random(0.3)+0.2" />
<Parametre value='&quot;Creating&quot;' />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="Explosion" />
<Parametre value="Random(800)" />
<Parametre value="Random(600)" />
<Parametre value="" />
</Action>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="Explosion2" />
<Parametre value="Explosion.X()" />
<Parametre value="Explosion.Y()" />
<Parametre value="" />
</Action>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="ExplosionSmoke" />
<Parametre value="Explosion.X()" />
<Parametre value="Explosion.Y()" />
<Parametre value="" />
</Action>
<Action>
<Type value="ResetTimer" />
<Parametre value="" />
<Parametre value='&quot;Creating&quot;' />
</Action>
</Actions>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Explosions</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="ParticleSystem" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="ExplosionTexture.png" kind="image" name="ExplosionTexture.png" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="0" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="0" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="0">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances />
<objects>
<object additive="true" alphaParam="Mutable" angleParam="Random" blueParam="Mutable" destroyWhenNoParticles="true" emissionEditionSimpleMode="false" emitterAngleA="180.000000" emitterAngleB="160.000000" emitterForceMax="40.000000" emitterForceMin="5.000000" emitterXDirection="0.000000" emitterYDirection="0.000000" emitterZDirection="1.000000" flow="-1.000000" friction="2.000000" gravityEditionSimpleMode="false" greenParam="Mutable" maxParticleNb="5000" name="Explosion" particleAlpha1="204.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="25.000000" particleBlue2="50.000000" particleEditionSimpleMode="false" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="20.000000" particleGreen1="128.000000" particleGreen2="50.000000" particleLifeTimeMax="1.500000" particleLifeTimeMin="0.700000" particleRed1="255.000000" particleRed2="50.000000" particleSize1="100.000000" particleSize2="100.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Mutable" rendererParam1="20.000000" rendererParam2="20.000000" rendererType="Quad" sizeParam="Random" tank="1000.000000" textureParticleName="ExplosionTexture.png" type="ParticleSystem::ParticleEmitter" zoneRadius="2.000000">
<variables />
<automatisms />
</object>
<object additive="true" alphaParam="Mutable" angleParam="Random" blueParam="Mutable" destroyWhenNoParticles="true" emissionEditionSimpleMode="false" emitterAngleA="0.000000" emitterAngleB="180.000000" emitterForceMax="130.000000" emitterForceMin="50.000000" emitterXDirection="1.000000" emitterYDirection="0.000000" emitterZDirection="1.000000" flow="-1.000000" friction="2.000000" gravityEditionSimpleMode="false" greenParam="Mutable" maxParticleNb="5000" name="Explosion2" particleAlpha1="204.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="25.000000" particleBlue2="75.000000" particleEditionSimpleMode="false" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="30.000000" particleGreen1="76.000000" particleGreen2="180.000000" particleLifeTimeMax="1.500000" particleLifeTimeMin="0.700000" particleRed1="153.000000" particleRed2="1.000000" particleSize1="100.000000" particleSize2="100.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Enabled" rendererParam1="0.050000" rendererParam2="1.000000" rendererType="Line" sizeParam="Random" tank="350.000000" textureParticleName="" type="ParticleSystem::ParticleEmitter" zoneRadius="2.000000">
<variables />
<automatisms />
</object>
<object additive="true" alphaParam="Mutable" angleParam="Random" blueParam="Enabled" destroyWhenNoParticles="true" emissionEditionSimpleMode="false" emitterAngleA="45.000000" emitterAngleB="180.000000" emitterForceMax="10.000000" emitterForceMin="0.000000" emitterXDirection="0.000000" emitterYDirection="0.000000" emitterZDirection="1.000000" flow="400.000000" friction="2.000000" gravityEditionSimpleMode="true" greenParam="Enabled" maxParticleNb="5000" name="ExplosionSmoke" particleAlpha1="153.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="25.000000" particleBlue2="0.000000" particleEditionSimpleMode="false" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="30.000000" particleGreen1="25.000000" particleGreen2="0.800000" particleLifeTimeMax="1.200000" particleLifeTimeMin="0.700000" particleRed1="25.000000" particleRed2="0.100000" particleSize1="100.000000" particleSize2="100.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Enabled" rendererParam1="20.000000" rendererParam2="20.000000" rendererType="Quad" sizeParam="Random" tank="500.000000" textureParticleName="ExplosionTexture.png" type="ParticleSystem::ParticleEmitter" zoneRadius="20.000000">
<variables />
<automatisms />
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="Timer" />
<parameters>
<parameter></parameter>
<parameter>Random(0.3)+0.2</parameter>
<parameter>&quot;Creating&quot;</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>Explosion</parameter>
<parameter>Random(800)</parameter>
<parameter>Random(600)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>Explosion2</parameter>
<parameter>Explosion.X()</parameter>
<parameter>Explosion.Y()</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>ExplosionSmoke</parameter>
<parameter>Explosion.X()</parameter>
<parameter>Explosion.Y()</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ResetTimer" />
<parameters>
<parameter></parameter>
<parameter>&quot;Creating&quot;</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,160 +1,178 @@
<?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="ParticleSystem" />
</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="Fire" alwaysLoaded="false" smoothed="true" userAdded="true" file="ExplosionTexture.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="Nouvelle sc<73>ne" mangledName="Nouvelle_32sc__4524ne" r="0.000000" v="0.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="Fire" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="false" emissionEditionSimpleMode="true" gravityEditionSimpleMode="true" tank="-1.000000" flow="300.000000" emitterForceMin="0.000000" emitterForceMax="10.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" emitterAngleA="0.000000" emitterAngleB="180.000000" zoneRadius="5.000000" particleGravityX="0.000000" particleGravityY="-100.000000" particleGravityZ="0.000000" friction="2.000000" particleLifeTimeMin="0.500000" particleLifeTimeMax="2.500000" particleRed1="240.000000" particleRed2="1.000000" particleGreen1="50.000000" particleGreen2="204.000000" particleBlue1="50.000000" particleBlue2="0.000000" particleAlpha1="204.000000" particleAlpha2="0.000000" particleSize1="100.000000" particleSize2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="10.000000" rendererParam2="20.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="30.000000" additive="true" destroyWhenNoParticles="false" textureParticleName="Fire" maxParticleNb="5000" rendererType="Quad" redParam="Enabled" greenParam="Random" blueParam="Random" alphaParam="Mutable" sizeParam="Mutable" angleParam="Mutable">
<Variables />
</Objet>
<Objet nom="Smoke" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="false" emissionEditionSimpleMode="true" gravityEditionSimpleMode="true" tank="-1.000000" flow="200.000000" emitterForceMin="0.000000" emitterForceMax="0.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" emitterAngleA="0.000000" emitterAngleB="180.000000" zoneRadius="7.000000" particleGravityX="0.000000" particleGravityY="-100.000000" particleGravityZ="0.000000" friction="2.000000" particleLifeTimeMin="0.500000" particleLifeTimeMax="2.500000" particleRed1="50.000000" particleRed2="1.000000" particleGreen1="50.000000" particleGreen2="0.800000" particleBlue1="50.000000" particleBlue2="0.000000" particleAlpha1="160.000000" particleAlpha2="0.000000" particleSize1="20.000000" particleSize2="100.000000" particleAngle1="0.000000" particleAngle2="360.000000" rendererParam1="30.000000" rendererParam2="30.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="false" destroyWhenNoParticles="false" textureParticleName="Fire" maxParticleNb="5000" rendererType="Quad" redParam="Enabled" greenParam="Enabled" blueParam="Enabled" alphaParam="Mutable" sizeParam="Mutable" angleParam="Random">
<Variables />
</Objet>
<Objet nom="Particles" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="false" emissionEditionSimpleMode="true" gravityEditionSimpleMode="true" tank="-1.000000" flow="200.000000" emitterForceMin="25.000000" emitterForceMax="65.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" emitterAngleA="0.000000" emitterAngleB="180.000000" zoneRadius="2.000000" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="250.000000" friction="2.000000" particleLifeTimeMin="0.500000" particleLifeTimeMax="2.500000" particleRed1="204.000000" particleRed2="255.000000" particleGreen1="125.000000" particleGreen2="204.000000" particleBlue1="125.000000" particleBlue2="204.000000" particleAlpha1="204.000000" particleAlpha2="0.000000" particleSize1="0.000000" particleSize2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="8.000000" rendererParam2="1.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="true" destroyWhenNoParticles="false" textureParticleName="" maxParticleNb="5000" rendererType="Point" redParam="Random" greenParam="Random" blueParam="Random" alphaParam="Mutable" sizeParam="Random" angleParam="Random">
<Variables />
</Objet>
<Objet nom="Beam" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="false" emissionEditionSimpleMode="true" gravityEditionSimpleMode="true" tank="-1.000000" flow="100.000000" emitterForceMin="0.000000" emitterForceMax="0.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" emitterAngleA="0.000000" emitterAngleB="180.000000" zoneRadius="3.000000" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="500.000000" friction="2.000000" particleLifeTimeMin="0.500000" particleLifeTimeMax="2.000000" particleRed1="153.000000" particleRed2="180.000000" particleGreen1="127.000000" particleGreen2="230.000000" particleBlue1="204.000000" particleBlue2="255.000000" particleAlpha1="250.000000" particleAlpha2="0.000000" particleSize1="0.000000" particleSize2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="3.000000" rendererParam2="1.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="false" destroyWhenNoParticles="false" textureParticleName="" maxParticleNb="5000" rendererType="Line" redParam="Random" greenParam="Random" blueParam="Random" alphaParam="Mutable" sizeParam="Random" angleParam="Random">
<Variables />
</Objet>
<Objet nom="Beam2" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="false" emissionEditionSimpleMode="true" gravityEditionSimpleMode="true" tank="-1.000000" flow="300.000000" emitterForceMin="25.000000" emitterForceMax="65.000000" emitterXDirection="0.000000" emitterYDirection="0.000000" emitterZDirection="0.000000" emitterAngleA="0.000000" emitterAngleB="0.000000" zoneRadius="3.000000" particleGravityX="-500.000000" particleGravityY="0.000000" particleGravityZ="0.000000" friction="2.000000" particleLifeTimeMin="0.500000" particleLifeTimeMax="5.000000" particleRed1="127.000000" particleRed2="0.500000" particleGreen1="204.000000" particleGreen2="125.000000" particleBlue1="255.000000" particleBlue2="204.000000" particleAlpha1="125.000000" particleAlpha2="0.000000" particleSize1="0.000000" particleSize2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="0.500000" rendererParam2="2.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="true" destroyWhenNoParticles="false" textureParticleName="" maxParticleNb="5000" rendererType="Line" redParam="Enabled" greenParam="Random" blueParam="Random" alphaParam="Mutable" sizeParam="Random" angleParam="Random">
<Variables />
</Objet>
<Objet nom="Pyro" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="false" emissionEditionSimpleMode="true" gravityEditionSimpleMode="true" tank="600.000000" flow="400.000000" emitterForceMin="25.000000" emitterForceMax="100.000000" emitterXDirection="0.000000" emitterYDirection="0.000000" emitterZDirection="1.000000" emitterAngleA="0.000000" emitterAngleB="180.000000" zoneRadius="7.000000" particleGravityX="0.000000" particleGravityY="-100.000000" particleGravityZ="0.000000" friction="2.000000" particleLifeTimeMin="0.500000" particleLifeTimeMax="1.000000" particleRed1="127.000000" particleRed2="230.000000" particleGreen1="127.000000" particleGreen2="1.000000" particleBlue1="204.000000" particleBlue2="255.000000" particleAlpha1="204.000000" particleAlpha2="0.000000" particleSize1="100.000000" particleSize2="1.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="0.060000" rendererParam2="3.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="true" destroyWhenNoParticles="true" textureParticleName="" maxParticleNb="5000" rendererType="Line" redParam="Random" greenParam="Enabled" blueParam="Random" alphaParam="Mutable" sizeParam="Mutable" angleParam="Random">
<Variables />
</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="Fire" x="71.000000" y="430.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Smoke" x="71.000000" y="428.000000" plan="-1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Fire" x="185.000000" y="494.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Smoke" x="185.000000" y="492.000000" plan="-1" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Beam2" x="686.000000" y="558.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Beam" x="556.000000" y="234.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Particles" x="556.000000" y="234.000000" plan="-10" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Particles" x="526.000000" y="202.000000" plan="-10" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Beam" x="527.000000" y="204.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::Standard" />
<Conditions>
<Condition>
<Type value="Timer" Contraire="false" />
<Parametre value="" />
<Parametre value="Random(0.3)+1" />
<Parametre value='&quot;Creating&quot;' />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="Pyro" />
<Parametre value="350+Random(100)" />
<Parametre value="100+Random(300)" />
<Parametre value="" />
</Action>
<Action>
<Type value="ResetTimer" />
<Parametre value="" />
<Parametre value='&quot;Creating&quot;' />
</Action>
</Actions>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</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="ParticleSystem" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="ExplosionTexture.png" kind="image" name="Fire" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="0" disableInputWhenNotFocused="true" mangledName="Nouvelle_32sc_232ne" name="Nouvelle scène" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="0" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="0">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" 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="Fire" width="0.000000" x="71.000000" y="430.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Smoke" width="0.000000" x="71.000000" y="428.000000" zOrder="-1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fire" width="0.000000" x="185.000000" y="494.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Smoke" width="0.000000" x="185.000000" y="492.000000" zOrder="-1">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Beam2" width="0.000000" x="686.000000" y="558.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Beam" width="0.000000" x="556.000000" y="234.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Particles" width="0.000000" x="556.000000" y="234.000000" zOrder="-10">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Particles" width="0.000000" x="526.000000" y="202.000000" zOrder="-10">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Beam" width="0.000000" x="527.000000" y="204.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object additive="true" alphaParam="Mutable" angleParam="Mutable" blueParam="Random" destroyWhenNoParticles="false" emissionEditionSimpleMode="true" emitterAngleA="0.000000" emitterAngleB="180.000000" emitterForceMax="10.000000" emitterForceMin="0.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" flow="300.000000" friction="2.000000" gravityEditionSimpleMode="true" greenParam="Random" maxParticleNb="5000" name="Fire" particleAlpha1="204.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="30.000000" particleBlue1="50.000000" particleBlue2="0.000000" particleEditionSimpleMode="false" particleGravityX="0.000000" particleGravityY="-100.000000" particleGravityZ="0.000000" particleGreen1="50.000000" particleGreen2="204.000000" particleLifeTimeMax="2.500000" particleLifeTimeMin="0.500000" particleRed1="240.000000" particleRed2="1.000000" particleSize1="100.000000" particleSize2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Enabled" rendererParam1="10.000000" rendererParam2="20.000000" rendererType="Quad" sizeParam="Mutable" tank="-1.000000" textureParticleName="Fire" type="ParticleSystem::ParticleEmitter" zoneRadius="5.000000">
<variables />
<automatisms />
</object>
<object additive="false" alphaParam="Mutable" angleParam="Random" blueParam="Enabled" destroyWhenNoParticles="false" emissionEditionSimpleMode="true" emitterAngleA="0.000000" emitterAngleB="180.000000" emitterForceMax="0.000000" emitterForceMin="0.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" flow="200.000000" friction="2.000000" gravityEditionSimpleMode="true" greenParam="Enabled" maxParticleNb="5000" name="Smoke" particleAlpha1="160.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="360.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="50.000000" particleBlue2="0.000000" particleEditionSimpleMode="false" particleGravityX="0.000000" particleGravityY="-100.000000" particleGravityZ="0.000000" particleGreen1="50.000000" particleGreen2="0.800000" particleLifeTimeMax="2.500000" particleLifeTimeMin="0.500000" particleRed1="50.000000" particleRed2="1.000000" particleSize1="20.000000" particleSize2="100.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Enabled" rendererParam1="30.000000" rendererParam2="30.000000" rendererType="Quad" sizeParam="Mutable" tank="-1.000000" textureParticleName="Fire" type="ParticleSystem::ParticleEmitter" zoneRadius="7.000000">
<variables />
<automatisms />
</object>
<object additive="true" alphaParam="Mutable" angleParam="Random" blueParam="Random" destroyWhenNoParticles="false" emissionEditionSimpleMode="true" emitterAngleA="0.000000" emitterAngleB="180.000000" emitterForceMax="65.000000" emitterForceMin="25.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" flow="200.000000" friction="2.000000" gravityEditionSimpleMode="true" greenParam="Random" maxParticleNb="5000" name="Particles" particleAlpha1="204.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="125.000000" particleBlue2="204.000000" particleEditionSimpleMode="false" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="250.000000" particleGreen1="125.000000" particleGreen2="204.000000" particleLifeTimeMax="2.500000" particleLifeTimeMin="0.500000" particleRed1="204.000000" particleRed2="255.000000" particleSize1="0.000000" particleSize2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Random" rendererParam1="8.000000" rendererParam2="1.000000" rendererType="Point" sizeParam="Random" tank="-1.000000" textureParticleName="" type="ParticleSystem::ParticleEmitter" zoneRadius="2.000000">
<variables />
<automatisms />
</object>
<object additive="false" alphaParam="Mutable" angleParam="Random" blueParam="Random" destroyWhenNoParticles="false" emissionEditionSimpleMode="true" emitterAngleA="0.000000" emitterAngleB="180.000000" emitterForceMax="0.000000" emitterForceMin="0.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" flow="100.000000" friction="2.000000" gravityEditionSimpleMode="true" greenParam="Random" maxParticleNb="5000" name="Beam" particleAlpha1="250.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="204.000000" particleBlue2="255.000000" particleEditionSimpleMode="false" particleGravityX="0.000000" particleGravityY="0.000000" particleGravityZ="500.000000" particleGreen1="127.000000" particleGreen2="230.000000" particleLifeTimeMax="2.000000" particleLifeTimeMin="0.500000" particleRed1="153.000000" particleRed2="180.000000" particleSize1="0.000000" particleSize2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Random" rendererParam1="3.000000" rendererParam2="1.000000" rendererType="Line" sizeParam="Random" tank="-1.000000" textureParticleName="" type="ParticleSystem::ParticleEmitter" zoneRadius="3.000000">
<variables />
<automatisms />
</object>
<object additive="true" alphaParam="Mutable" angleParam="Random" blueParam="Random" destroyWhenNoParticles="false" emissionEditionSimpleMode="true" emitterAngleA="0.000000" emitterAngleB="0.000000" emitterForceMax="65.000000" emitterForceMin="25.000000" emitterXDirection="0.000000" emitterYDirection="0.000000" emitterZDirection="0.000000" flow="300.000000" friction="2.000000" gravityEditionSimpleMode="true" greenParam="Random" maxParticleNb="5000" name="Beam2" particleAlpha1="125.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="255.000000" particleBlue2="204.000000" particleEditionSimpleMode="false" particleGravityX="-500.000000" particleGravityY="0.000000" particleGravityZ="0.000000" particleGreen1="204.000000" particleGreen2="125.000000" particleLifeTimeMax="5.000000" particleLifeTimeMin="0.500000" particleRed1="127.000000" particleRed2="0.500000" particleSize1="0.000000" particleSize2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Enabled" rendererParam1="0.500000" rendererParam2="2.000000" rendererType="Line" sizeParam="Random" tank="-1.000000" textureParticleName="" type="ParticleSystem::ParticleEmitter" zoneRadius="3.000000">
<variables />
<automatisms />
</object>
<object additive="true" alphaParam="Mutable" angleParam="Random" blueParam="Random" destroyWhenNoParticles="true" emissionEditionSimpleMode="true" emitterAngleA="0.000000" emitterAngleB="180.000000" emitterForceMax="100.000000" emitterForceMin="25.000000" emitterXDirection="0.000000" emitterYDirection="0.000000" emitterZDirection="1.000000" flow="400.000000" friction="2.000000" gravityEditionSimpleMode="true" greenParam="Enabled" maxParticleNb="5000" name="Pyro" particleAlpha1="204.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="204.000000" particleBlue2="255.000000" particleEditionSimpleMode="false" particleGravityX="0.000000" particleGravityY="-100.000000" particleGravityZ="0.000000" particleGreen1="127.000000" particleGreen2="1.000000" particleLifeTimeMax="1.000000" particleLifeTimeMin="0.500000" particleRed1="127.000000" particleRed2="230.000000" particleSize1="100.000000" particleSize2="1.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Random" rendererParam1="0.060000" rendererParam2="3.000000" rendererType="Line" sizeParam="Mutable" tank="600.000000" textureParticleName="" type="ParticleSystem::ParticleEmitter" zoneRadius="7.000000">
<variables />
<automatisms />
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="Timer" />
<parameters>
<parameter></parameter>
<parameter>Random(0.3)+1</parameter>
<parameter>&quot;Creating&quot;</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>Pyro</parameter>
<parameter>350+Random(100)</parameter>
<parameter>100+Random(300)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ResetTimer" />
<parameters>
<parameter></parameter>
<parameter>&quot;Creating&quot;</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>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,294 +1,418 @@
<?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="PathAutomatism" />
<Extension name="ParticleSystem" />
<Extension name="BuiltinExternalLayouts" />
</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="-1" />
<FPSmin value="10" />
<verticalSync value="false" />
</Info>
<Resources>
<Resources>
<Resource kind="image" name="RepetableBackground.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="RepetableBackground.png" />
<Resource kind="image" name="TopDownZombie.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="TopDownZombie.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="New scene" mangledName="New_32scene" r="209.000000" v="209.000000" b="209.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="Background" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="RepetableBackground.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="400.000000" Y="300.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="RepetableBackground.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="400.000000" Y="300.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="RepetableBackground.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="400.000000" Y="300.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="RepetableBackground.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="400.000000" Y="300.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="RepetableBackground.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="400.000000" Y="300.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="RepetableBackground.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="400.000000" Y="300.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="RepetableBackground.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="400.000000" Y="300.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="RepetableBackground.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="400.000000" Y="300.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Object" type="Sprite">
<Variables />
<Automatism Type="PathAutomatism::PathAutomatism" Name="Path" currentPath="Object main path" speed="75.000000" offsetX="30.000000" offsetY="30.000000" angleOffset="0.000000" reverseAtEnd="false" stopAtEnd="false" followAngle="true">
<Paths>
<Path name="Object main path" coords="0;0/109;12/182;21/204;44/210;68/197;99/182;108/161;101/140;72/112;55/73;51/54;68.5/40;98/62;130/100;138/132;136/157;154/145;183/67;186/33;180/15;151/17;117/11;100/-15;82/-26;49/-27;22/-14;8/0;1" />
</Paths>
</Automatism>
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="TopDownZombie.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="18.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="TopDownZombie.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="18.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="TopDownZombie.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="18.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="TopDownZombie.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="18.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="TopDownZombie.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="18.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="TopDownZombie.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="18.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="TopDownZombie.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="18.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="TopDownZombie.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="18.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Emitter" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="true" emissionEditionSimpleMode="true" gravityEditionSimpleMode="true" tank="-1.000000" flow="500.000000" emitterForceMin="0.000000" emitterForceMax="2.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" emitterAngleA="0.000000" emitterAngleB="90.000000" zoneRadius="3.000000" particleGravityX="0.000000" particleGravityY="-0.000000" particleGravityZ="0.000000" friction="2.000000" particleLifeTimeMin="10.000000" particleLifeTimeMax="13.000000" particleRed1="164.000000" particleRed2="255.000000" particleGreen1="0.000000" particleGreen2="255.000000" particleBlue1="0.000000" particleBlue2="0.000000" particleAlpha1="204.000000" particleAlpha2="0.000000" particleSize1="100.000000" particleSize2="100.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="3.000000" rendererParam2="1.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="true" destroyWhenNoParticles="true" textureParticleName="" maxParticleNb="15000" rendererType="Point" redParam="Mutable" greenParam="Mutable" blueParam="Mutable" alphaParam="Mutable" sizeParam="Mutable" angleParam="Mutable">
<Variables />
<Automatism Type="PathAutomatism::PathAutomatism" Name="Path" currentPath="Object main path" speed="200.000000" offsetX="50.000000" offsetY="300.000000" angleOffset="0.000000" reverseAtEnd="false" stopAtEnd="false" followAngle="false">
<Paths>
<Path name="Object main path" coords="0;0/271;226/271;-1/0;226/0;0" />
</Paths>
</Automatism>
</Objet>
<Objet nom="Emitter2" type="ParticleSystem::ParticleEmitter" particleEditionSimpleMode="true" emissionEditionSimpleMode="true" gravityEditionSimpleMode="true" tank="-1.000000" flow="1000.000000" emitterForceMin="3.000000" emitterForceMax="4.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" emitterAngleA="0.000000" emitterAngleB="90.000000" zoneRadius="3.000000" particleGravityX="0.000000" particleGravityY="-0.000000" particleGravityZ="0.000000" friction="2.000000" particleLifeTimeMin="5.000000" particleLifeTimeMax="6.000000" particleRed1="85.000000" particleRed2="41.000000" particleGreen1="85.000000" particleGreen2="157.000000" particleBlue1="255.000000" particleBlue2="214.000000" particleAlpha1="204.000000" particleAlpha2="0.000000" particleSize1="100.000000" particleSize2="100.000000" particleAngle1="0.000000" particleAngle2="0.000000" rendererParam1="2.000000" rendererParam2="1.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" additive="true" destroyWhenNoParticles="true" textureParticleName="" maxParticleNb="15000" rendererType="Line" redParam="Mutable" greenParam="Mutable" blueParam="Mutable" alphaParam="Mutable" sizeParam="Mutable" angleParam="Mutable">
<Variables />
<Automatism Type="PathAutomatism::PathAutomatism" Name="Path" currentPath="Object main path" speed="700.000000" offsetX="350.000000" offsetY="40.000000" angleOffset="0.000000" reverseAtEnd="false" stopAtEnd="false" followAngle="false">
<Paths>
<Path name="Object main path" coords="0;0/154;218/230;0/87;218/0;0" />
</Paths>
</Automatism>
</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="PathAutomatism::PathAutomatism" Name="Path">
<Paths />
</AutomatismSharedDatas>
</AutomatismsSharedDatas>
<Positions>
<Objet nom="Background" x="0.000000" y="0.000000" plan="-5" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="2674957.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Object" x="151.000000" y="145.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Emitter" x="442.000000" y="234.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Emitter2" x="623.000000" y="140.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
</Positions>
<Events />
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>
<windowWidth>800</windowWidth>
<windowHeight>600</windowHeight>
<latestCompilationDirectory></latestCompilationDirectory>
<maxFPS>-1</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="PathAutomatism" />
<extension name="ParticleSystem" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="RepetableBackground.png" kind="image" name="RepetableBackground.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="TopDownZombie.png" kind="image" name="TopDownZombie.png" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="209" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" 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" gridOffsetX="0" gridOffsetY="0" 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="Background" width="0.000000" x="0.000000" y="0.000000" zOrder="-5">
<numberProperties>
<property name="animation" value="2674957.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Object" width="0.000000" x="151.000000" y="145.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Emitter" width="0.000000" x="442.000000" y="234.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Emitter2" width="0.000000" x="623.000000" y="140.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object name="Background" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RepetableBackground.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="400.000000" y="300.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="800.000000" y="0.000000" />
<vertice x="800.000000" y="600.000000" />
<vertice x="0.000000" y="600.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RepetableBackground.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="400.000000" y="300.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="800.000000" y="0.000000" />
<vertice x="800.000000" y="600.000000" />
<vertice x="0.000000" y="600.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RepetableBackground.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="400.000000" y="300.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="800.000000" y="0.000000" />
<vertice x="800.000000" y="600.000000" />
<vertice x="0.000000" y="600.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RepetableBackground.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="400.000000" y="300.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="800.000000" y="0.000000" />
<vertice x="800.000000" y="600.000000" />
<vertice x="0.000000" y="600.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RepetableBackground.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="400.000000" y="300.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="800.000000" y="0.000000" />
<vertice x="800.000000" y="600.000000" />
<vertice x="0.000000" y="600.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RepetableBackground.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="400.000000" y="300.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="800.000000" y="0.000000" />
<vertice x="800.000000" y="600.000000" />
<vertice x="0.000000" y="600.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RepetableBackground.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="400.000000" y="300.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="800.000000" y="0.000000" />
<vertice x="800.000000" y="600.000000" />
<vertice x="0.000000" y="600.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RepetableBackground.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="400.000000" y="300.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="800.000000" y="0.000000" />
<vertice x="800.000000" y="600.000000" />
<vertice x="0.000000" y="600.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="Object" type="Sprite">
<variables />
<automatisms>
<automatism angleOffset="0.000000" currentPath="Object main path" followAngle="true" name="Path" offsetX="30.000000" offsetY="30.000000" reverseAtEnd="false" speed="75.000000" stopAtEnd="false" type="PathAutomatism::PathAutomatism">
<paths>
<path coords="0;0/109;12/182;21/204;44/210;68/197;99/182;108/161;101/140;72/112;55/73;51/54;68.5/40;98/62;130/100;138/132;136/157;154/145;183/67;186/33;180/15;151/17;117/11;100/-15;82/-26;49/-27;22/-14;8/0;1" name="Object main path" />
</paths>
</automatism>
</automatisms>
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="TopDownZombie.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="18.500000" y="22.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="37.000000" y="0.000000" />
<vertice x="37.000000" y="45.000000" />
<vertice x="0.000000" y="45.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="TopDownZombie.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="18.500000" y="22.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="37.000000" y="0.000000" />
<vertice x="37.000000" y="45.000000" />
<vertice x="0.000000" y="45.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="TopDownZombie.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="18.500000" y="22.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="37.000000" y="0.000000" />
<vertice x="37.000000" y="45.000000" />
<vertice x="0.000000" y="45.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="TopDownZombie.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="18.500000" y="22.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="37.000000" y="0.000000" />
<vertice x="37.000000" y="45.000000" />
<vertice x="0.000000" y="45.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="TopDownZombie.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="18.500000" y="22.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="37.000000" y="0.000000" />
<vertice x="37.000000" y="45.000000" />
<vertice x="0.000000" y="45.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="TopDownZombie.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="18.500000" y="22.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="37.000000" y="0.000000" />
<vertice x="37.000000" y="45.000000" />
<vertice x="0.000000" y="45.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="TopDownZombie.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="18.500000" y="22.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="37.000000" y="0.000000" />
<vertice x="37.000000" y="45.000000" />
<vertice x="0.000000" y="45.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="TopDownZombie.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="18.500000" y="22.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="37.000000" y="0.000000" />
<vertice x="37.000000" y="45.000000" />
<vertice x="0.000000" y="45.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object additive="true" alphaParam="Mutable" angleParam="Mutable" blueParam="Mutable" destroyWhenNoParticles="true" emissionEditionSimpleMode="true" emitterAngleA="0.000000" emitterAngleB="90.000000" emitterForceMax="2.000000" emitterForceMin="0.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" flow="500.000000" friction="2.000000" gravityEditionSimpleMode="true" greenParam="Mutable" maxParticleNb="15000" name="Emitter" particleAlpha1="204.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="0.000000" particleBlue2="0.000000" particleEditionSimpleMode="true" particleGravityX="0.000000" particleGravityY="-0.000000" particleGravityZ="0.000000" particleGreen1="0.000000" particleGreen2="255.000000" particleLifeTimeMax="13.000000" particleLifeTimeMin="10.000000" particleRed1="164.000000" particleRed2="255.000000" particleSize1="100.000000" particleSize2="100.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Mutable" rendererParam1="3.000000" rendererParam2="1.000000" rendererType="Point" sizeParam="Mutable" tank="-1.000000" textureParticleName="" type="ParticleSystem::ParticleEmitter" zoneRadius="3.000000">
<variables />
<automatisms>
<automatism angleOffset="0.000000" currentPath="Object main path" followAngle="false" name="Path" offsetX="50.000000" offsetY="300.000000" reverseAtEnd="false" speed="200.000000" stopAtEnd="false" type="PathAutomatism::PathAutomatism">
<paths>
<path coords="0;0/271;226/271;-1/0;226/0;0" name="Object main path" />
</paths>
</automatism>
</automatisms>
</object>
<object additive="true" alphaParam="Mutable" angleParam="Mutable" blueParam="Mutable" destroyWhenNoParticles="true" emissionEditionSimpleMode="true" emitterAngleA="0.000000" emitterAngleB="90.000000" emitterForceMax="4.000000" emitterForceMin="3.000000" emitterXDirection="0.000000" emitterYDirection="1.000000" emitterZDirection="0.000000" flow="1000.000000" friction="2.000000" gravityEditionSimpleMode="true" greenParam="Mutable" maxParticleNb="15000" name="Emitter2" particleAlpha1="204.000000" particleAlpha2="0.000000" particleAlphaRandomness1="0.000000" particleAlphaRandomness2="0.000000" particleAngle1="0.000000" particleAngle2="0.000000" particleAngleRandomness1="0.000000" particleAngleRandomness2="0.000000" particleBlue1="255.000000" particleBlue2="214.000000" particleEditionSimpleMode="true" particleGravityX="0.000000" particleGravityY="-0.000000" particleGravityZ="0.000000" particleGreen1="85.000000" particleGreen2="157.000000" particleLifeTimeMax="6.000000" particleLifeTimeMin="5.000000" particleRed1="85.000000" particleRed2="41.000000" particleSize1="100.000000" particleSize2="100.000000" particleSizeRandomness1="0.000000" particleSizeRandomness2="0.000000" redParam="Mutable" rendererParam1="2.000000" rendererParam2="1.000000" rendererType="Line" sizeParam="Mutable" tank="-1.000000" textureParticleName="" type="ParticleSystem::ParticleEmitter" zoneRadius="3.000000">
<variables />
<automatisms>
<automatism angleOffset="0.000000" currentPath="Object main path" followAngle="false" name="Path" offsetX="350.000000" offsetY="40.000000" reverseAtEnd="false" speed="700.000000" stopAtEnd="false" type="PathAutomatism::PathAutomatism">
<paths>
<path coords="0;0/154;218/230;0/87;218/0;0" name="Object main path" />
</paths>
</automatism>
</automatisms>
</object>
</objects>
<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>
<automatismSharedData name="Path" type="PathAutomatism::PathAutomatism">
<paths />
</automatismSharedData>
</automatismsSharedData>
</layout>
</layouts>
<externalEvents />
<externalLayouts />
<externalSourceFiles />
</project>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="71" major="3" minor="3" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</name>
<author></author>
@@ -36,8 +36,9 @@
<extension name="TiledSpriteObject" />
</extensions>
<platforms>
<platform name="Game Develop C++ platform" />
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
@@ -64,7 +65,7 @@
<variables />
<layouts>
<layout b="255" disableInputWhenNotFocused="true" mangledName="GameEngine" name="GameEngine" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="255" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="255">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="300" gridR="158" gridWidth="300" snap="true" windowMask="false" zoomFactor="0.211734" />
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="300" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="300" snap="true" windowMask="false" zoomFactor="0.211734" />
<objectsGroups>
<group name="Obstacle">
<objects>
@@ -2832,7 +2833,7 @@
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Use arrows to move the car&#x0A;&#x0A;Management of the cars are made in separate external events.</comment>
<comment2>Utilisez les fl<EFBFBD>ches directionnelles pour d<EFBFBD>placer le v<EFBFBD>hicule&#x0A;&#x0A;La gestion des v<EFBFBD>hicules est faite dans des feuilles d&apos;<EFBFBD>v<EFBFBD>nements externes.</comment2>
<comment2>Utilisez les flèches directionnelles pour déplacer le véhicule&#x0A;&#x0A;La gestion des véhicules est faite dans des feuilles d&apos;évènements externes.</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Link</type>
@@ -2853,7 +2854,7 @@
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Camera management</comment>
<comment2>Gestion de la cam<EFBFBD>ra</comment2>
<comment2>Gestion de la caméra</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="71" major="3" minor="3" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>inRain</name>
<author>CROSS</author>
@@ -33,8 +33,9 @@
<extension name="CommonDialogs" />
</extensions>
<platforms>
<platform name="Game Develop C++ platform" />
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
@@ -52,7 +53,7 @@
<variables />
<layouts>
<layout b="0" disableInputWhenNotFocused="true" mangledName="inrain" name="inrain" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="0" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="0">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 B

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 B

After

Width:  |  Height:  |  Size: 294 B

View File

@@ -1,383 +1,495 @@
<?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 explanation about shooting bullets" />
<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="CommonDialogs" />
<Extension name="DestroyOutsideAutomatism" />
</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="Tir.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Bullet.png" />
<Resource kind="image" name="tank1fr1.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="tank1fr1.png" />
<Resource kind="image" name="Pointer-Standard.png" alwaysLoaded="false" smoothed="true" userAdded="true" file="Pointer-Standard.png" />
</Resources>
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="One object" mangledName="One_32object" r="125.000000" v="125.000000" b="125.000000" titre="" oglFOV="90.000000" oglZNear="1.000000" oglZFar="500.000000" standardSortMethod="true" stopSoundsOnStartup="true" disableInputWhenNotFocused="true">
<UISettings gridWidth="32.000000" grid="false" snap="false" gridHeight="32.000000" gridR="158.000000" gridG="180.000000" gridB="255.000000" zoomFactor="1.000000" windowMask="false" associatedLayout="" />
<GroupesObjets />
<Objets>
<Objet nom="Bullet" type="Sprite">
<Variables />
<Automatism Type="DestroyOutsideAutomatism::DestroyOutside" Name="DestroyOutside" extraBorder="0" />
<Animations>
<Animation typeNormal="true">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Tir.png">
<Points />
<PointOrigine nom="origine" X="5.000000" Y="5.000000" />
<PointCentre nom="centre" X="5.000000" Y="5.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Tank" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="tank1fr1.png">
<Points>
<Point nom="Canon" X="61.000000" Y="31.000000" />
</Points>
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="35.000000" Y="31.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Target" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Pointer-Standard.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="22.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</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="Tank" x="337.000000" y="215.000000" plan="-1" layer="" angle="-65.480415" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Target" x="476.500000" y="213.500000" 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="Shoot if left button is pressed and timer is ok :&#x0A;Create a bullet&#x0A;Make the bullet move&#x0A;and reset the timer to fire another bullet later." />
<Com2 value="Tirer si le bouton gauche est press<73> et le chronom<6F>tre sup<75>rieur <20> 0.25 secondes :&#x0A;On cr<63>er un tir&#x0A;On le met en mouvement&#x0A;On remet <20> z<>ro le chronom<6F>tre pour pouvoir tirer plus tard." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="SourisBouton" Contraire="false" />
<Parametre value="" />
<Parametre value="Left" />
</Condition>
<Condition>
<Type value="Timer" Contraire="false" />
<Parametre value="" />
<Parametre value="0.25" />
<Parametre value='&quot;FireRate&quot;' />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="Bullet" />
<Parametre value="Tank.PointX(Canon)" />
<Parametre value="Tank.PointY(Canon)" />
<Parametre value="" />
</Action>
<Action>
<Type value="AddForceVersPos" />
<Parametre value="Bullet" />
<Parametre value="MouseX()" />
<Parametre value="MouseY()" />
<Parametre value="300" />
<Parametre value="1" />
</Action>
<Action>
<Type value="ResetTimer" />
<Parametre value="" />
<Parametre value='&quot;FireRate&quot;' />
</Action>
</Actions>
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="MettreXY" />
<Parametre value="Target" />
<Parametre value="=" />
<Parametre value="MouseX()" />
<Parametre value="=" />
<Parametre value="MouseY()" />
</Action>
<Action>
<Type value="TourneVersPos" />
<Parametre value="Tank" />
<Parametre value="MouseX()" />
<Parametre value="MouseY()" />
</Action>
</Actions>
</Event>
</Events>
</Scene>
<Scene nom="Multiple objects" mangledName="Multiple_32objects" r="125.000000" v="125.000000" b="125.000000" titre="" oglFOV="90.000000" oglZNear="1.000000" oglZFar="500.000000" standardSortMethod="true" stopSoundsOnStartup="true" disableInputWhenNotFocused="true">
<UISettings gridWidth="32.000000" grid="false" snap="false" gridHeight="32.000000" gridR="158.000000" gridG="180.000000" gridB="255.000000" zoomFactor="1.000000" windowMask="false" associatedLayout="" />
<GroupesObjets />
<Objets>
<Objet nom="Bullet" type="Sprite">
<Variables />
<Automatism Type="DestroyOutsideAutomatism::DestroyOutside" Name="DestroyOutside" extraBorder="0" />
<Animations>
<Animation typeNormal="true">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Tir.png">
<Points />
<PointOrigine nom="origine" X="5.000000" Y="5.000000" />
<PointCentre nom="centre" X="5.000000" Y="5.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Tank" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="tank1fr1.png">
<Points>
<Point nom="Canon" X="61.000000" Y="31.000000" />
</Points>
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="35.000000" Y="31.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</Sprites>
</Direction>
</Animation>
</Animations>
</Objet>
<Objet nom="Target" type="Sprite">
<Variables />
<Animations>
<Animation typeNormal="false">
<Direction boucle="false" tempsEntre="1.000000">
<Sprites>
<Sprite image="Pointer-Standard.png">
<Points />
<PointOrigine nom="origine" X="0.000000" Y="0.000000" />
<PointCentre nom="centre" X="22.000000" Y="22.000000" automatic="true" />
<CustomCollisionMask custom="false" />
</Sprite>
</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="Tank" x="520.000000" y="216.000000" plan="-1" layer="" angle="-65.480415" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Tank" x="337.000000" y="215.000000" plan="-1" layer="" angle="-65.480415" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Tank" x="138.000000" y="201.000000" plan="-1" layer="" angle="-65.480415" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos>
<Info name="animation" value="0.000000" />
</floatInfos>
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Target" x="608.500000" y="178.500000" 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='When there is more than one object which&#x0A;must shoot a bullet, use &quot;For each object&quot; event&#x0A;so as to create a bullet for each of the objects.' />
<Com2 value='Quand plus d&apos;un objet doit tirer, utilisez&#x0A;l&apos;<3B>v<EFBFBD>nement &quot;Pour chaque objet&quot; afin de cr<63>er&#x0A;un tir pour chacun des objets.' />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions>
<Condition>
<Type value="SourisBouton" Contraire="false" />
<Parametre value="" />
<Parametre value="Left" />
</Condition>
<Condition>
<Type value="Timer" Contraire="false" />
<Parametre value="" />
<Parametre value="0.25" />
<Parametre value='&quot;FireRate&quot;' />
</Condition>
</Conditions>
<Actions>
<Action>
<Type value="ResetTimer" />
<Parametre value="" />
<Parametre value='&quot;FireRate&quot;' />
</Action>
</Actions>
<Events>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::ForEach" />
<Object value="Tank" />
<Conditions />
<Actions>
<Action>
<Type value="Create" />
<Parametre value="" />
<Parametre value="Bullet" />
<Parametre value="Tank.PointX(Canon)" />
<Parametre value="Tank.PointY(Canon)" />
<Parametre value="" />
</Action>
<Action>
<Type value="AddForceVersPos" />
<Parametre value="Bullet" />
<Parametre value='MouseX(&quot;&quot;,0)' />
<Parametre value='MouseY(&quot;&quot;,0)' />
<Parametre value="300" />
<Parametre value="1" />
</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="There is nothing more to change in our example." />
<Com2 value="Il n&apos;y a rien de plus <20> modifier ici." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="TourneVersPos" />
<Parametre value="Tank" />
<Parametre value='MouseX(&quot;&quot;,0)' />
<Parametre value='MouseY(&quot;&quot;,0)' />
</Action>
<Action>
<Type value="MettreXY" />
<Parametre value="Target" />
<Parametre value="=" />
<Parametre value="MouseX()" />
<Parametre value="=" />
<Parametre value="MouseY()" />
</Action>
</Actions>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Basic explanation about shooting bullets</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="CommonDialogs" />
<extension name="DestroyOutsideAutomatism" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
<platform name="GDevelop JS platform" />
</platforms>
<currentPlatform>GDevelop JS platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="Bullet.png" kind="image" name="Tir.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="tank1fr1.png" kind="image" name="tank1fr1.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Pointer-Standard.png" kind="image" name="Pointer-Standard.png" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="125" disableInputWhenNotFocused="true" mangledName="One_32object" name="One object" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="125" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="125">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="false" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances>
<instance angle="-65.480415" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="337.000000" y="215.000000" zOrder="-1">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Target" width="0.000000" x="476.500000" y="213.500000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object name="Bullet" type="Sprite">
<variables />
<automatisms>
<automatism extraBorder="0.000000" name="DestroyOutside" type="DestroyOutsideAutomatism::DestroyOutside" />
</automatisms>
<animations>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Tir.png">
<points />
<originPoint name="origine" x="5.000000" y="5.000000" />
<centerPoint automatic="true" name="centre" x="5.000000" y="5.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="10.000000" y="0.000000" />
<vertice x="10.000000" y="10.000000" />
<vertice x="0.000000" y="10.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="Tank" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="tank1fr1.png">
<points>
<point name="Canon" x="61.000000" y="31.000000" />
</points>
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="35.000000" y="31.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="70.000000" y="0.000000" />
<vertice x="70.000000" y="62.000000" />
<vertice x="0.000000" y="62.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="Target" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Pointer-Standard.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="22.000000" y="22.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="44.000000" y="0.000000" />
<vertice x="44.000000" y="44.000000" />
<vertice x="0.000000" y="44.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Shoot if left button is pressed and timer is ok :&#x0A;Create a bullet&#x0A;Make the bullet move&#x0A;and reset the timer to fire another bullet later.</comment>
<comment2>Tirer si le bouton gauche est pressé et le chronomètre supérieur à 0.25 secondes :&#x0A;On créer un tir&#x0A;On le met en mouvement&#x0A;On remet à zéro le chronomètre pour pouvoir tirer plus tard.</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="Timer" />
<parameters>
<parameter></parameter>
<parameter>0.25</parameter>
<parameter>&quot;FireRate&quot;</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>Bullet</parameter>
<parameter>Tank.PointX(Canon)</parameter>
<parameter>Tank.PointY(Canon)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AddForceVersPos" />
<parameters>
<parameter>Bullet</parameter>
<parameter>MouseX()</parameter>
<parameter>MouseY()</parameter>
<parameter>300</parameter>
<parameter>1</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ResetTimer" />
<parameters>
<parameter></parameter>
<parameter>&quot;FireRate&quot;</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="MettreXY" />
<parameters>
<parameter>Target</parameter>
<parameter>=</parameter>
<parameter>MouseX()</parameter>
<parameter>=</parameter>
<parameter>MouseY()</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="TourneVersPos" />
<parameters>
<parameter>Tank</parameter>
<parameter>MouseX()</parameter>
<parameter>MouseY()</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>
<layout b="125" disableInputWhenNotFocused="true" mangledName="Multiple_32objects" name="Multiple objects" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="125" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="125">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="false" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances>
<instance angle="-65.480415" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="520.000000" y="216.000000" zOrder="-1">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="-65.480415" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="337.000000" y="215.000000" zOrder="-1">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="-65.480415" customSize="false" height="0.000000" layer="" locked="false" name="Tank" width="0.000000" x="138.000000" y="201.000000" zOrder="-1">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Target" width="0.000000" x="608.500000" y="178.500000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object name="Bullet" type="Sprite">
<variables />
<automatisms>
<automatism extraBorder="0.000000" name="DestroyOutside" type="DestroyOutsideAutomatism::DestroyOutside" />
</automatisms>
<animations>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Tir.png">
<points />
<originPoint name="origine" x="5.000000" y="5.000000" />
<centerPoint automatic="true" name="centre" x="5.000000" y="5.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="10.000000" y="0.000000" />
<vertice x="10.000000" y="10.000000" />
<vertice x="0.000000" y="10.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="Tank" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="tank1fr1.png">
<points>
<point name="Canon" x="61.000000" y="31.000000" />
</points>
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="35.000000" y="31.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="70.000000" y="0.000000" />
<vertice x="70.000000" y="62.000000" />
<vertice x="0.000000" y="62.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="Target" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Pointer-Standard.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="22.000000" y="22.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="44.000000" y="0.000000" />
<vertice x="44.000000" y="44.000000" />
<vertice x="0.000000" y="44.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>When there is more than one object which&#x0A;must shoot a bullet, use &quot;For each object&quot; event&#x0A;so as to create a bullet for each of the objects.</comment>
<comment2>Quand plus d&apos;un objet doit tirer, utilisez&#x0A;l&apos;évènement &quot;Pour chaque objet&quot; afin de créer&#x0A;un tir pour chacun des objets.</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="Timer" />
<parameters>
<parameter></parameter>
<parameter>0.25</parameter>
<parameter>&quot;FireRate&quot;</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ResetTimer" />
<parameters>
<parameter></parameter>
<parameter>&quot;FireRate&quot;</parameter>
</parameters>
<subActions />
</action>
</actions>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::ForEach</type>
<object>Tank</object>
<conditions />
<actions>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>Bullet</parameter>
<parameter>Tank.PointX(Canon)</parameter>
<parameter>Tank.PointY(Canon)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AddForceVersPos" />
<parameters>
<parameter>Bullet</parameter>
<parameter>MouseX(&quot;&quot;,0)</parameter>
<parameter>MouseY(&quot;&quot;,0)</parameter>
<parameter>300</parameter>
<parameter>1</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
</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>There is nothing more to change in our example.</comment>
<comment2>Il n&apos;y a rien de plus à modifier ici.</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="TourneVersPos" />
<parameters>
<parameter>Tank</parameter>
<parameter>MouseX(&quot;&quot;,0)</parameter>
<parameter>MouseY(&quot;&quot;,0)</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="MettreXY" />
<parameters>
<parameter>Target</parameter>
<parameter>=</parameter>
<parameter>MouseX()</parameter>
<parameter>=</parameter>
<parameter>MouseY()</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,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="79" major="3" minor="6" revision="0" />
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>slot_machine_example</name>
<author></author>

View File

@@ -1,116 +1,127 @@
<?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="TextObject" />
<Extension name="TextEntryObject" />
</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 />
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes firstScene="">
<Scene nom="New scene" mangledName="New_32scene" r="212.000000" v="212.000000" b="212.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="Entry" type="TextEntryObject::TextEntry">
<Variables />
</Objet>
<Objet nom="Text" type="TextObject::Text" smoothed="true" bold="false" italic="false" underlined="false">
<Variables />
<String value="(Text used to display user input)" />
<Font value="" />
<CharacterSize value="20" />
<Color r="0" g="0" b="0" />
</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="Text" x="255.000000" y="266.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
<floatInfos />
<stringInfos />
<InitialVariables />
</Objet>
<Objet nom="Entry" x="319.000000" y="268.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="Simply type a text on keyboard." />
<Com2 value="Tapez un texte au clavier." />
</Event>
<Event disabled="false" folded="false">
<Type value="BuiltinCommonInstructions::Standard" />
<Conditions />
<Actions>
<Action>
<Type value="TextObject::String" />
<Parametre value="Text" />
<Parametre value="=" />
<Parametre value="Entry.String()" />
</Action>
<Action>
<Type value="MettreXY" />
<Parametre value="Text" />
<Parametre value="=" />
<Parametre value="400-Text.Width()/2" />
<Parametre value="=" />
<Parametre value="300" />
</Action>
</Actions>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalLayouts />
<ExternalSourceFiles />
</Project>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</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="TextObject" />
<extension name="TextEntryObject" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources />
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="212" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="212" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="212">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" 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="Text" width="0.000000" x="255.000000" y="266.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Entry" width="0.000000" x="319.000000" y="268.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object name="Entry" type="TextEntryObject::TextEntry">
<variables />
<automatisms />
</object>
<object bold="false" italic="false" name="Text" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>(Text used to display user input)</string>
<font></font>
<characterSize>20</characterSize>
<color b="0" g="0" r="0" />
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Simply type a text on keyboard.</comment>
<comment2>Tapez un texte au clavier.</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="TextObject::String" />
<parameters>
<parameter>Text</parameter>
<parameter>=</parameter>
<parameter>Entry.String()</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="MettreXY" />
<parameters>
<parameter>Text</parameter>
<parameter>=</parameter>
<parameter>400-Text.Width()/2</parameter>
<parameter>=</parameter>
<parameter>300</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,124 +1,127 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<Game>
<GDVersion Major="2" Minor="1" Build="10682" Revision="53886" />
<Info winExecutableFilename="" winExecutableIconFile="" linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false">
<Nom value="Project" />
<Auteur value="" />
<WindowW value="800" />
<WindowH value="600" />
<Portable value="true" />
<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="TimedEvent" />
</Extensions>
<FPSmax value="60" />
<FPSmin value="10" />
<verticalSync value="false" />
<Chargement>
<Afficher value="true" />
<Border value="true" />
<Smooth value="true" />
<Width value="170.000000" />
<Height value="50.000000" />
<TexteAfficher value="true" />
<TexteXPos value="0.000000" />
<TexteYPos value="5.000000" />
<Texte value="Chargement" />
<PourcentAfficher value="false" />
<PourcentXPos value="0.000000" />
<PourcentYPos value="0.000000" />
<ImageAfficher value="false" />
<Image value="" />
</Chargement>
</Info>
<Resources>
<Resources />
<ResourceFolders />
</Resources>
<Objects />
<ObjectGroups />
<Variables />
<Scenes>
<Scene nom="New scene" r="125.000000" v="125.000000" b="125.000000" titre="" oglFOV="90.000000" oglZNear="1.000000" oglZFar="500.000000" standardSortMethod="true" stopSoundsOnStartup="true" gridWidth="32.000000" grid="false" snap="false" gridHeight="32.000000" gridR="158.000000" gridG="180.000000" gridB="255.000000" windowMask="false">
<GroupesObjets />
<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 />
<Dependencies />
<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="1 second : Pause&#x0A;1 second : Blue flashs&#x0A;1 second : Red flashs" />
<Com2 value="1 seconde de pause&#x0A;1 seconde de flash bleus&#x0A;1 seconde de flash rouges" />
</Event>
<Event disabled="false" folded="false">
<Type value="TimedEvent::TimedEvent" />
<Name value="Start" />
<Timeout value="1" />
<Conditions />
<Actions>
<Action>
<Type value="SceneBackground" loc="true" />
<Parametre value="" />
<Parametre value='&quot;255;0;0&quot;' />
</Action>
</Actions>
<Events>
<Event disabled="false" folded="false">
<Type value="TimedEvent::TimedEvent" />
<Name value="" />
<Timeout value="1" />
<Conditions />
<Actions>
<Action>
<Type value="SceneBackground" loc="true" />
<Parametre value="" />
<Parametre value='&quot;0;0;255&quot;' />
</Action>
</Actions>
<Events>
<Event disabled="false" folded="false">
<Type value="TimedEvent::TimedEvent" />
<Name value="" />
<Timeout value="1" />
<Conditions />
<Actions>
<Action>
<Type value="TimedEvent::ResetTimedEventAndSubs" loc="true" />
<Parametre value="Start" />
</Action>
</Actions>
</Event>
</Events>
</Event>
</Events>
</Event>
</Events>
</Scene>
</Scenes>
<ExternalEvents />
<ExternalSourceFiles />
</Game>
<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Project</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="TimedEvent" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources />
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="125" disableInputWhenNotFocused="false" mangledName="New_32scene" name="New scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="125" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="125">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="false" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances />
<objects />
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>1 second : Pause&#x0A;1 second : Blue flashs&#x0A;1 second : Red flashs</comment>
<comment2>1 seconde de pause&#x0A;1 seconde de flash bleus&#x0A;1 seconde de flash rouges</comment2>
</event>
<event disabled="false" folded="false">
<type>TimedEvent::TimedEvent</type>
<name>Start</name>
<timeout>1</timeout>
<conditions />
<actions>
<action>
<type inverted="false" value="SceneBackground" />
<parameters>
<parameter></parameter>
<parameter>&quot;255;0;0&quot;</parameter>
</parameters>
<subActions />
</action>
</actions>
<events>
<event disabled="false" folded="false">
<type>TimedEvent::TimedEvent</type>
<name></name>
<timeout>1</timeout>
<conditions />
<actions>
<action>
<type inverted="false" value="SceneBackground" />
<parameters>
<parameter></parameter>
<parameter>&quot;0;0;255&quot;</parameter>
</parameters>
<subActions />
</action>
</actions>
<events>
<event disabled="false" folded="false">
<type>TimedEvent::TimedEvent</type>
<name></name>
<timeout>1</timeout>
<conditions />
<actions>
<action>
<type inverted="false" value="TimedEvent::ResetTimedEventAndSubs" />
<parameters>
<parameter>Start</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
</events>
</event>
</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>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 206 B

View File

@@ -1,12 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
manifestVersion="1.0"
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity
name="GDevelop IDE.App"
processorArchitecture="x86"
version="1.0.0.0"
type="win32"/>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
<description>Executable</description>
<dependency>
<dependentAssembly>

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