Comments (2)
I am thinking of adding something like this in dialoguetools
https://codepen.io/blurymind/pen/wvZzggG?editors=1112
It will enable storing actor stats or inventory in a structured way, that can then be used for implementing UI in gdevelop.
So if you do this in yarn:
// init
<<set $c.tom.outfit = work_suit>>
<<set $c.maya.outfit = winter_coat>>
<<set $c.tom.mood = happy>>
<<set $c.maya.mood = sad>>
to build a HUD in Gdevelop, you will be able to dig into "c" and loop over all existing characters ([tom, maya]), then you can loop over each stat ([outfit, mood])
Keeping that stuff in yarn state greatly simplifies persisting it and kills the possibility of copy pasta errors
from gdevelop.
experimenting with this now in a javascript event - i was able to extend the dialogtools functionality without even running gdevelop in dev mode, which is excellent :D
It does work very nicely, but i am hitting one pesky limitation: Gdevelop's ui extension framework doesnt allow custom expressions to return an array
@Bouh @4ian is that something that is there but hidden? I wonder if there is a way around it?
is this advances nested variables functionality in yarn state something that would be beneficial to pr to gdevelop?
I just wonder if its worth spending the time to create a demo and make a pr to dialoguetools to add these extra utility methods/expressions I am making..
from gdevelop.
Related Issues (20)
- Crash while using an editor
- tauri
- Using "Take screenshot" action doesn't capture the 3D layers.
- Theatre.js as part of timeline editor for GDevelop HOT 7
- Share button error on Web Version when exporting HOT 2
- It is not possible to change the location of all windows (Objects, groups of objects, layers, etc.) HOT 2
- New Hero In Town Music Asset Pack
- Upgrade to the newest bondagejs HOT 4
- Upgrading yarn editor to the newest version HOT 1
- feature: extending dialogtools to (optionaly) recognise the concept of an actor and apply some styling to things via the event sheet HOT 2
- [bug] - In Scene Editor - Buttons, Sliders and other Custom Objects always stay on top of other objects (Text, Sprites...) - never considering Z Order
- Tiled Sprite Randomization Feature (Randomized Rotation and Offset combined with blending) a la Construct 3's r321 update. HOT 2
- Limitation in Physics Engine Speed HOT 1
- Simpler way to center origin sprite point HOT 3
- Add sorting for assets bin HOT 1
- Snapping objects in editor
- Corrupted value in Scene editor's tooltip right after instance deletion HOT 1
- Fullscreen Detection broken HOT 4
- Adding the ability to specify Cordova and NPM plugin parameters in extension dependencies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdevelop.