"Aquaria-Like" Mouse Leading Possible?

New releases and general discussions.

Post » Mon Dec 21, 2009 5:16 am

[quote:11qphdu9]There was no magic going on when da Vinci painted the Mona Lisa, just brush strokes on a canvas.[/quote:11qphdu9]

That's right - and a brilliant and practiced mind. Not much math, I'll wager.

You folks equate yourselves with the great da Vinci, do you?

What some of you NEED to use math to create, others do by instinct and experimentation and vision.

Psmith
B
2
G
3
Posts: 25
Reputation: 900

Post » Mon Dec 21, 2009 5:24 am

[quote="Psmith":34h84a62]What some of you NEED to use math to create, others do by instinct and experimentation and vision.[/quote:34h84a62]
Why don't you go do that, then. It has done you good in the past, hasn't it?
oh?

Now stop derailing threads. You already made your point before and got your answer, which was the same in several other forums. Stop it now.
Others: please don't feed this troll.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Mon Dec 21, 2009 5:47 am

[quote="Psmith":34aortxr][quote:34aortxr]There was no magic going on when da Vinci painted the Mona Lisa, just brush strokes on a canvas.[/quote:34aortxr]

That's right - and a brilliant and practiced mind. Not much math, I'll wager.

You folks equate yourselves with the great da Vinci, do you?

What some of you NEED to use math to create, others do by instinct and experimentation and vision.

Psmith[/quote:34aortxr]

Actually quite a lot of math went on while creating the Mona Lisa. The guy couldn't go down to his local art supplies store and buy the paint he needed, he had to create it by hand, had to find what worked and what didn't, how much of this and how much of that. Then the actual painting, the distances between the eye the nose, the size of the forehead. Guesswork or not, it still involved math to some degree or another, just because he didn't sit down and do a multiplication table before each brush stroke doesn't mean it was all down to pure luck and talent. The greatest artists and creative people who ever lived, used Math in some way. The Golden Ratio comes to mind too, and that is pure math. Course I'm not saying any maths genius can go out and paint the next greatest piece of art, it takes imagination and creativity and natural born talent. But even me, with my hatred of math, happily admit it is a part of everything.

Math - Key to the universe remember ;)


But I'm gonna take Madsters advice and "not feed" you. Because it's clear that you truly believe in what you're saying, which is commendable, but I think fundamentally flawed. Yes in a perfect world you could get your wish, and perhaps many years from now, software will behave like that. But for the time being, like it or not, scripting and events is your best bet if you want to avoid something basic.

Though feel free to prove us all wrong. Here, use this

http://t3dgm.thegamecreators.com/

or this http://seuck.glbasic.com/

or this http://hol.abime.net/2353 (there's a bit of scripting involved in this one tho, sorry!)

these are exactly what you're looking for, hope to see something unique from you soon. Good luck!
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Mon Dec 21, 2009 3:08 pm

[quote="Psmith":2k6sjg9a]You folks equate yourselves with the great da Vinci, do you?

What some of you NEED to use math to create, others do by instinct and experimentation and vision.
[/quote:2k6sjg9a]

Equate ourselves with him? No. It was just the first good painter I thought of.

instict and experimentation and vision, are all things that involve math. You don't seem to understand, but math is a necessity for the level of control provided by Construct. You seem to think that us or you folks are some breed of elite programming geniuses or mathematicians. We're just not afraid/to lazy to learn a bit of simple math, which you appear to be. It shows that you don't care for math, because you think just about anything is possible without it. Get over your fear or laziness, try making some simple behaviors with events and expressions, and learn who or what Lerp is.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Mon Dec 21, 2009 3:36 pm

I was going to avoid commenting on this "math bad, easy button good" argument, but the thing is what he wants is doable. Given the fact that this is open source, and plugins can be made as simple, or detailed as you want. Unfortunately Psmith, you may never see what you want done, because, well...somebody who is willing to take the time to make a plugin like that will have to learn the math as well.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Mon Dec 21, 2009 3:44 pm

WHY LEONARDO PREFERRED DRAWING MATHS

Pure maths excludes the inexplicable qualities of reality that are better replicated with a drawing. Maths is only a tool to produce an outcome and thus Leonardo preferred drawing as his primary tool to execute his studies of proportionality and spatial awareness, which are used in his engineering designs.

