Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FrameWorld
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FrameIT
FrameWorld
Commits
fd3cfd38
Commit
fd3cfd38
authored
3 months ago
by
Paul-Walcher
Browse files
Options
Downloads
Patches
Plain Diff
upload anleitung für level erstellung
parent
9d08cd8f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DOC/create_gadget.txt
+2
-2
2 additions, 2 deletions
DOC/create_gadget.txt
DOC/create_level.txt
+25
-0
25 additions, 0 deletions
DOC/create_level.txt
with
27 additions
and
2 deletions
DOC/create_gadget.txt
+
2
−
2
View file @
fd3cfd38
...
...
@@ -11,7 +11,7 @@
6.) create Scriptable Object in Assets\ScriptableObjects\gadgets
7.) add into Assets\ScriptableObjects\Gadgets\GadgetDataContainerGadgetCollection
8.) in Assets\ScriptableObjects\Gadgets\GadgetDataContainerGadgetCollection add new Element into "Gadget Data" and
"Gadget Type" [same element index]
"Gadget Type" [same element index]
(Also a ScriptableObject not a Script)
9.) In "Gadget Data" insert the ScriptableObject you created
10.) in "Gadget Type" insert the enum of the gadget you created
...
...
@@ -21,4 +21,4 @@
- Button Indx: sets the index of the sprite that is used as the icon in the toolbar,
you can find the indices in Assets\ScriptableObjects\Gadgets\GadgetDataContainerGadgetCollection,
as "Button Sprites", all possible sprites are in Assets\Scripts\InventoryStuff\Items\images
\ No newline at end of file
This diff is collapsed.
Click to expand it.
DOC/create_level.txt
0 → 100644
+
25
−
0
View file @
fd3cfd38
1.) Navigate to Assets/Scripts/GenerateDemoFiles.cs
2.) Add new method to create your level.
You can copy the structure from already existing methods.
If you don't know the coordinates for e.g. a point, follow these steps:
2.1) Start the game.
2.2) Go to Custom and create a new level.
2.3) Press "Escape" and "Save Level"
2.4) Go to "[Username]/AppData/LocalLow/KWARC/FrameWorld/Stages/SavedGames"
2.5) Find the level you created. Then find the facts you placed.
The facts are under: "RecordList/[Level Name + save_x]/factState/JsonFactSpace/"
2.6) Using the information from the JSON-File, create the corresponding fact
in the generate-method for your level.
3.) Add your method to the GenerateAll method.
4.) Start your game over "Assets/Scenes/Menus/MainMenu"
5.) Select any level, press escape, options, reset options, Generate All Demo GenerateDemoFiles
6.) Your level will be generated into the following folder:
"Assets\StreamingAssets\StreamToDataPath_withHandler\Stages"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment