rzaba0 / polybobin Goto Github PK
View Code? Open in Web Editor NEWMap maker for Soldat. The goal is to make this map maker cross-platform.
License: MIT License
Map maker for Soldat. The goal is to make this map maker cross-platform.
License: MIT License
In PolyWorks it works like this:
list of found sceneries looks like this:
Additional frame with scenery options:
If "Rotate" is selected, after placing a new scenery user can rotate it.
If "Scale" is selected, after placing a new scenery and rotating (if selected too) user can scale it.
In PolyWorks it moves every selected object by default. With ALT it rotates everything by the opposite origin (it has 8). With CTRL it scales everything.
Properties window should work like in Polyworks. For now we only need to handle map, polygon, scenery and texture settings.
While placing a new vertice for a polygon, it should snap to the nearest vertices of other polygons.
In PolyWorks it moves texture on selected polygon vertices, if none are selected then it transforms only one vertice at the current cursor position
Now it is needed to make settings.ini manually.
In PolyWorks it colours all selected vertices and also sceneries at once with current colour. If none are selected then it colours first polygon or scenery behind cursor. With ALT being pressed it picks vertice or scenery colour behind the cursor.
In PolyWorks it works like this:
Currently only 1st frame is rendered
In PolyWorks it colours vertices (without sceneries) behind the cursor with the current colour. User can hold and drag to colour multiple vertices. If there are selected vertices it colours only those. With ALT pressed user can pick colour behind the cursor.
With current design it's hard to switch to other libraries so we want to have modular design. And then we could switch for example from wxWidgets to Qt easily in the future.
By modular design i mean having functionality separated into modules so when one module is deleted the whole program still works somehow and it's not that devastating.
Example structure would look like this:
I'm not sure how it works exactly but when you switch tabs and add sceneries in both maps multiple times, program crashes at line 322 eventually.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.