The drawing of mathematics is possibly how some ancient civilisations calculated mathematical precisions in their construction, as exhibited in the pyramids of Egypt for example.

In the diagrammatic form of mathematics, a greater sense of spatial awareness is needed than formal mathematics, such as displayed by the Rhombicuboctahedron.

[url:1las4ag7]http://www.leonardo-da-vinci-biography.com/leonardo-da-vinci-mathematician.html[/url:1las4ag7]

LEONARDO NOT TAKEN SERIOUSLY BY ACADEMICS

Academics of Leonardo's time did not give much weight to Leonardo's work in any field other than painting, as he did not have a formal education (whereas he had received a vocational apprenticeship in art). Leonardo had developed the following important attitude at a young age due to not having had a formal academic education where he wrote;

'I cannot quote from eminent authors as they can, these trumpeters and reciters of the works of others. I know that all knowledge is vain and full of error when it is not born of experience, and so experience will be my mistress.'
B
2
G
3
Posts: 25
Reputation: 900

Post » Mon Dec 21, 2009 4:10 pm

[quote="Psmith":34stpm0h]WHY LEONARDO PREFERRED DRAWING MATHS

Pure maths excludes the inexplicable qualities of reali....[/quote:34stpm0h]

Ok, forget I ever said Leonardo, It was a mistake, I actually meant Don Hertzfeldt.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Mon Dec 21, 2009 6:18 pm

Do not feed the troll..... this is quickly going nowhere.

Was the original Mouse Leading question answered?
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Mon Dec 21, 2009 8:06 pm

[quote="Madster":24m5n8bg]Do not feed the troll..... this is quickly going nowhere.

Was the original Mouse Leading question answered?[/quote:24m5n8bg]

Yes, it was. It's probably well past time this thread closed. People are starting to get a little to personal with their rebuttals, and the debate has swung widely away from "can it be done" to "can it be done without math" to "can Leonardo da Vinci paint without math..."

Anyway, I'll leave it open for now as long as people can wrangle things back into civility before it gets out of hand.

One thing I would like to know from PSmith though... in all of your efforts to find a program that does things the way you want it to do, have you ever come across anything? It seems to me that you haven't. You've been circling the net looking for a game creator that eschews math and coding, and have come full circle back to us again for another go.

You also cite Poser as a brilliant piece of work, and as far as it's capabilities allow, I will grant you that it is. It performs as advertised. I have used Poser, and I know what it's capable of (which is a lot more than Lost my Keys gives it credit for). BUT... and this is a big but... it's not very capable of creating unique content. Yes, you have a lot of customization available to you through the interface... you can alter facial features, you can alter hair length/color/dynamics, you can create unique animations rather easily, you can manipulate models in an almost infinite number of ways.

But manipulation is where it ends. You cannot use Poser to create something unique, you can only use it to tweak pre-defined settings. Yes, you can load any number of models into Poser and use those as well, from characters to props to landscapes and environments... but you cannot use Poser to create those characters and props and landscapes and environments. You need much more sophisticated software and special training to do that. Something like Maya or Max or Blender. Without someone, somewhere spending time and effort to create content for Poser, you would have no content for Poser.

So, you have three options here:

1. Use pre-defined Poser content to create your vision. The limitations of this should be obvious. This is analogous to settling for so-called "cookie cutter code" that you are looking for in Construct. The end result will be obviously lacking in effort and easily dismissed as non-serious work.

2. Spend resources on someone willing to create Poser content for you that will suit your needs. This is analogous to paying for a coder who will take your game vision, your art, and your assets and bring them to life. You may even find someone who believes in your idea as deeply as you do and is therefore willing to work for free, or on spec. Results may vary, depending on the skill and dedication of your partner.

3. Learn Max, Maya, Blender, or some other such tool that will allow you to create new Poser content on your own. This is analogous to buckling down and learning the math, logic, event structure and syntax necessary to create a game that exceeds the bounds of what is possible with the simple default movements and behaviors available. The results will be as good as the effort you put into it. You are responsible for how good it is. You are in control.

Construct is #3. It is Poser and Maya together in one package, not just Poser alone. The way it's set up is that yes, you can make simple Poser renders with the default models if you like, but you also have the capability of digging deeper and making something truly unique and wonderful if you spend the time and energy to do so.

