Starting a 2D Game in Qt [closed] - qt

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
i'm trying to start a 2D game in Qt. I'm trying to find any tutorials on how to start developing it...
Any good tutorial there on internet? (If it's possible Qt 4.7+)

OpenGl by itself in Qt is not different from Opengl without Qt. The only difference is the way you create your OpenGl window.
You need to derive the QGLWidget class and overload the PaintGL-memberfunction. Take a look at the HelloGL example (which is already quite extensive).
Now that you have your OpenGl window look for normal OpenGl tutorials which are available all over the internet.

If you're using Qt for 2D games, I'd let Qt handle the OpenGL aspect of it and just use QGraphicsScene et al.

If you consider using a Qt/QML based engine, giving you the advantages of cross-platform support and many useful game components for handling multiple display resolutions & aspect ratios, animations, particles, physics, multi-touch, gestures, path finding and more (API reference), take a look at V-Play (v-play.net).
They also provide you with several tutorials for different skill levels and come with ready-to-use game templates for the most successful game genres like tower defense, platform games or puzzle games. (V-Play examples & demos)

Related

Enterprise Integration Pattern Solution drawing tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I would like to know whether there any drawing tools available to map a given use case solution in terms of EIPs. There is a stencil available for MS Visio and a SVG alternative for OpenOffice. The shapes in the stencil is good but does not seem like the best graphics for a presentation. Any alternatives available for drawing EIPs? Thanks in advance.
diagrams.net has a set of EIP stencils built-in. I'm not sure if it addresses the issues in the question, but the tool is free. (I'm a developer on the project).
[]
Btw you could automate that. Check this:
http://camel.apache.org/visualisation.html
Use camel:dot maven goal
I've created an OmniGraffle EIP stencil years ago for the book Spring Integration in Action. I pushed it to Graffletopia, but I cannot find it there quickly. Let me know if you are interested in the OmniGraffle stencil and I'll search a bit more.
What is wrong with the stencils? Those are simply the shapes presented in the book Enterprise Integration Patterns. Looking at a presentation from the author of the book, I don't think the shapes look bad in presentation: http://www.eaipatterns.com/docs/jaoo_hohpeg_enterpriseintegrationpatterns.pdf.
I am not aware of any tools to draw EIP scenarios other than say Visio, Open Office Draw or similar tools. There are some IDEs to create routes (Fuse IDE and Talend Open Studio for instance), but these are really just to create runnable EIP implementations, not for presentation.
Late to the party, but Lucidchart (online cloud-based diagram tool) has an Enterprise Integration Pattern stencil, too.

Visual Programming tools that can be used for practical app development [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I've been interested in Visual Programming Languages (VPL) for a while. However I've hardly seen any environments that can be used for practical projects such as Windows apps or web services.
I've heard of the following:
LabVIEW - electronics and instrumentation
Microsoft VPL - robotics
Game Maker - games
Google App Inventor - Android apps
Tersus - web apps
Are there any other VPL environments that generate executable programs and can be used for practical applications?
Probably a bit too late for this answer, but I'm interested in the same thing and for anyone else might read this and find it useful.
Here is a new one just for creating windows applications, it's called Korduene, however beware it is alpha just now.
You may have a look at the WPF based TUM.CMS.VPLControl
I don't know if it is practical enough for you but you can have a look at Thyrd, which was recently featured in the last Emerging Languages conference:
http://thyrd.org/
It is not just yet another visual stuff, there is really something there
Yahoo Pipes has a somehow limited scope, but I suppose it is one of the more popular examples of visual programming tools that are really used in practice.
DRAKON Editor
http://drakon-editor.sourceforge.net/
It generates code for compilation or interpretetion, not actual executable.
It it supports visual programming in several programming languages, including Java, Processing.org, D, C#, C/C++ (with Qt support), Python, Tcl, Javascript, Lua and Erlang.
Why to use DRAKON than other diagramming systems?
No line intersections. You will never find in DRAKON diagram two or
more lines intersecting each other! Not seen in other diagramming
systems!
Silhouette structure. It allows to break one diagram in to several
logical parts. Not seen in other diagramming systems!
No slanting or curved lines. Only straight lines with right angles.
Icons are placed only on vertical lines.
Branching is done in a simple, visible and consistent way.
Each diagram has one entry and one exit.
More about DRAKON here:
http://en.wikipedia.org/wiki/DRAKON
i recomend Outsystems for .net/java , it´s a great app Outsystems

Mapping widget for Qt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I need a Qt widget that will allow me to display a map.
It needs to be able to:
Run without a network connection to a map or tile server. A simple bitmap would be fine.
Place widgets, lines and graphics on the map, given latitude and longitude.
Calculate distances between points.
Compile on Linux and Windows.
What would you suggest?
Thanks,
sqqqrly
I'd recommend taking a looking at Marble.
It's included with KDE-edu, but if I recall correctly, the Marble library does not have any dependencies beyond just Qt, it's also under the LGPL, and it's cross-platform. You should be able to place widgets and various other things on the surface.
Quantum GIS is the leader of the pack.
There is a map editor written for OpenStreetMap, which uses Qt.
http://www.merkaartor.org/
For map rendering they uses Webkit, I guess, but not really sure. Try to contact the author or read the source.
Hi every one QMapControl and ArcGIS could be a good try.

Generic applet style system for publishing mathematics demonstrations? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Anyone who's tried to study mathematics using online resources will have come across these Java applets that demonstrate a particular mathematical idea. Examples:
http://www.math.ucla.edu/~tao/java/Mobius.html
http://www.mathcs.org/java/programs/FFT/index.html
I love the idea of this interactive approach because I believe it is very helpful in conveying mathematical principles.
I'd like to create a system for visually designing and publishing these 'mathlets' such that they can be created by teachers with little programming experience.
So in order to create this app, i'll need a GUI and a 'math engine'. I'll probably be working with .NET because thats what I know best and i'd like to start experimenting with F#. Silverlight appeals to me as a presentation framework for this project (im not worried about interoperability right now).
So my questions are:
does anything like this exist already in full form?
are there any GUI frameworks for displaying mathematical objects such as graphs & equations?
are there decent open source libraries that exposes a mathematical framework (Math.NET looks good, just wondering if there is anything else out there)
is there any existing work on taking mathematical models/demos built with maple/matlab/octave/mathematica etc and publishing them to the web?
You might want to look at Wolfram demonstrations, and at the mathematica web player. This lets you take a Mathematica file and run it from a browser, and the demonstrations site already has thousands of demonstrations.

Can anybody recommend a Bar Code web server control? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Can anybody recommend a Bar Code web server control for formats 39 and 128 formats?
UPDATE: I posted this after being given a choice of 3 controls we'd never heard of. I was hoping to get a recommendation from somebody who is using something that is popular, stable and a commercial product. It looks like we will just go with one of the choices our manager sent. If you are reading this after the fact, and have a good recommendation, please add it for others needing one in the future. thx
There is a series of articles on CodeProject articles that do just that:
Drawing Barcodes in Windows Part 1 - Code 39
Drawing Barcodes in Windows Part 5 - Code 128
Another one:
Barcode Image Generation Library
Another way, using barcode Fonts, but simple to use in ASP.Net
Barcodes in ASP.NET applications
Actually, implementing you own barcode drawing routines is not too hard if you stick with simple 1D barcodes.
The best book ever on the subject is The Bar Code Book. It's one of these absolute reference books that you just want to keep and read out of pure nerdy pleasure.
There is also an open source ASP.NET barcode generation framework on www.codeplex.com:
http://www.codeplex.com/BarcodeRender
I did have a problem with the Interleaved 2 of 5 symbology, but I believe it was added rather recently. Perhaps the other symbologies are more stable.
Guys... don't go too far. There are Windows Fonts (TrueType fonts / TTF) that can easily be used to draw bar codes. the Graphics object is your friend.
You definitely should check out these two options:
1) www.idautomation.com
2) barbeque open source library (Java) to generate barcodes.
Both are excellent!

Resources