That time and energy is essential to all great works. There are no work-arounds. There are no shortcuts. Not with Construct, not with any game creator. You need to learn and practice and it's a long, hard road.

Nobody said making games was easy. Construct is just meant to make things a little easier. You think learning what lerp() means is too much? Try C++ and see how far that gets you. Construct events and expressions are light years easier than mastering a real programming language. Considering it's capabilities, it's likely going to be the easiest game creator you could learn to use, period. For now, at least.

So, you can continue your search for shortcuts, or you can bite the bullet and start learning. One of those options will get you started on making games, and one will not. Guess which?
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Mon Dec 21, 2009 8:30 pm

This thread should probably be locked and continued in another thread because its going off topic. But for now I'm going to leave it open.

Firstly, when it comes to 'cookie cutter code' -that is what behaviours are meant for. For example, if you want to make a platform game, you dont need to worry about all the maths that makes the player move left and right, push out of obstacles, run up slopes etc...all you do is add the platform movement and you've already got something. You can then expand on the behavior by adding more events to if...if you feel that the player should be able to jump off a wall you can do stuff like:

If player has wall to the left
+ player pressed jump button
- Jump.

Behaviours, if they are designed right, are very good at providing a simple way of looking at maths.

btw did you have a look at my example before? I used the custom movement behavior and I think thats a lot easier to work with if you're not into maths.

Okay so lets take this original 'mouse leading' problem, and try to word it in english:

"Make the character swim towards the mouse"

Okay...too ambiguous...lets refine it a bit more

"When I hold down the left mouse button, accelerate towards the mouse"

But how can the program possibly know how fast you want to accelerate? You need to start using a number... like 200 pixels per second per second... ultimately you can just start guessing at numbers

Now this was something I didn't use in the example...but lets say you wanted to tweak the acceleration so the further away the mouse is, the stronger the acceleration....

Firstly, your right, there should be some kind of 'spring' action in custom movement, but i missed it out...but you can still achieve it with maths:

distance(.x, .y, mousex, mousey) will give you the pixel distance from the object to the mouse

So you test acceleration with that...maybe its too small...to make it stronger you multiply it by perhaps 5....you tweak with the numbers until you get something you like.

Then you run into another problem. If you hold down the left mouse button and move the mouse away you can move really really fast! Perhaps you decide you want to limit acceleration so it cant go below 0, and it cant go above 400...

you end up with

clamp( distance(.x, .y, mousex, mousey), 0, 400)

For most people who are cool with maths, thats perfectly fine... without constructs 'clamp' and 'distance' function the maths would be a lot messier, eg:

sqrt ( (.x - mousex) ^ 2 + (.y - mousey) ^ 2 ) just to get the distance!

But over the last few hours I have been pondering over a better 'visual' style of maths...something thats a bit like those visual programming language flow chart thingys but made only for evaluating expressions...because really i feel expressions are the only area in construct that aren't very innovative.... heres ones brain storm:



Basically that could be displayed a lot nicer but to explain the concept...

Functions with parameters (eg: Distance between) are represented as blocks with things to connect to them

Constant numbers like 100 and 0 you can link up to stuff. However, note they are marked as 'acceleration'.

Rather than having distance(mousex, mousey, .x, .y) that is easier to think of as 'distance between two points'. In C++ doing maths is a lot easier when you make classes like 'point2d' because then you can just easily add 2 points together etc.

Stuff like 'multiply by 3' is a thing you can drag along the line...so you can multiply by 3 then add 2 etc.

Now here is the innovative idea:
Numbers can be positions, speeds, acceleration, colour, size...

For expressions like 'distance between mouse and myposition' we can have a 'visual display' thing that will show you how quickly an object will accelerate....like an animation of a car driving against a scrolling background...so you could click the 'distance between' and see what the acceleration is like...then click the x3 and see what its like when its 3 times the amount...or click the '100' and just see what an acceleration of 100 is like... or click the entire expression to see what an acceleration of the evalulated amount is like.

Anyway its just a brainstorm, very unlikely anything like that in the near future but maths is something that scares a lot of people away and crunching numbers isn't really something 'arty' people like to do...
B
4
S
2
G
5
Posts: 641
Reputation: 3,011

PreviousNext

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 4 guests